gaw3

LOW
maintainer aisuneko 2 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion