subview-bin

MEDIUM
maintainer some 0 votes scanned 2026-11-05 08:08:21.407183
View on AUR
Why flagged

Installs a prebuilt binary from a non-whitelisted but project-owned release host without checksum verification, posing a supply-chain risk if the source were compromised.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Medium AI review of an ambiguous pattern llm_review

The static rules found a suspicious pattern they could not resolve, so an AI model (qwen/qwen3-235b-a22b-2507) reviewed it and judged it MEDIUM (confidence 95%): Installs a prebuilt binary from a non-whitelisted but project-owned release host without checksum verification, posing a supply-chain risk if the source were compromised.

PKGBUILD

1# Maintainer: someoneonsmile <someoneonsmile@gmail.com>
2pkgname=subview-bin
3provides=('subview')
4conflicts=('subview')
5pkgver=0.1.0
6pkgrel=1
7pkgdesc="Display a subtitle stream from stdin as a desktop overlay"
8arch=('x86_64' 'aarch64')
9url="https://github.com/someoneonsmile/subview"
10license=('MIT')
11
12_source_base="${url}/releases/download/v${pkgver}"
13
14# 下载到 SRCDEST 的本地文件名带上 pkgver:
15# 上游资产名不含版本号,若沿用原名,makepkg 会静默复用上一次缓存的 tar.gz,
16# 导致「包版本是新的、内容却是旧的」。文件名随 pkgver 变化可强制重新下载。
17source_x86_64=("subview-${pkgver}-x86_64-linux-gnu.tar.gz::${_source_base}/subview-x86_64-linux-gnu.tar.gz")
18source_aarch64=("subview-${pkgver}-aarch64-linux-gnu.tar.gz::${_source_base}/subview-aarch64-linux-gnu.tar.gz")
19sha256sums_x86_64=('SKIP')
20sha256sums_aarch64=('SKIP')
21
22package() {
23 cd "$srcdir"
24 tar xzf "subview-${pkgver}-${CARCH}-linux-gnu.tar.gz"
25 install -Dm755 "subview-${CARCH}-linux-gnu/subview" "$pkgdir/usr/bin/subview"
26 install -Dm644 "subview-${CARCH}-linux-gnu/complete/subview.bash" "$pkgdir/usr/share/bash-completion/completions/subview" 2>/dev/null || true
27 install -Dm644 "subview-${CARCH}-linux-gnu/complete/_subview" "$pkgdir/usr/share/zsh/site-functions/_subview" 2>/dev/null || true
28 install -Dm644 "subview-${CARCH}-linux-gnu/complete/subview.fish" "$pkgdir/usr/share/fish/vendor_completions.d/subview.fish" 2>/dev/null || true
29 install -Dm644 "subview-${CARCH}-linux-gnu/man/subview.1" "$pkgdir/usr/share/man/man1/subview.1" 2>/dev/null || true
30}
31

Scan history

Scanned at (UTC)SeverityRules
2026-11-05 08:08:21 Medium 2

Report a package

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

0 / 4000
Your suggestion