perl-html-query
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/K/KA/KAMELKEV/HTML-Query-0.09.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.29
3
4
pkgname='perl-html-query'
5
pkgver='0.09'
6
pkgrel='1'
7
pkgdesc="jQuery-like selection queries for HTML::Element"
8
arch=('any')
9
license=('PerlArtistic' 'GPL')
10
options=('!emptydirs')
11
depends=('perl-badger>=0.03' 'perl-html-tree>=3.23')
12
makedepends=()
13
url='http://search.mcpan.org/dist/HTML-Query'
14
source=('http://search.mcpan.org/CPAN/authors/id/K/KA/KAMELKEV/HTML-Query-0.09.tar.gz')
15
md5sums=('e1681a2427dff87b12b7cb6c87dd70a1')
16
sha512sums=('d173bc70188c84615f909181c645c336256bd6c8afa8dbacd56c21c3d3f34fa15ab5afdbd01a24647c14c0fc2b55d8bb97124464df217d7becec825200589676')
17
_distdir="HTML-Query-0.09"
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 |