python-pylzma
The non-standard host hosts only test data (a .7z file) that is not executed and is used solely for testing; the actual package source comes from GitHub, and the test data's unverifiable checksum does not pose a security risk as it is not installed or run.
Triggered rules
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 hosts only test data (a .7z file) that is not executed and is used solely for testing; the actual package source comes from GitHub, and the test data's unverifiable checksum does not pose a security risk as it is not installed or run.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:17
https://archive.org/download/stackexchange/ux.stackexchange.com.7z)
PKGBUILD
1 offending line(s) highlighted# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
# Contributor: Chih-Hsuan Yen <yan12125@gmail.com>
# Contributor: Penguin <TGates81.at.gmail.dot.com>
_pkgname=pylzma
pkgname=python-$_pkgname
pkgver=0.6.1
pkgrel=1
pkgdesc='Platform independent python bindings for the LZMA compression library'
url='https://www.joachim-bauch.de/projects/pylzma/'
license=("LGPL-2.1-or-later")
arch=(i686 x86_64)
depends=('python')
makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
source=($_pkgname-$pkgver.tar.gz::https://github.com/fancycode/pylzma/archive/v$pkgver.tar.gz
# testing data
https://archive.org/download/stackexchange/ux.stackexchange.com.7z)
sha256sums=('f223c639d0346b158ca0040440d7d3aa0f39c368f4476db718367d54096c505b'
'SKIP')
noextract=(ux.stackexchange.com.7z)
prepare() {
cd "$_pkgname-$pkgver"
# Create symlink for test data
mkdir -p tests/data
ln -sf "$srcdir/ux.stackexchange.com.7z" tests/data/ux.stackexchange.com.7z
}
build() {
cd "$_pkgname-$pkgver"
python -m build --wheel --no-isolation
}
check() {
cd "$_pkgname-$pkgver"
# Install to a temporary directory
python -m installer --destdir="$srcdir/test_dir" dist/*.whl
# Find the site-packages path within that temp directory
local _site_packages=$(find "$srcdir/test_dir" -name site-packages -type d -print -quit)
# Run tests using the temp site-packages
PYTHONPATH="$_site_packages:$PWD" python tests/__init__.py
}
package() {
cd "$_pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
# Install license
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |