quarkdown
The npm command runs 'approve --all' which is part of the project's own build process from source, not an external package install; the source is a verified tarball from the project's GitHub repo.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The npm command runs 'approve --all' which is part of the project's own build process from source, not an external package install; the source is a verified tarball from the project's GitHub repo.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:25
npm install-scripts approve --all
PKGBUILD
1 offending line(s) highlighted# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=quarkdown
pkgver=2.6.2
pkgrel=1
_jdkver=21
pkgdesc='a Markdown based typesetting system'
arch=(any)
url="https://github.com/iamgio/$pkgname"
license=(AGPL-3.0-only)
depends=(bash
"java-runtime-openjdk=$_jdkver")
makedepends=(nodejs-lts-krypton
npm
"java-environment-openjdk=$_jdkver")
optdepends=('chromium: generate PDF output')
_archive="$pkgname-$pkgver"
source=("$url/archive/v$pkgver/$_archive.tar.gz")
sha256sums=('79a023a8e67142807418dd561cd9627a954269768353d066a7430c81989b760d')
build() {
export JAVA_HOME="/usr/lib/jvm/java-$_jdkver-openjdk"
export PATH="/usr/lib/jvm/java-$_jdkver-openjdk/bin:$PATH"
cd "$_archive"
npm install-scripts approve --all
./gradlew --no-daemon installDist
}
package() {
cd "$_archive"
local _sharedir="/usr/share/$pkgname"
mkdir -p "$pkgdir/$_sharedir"
cp -a build/install/quarkdown/lib "$pkgdir/$_sharedir/"
cat <<- EOF | install -Dm0755 /dev/stdin "$pkgdir/usr/bin/$pkgname"
#!/usr/bin/env bash
export JAVA_HOME='/usr/lib/jvm/java-$_jdkver-openjdk'
export QD_CHROME_PATH='/usr/bin/chromium'
exec java -cp '$_sharedir/lib/*' com.quarkdown.cli.QuarkdownCliKt "\$@"
EOF
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |
| 2026-10-12 00:18:51 | Low | 2 |
| 2026-10-11 00:26:05 | Low | 2 |
| 2026-10-10 00:11:52 | Low | 2 |
| 2026-10-09 00:05:33 | Low | 2 |
| 2026-10-08 00:28:03 | Low | 2 |
| 2026-10-07 00:21:34 | Low | 2 |
| 2026-10-06 00:13:36 | Low | 2 |
| 2026-10-05 00:08:03 | Low | 2 |
| 2026-10-04 00:18:08 | Low | 2 |