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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 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 |