ccae-git

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