roam-research
The package downloads a prebuilt Electron binary (.deb) from an S3 bucket, which is an unverifiable source; if compromised, an attacker could silently replace the binary with a malicious one, posing a supply-chain risk.
Triggered rules
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:13
"$_pkgname-$pkgver.tgz::https://roam-electron-deploy.s3.us-east-2.amazonaws.com/${_pkgname}_${pkgver}_amd64.deb"
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt Electron binary (.deb) from an S3 bucket, which is an unverifiable source; if compromised, an attacker could silently replace the binary with a malicious one, posing a supply-chain risk.
PKGBUILD
1 offending line(s) highlighted_pkgname=roam-research
pkgname=roam-research
pkgver=0.0.38
pkgrel=1
pkgdesc="A note-taking tool for networked thought"
arch=('any')
url="https://roamresearch.com/"
license=('custom')
depends=()
# Prebuilt, already-stripped Electron binary — skip debug-symbol packaging and stripping.
options=(!debug !strip)
source=(
"$_pkgname-$pkgver.tgz::https://roam-electron-deploy.s3.us-east-2.amazonaws.com/${_pkgname}_${pkgver}_amd64.deb"
"LICENSE"
)
md5sums=('857803e964931235a77db69912d3212f'
'34234c4e196ceeaf00e4ee7f29b9fb63')
prepare() {
tar -xvf data.tar.xz
}
package() {
cd "$srcdir"
# Making paths work with a space is error-prone, so let's replace with a simpler kebab-case directory
sed -i "s/\/opt\/Roam Research/\/opt\/$_pkgname/" usr/share/applications/roam-research.desktop
# Install all the things
install -d "$pkgdir"/{opt/$_pkgname,usr/share,usr/bin}
cp -r opt/Roam\ Research/* -t "$pkgdir"/opt/$_pkgname
cp -r usr/share/* -t "$pkgdir"/usr/share
# Make the desktop icons available
# (not sure why they're under 0x0? Where is that used?)
install -d "$pkgdir"/usr/share/icons/hicolor/1024x1024
cp -r usr/share/icons/hicolor/256x256/* -t "$pkgdir"/usr/share/icons/hicolor/1024x1024
install -d "$pkgdir"/usr/share/pixmaps
install -D usr/share/icons/hicolor/256x256/apps/roam-research.png -t "$pkgdir"/usr/share/pixmaps
# Make the binary available in the $PATH
ln -s /opt/${_pkgname}/${_pkgname} "${pkgdir}"/usr/bin/${_pkgname}
# Add a license that links to the Terms and Conditions and Privacy Policy from https://roamresearch.com
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |