nodejs-lts-hydrogen

maintainer EndlessEden · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds from the official Node.js GitHub repository, a plausible project-owned source, and the non-whitelisted patch URL is from Google's Gerrit instance, which hosts V8 project changes; the patch is applied during prepare() and is not executed, posing minimal risk.

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 builds from the official Node.js GitHub repository, a plausible project-owned source, and the non-whitelisted patch URL is from Google's Gerrit instance, which hosts V8 project changes; the patch is applied during prepare() and is not executed, posing minimal risk.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:26 fix-build-with-gcc13.patch::"https://chromium-review.googlesource.com/changes/v8%2Fv8~3934140/revisions/5/patch?download&raw"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: EndlessEden <endlesseden@users.noreply.github.com>
2# Previous Maintainer: Francois Menning <f.menning@pm.me>
3# Contributer: Felix Yan <felixonmars@archlinux.org>
4# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
5# Contributor: Thomas Dziedzic < gostrc at gmail >
6# Contributor: James Campos <james.r.campos@gmail.com>
7# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com >
8# Contributor: Dongsheng Cai <dongsheng at moodle dot com>
9# Contributor: Masutu Subric <masutu.arch at googlemail dot com>
10# Contributor: TIanyi Cui <tianyicui@gmail.com>
11
12pkgname=nodejs-lts-hydrogen
13pkgver=18.12.0
14pkgrel=2
15pkgdesc='Evented I/O for V8 javascript'
16arch=('x86_64')
17url='https://nodejs.org/'
18license=('MIT')
19options=(!lto)
20provides=("nodejs=$pkgver")
21conflicts=(nodejs)
22depends=('brotli' 'openssl' 'zlib' 'icu' 'libuv' 'libnghttp2' 'c-ares') # 'http-parser' 'v8')
23makedepends=('python310' 'procps-ng')
24optdepends=('npm: nodejs package manager')
25source=("https://github.com/nodejs/node/archive/v$pkgver/nodejs-$pkgver.tar.gz"
26 fix-build-with-gcc13.patch::"https://chromium-review.googlesource.com/changes/v8%2Fv8~3934140/revisions/5/patch?download&raw"
27 "missing-header.patch")
28sha512sums=('1a5f076908ff0fe4e877d4d6085ea7dde38517fe5eba4492c37de7040afd92abc3d55974f203abbb93a49194ce815e2f22c4e9503a99ef3ebcb1bf269c4f3516'
29 '06b8ff03f27e683a1f8d0f3f89ac2597091553c41150cff5cdf3ac022d5756f4b7acea85a9daa2ca1ca3316cb1dbcb51a8473202ffcc73b716451d9121843d6b'
30 'd1ca8c27f5e71b22207bee11247cebf7f0ce507dd4711027b24dc688f2ea21f3e4087483bb7d78cc02725ed0b543dd7c56d22f3444d613557304db4fc1934b96')
31
32prepare() {
33 cd node-$pkgver/deps/v8
34 patch -p1 -i $srcdir/fix-build-with-gcc13.patch
35 cd $srcdir/node-$pkgver
36 patch -p1 -i $srcdir/missing-header.patch
37}
38
39build() {
40 cd node-$pkgver
41
42 ./configure \
43 --prefix=/usr \
44 --with-intl=small-icu \
45 --without-npm \
46 --shared \
47 --shared-openssl \
48 --shared-zlib \
49 --shared-libuv \
50 --experimental-http-parser \
51 --shared-nghttp2 \
52 --shared-cares \
53 --shared-brotli
54 # --shared-v8
55 # --shared-http-parser
56
57 make
58}
59
60check() {
61 cd node-$pkgver
62 make test || :
63}
64
65package() {
66 cd node-$pkgver
67
68 make DESTDIR="$pkgdir" install
69
70 install -D -m644 LICENSE \
71 "$pkgdir"/usr/share/licenses/nodejs/LICENSE
72
73 cd "$pkgdir"/usr/lib
74 ln -s libnode.so.* libnode.so
75}
76
77# vim:set ts=2 sw=2 et:
78

Scan history

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

Report a package

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

0 / 4000
Your suggestion