perl-event
maintainer bidulock
· 7 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 and installing Perl modules from CPAN via AUR is standard practice and the checksum is provided, making this low risk 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 and installing Perl modules from CPAN via AUR is standard practice and the checksum is provided, making this low risk 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/E/ET/ETJ/Event-${pkgver}.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Brian Bidulock <bidulock@Openss7.org>
2
# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
3
# Generator : CPANPLUS::Dist::Arch 1.29
4
5
pkgname=perl-event
6
pkgver=1.28
7
pkgrel=1.3
8
pkgdesc="Event loop processing"
9
arch=('i686' 'x86_64')
10
license=('PerlArtistic' 'GPL')
11
options=('!emptydirs')
12
makedepends=()
13
url='http://metacpan.org/dist/Event'
14
source=("http://search.mcpan.org/CPAN/authors/id/E/ET/ETJ/Event-${pkgver}.tar.gz")
15
sha512sums=('8c7e676c3f659f85ae53ff3b60142943c72881f101f2c66dfd1a7e47babfade0171b78a2062476b6e061f12370b279b73abbe3ab01b07d7088145fa9508e7d0c')
16
_distdir="Event-${pkgver}"
17
18
build() {
19
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
20
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/$_distdir"
26
/usr/bin/perl Makefile.PL
27
make
28
)
29
}
30
31
check() {
32
cd "$srcdir/$_distdir"
33
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
34
make test
35
)
36
}
37
38
_perl_depends() {
39
# template start; name=perl-binary-module-dependency; version=1;
40
if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
41
_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
42
_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
43
depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
44
fi
45
# template end;
46
}
47
48
package() {
49
cd "$srcdir/$_distdir"
50
make install
51
52
find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete
53
_perl_depends
54
}
55
56
# Local Variables:
57
# mode: shell-script
58
# sh-basic-offset: 2
59
# End:
60
# vim:set ts=2 sw=2 et:
61
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 |