python-astropy-healpix

maintainer Universebenzene · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The non-standard host hosts a FITS data file used in documentation, not executable code; worst case is localized data tampering, not remote 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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The non-standard host hosts a FITS data file used in documentation, not executable code; worst case is localized data tampering, not remote 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:29 "https://lambda.gsfc.nasa.gov/data/map/dr3/skymaps/5yr//wmap_band_imap_r9_5yr_K_v3.fits"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Astro Benzene <universebenzene at sina dot com>
2
3pkgbase=python-astropy-healpix
4_pyname=astropy_healpix
5_pname=${pkgbase#python-}
6pkgname=("python-${_pname}" "python-${_pname}-doc")
7pkgver=2.0.1
8pkgrel=1
9pkgdesc="BSD-licensed HEALPix for Astropy"
10arch=('i686' 'x86_64')
11url="http://astropy-healpix.readthedocs.io"
12license=('BSD-3-Clause')
13makedepends=('python-setuptools-scm'
14 'python-extension-helpers>=1.3'
15 'python-build'
16 'python-installer'
17 'python-numpy>=2.0.0'
18 'python-sphinx-astropy'
19 'python-sphinx-copybutton'
20# 'python-matplotlib'
21 'python-astropy') # wheel required by new setuptools
22# _pyname/conftest.py
23checkdepends=('python-pytest-astropy-header'
24## 'python-pytest-doctestplus'
25# 'python-pytest-xdist'
26 'python-hypothesis'
27 'python-healpy')
28source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz"
29 "https://lambda.gsfc.nasa.gov/data/map/dr3/skymaps/5yr//wmap_band_imap_r9_5yr_K_v3.fits"
30 'fix_deprecation_warning.patch'
31 'use_local_doc_fits.patch')
32md5sums=('b1dbab97622637dd384445c4010f1f2b'
33 'f183da2392e37b9b424e9866d7bca559'
34 '71e532a1fed7a57d4ccf0d3e41035dd8'
35 '6fc85696c0103b265309db0fa3339b33')
36
37get_pyver() {
38 python -c "import sys; print('$1'.join(map(str, sys.version_info[:2])))"
39}
40
41prepare() {
42 cd ${srcdir}/${_pyname}-${pkgver}
43
44# sed -i -e "/oldest-supported-numpy/d" -e "/\"extension-helper/s/,/\]/" pyproject.toml
45 cp ${srcdir}/wmap_band_imap_r9_5yr_K_v3.fits docs
46 patch -Np1 -i "${srcdir}/use_local_doc_fits.patch"
47}
48
49build() {
50 cd ${srcdir}/${_pyname}-${pkgver}
51 python -m build --wheel --no-isolation --skip-dependency-check
52
53 msg "Building Docs"
54 PYTHONPATH="../build/lib.linux-${CARCH}-cpython-$(get_pyver)" make -C docs html
55}
56
57check() {
58 cd ${srcdir}/${_pyname}-${pkgver}
59
60 pytest "build/lib.linux-${CARCH}-cpython-$(get_pyver)" || warning "Tests failed" # -vv -l -ra --color=yes -o console_output_style=count -p xdist -n 4 #
61}
62
63package_python-astropy-healpix() {
64 depends=('python>=3.10' 'python-numpy>=2' 'python-astropy>=6.1')
65 optdepends=('python-astropy-healpix-doc: Documentation for Astropy-HEALPix')
66 cd ${srcdir}/${_pyname}-${pkgver}
67
68 install -D -m644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
69 install -D -m644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
70 python -m installer --destdir="${pkgdir}" dist/*.whl
71}
72
73package_python-astropy-healpix-doc() {
74 pkgdesc="Documentation for AstroPy-HEALPix"
75 arch=('any')
76 cd ${srcdir}/${_pyname}-${pkgver}/docs/_build
77
78 install -D -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" ../../LICENSE.md
79 install -d -m755 "${pkgdir}/usr/share/doc/${pkgbase}"
80 cp -a html "${pkgdir}/usr/share/doc/${pkgbase}"
81}
82

Changes since previous scan

--- PKGBUILD @ 2026-08-01 00:11
+++ PKGBUILD @ 2026-08-03 00:08
@@ -4,23 +4,24 @@
_pyname=astropy_healpix
_pname=${pkgbase#python-}
pkgname=("python-${_pname}" "python-${_pname}-doc")
-pkgver=1.1.3
+pkgver=2.0.1
pkgrel=1
pkgdesc="BSD-licensed HEALPix for Astropy"
arch=('i686' 'x86_64')
url="http://astropy-healpix.readthedocs.io"
license=('BSD-3-Clause')
makedepends=('python-setuptools-scm'
- 'python-extension-helpers'
+ 'python-extension-helpers>=1.3'
'python-build'
'python-installer'
'python-numpy>=2.0.0'
'python-sphinx-astropy'
- 'python-matplotlib'
+ 'python-sphinx-copybutton'
+# 'python-matplotlib'
'python-astropy') # wheel required by new setuptools
# _pyname/conftest.py
checkdepends=('python-pytest-astropy-header'
- 'python-pytest-doctestplus'
+## 'python-pytest-doctestplus'
# 'python-pytest-xdist'
'python-hypothesis'
'python-healpy')
@@ -28,7 +29,7 @@
"https://lambda.gsfc.nasa.gov/data/map/dr3/skymaps/5yr//wmap_band_imap_r9_5yr_K_v3.fits"
'fix_deprecation_warning.patch'
'use_local_doc_fits.patch')
-md5sums=('074b41db345730ea5a3d01ead06684f7'
+md5sums=('b1dbab97622637dd384445c4010f1f2b'
'f183da2392e37b9b424e9866d7bca559'
'71e532a1fed7a57d4ccf0d3e41035dd8'
'6fc85696c0103b265309db0fa3339b33')
@@ -60,7 +61,7 @@
}
package_python-astropy-healpix() {
- depends=('python>=3.10' 'python-numpy>=1.25' 'python-astropy>=5')
+ depends=('python>=3.10' 'python-numpy>=2' 'python-astropy>=6.1')
optdepends=('python-astropy-healpix-doc: Documentation for Astropy-HEALPix')
cd ${srcdir}/${_pyname}-${pkgver}

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 11:20:22 MEDIUM 1
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

Report a package

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

0 / 4000
Your suggestion