perl-travel-status-de-dbris-git

LOW
maintainer dreieck 0 votes scanned 2026-10-20 00:10:31.152894
View on AUR
Why flagged

The source is a git repository from the project's own domain, which is normal for -git AUR packages; building from source is expected and the host, while not standard, is plausibly official.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a git repository from the project's own domain, which is normal for -git AUR packages; building from source is expected and the host, while not standard, is plausibly official.

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:48 "${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: dreieck
2
3_perlmod=Travel-Status-DE-DBRIS
4_pkgname=perl-travel-status-de-dbris
5pkgname="${_pkgname}-git"
6_pkgver='latest'
7epoch=1
8pkgver=0.34+r212.20260913.ga75ede1
9pkgrel=1
10pkgdesc='dbris-m is a commandline client and Perl module for bahn.de public transit interfaces. It can show the arrivals/departures at a specific public transit stop, give details on individual journeys, and look up stops by name or geo coordinates.'
11url='https://finalrewind.org/projects/Travel-Status-DE-DBRIS'
12license=(
13 'Artistic-1.0-Perl'
14 'CC0-1.0'
15)
16arch=('any')
17depends=(
18 'perl>=5.20.0'
19 'perl-class-accessor>=0.16'
20 'perl-datetime'
21 'perl-datetime-format-strptime'
22 'perl-getopt-long'
23 'perl-json'
24 'perl-list-moreutils'
25 'perl-lwp-protocol-https'
26)
27makedepends=(
28 'curl>8.7.1' # Because of https://bugs.gentoo.org/930633 / https://github.com/curl/curl/issues/13474
29 'git'
30 'perl-module-build>=0.40'
31 'perl-test-compile'
32 'perl-test-pod'
33)
34checkdepends=(
35 'perl-file-slurp'
36 'perl-test-compile'
37 'perl-test-pod'
38)
39provides=(
40 "${_pkgname}=${pkgver}"
41)
42conflicts=(
43 "${_pkgname}"
44)
45replaces=()
46options=('!emptydirs')
47source=(
48 "${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"
49)
50sha256sums=(
51 'SKIP'
52)
53
54prepare() {
55 cd "${srcdir}/${_perlmod}"
56
57 git log > git.log
58}
59
60pkgver() {
61 cd "${srcdir}/${_perlmod}"
62 _descr="$(git describe --tags --long)"
63 _ver="$(printf '%s' "${_descr}" | awk -F '-' '{print $1}')"
64 _rev="r$(git rev-list --count HEAD)"
65 _hash="$(printf '%s' "${_descr}" | awk -F '-' '{print $3}')"
66 _date="$(git log -n 1 --format=tformat:%ci | awk '{print $1}' | tr -d '-')"
67 printf '%s\n' "${_ver}+${_rev}.${_date}.${_hash}"
68}
69
70build() {
71 cd "${srcdir}/${_perlmod}"
72 perl Build.PL installdirs=vendor destdir="${pkgdir}"
73 ./Build
74}
75
76check() {
77 cd "${srcdir}/${_perlmod}"
78 ./Build test
79}
80
81package() {
82 cd "${srcdir}/${_perlmod}"
83 ./Build install
84
85 install -D -v -m644 -t "${pkgdir}/usr/share/doc/${_pkgname}" git.log README.md Changelog
86 install -D -v -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" COPYING
87}
88

Scan history

Scanned at (UTC)SeverityRules
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 Low 2
2026-10-12 00:18:51 Low 2
2026-10-11 00:26:05 Low 2
2026-10-10 00:11:52 Low 2
2026-10-09 00:05:33 Low 2
2026-10-08 00:28:03 Low 2
2026-10-07 00:21:34 Low 2
2026-10-06 00:13:36 Low 2
2026-10-05 00:08:03 Low 2
2026-10-04 00:18:08 Low 2
2026-10-03 00:23:04 Low 2
2026-10-02 00:00:32 Low 2
2026-10-01 00:02:06 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