nodejs-markdown-pdf

maintainer XZS · 7 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 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-08-03 00:08:14 LOW 1
2026-08-02 00:16:08 LOW 1
2026-08-01 00:11:18 LOW 1
2026-07-31 00:14:10 LOW 1
2026-07-30 00:17:23 LOW 1
2026-07-29 00:25:53 LOW 1
2026-07-28 00:07:28 LOW 1
2026-07-27 00:24:32 LOW 1
2026-07-26 00:07:32 LOW 1
2026-07-25 00:13:44 LOW 1
2026-07-24 00:02:28 LOW 1
2026-07-23 00:14:47 LOW 1
2026-07-22 00:29:32 LOW 1
2026-07-21 00:24:15 LOW 1
2026-07-20 00:19:49 LOW 1
2026-07-19 00:17:08 LOW 1
2026-07-18 00:14:48 LOW 1
2026-07-17 00:06:16 LOW 1
2026-07-16 00:05:41 LOW 1
2026-07-15 00:09:25 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