roam-research
maintainer neko_ayaya
· 6 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
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
MEDIUM
source=() URL on a non-standard host
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"
MEDIUM
AI review
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
1
_pkgname=roam-research
2
pkgname=roam-research
3
pkgver=0.0.38
4
pkgrel=1
5
pkgdesc="A note-taking tool for networked thought"
6
arch=('any')
7
url="https://roamresearch.com/"
8
license=('custom')
9
depends=()
10
# Prebuilt, already-stripped Electron binary — skip debug-symbol packaging and stripping.
11
options=(!debug !strip)
12
source=(
13
"$_pkgname-$pkgver.tgz::https://roam-electron-deploy.s3.us-east-2.amazonaws.com/${_pkgname}_${pkgver}_amd64.deb"
14
"LICENSE"
15
)
16
md5sums=('857803e964931235a77db69912d3212f'
17
'34234c4e196ceeaf00e4ee7f29b9fb63')
18
19
prepare() {
20
tar -xvf data.tar.xz
21
}
22
23
package() {
24
cd "$srcdir"
25
26
# Making paths work with a space is error-prone, so let's replace with a simpler kebab-case directory
27
sed -i "s/\/opt\/Roam Research/\/opt\/$_pkgname/" usr/share/applications/roam-research.desktop
28
29
# Install all the things
30
install -d "$pkgdir"/{opt/$_pkgname,usr/share,usr/bin}
31
cp -r opt/Roam\ Research/* -t "$pkgdir"/opt/$_pkgname
32
cp -r usr/share/* -t "$pkgdir"/usr/share
33
34
# Make the desktop icons available
35
# (not sure why they're under 0x0? Where is that used?)
36
install -d "$pkgdir"/usr/share/icons/hicolor/1024x1024
37
cp -r usr/share/icons/hicolor/256x256/* -t "$pkgdir"/usr/share/icons/hicolor/1024x1024
38
install -d "$pkgdir"/usr/share/pixmaps
39
install -D usr/share/icons/hicolor/256x256/apps/roam-research.png -t "$pkgdir"/usr/share/pixmaps
40
41
# Make the binary available in the $PATH
42
ln -s /opt/${_pkgname}/${_pkgname} "${pkgdir}"/usr/bin/${_pkgname}
43
44
# Add a license that links to the Terms and Conditions and Privacy Policy from https://roamresearch.com
45
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
46
}
47
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 19:49:33 | MEDIUM | 2 |