perl-xml-treebuilder
maintainer jnbek
· 5 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a standard CPAN distribution tarball from a plausible upstream author's release; building Perl modules from CPAN is normal AUR practice, and the file is verified with matching checksums.
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 standard CPAN distribution tarball from a plausible upstream author's release; building Perl modules from CPAN is normal AUR practice, and the file is verified with matching checksums.
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-TreeBuilder-5.4.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-treebuilder'
5
pkgver='5.4'
6
pkgrel='1'
7
pkgdesc="Parser that builds a tree of XML::Element objects"
8
arch=('any')
9
license=('PerlArtistic' 'GPL')
10
options=('!emptydirs')
11
depends=('perl-html-tagset>=3.02' 'perl-html-tree' 'perl-xml-catalog>=1.02' 'perl-xml-parser')
12
makedepends=()
13
url='http://search.mcpan.org/dist/XML-TreeBuilder'
14
source=('http://search.mcpan.org/CPAN/authors/id/J/JF/JFEARN/XML-TreeBuilder-5.4.tar.gz')
15
md5sums=('bf2d9102b62516f6e76c248acb9e8a2c')
16
sha512sums=('0c1b9ebe96d7a5650abb5ba02a65fe674e2ba767e0fd34f38b560e79af4f0ac584cc3027a8c75c5cd9d53c441b5c89bfc48bb86f685a427c13955b8aa8ba5bdd')
17
_distdir="XML-TreeBuilder-5.4"
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 |