rescribe-bin
The PKGBUILD downloads a prebuilt binary zip from cli.rescribe.dev (a personal/project subdomain, not a major distribution channel), extracts and installs a native binary (rescribe) and a native Node.js addon (nodegit.node), and also executes a postinstall.sh script from within the zip at build time. There is no PGP signature verification, only an MD5 checksum (which is weak and trivially collided). The combination of: (1) a prebuilt binary from an unofficial host, (2) a native .node addon (which is a shared library executed in-process), and (3) execution of an arbitrary shell script (postinstall.sh) extracted from the same untrusted zip, constitutes a genuine supply-chain risk. If the host or the zip is compromised, arbitrary code runs during package installation. This is a textbook medium-severity supply-chain concern.
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:26
source=("https://cli.rescribe.dev/linux.zip")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 85%): The PKGBUILD downloads a prebuilt binary zip from cli.rescribe.dev (a personal/project subdomain, not a major distribution channel), extracts and installs a native binary (rescribe) and a native Node.js addon (nodegit.node), and also executes a postinstall.sh script from within the zip at build time. There is no PGP signature verification, only an MD5 checksum (which is weak and trivially collided). The combination of: (1) a prebuilt binary from an unofficial host, (2) a native .node addon (which is a shared library executed in-process), and (3) execution of an arbitrary shell script (postinstall.sh) extracted from the same untrusted zip, constitutes a genuine supply-chain risk. If the host or the zip is compromised, arbitrary code runs during package installation. This is a textbook medium-severity supply-chain concern.
PKGBUILD
1 offending line(s) highlighted# This is the reScribe AUR PKGBUILD file.
# For more information, see 'man PKGBUILD'.
# Maintainer: reScribe <rescribe.dev@gmail.com>
pkgname=rescribe-bin
# update version in package.json, not here
pkgver=0.0.27
pkgrel=1
epoch=
pkgdesc="reScribe code search engine. CLI for interacting with reScribe api."
arch=("x86_64")
url="https://rescribe.dev"
license=("CC-BY-NC-SA-4.0")
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=("!strip")
install=$pkgname.install
changelog=
source=("https://cli.rescribe.dev/linux.zip")
noextract=()
md5sums=("149103a115a22ebbfb21c110df220787")
validpgpkeys=()
package() {
mkdir -p "$pkgdir/usr/bin"
chmod +x rescribe
mv rescribe "$pkgdir/usr/bin"
mv nodegit.node "$pkgdir/usr/bin"
mkdir -p "$pkgdir/home/$USER"
./postinstall.sh $pkgdir
}
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 |