lzma_alone
maintainer dbermond
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a 7-Zip SDK archive from the official 7-zip.org domain, which is plausibly the project's own release infrastructure; building from official vendor sources, even on non-whitelisted hosts, is standard and low risk.
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 source is a 7-Zip SDK archive from the official 7-zip.org domain, which is plausibly the project's own release infrastructure; building from official vendor sources, even on non-whitelisted hosts, is standard and low risk.
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:14
source=("https://www.7-zip.org/a/lzma${pkgver/./}.7z"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
2
3
pkgname=lzma_alone
4
pkgver=26.00
5
pkgrel=1
6
pkgdesc='A tool used to perform lossless data compression'
7
arch=('x86_64')
8
url='https://www.7-zip.org/sdk.html'
9
license=('LZMA-SDK-9.22')
10
depends=(
11
'glibc'
12
'libgcc'
13
'libstdc++')
14
source=("https://www.7-zip.org/a/lzma${pkgver/./}.7z"
15
'010-lzma_alone-use-arch-flags.patch')
16
noextract=("lzma${pkgver/./}.7z")
17
sha256sums=('6b7d0c8ed1a67112d5337e4532ecdcb9fd2eab8b1f6bb54199f9b6a627b506cc'
18
'8c1905241ce2d517b019b3101bab5e4994ca6864fe00b6ce303470adec66ed85')
19
20
prepare() {
21
mkdir -p "lzma-sdk-${pkgver}"
22
bsdtar -x -f "${srcdir}/lzma${pkgver/./}.7z" -C "lzma-sdk-${pkgver}"
23
chmod 644 "lzma-sdk-${pkgver}/CPP/7zip/7zip_gcc.mak"
24
patch -d "lzma-sdk-${pkgver}" --binary -Np1 -i "${srcdir}/010-lzma_alone-use-arch-flags.patch"
25
}
26
27
build() {
28
make -C "lzma-sdk-${pkgver}/CPP/7zip/Bundles/LzmaCon" -f makefile.gcc
29
30
# create a LICENSE file
31
sed -n '27,41p' "lzma-sdk-${pkgver}/DOC/lzma-sdk.txt" > "lzma-sdk-${pkgver}/DOC/LICENSE"
32
}
33
34
package() {
35
install -D -m755 "lzma-sdk-${pkgver}/CPP/7zip/Bundles/LzmaCon/_o/lzma" "${pkgdir}/usr/bin/lzma_alone"
36
install -D -m644 "lzma-sdk-${pkgver}/DOC/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
37
}
38
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |