nodejs-mkdirp
This PKGBUILD installs the npm package 'mkdirp@0.5.1' directly from the npm registry at build/install time using 'npm install', with no source tarball, no checksum verification, and no offline/vendored source. The only declared source is '.AURINFO' with SKIP checksum. This means the actual installed code is fetched live from the npm registry without any integrity check, creating a genuine supply-chain risk: if the npm package were compromised or yanked/replaced, users would silently get malicious code. Additionally, 'npm config set strict-ssl false' temporarily disables SSL verification during the install, further weakening the security posture. This is a real medium-severity supply-chain concern — not a false positive — because executed JavaScript code is being fetched from an external source without verification.
Triggered rules
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:21
npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 85%): This PKGBUILD installs the npm package 'mkdirp@0.5.1' directly from the npm registry at build/install time using 'npm install', with no source tarball, no checksum verification, and no offline/vendored source. The only declared source is '.AURINFO' with SKIP checksum. This means the actual installed code is fetched live from the npm registry without any integrity check, creating a genuine supply-chain risk: if the npm package were compromised or yanked/replaced, users would silently get malicious code. Additionally, 'npm config set strict-ssl false' temporarily disables SSL verification during the install, further weakening the security posture. This is a real medium-severity supply-chain concern — not a false positive — because executed JavaScript code is being fetched from an external source without verification.
PKGBUILD
1 offending line(s) highlighted# Maintainer: aboe76 AT gmail DOT com>
pkgname=nodejs-mkdirp
_npmname=mkdirp
pkgver=0.5.1
pkgrel=1
pkgdesc="Recursively mkdir, like mkdir -p, but in node.js"
arch=('any')
depends=('npm' 'nodejs')
url="https://github.com/substack/node-mkdirp"
license=('MIT')
provides=('nodejs-mkdirp')
source=(".AURINFO")
md5sums=('SKIP')
package() {
local _npmdir="$pkgdir/usr/lib/node_modules/"
mkdir -p $_npmdir
cd $_npmdir
npm config set strict-ssl false
npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver
npm config set strict-ssl true
rmdir "${pkgdir}/usr/etc"
}
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 |