gaw3

LOW
maintainer aisuneko 2 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The PKGBUILD downloads from rvq.fr, which is the official upstream vendor site for GAW (confirmed by the url= field). The unusual curl-at-parse-time technique is used to navigate the upstream's form-based download mechanism, extracting hidden POST parameters. While this is non-standard and executes network requests at parse time, the final downloaded tarball is verified against a hardcoded sha256sum, providing integrity assurance. The host is the legitimate upstream, not an unofficial or personal mirror. This is sloppy/non-standard packaging but not a genuine supply-chain risk.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed the full PKGBUILD and judged it LOW (confidence 72%): The PKGBUILD downloads from rvq.fr, which is the official upstream vendor site for GAW (confirmed by the url= field). The unusual curl-at-parse-time technique is used to navigate the upstream's form-based download mechanism, extracting hidden POST parameters. While this is non-standard and executes network requests at parse time, the final downloaded tarball is verified against a hardcoded sha256sum, providing integrity assurance. The host is the legitimate upstream, not an unofficial or personal mirror. This is sloppy/non-standard packaging but not a genuine supply-chain risk.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium External download from an untrusted host, not in source=() external_download_not_in_source

curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.

  • PKGBUILD:15 _html=$(curl -s "https://www.rvq.fr/php/ndl.php?id=${_file}" | tr '\n' ' ')

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: aisuneko icecat <iceneko@protonmail.ch>
2pkgname=gaw3
3pkgver=20250128
4pkgrel=1
5pkgdesc="Gtk analog waveform viewer - tool for viewing analog data, such as the output of Spice simulations"
6arch=('i686' 'x86_64')
7url="http://www.rvq.fr/linux/gaw.php"
8license=('GPL')
9depends=('gtk3')
10optdepends=('alsa-lib')
11provides=('gaw')
12conflicts=('gaw')
13
14_file="${pkgname}-${pkgver}.tar.gz"
15_html=$(curl -s "https://www.rvq.fr/php/ndl.php?id=${_file}" | tr '\n' ' ')
16_form=$(grep -oP "<td>${_file}</td>.*?<\/form>" <<< "$_html")
17_act_path=$(grep -oP 'action="\K[^"]+' <<< "$_form")
18_act="https://www.rvq.fr/${_act_path#/}"
19_args=$(grep -oP '<input[^>]+type="hidden"[^>]+>' <<< "$_form" | \
20 sed -nE 's/.*name="([^"]+)".*value="([^"]+)".*/-F \1=\2/p' | \
21 tr '\n' ' ')
22DLAGENTS=("https::/usr/bin/curl -sC - $_args -o %o %u")
23
24source=("${_file}::${_act}")
25sha256sums=('9791d3f9b55b60dafa799d918a171d47a6164377ea5214749c7854f27d7990dc')
26
27build() {
28 cd ${pkgname}-$pkgver
29 export CFLAGS+=" -std=gnu17"
30 ./configure --prefix=/usr
31 make
32}
33
34
35package() {
36 cd ${pkgname}-$pkgver
37 make DESTDIR="$pkgdir/" install
38}
39
40# will throw a "libfakeroot internal error: payload not recognized!"... seems to be harmless for now
41

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