ccae-git

LOW
maintainer jerome-rdlv 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The npx command builds the app from the project's own source code (GitHub repo), which is normal for Electron apps; no remote code execution beyond standard build process.

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 npx command builds the app from the project's own source code (GitHub repo), which is normal for Electron apps; no remote code execution beyond standard build process.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium npx/bunx/deno executes a remote package remote_code_tool

`npx`/`bunx`/`pnpm dlx`/`deno run <url>` downloads AND runs a remote package at build time — the moral equivalent of piping a download into a shell. Severity downgraded: Node.js consumer context.

  • PKGBUILD:30 npx electron-builder build --linux --x64 -l tar.xz \

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Jérôme Mulsant <jerome@rue-de-la-vieille.fr>
2_appname=cca
3pkgname=ccae-git
4pkgver=3.5.5.r0.gc035127
5pkgrel=1
6epoch=
7pkgdesc="Colour Contrast Analyser (CCA) - Checks color contrast against WCAG criteria."
8arch=('x86_64')
9_electron=electron35
10url="https://developer.paciellogroup.com/color-contrast-checker/"
11license=(GPL-3.0-only)
12depends=("$_electron" 'imlib2' 'hicolor-icon-theme' 'nodejs')
13makedepends=('asar' 'git' 'npm' 'libxcrypt-compat')
14source=("$pkgname::git+https://github.com/ThePacielloGroup/CCAe.git"
15 "cca.desktop")
16noextract=()
17sha256sums=('SKIP'
18 '573202ba311de756575dca1bf5d6469d352c1155afdd3347c79949d7cfcf053c')
19
20pkgver() {
21 cd $pkgname
22 git describe --tags --long | sed 's/^v//;s/-/.r/;s/-/./'
23}
24
25build() {
26 _version="$(</usr/lib/${_electron}/version)"
27 cd "$pkgname"
28 npm install
29 npm audit fix
30 npx electron-builder build --linux --x64 -l tar.xz \
31 -c.electronDist="/usr/lib/$_electron" \
32 -c.electronVersion="$_version"
33}
34
35package() {
36
37 install -Dm0644 cca.desktop -t "${pkgdir}/usr/share/applications/${_appname}"
38
39 cd "${srcdir}/${pkgname}/build"
40
41 # Install icons
42 resolutions=(16x16 32x32 48x48 64x64 96x96 128x128 256x256 512x512)
43 for resolution in "${resolutions[@]}"
44 do
45 install -Dm0644 "${resolution}.png" \
46 "${pkgdir}/usr/share/icons/hicolor/${resolution}/apps/${_appname}.png"
47 done
48
49 install -Dm0644 "icon.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_appname}.svg"
50
51 cd "${srcdir}/${pkgname}/dist/linux-unpacked"
52
53 install -Dm755 /dev/null "${pkgdir}/usr/bin/${_appname}"
54 cat >> "${pkgdir}/usr/bin/${_appname}" <<EOD
55#!/usr/bin/bash
56exec $_electron /usr/lib/$pkgname "\$@"
57EOD
58
59 install -d "$pkgdir/usr/lib/$pkgname/"
60 asar e "resources/app.asar" "$pkgdir/usr/lib/$pkgname/"
61}
62

Scan history

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