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-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 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 |
| 2026-10-13 00:23:45 | Medium | 2 |