perl-ip-country

LOW
maintainer robertfoster 0 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion