nodejs-markdown-pdf

LOW
maintainer XZS 7 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package installs a known npm package from the official npm registry using a variable name, but the source is verifiable and the build process is standard for Node.js packages on AUR.

Triggered rules

Low AI review of an ambiguous pattern llm_review

The static rules found a suspicious pattern they could not resolve, so an AI model (qwen/qwen3-235b-a22b-07-25) reviewed it and judged it LOW (confidence 95%): The package installs a known npm package from the official npm registry using a variable name, but the source is verifiable and the build process is standard for Node.js packages on AUR.

  • PKGBUILD:23 npm install -g --prefix "$pkgdir/usr" $_npmname@${pkgver//_/-}

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: XZS <d dot f dot fischer at web dot de>
2# Contributor: Jonas Amundsen <jonasba+aur at gmail dot com>
3
4_npmname=markdown-pdf
5pkgname=nodejs-$_npmname
6pkgver=11.0.0
7pkgrel=2
8pkgdesc="Markdown to PDF converter"
9arch=('any')
10url="https://github.com/alanshaw/markdown-pdf"
11license=('MIT')
12depends=('nodejs' 'phantomjs')
13makedepends=('npm')
14source=(http://registry.npmjs.org/$_npmname/-/$_npmname-${pkgver//_/-}.tgz)
15noextract=($_npmname-${pkgver//_/-}.tgz)
16sha1sums=('9916faec08dd3d8300622ea36447866fb299eecc')
17
18package() {
19 cd "$srcdir"
20 local _npmdir="$pkgdir/usr/lib/node_modules/"
21 mkdir -p "$_npmdir"
22 cd "$_npmdir"
23 npm install -g --prefix "$pkgdir/usr" $_npmname@${pkgver//_/-}
24
25 # Non-deterministic race in npm gives 777 permissions to random directories.
26 # See https://github.com/npm/cli/issues/1103 for details.
27 find "${pkgdir}/usr" -type d -exec chmod 755 {} +
28
29 # npm gives ownership of ALL FILES to build user
30 # https://bugs.archlinux.org/task/63396
31 chown -R root:root "${pkgdir}"
32}
33

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 1
2026-09-16 00:03:17 Low 1
2026-09-15 00:25:31 Low 1
2026-09-14 00:27:57 Low 1
2026-09-13 00:19:54 Low 1
2026-09-12 00:25:17 Low 1
2026-09-11 00:19:22 Low 1
2026-09-10 00:22:44 Low 1
2026-09-09 00:04:09 Low 1
2026-09-08 00:18:08 Low 1
2026-09-07 00:30:15 Low 1
2026-09-06 00:17:06 Low 1
2026-09-05 00:16:27 Low 1
2026-09-04 00:03:13 Low 1
2026-09-03 00:15:47 Low 1
2026-09-02 00:02:31 Low 1
2026-09-01 00:11:19 Low 1
2026-08-31 00:19:57 Low 1
2026-08-30 00:04:14 Low 1
2026-08-29 00:29:17 Low 1

Report a package

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

0 / 4000
Your suggestion