perl-ip-country

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

LOW AI review downgraded a static finding 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)
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:13 "http://mailfud.org/ip-country-fast/ip.gif"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: robertfoster
2
3pkgname=perl-ip-country
4pkgver=2.28
5pkgrel=3
6pkgdesc="lookup of country codes by IP address"
7arch=('any')
8license=('PerlArtistic2')
9options=('!emptydirs')
10depends=('perl')
11url="http://search.cpan.org/dist/IP-Country/"
12source=("http://search.cpan.org/CPAN/authors/id/N/NW/NWETTERS/IP-Country-$pkgver.tar.gz"
13 "http://mailfud.org/ip-country-fast/ip.gif"
14 "http://mailfud.org/ip-country-fast/cc.gif")
15sha256sums=('88db833a5ab22ed06cb53d6f205725e3b5371b254596053738885e91fa105f75'
16 '98ad6772ff178c33756887b92af81d00157f358e1aab79bc261cd2c20c4b4417'
17 'df254ef278d81076c4aeb7e67be0eba2ee2e9c24950d903c1dcc1127e3ce86da')
18
19build() {
20 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
21 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
22 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
23 MODULEBUILDRC=/dev/null
24
25 cd "${srcdir}/IP-Country-${pkgver}"
26 perl Makefile.PL
27 make
28}
29check() {
30 cd "${srcdir}/IP-Country-${pkgver}"
31 make test
32}
33package() {
34 cd "${srcdir}/IP-Country-${pkgver}"
35 make install
36 install -Dm0644 "$srcdir/ip.gif" "$pkgdir/usr/share/perl5/vendor_perl/IP/Country/Fast/ip.gif"
37 install -Dm0644 "$srcdir/cc.gif" "$pkgdir/usr/share/perl5/vendor_perl/IP/Country/Fast/cc.gif"
38}
39

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