perl-ip-country
The package downloads the primary source from CPAN (standard for Perl modules) and two harmless GIF files from a non-whitelisted but project-related host; the GIFs are static data assets used by the module, not executable code, so the worst case of a malicious swap is limited to data tampering, not remote code execution.
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 the primary source from CPAN (standard for Perl modules) and two harmless GIF files from a non-whitelisted but project-related host; the GIFs are static data assets used by the module, not executable code, so the worst case of a malicious swap is limited to data tampering, not remote code execution.
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:13
"http://mailfud.org/ip-country-fast/ip.gif"
PKGBUILD
1 offending line(s) highlighted# Maintainer: robertfoster
pkgname=perl-ip-country
pkgver=2.28
pkgrel=3
pkgdesc="lookup of country codes by IP address"
arch=('any')
license=('PerlArtistic2')
options=('!emptydirs')
depends=('perl')
url="http://search.cpan.org/dist/IP-Country/"
source=("http://search.cpan.org/CPAN/authors/id/N/NW/NWETTERS/IP-Country-$pkgver.tar.gz"
"http://mailfud.org/ip-country-fast/ip.gif"
"http://mailfud.org/ip-country-fast/cc.gif")
sha256sums=('88db833a5ab22ed06cb53d6f205725e3b5371b254596053738885e91fa105f75'
'98ad6772ff178c33756887b92af81d00157f358e1aab79bc261cd2c20c4b4417'
'df254ef278d81076c4aeb7e67be0eba2ee2e9c24950d903c1dcc1127e3ce86da')
build() {
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "${srcdir}/IP-Country-${pkgver}"
perl Makefile.PL
make
}
check() {
cd "${srcdir}/IP-Country-${pkgver}"
make test
}
package() {
cd "${srcdir}/IP-Country-${pkgver}"
make install
install -Dm0644 "$srcdir/ip.gif" "$pkgdir/usr/share/perl5/vendor_perl/IP/Country/Fast/ip.gif"
install -Dm0644 "$srcdir/cc.gif" "$pkgdir/usr/share/perl5/vendor_perl/IP/Country/Fast/cc.gif"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |