netlify
maintainer macxcool
· 8 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package installs a known npm package from the official npm registry with a fixed version and verified checksum; the use of variables in npm install is standard for AUR Node.js packages and does not introduce untrusted external code.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package installs a known npm package from the official npm registry with a fixed version and verified checksum; the use of variables in npm install is standard for AUR Node.js packages and does not introduce untrusted external code.
-
PKGBUILD:28
npm install -g --prefix "${pkgdir}/usr" ${_npmname}@${_npmver}
1 higher static finding superseded - not the current verdict (shown for transparency)
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:27
npm install -g --prefix "${pkgdir}/usr" node-gyp node-addon-api ${_npmname}@${_npmver}
PKGBUILD
2 offending line(s) highlighted
1
# Maintainer: macxcool <macxcool at tutanota dot com>
2
# Contributor: mutantmonkey <aur@mutantmonkey.mx>
3
# Contributor: Boudhayan Gupta <bgupta@kde.org>
4
5
_npmname=netlify-cli
6
_npmver=26.2.0
7
8
pkgname=netlify
9
pkgver=${_npmver}
10
pkgrel=1
11
pkgdesc="Create, deploy, and delete new sites hosted on Netlify straight from your terminal"
12
13
arch=(any)
14
url="https://www.netlify.com/docs/cli/"
15
depends=('nodejs' 'npm')
16
license=('MIT')
17
options=('!strip')
18
source=("https://registry.npmjs.org/${_npmname}/-/${_npmname}-${_npmver}.tgz")
19
noextract=("${_npmname}-${_npmver}.tgz")
20
sha256sums=('741d46f0f18df96a8d3ee27614f51bfa529d2f9937a1122976358e54e40f6747')
21
22
package() {
23
cd ${srcdir}
24
local _npmdir="${pkgdir}/usr/lib/node_modules/"
25
mkdir -p ${_npmdir}
26
cd ${_npmdir}
27
npm install -g --prefix "${pkgdir}/usr" node-gyp node-addon-api ${_npmname}@${_npmver}
28
npm install -g --prefix "${pkgdir}/usr" ${_npmname}@${_npmver}
29
30
# Fix file ownership and permissions
31
chown -R 0:0 "${pkgdir}/usr"
32
find "${pkgdir}/usr" -perm -o+w,g+w -exec chmod o-w,g-w {} +
33
34
rm -rf "${pkgdir}/usr/bin/node-gyp"
35
rm -rf "${pkgdir}/usr/lib/node_modules/node-gyp"
36
rm -rf "${pkgdir}/usr/lib/node_modules/node-addon-api"
37
}
38
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |