gc-shrink

maintainer fatmike · 2 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a zip archive from gotwalls.com, a personal/unofficial host unrelated to any recognized upstream project repository. The archive contains C source code that is compiled and installed as a binary. While a sha256sum is present (providing integrity at the time of packaging), the host is not an official or recognized distribution channel, and the domain could change ownership or content at any time. The actual risk is that if the file at that URL were replaced, malicious C code would be compiled and executed on the user's system. This is a genuine supply-chain concern: compiled source from an unofficial personal host with no verifiable upstream provenance. The sha256 check mitigates replay attacks but not future substitution. Rated medium rather than high because there is no evidence of active malice, obfuscation, or payload — it is a structural supply-chain risk pattern.

Triggered rules

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.gotwalls.com/files/${pkgname}-${pkgver}.zip)
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a zip archive from gotwalls.com, a personal/unofficial host unrelated to any recognized upstream project repository. The archive contains C source code that is compiled and installed as a binary. While a sha256sum is present (providing integrity at the time of packaging), the host is not an official or recognized distribution channel, and the domain could change ownership or content at any time. The actual risk is that if the file at that URL were replaced, malicious C code would be compiled and executed on the user's system. This is a genuine supply-chain concern: compiled source from an unofficial personal host with no verifiable upstream provenance. The sha256 check mitigates replay attacks but not future substitution. Rated medium rather than high because there is no evidence of active malice, obfuscation, or payload — it is a structural supply-chain risk pattern.

PKGBUILD

1 offending line(s) highlighted
1# Contributor: Sebastian Wolf <fatmike303 at googlemail dot com>
2pkgname=gc-shrink
3pkgver=0.2
4pkgrel=3
5pkgdesc='Small command line program that removes garbage from gamecube images to created smaller images.'
6arch=('i686' 'x86_64')
7url=http://www.gotwalls.com
8license=('unknown')
9depends=()
10source=(http://www.gotwalls.com/files/${pkgname}-${pkgver}.zip)
11sha256sums=(547e092e306f99c52685a517af992c562b8de766cd02186caecfb7f1b2620cab)
12
13build() {
14 cd ${pkgname}-${pkgver}/src
15 gcc -o ${pkgname} ${pkgname}.c -DUNIX
16}
17
18package() {
19 install -Dm755 ${pkgname}-${pkgver}/src/${pkgname} ${pkgdir}/usr/bin/${pkgname}
20}
21

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 MEDIUM 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion