ag-bin

LOW
maintainer orphaned 0 votes scanned 2026-08-21 09:16:16.934280
View on AUR
Why flagged

Downloads a prebuilt binary from the project's own official release infrastructure (atomgit.com, the project's own forge), with per-architecture SHA256 checksums provided; the non-standard host is simply the project's own hosting platform, not a personal/swappable file-sharing service.

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.

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 80%): Downloads a prebuilt binary from the project's own official release infrastructure (atomgit.com, the project's own forge), with per-architecture SHA256 checksums provided; the non-standard host is simply the project's own hosting platform, not a personal/swappable file-sharing service.

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:23 source=("https://atomgit.com/hust-open-atom-club/atomgit-cli/releases/download/v${pkgver}/ag_linux_${_arch}.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Your Name <you@example.com>
2
3pkgname=ag-bin
4pkgver=0.7.2
5pkgrel=1
6pkgdesc="AtomGit CLI (ag) - 基于 AtomGit API 的命令行工具,参考 GitHub CLI (gh) 开发 (binary release)"
7arch=('x86_64' 'aarch64' 'loong64')
8url="https://atomgit.com/hust-open-atom-club/atomgit-cli"
9license=('custom:MulanPSL-2.0')
10provides=('ag')
11conflicts=('ag')
12_sha256sums_x86_64='065ade926a8ff44547f78eb48389b18c054edc624fbd533db71e0207f3a9a6f7'
13_sha256sums_aarch64='8933a84d566fc523c4aaf8ec69bc46b6a9edcc020fd027040ec249274ad470b0'
14_sha256sums_loong64='7ec065b451302ea31ea14e680638c7fb3fd8774ec19e847f7c92b72d4a25e61f'
15
16case "$CARCH" in
17 x86_64) _arch=amd64 ;;
18 aarch64) _arch=arm64 ;;
19 loong64) _arch=loong64 ;;
20 *) _arch=unknown ;;
21esac
22
23source=("https://atomgit.com/hust-open-atom-club/atomgit-cli/releases/download/v${pkgver}/ag_linux_${_arch}.tar.gz")
24
25case "$CARCH" in
26 x86_64) _sha256=$_sha256sums_x86_64 ;;
27 aarch64) _sha256=$_sha256sums_aarch64 ;;
28 loong64) _sha256=$_sha256sums_loong64 ;;
29 *) _sha256=SKIP ;;
30esac
31sha256sums=("$_sha256")
32
33package() {
34 cd "${srcdir}"
35 install -Dm755 "ag" "${pkgdir}/usr/bin/ag"
36 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
37}
38

Scan history

Scanned at (UTC)SeverityRules
2026-08-21 09:16:16 Low 3
2026-08-21 09:14:41 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