gaw3
Triggered rules
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)
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# Maintainer: aisuneko icecat <iceneko@protonmail.ch>
pkgname=gaw3
pkgver=20250128
pkgrel=1
pkgdesc="Gtk analog waveform viewer - tool for viewing analog data, such as the output of Spice simulations"
arch=('i686' 'x86_64')
url="http://www.rvq.fr/linux/gaw.php"
license=('GPL')
depends=('gtk3')
optdepends=('alsa-lib')
provides=('gaw')
conflicts=('gaw')
_file="${pkgname}-${pkgver}.tar.gz"
_html=$(curl -s "https://www.rvq.fr/php/ndl.php?id=${_file}" | tr '\n' ' ')
_form=$(grep -oP "<td>${_file}</td>.*?<\/form>" <<< "$_html")
_act_path=$(grep -oP 'action="\K[^"]+' <<< "$_form")
_act="https://www.rvq.fr/${_act_path#/}"
_args=$(grep -oP '<input[^>]+type="hidden"[^>]+>' <<< "$_form" | \
sed -nE 's/.*name="([^"]+)".*value="([^"]+)".*/-F \1=\2/p' | \
tr '\n' ' ')
DLAGENTS=("https::/usr/bin/curl -sC - $_args -o %o %u")
source=("${_file}::${_act}")
sha256sums=('9791d3f9b55b60dafa799d918a171d47a6164377ea5214749c7854f27d7990dc')
build() {
cd ${pkgname}-$pkgver
export CFLAGS+=" -std=gnu17"
./configure --prefix=/usr
make
}
package() {
cd ${pkgname}-$pkgver
make DESTDIR="$pkgdir/" install
}
# will throw a "libfakeroot internal error: payload not recognized!"... seems to be harmless for now
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |