gaw3

maintainer aisuneko · 2 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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