perl-xml-catalog
maintainer jnbek
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a Perl module tarball from search.mcpan.org, a legitimate CPAN mirror; building from CPAN is standard for Perl modules, and the checksums are provided, making the risk low despite the non-whitelisted host.
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 source is a Perl module tarball from search.mcpan.org, a legitimate CPAN mirror; building from CPAN is standard for Perl modules, and the checksums are provided, making the risk low despite the non-whitelisted host.
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:14
source=('http://search.mcpan.org/CPAN/authors/id/J/JF/JFEARN/XML-Catalog-1.03.tar.gz')
PKGBUILD
1 offending line(s) highlighted
1
# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
2
# Generator : CPANPLUS::Dist::Arch 1.28
3
4
pkgname='perl-xml-catalog'
5
pkgver='1.03'
6
pkgrel='1'
7
pkgdesc="Resolve public identifiers and remap system identifiers
"
8
arch=('any')
9
license=('PerlArtistic' 'GPL')
10
options=('!emptydirs')
11
depends=('perl-uri' 'perl-xml-parser' 'perl-libwww')
12
makedepends=()
13
url='http://search.mcpan.org/dist/XML-Catalog'
14
source=('http://search.mcpan.org/CPAN/authors/id/J/JF/JFEARN/XML-Catalog-1.03.tar.gz')
15
md5sums=('c2c14f3e87aa75ebb7130ea4ebd41984')
16
sha512sums=('a6189b4e5d53c2a764643f0e83d2aac5139d97c98ce322c305f9adb4e064d1b388583711f4e70110d7c2974162db72a20ba7f235af3fb05178080a3f37983f1f')
17
_distdir="XML-Catalog-1.03"
18
19
build() {
20
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
21
PERL_AUTOINSTALL=--skipdeps \
22
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
23
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
24
MODULEBUILDRC=/dev/null
25
26
cd "$srcdir/$_distdir"
27
/usr/bin/perl Makefile.PL
28
make
29
)
30
}
31
32
check() {
33
cd "$srcdir/$_distdir"
34
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
35
make test
36
)
37
}
38
39
package() {
40
cd "$srcdir/$_distdir"
41
make install
42
43
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
44
}
45
46
# Local Variables:
47
# mode: shell-script
48
# sh-basic-offset: 2
49
# End:
50
# vim:set ts=2 sw=2 et:
51
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |