gctpc

maintainer orphaned · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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.

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 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)
MEDIUM source=() URL on a non-standard host 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
1# Contributor: Graziano Giuliani <graziano.giuliani@gmail.com>
2pkgname=gctpc
3pkgver=20a
4pkgrel=3
5pkgdesc="Software library for geolocation written by the USGS"
6arch=("i686" "x86_64")
7url="https://www.ngs.noaa.gov/PUBS_LIB/GeneralCartographicTransformationPackage_v2_TR_NOS124_CGS9.pdf"
8options=('staticlibs')
9license=('custom')
10source=(http://www.ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/wgrib2.tgz.v2.0.8
11 Makefile)
12md5sums=('3d56cbed5de8c460d304bf2206abc8d3'
13 'baa2859f793a797b6e22525b0a74091c')
14
15build() {
16 cd ${srcdir}/grib2
17 tar zxvf gctpc20a.tgz
18 cd ${pkgname}/source
19 CC=gcc make -f ${srcdir}/Makefile
20}
21
22package() {
23 cd ${srcdir}/grib2/${pkgname}/source
24 mkdir -p ${pkgdir}/usr/{lib,include/gctpc,share/licenses/gctpc}
25 base=${srcdir}/grib2/${pkgname}
26 install -Dm644 ${base}/source/proj.h ${pkgdir}/usr/include/gctpc
27 install -Dm644 ${base}/source/cproj.h ${pkgdir}/usr/include/gctpc
28 install -Dm644 ${base}/source/libgeo.a ${pkgdir}/usr/lib
29 install -Dm644 ${base}/announce.txt ${pkgdir}/usr/share/licenses/gctpc/licence
30}
31

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