roam-research
The package downloads a prebuilt .deb binary from an Amazon S3 bucket, which is an unverifiable, swappable host; executing prebuilt binaries from unofficial or non-project-controlled sources creates 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 90%): The package downloads a prebuilt .deb binary from an Amazon S3 bucket, which is an unverifiable, swappable host; executing prebuilt binaries from unofficial or non-project-controlled sources creates a supply-chain risk.
PKGBUILD
1 offending line(s) highlighted_pkgname=roam-research
pkgname=roam-research
pkgver=0.0.41
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=('eb5736f184e66a385f707c9cb412367c'
'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"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-23 00:02+++ PKGBUILD @ 2026-11-01 00:21@@ -1,6 +1,6 @@ _pkgname=roam-research pkgname=roam-research-pkgver=0.0.39+pkgver=0.0.41 pkgrel=1 pkgdesc="A note-taking tool for networked thought" arch=('any')@@ -13,7 +13,7 @@ "$_pkgname-$pkgver.tgz::https://roam-electron-deploy.s3.us-east-2.amazonaws.com/${_pkgname}_${pkgver}_amd64.deb" "LICENSE" )-md5sums=('a553375b8c6710ec0f5111ebde1aa379'+md5sums=('eb5736f184e66a385f707c9cb412367c' '34234c4e196ceeaf00e4ee7f29b9fb63') prepare() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 17:38:05 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |