nodejs-mkdirp

MEDIUM
maintainer annikkitikkanen 27 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

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

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:21 npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver
Medium AI review 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
1# Maintainer: aboe76 AT gmail DOT com>
2
3pkgname=nodejs-mkdirp
4_npmname=mkdirp
5pkgver=0.5.1
6pkgrel=1
7pkgdesc="Recursively mkdir, like mkdir -p, but in node.js"
8arch=('any')
9depends=('npm' 'nodejs')
10url="https://github.com/substack/node-mkdirp"
11license=('MIT')
12provides=('nodejs-mkdirp')
13source=(".AURINFO")
14md5sums=('SKIP')
15
16package() {
17 local _npmdir="$pkgdir/usr/lib/node_modules/"
18 mkdir -p $_npmdir
19 cd $_npmdir
20 npm config set strict-ssl false
21 npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver
22 npm config set strict-ssl true
23 rmdir "${pkgdir}/usr/etc"
24}
25

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion