nodejs-entropic

maintainer dmfay · 2 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt tarball (ds-latest.tgz) from entropic.dev and installs it via 'npm install -g'. Several concerns: (1) The URL uses a 'latest' floating artifact with only an md5sum (weak, collision-prone hash) rather than a versioned artifact with a strong checksum like sha256/sha512, meaning the content can change without the PKGBUILD being updated. (2) entropic.dev is not a standard, well-known package registry mirror — it is the project's own experimental registry, and while the maintainer's email matches the domain, there is no way to verify the tarball's provenance independently. (3) npm install during package() can pull additional transitive dependencies from the network at install time, introducing further unverifiable code. (4) The tarball contains pre-compiled/bundled JavaScript that will be executed as a CLI tool. This is a genuine supply-chain concern: a compromised or hijacked entropic.dev host could serve malicious code that gets installed system-wide. The md5-only integrity check provides minimal protection. This is a real medium-severity supply-chain risk, not a false positive.

Triggered rules

MEDIUM npm/yarn/pnpm install of an undeclared external package npm_install_external

Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.

  • PKGBUILD:18 npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/ds-latest.tgz
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:11 https://www.entropic.dev/ds-latest.tgz
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt tarball (ds-latest.tgz) from entropic.dev and installs it via 'npm install -g'. Several concerns: (1) The URL uses a 'latest' floating artifact with only an md5sum (weak, collision-prone hash) rather than a versioned artifact with a strong checksum like sha256/sha512, meaning the content can change without the PKGBUILD being updated. (2) entropic.dev is not a standard, well-known package registry mirror — it is the project's own experimental registry, and while the maintainer's email matches the domain, there is no way to verify the tarball's provenance independently. (3) npm install during package() can pull additional transitive dependencies from the network at install time, introducing further unverifiable code. (4) The tarball contains pre-compiled/bundled JavaScript that will be executed as a CLI tool. This is a genuine supply-chain concern: a compromised or hijacked entropic.dev host could serve malicious code that gets installed system-wide. The md5-only integrity check provides minimal protection. This is a real medium-severity supply-chain risk, not a false positive.

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Dian Fay <dian.m.fay@gmail.com>
2pkgname=nodejs-entropic
3pkgver=0.0.1
4pkgrel=1
5pkgdesc="The Entropic package registry's ds command-line interface"
6arch=("x86_64")
7url="https://entropic.dev"
8license=("MIT")
9install=$pkgname.install
10source=(
11 https://www.entropic.dev/ds-latest.tgz
12)
13makedepends=(
14 "npm"
15)
16
17package() {
18 npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/ds-latest.tgz
19}
20md5sums=('cb96ef64adcafe8b93e912028eb2fc1c')
21

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 3
2026-08-02 00:16:08 MEDIUM 3
2026-08-01 00:11:18 MEDIUM 3
2026-07-31 00:14:10 MEDIUM 3
2026-07-30 00:17:23 MEDIUM 3
2026-07-29 00:25:53 MEDIUM 3
2026-07-28 00:07:28 MEDIUM 3
2026-07-27 00:24:32 MEDIUM 3
2026-07-26 00:07:32 MEDIUM 3
2026-07-25 00:13:44 MEDIUM 3
2026-07-24 00:02:28 MEDIUM 3
2026-07-23 00:14:47 MEDIUM 3
2026-07-22 00:29:32 MEDIUM 3
2026-07-21 00:24:15 MEDIUM 3
2026-07-20 00:19:49 MEDIUM 3
2026-07-19 00:17:08 MEDIUM 3
2026-07-18 00:14:48 MEDIUM 3
2026-07-17 00:06:16 MEDIUM 3
2026-07-16 00:05:41 MEDIUM 3
2026-07-15 00:09:25 MEDIUM 3

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion