idos-timetable-additionalinfo-chaps-trains-2022

maintainer dreieck · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads archived data files from web.archive.org, which are used as static data for a timetable application; the worst case of a swapped source would be incorrect data, not code execution, and the primary source is an official project domain archived for availability.

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 package downloads archived data files from web.archive.org, which are used as static data for a timetable application; the worst case of a swapped source would be incorrect data, not code execution, and the primary source is an official project domain archived for availability.

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:51 "${_target}::http://web.archive.org/web/20220405204613/http://ttakt.chaps.cz/TTAktual/Win/Zip/${_zipfile}"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: dreieck
2
3## `PKGBUILD` last updated: >= 2023-11-20.
4
5url="https://chaps.cz/eng/download/idos/zip#kotvainf"
6_zipfile="C1.ZIP"
7_pkgname=idos-timetable-additionalinfo-chaps-trains
8pkgname="${_pkgname}-2022"
9epoch=0
10_pkgver='2022_04_05'
11pkgver="${_pkgver}"
12pkgrel=3
13pkgdesc="Links for additional information on Czech trains and railway stations, to be used with the timetable search engines by CHAPS. Data from 2022."
14arch=('any')
15license=('custom')
16
17groups=(
18 "idos-timetable"
19 )
20depends=(
21 "idos-timetable-data-trains-cz"
22 )
23
24makedepends=(
25 "wget"
26)
27
28optdepends=()
29
30replaces=(
31 "${_pkgname}-latest<2023" # In 2023, this data seems to have vanished from `https://chaps.cz/eng/download/idos/zip#kotvainf`. So this package here is to replace the `-latest` package which is deprecated and is about to be deleted.
32)
33
34options+=('!strip')
35
36provides=(
37 "${_pkgname}=${pkgver}"
38
39 "idos-timetable-additionalinfo-trains=${pkgver}"
40
41 "idos-timetable-additionalinfo-trains-cz=${pkgver}"
42)
43
44conflicts=(
45 "${_pkgname}"
46)
47
48_target="c1-${_pkgver}.zip"
49
50source=(
51 "${_target}::http://web.archive.org/web/20220405204613/http://ttakt.chaps.cz/TTAktual/Win/Zip/${_zipfile}"
52 "IDOS-Licence.pdf::http://web.archive.org/web/20210904102649/http://www.chaps.cz/files/idos/IDOS-Licence.pdf"
53 "license-dummy.txt"
54)
55
56sha256sums=(
57 '1fe20538307d911d6edcec6590da51bf782cda64877f7dfabe742f11f618a657'
58 "SKIP"
59 "c6bb216055d3670d3100b7a74e04ce0644030f365f4349a09e630ef60fbcb9a4"
60)
61
62
63package() {
64 _instdirbase='/opt/idos-timetable'
65 _instdir="${pkgdir}/${_instdirbase}"
66 install -d -m755 "${_instdir}"
67
68 cp -r "${srcdir}"/Data* "${_instdir}/"
69 chmod 755 "${_instdir}"/Data*
70 chmod 755 "${_instdir}"/Data*/*
71 chmod 644 "${_instdir}"/Data*/*/*
72
73 install -d -m755 "${pkgdir}/usr/share/doc/${_pkgname}"
74 echo "${url}" > "${pkgdir}/usr/share/doc/${_pkgname}/info.url"
75 chmod 644 "${pkgdir}/usr/share/doc/${_pkgname}/info.url"
76
77 install -D -m644 "${srcdir}/license-dummy.txt" "${pkgdir}/usr/share/licenses/${pkgname}/copying.txt"
78 install -D -m644 "${srcdir}/IDOS-Licence.pdf" "${pkgdir}/usr/share/licenses/${pkgname}/IDOS-Licence.pdf"
79}
80

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion