python-sncosmo-doc

LOW
maintainer Universebenzene 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The non-standard host delivers data files (templates) used in documentation examples, not executable code; worst case is data tampering, not code execution.

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 non-standard host delivers data files (templates) used in documentation examples, not executable code; worst case is data tampering, not code execution.

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:18 "https://c3.lbl.gov/nugent/templates/sn1a_flux.v1.2.dat.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Astro Benzene <universebenzene at sina dot com>
2_pyname=sncosmo
3pkgname=python-${_pyname}-doc
4pkgver=2.12.0
5pkgrel=1
6pkgdesc="Documentation for SNCosmo"
7arch=('any')
8url="https://sncosmo.readthedocs.io"
9license=('BSD-3-Clause')
10makedepends=("python-${_pyname}=${pkgver}"
11 'python-numpydoc'
12 'python-sphinx_rtd_theme'
13 'python-sphinx-gallery'
14 'python-matplotlib'
15 'python-iminuit'
16 'graphviz')
17source=("https://github.com/sncosmo/sncosmo/archive/v${pkgver}.tar.gz"
18 "https://c3.lbl.gov/nugent/templates/sn1a_flux.v1.2.dat.gz"
19 "https://c3.lbl.gov/nugent/templates/sn2p_flux.v1.2.dat.gz"
20 'doc-use-local-data.patch')
21md5sums=('09534592973e5615c8f1d0a787fd99a9'
22 '86a80d4b02030abbeb9941131053082a'
23 '121927c70484bf2f11298465210fc1a1'
24 'f277218e6347977f675dada2ad5859ee')
25
26prepare() {
27 cd ${srcdir}/${_pyname}-${pkgver}
28
29 cp ${srcdir}/*flux.v1.2.dat docs/_examples
30 patch -Np1 -i "${srcdir}/doc-use-local-data.patch"
31}
32
33build() {
34 cd ${srcdir}/${_pyname}-${pkgver}/docs
35
36 make html
37}
38
39package() {
40 cd ${srcdir}/${_pyname}-${pkgver}/docs/_build
41
42 install -d -m755 "${pkgdir}/usr/share/doc/${pkgname%-doc}"
43 cp -a html "${pkgdir}/usr/share/doc/${pkgname%-doc}"
44 install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" ../../LICENSE.rst
45}
46

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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