hpgcc
The package downloads a source tarball from hpcalc.org, a non-whitelisted but plausible project-specific host, and builds from source; the worst case of a swapped source is limited to code execution during build, but this is a standard AUR build pattern for niche software.
Triggered rules
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 package downloads a source tarball from hpcalc.org, a non-whitelisted but plausible project-specific host, and builds from source; the worst case of a swapped source is limited to code execution during build, but this is a standard AUR build pattern for niche software.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:12
source=(http://www.hpcalc.org/hp49/pc/programming/$pkgname-${pkgver/_/-}-linux.tar.bz2
PKGBUILD
1 offending line(s) highlighted# Maintainer: Eric Waller <ewwaller@gmail.com>
pkgname=hpgcc
pkgver=2.0_sp2
pkgrel=3
pkgdesc="gcc C Compiler for HP 48,49,50 Calculators"
arch=('i686' 'x86_64')
url="http://hpcalc.org"
license=('GPL')
groups=(users)
depends=()
makedepends=('make' 'gcc' 'doxygen')
source=(http://www.hpcalc.org/hp49/pc/programming/$pkgname-${pkgver/_/-}-linux.tar.bz2
examples_benchmarks_Makefile.diff
examples_decnumber_matrix_Makefile.diff
examples_decnumber_sqrt2_Makefile.diff
examples_hump_Makefile.diff
examples_decnumber_Chudnovsky_Makefile.diff
examples_decnumber_RSA_Makefile.diff
examples_games_Makefile.diff
examples_Makefile.diff
)
options=('!strip' 'staticlibs')
md5sums=('4dfe57bffc79eaf966a1c2bed06ea502'
'fec5f59cf1520a0a5618e37fd16884ee'
'11cd6fb8df17350cd5558031c66ac7e8'
'11cd6fb8df17350cd5558031c66ac7e8'
'fec5f59cf1520a0a5618e37fd16884ee'
'9ff5a19476c74769ba91244a259c89f0'
'db40758d8c4abd92da59b91fce9de20e'
'fec5f59cf1520a0a5618e37fd16884ee'
'df3c9cc472541da979618cf7f9b1d001')
install=hpgcc.install
prepare(){
cd $srcdir/$pkgname"_20"
tar -xvf *tar
patch examples/Makefile < ../../examples_Makefile.diff
patch examples/games/Makefile < ../../examples_games_Makefile.diff
patch examples/hump/Makefile < ../../examples_hump_Makefile.diff
patch examples/decnumber/Chudnovsky/Makefile < ../../examples_decnumber_Chudnovsky_Makefile.diff
patch examples/decnumber/matrix/Makefile < ../../examples_decnumber_matrix_Makefile.diff
patch examples/decnumber/RSA/Makefile < ../../examples_decnumber_RSA_Makefile.diff
patch examples/decnumber/sqrt2/Makefile < ../../examples_decnumber_sqrt2_Makefile.diff
patch examples/benchmarks/Makefile < ../../examples_benchmarks_Makefile.diff
}
build() {
cd $srcdir/$pkgname"_20"
export PATH=$PATH:$(pwd)/bin
cd sources/
make
install=hpgcc.install
}
package() {
mkdir $pkgdir/usr
mkdir $pkgdir/usr/local
cp -r $srcdir/$pkgname"_20" $pkgdir/usr/local/$pkgname
rm $pkgdir/usr/local/$pkgname/*tar
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |