nodejs-markdown-pdf

LOW
maintainer XZS 7 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 1
2026-10-31 00:07:41 Low 1
2026-10-30 00:29:30 Low 1
2026-10-29 00:13:55 Low 1
2026-10-28 00:06:54 Low 1
2026-10-27 00:23:28 Low 1
2026-10-26 00:12:40 Low 1
2026-10-25 00:20:48 Low 1
2026-10-24 00:14:55 Low 1
2026-10-23 00:02:19 Low 1
2026-10-22 00:13:10 Low 1
2026-10-21 00:12:50 Low 1
2026-10-20 00:10:31 Low 1
2026-10-19 00:03:55 Low 1
2026-10-18 00:06:55 Low 1
2026-10-17 00:21:55 Low 1
2026-10-16 00:12:47 Low 1
2026-10-15 00:28:05 Low 1
2026-10-14 00:06:47 Low 1
2026-10-13 00:23:45 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