gctpc
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 82%): The cheaper model's concern is overblown. ftp.cpc.ncep.noaa.gov is an official NOAA/NCEP (National Centers for Environmental Prediction) government FTP server — a legitimate, authoritative US government scientific data host. The wgrib2 tarball is the well-known NOAA wgrib2 package which bundles gctpc20a.tgz internally; this is a standard pattern for packages that extract a sub-component from a larger official distribution. The md5sum is pinned, providing integrity verification. The Makefile is a local file also checksummed. The build extracts the nested gctpc tarball and compiles only C source into a static library — no binary blobs are executed, no scripts from the downloaded archive are run. The only real concern is that the source is a large bundle (wgrib2) from which only a sub-component is used, and the URL uses http rather than https, but neither constitutes a supply-chain attack. This is sloppy/non-standard packaging (using a bundled tarball from a related project rather than a direct upstream source) but not a security risk.
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:10
source=(http://www.ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/wgrib2.tgz.v2.0.8
PKGBUILD
1 offending line(s) highlighted# Contributor: Graziano Giuliani <graziano.giuliani@gmail.com>
pkgname=gctpc
pkgver=20a
pkgrel=3
pkgdesc="Software library for geolocation written by the USGS"
arch=("i686" "x86_64")
url="https://www.ngs.noaa.gov/PUBS_LIB/GeneralCartographicTransformationPackage_v2_TR_NOS124_CGS9.pdf"
options=('staticlibs')
license=('custom')
source=(http://www.ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/wgrib2.tgz.v2.0.8
Makefile)
md5sums=('3d56cbed5de8c460d304bf2206abc8d3'
'baa2859f793a797b6e22525b0a74091c')
build() {
cd ${srcdir}/grib2
tar zxvf gctpc20a.tgz
cd ${pkgname}/source
CC=gcc make -f ${srcdir}/Makefile
}
package() {
cd ${srcdir}/grib2/${pkgname}/source
mkdir -p ${pkgdir}/usr/{lib,include/gctpc,share/licenses/gctpc}
base=${srcdir}/grib2/${pkgname}
install -Dm644 ${base}/source/proj.h ${pkgdir}/usr/include/gctpc
install -Dm644 ${base}/source/cproj.h ${pkgdir}/usr/include/gctpc
install -Dm644 ${base}/source/libgeo.a ${pkgdir}/usr/lib
install -Dm644 ${base}/announce.txt ${pkgdir}/usr/share/licenses/gctpc/licence
}
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 |