subview-nightly-bin

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

Downloads prebuilt binaries 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 90%): Downloads prebuilt binaries 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-nightly-bin
3provides=('subview')
4conflicts=('subview' 'subview-bin')
5pkgver=0.1.0+nightly+20261105+0+g2ec388b2
6pkgrel=1
7pkgdesc="Display a subtitle stream from stdin as a desktop overlay — nightly build"
8arch=('x86_64' 'aarch64')
9url="https://github.com/someoneonsmile/subview"
10license=('MIT')
11
12_source_base="${url}/releases/download/nightly"
13
14# 同 aur/PKGBUILD:nightly 资产同样是滚动覆盖且文件名不含版本号,
15# 本地文件名带上 pkgver(含日期+提交数+sha)可避免复用旧缓存。
16source_x86_64=("subview-${pkgver}-x86_64-linux-gnu.tar.gz::${_source_base}/subview-x86_64-linux-gnu.tar.gz")
17source_aarch64=("subview-${pkgver}-aarch64-linux-gnu.tar.gz::${_source_base}/subview-aarch64-linux-gnu.tar.gz")
18sha256sums_x86_64=('SKIP')
19sha256sums_aarch64=('SKIP')
20
21package() {
22 cd "$srcdir"
23 tar xzf "subview-${pkgver}-${CARCH}-linux-gnu.tar.gz"
24 install -Dm755 "subview-${CARCH}-linux-gnu/subview" "$pkgdir/usr/bin/subview"
25 install -Dm644 "subview-${CARCH}-linux-gnu/complete/subview.bash" "$pkgdir/usr/share/bash-completion/completions/subview" 2>/dev/null || true
26 install -Dm644 "subview-${CARCH}-linux-gnu/complete/_subview" "$pkgdir/usr/share/zsh/site-functions/_subview" 2>/dev/null || true
27 install -Dm644 "subview-${CARCH}-linux-gnu/complete/subview.fish" "$pkgdir/usr/share/fish/vendor_completions.d/subview.fish" 2>/dev/null || true
28 install -Dm644 "subview-${CARCH}-linux-gnu/man/subview.1" "$pkgdir/usr/share/man/man1/subview.1" 2>/dev/null || true
29}
30

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