atomgit-cli
LOW
maintainer moyigeek
2 votes
scanned 2026-10-06 00:13:36.889724
Why flagged
The source is a git clone from the project's own domain (atomgit.com), which is plausibly official; building from source is normal AUR practice, even if the host isn't whitelisted.
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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a git clone from the project's own domain (atomgit.com), which is plausibly official; building from source is normal AUR practice, even if the host isn't whitelisted.
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=("git+https://atomgit.com/hust-open-atom-club/atomgit-cli.git#tag=v${pkgver}")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: moyigeek <moyi@openatom.club>
2
3
pkgname=atomgit-cli
4
pkgver=0.7.3
5
pkgrel=1
6
pkgdesc="AtomGit CLI (ag) - 基于 AtomGit API 的命令行工具,参考 GitHub CLI (gh) 开发"
7
arch=('x86_64' 'aarch64' 'loong64')
8
url="https://atomgit.com/hust-open-atom-club/atomgit-cli"
9
license=('custom:MulanPSL-2.0')
10
depends=('glibc')
11
makedepends=('go')
12
provides=('ag')
13
conflicts=('ag' 'ag-bin' 'atomgit-cli-bin')
14
source=("git+https://atomgit.com/hust-open-atom-club/atomgit-cli.git#tag=v${pkgver}")
15
sha256sums=('SKIP')
16
17
_commit=6cfffd1f9ffc8e240baff316031f89835cb013e8
18
_builddate="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
19
20
build() {
21
cd "${srcdir}/atomgit-cli"
22
export CGO_ENABLED=0
23
go build -trimpath -o ag \
24
-ldflags "-s -w \
25
-X atomgit.com/hust-open-atom-club/atomgit-cli/internal/version.Version=v${pkgver} \
26
-X atomgit.com/hust-open-atom-club/atomgit-cli/internal/version.Commit=${_commit} \
27
-X atomgit.com/hust-open-atom-club/atomgit-cli/internal/version.BuildDate=${_builddate}" \
28
./cmd/ag
29
}
30
31
package() {
32
cd "${srcdir}/atomgit-cli"
33
install -Dm755 "ag" "${pkgdir}/usr/bin/ag"
34
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
35
}
36
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-06 00:13:36 | Low | 2 |
| 2026-10-05 00:08:03 | Low | 2 |
| 2026-10-04 00:18:08 | Low | 2 |
| 2026-10-03 00:23:04 | Low | 2 |
| 2026-10-02 00:00:32 | Low | 2 |
| 2026-10-01 00:02:06 | Low | 2 |
| 2026-09-30 00:20:07 | Low | 2 |
| 2026-09-29 00:07:46 | Low | 2 |
| 2026-09-28 00:28:32 | Low | 2 |
| 2026-09-27 00:07:07 | Low | 2 |
| 2026-09-26 00:12:15 | Low | 2 |
| 2026-09-25 00:03:36 | Low | 2 |
| 2026-09-24 00:24:14 | Low | 2 |
| 2026-09-23 00:28:13 | Low | 2 |
| 2026-09-22 00:15:14 | Low | 2 |
| 2026-09-21 00:26:32 | Low | 2 |
| 2026-09-20 00:25:31 | Low | 2 |
| 2026-09-19 00:25:36 | Low | 2 |
| 2026-09-18 00:17:11 | Low | 2 |
| 2026-09-17 00:27:14 | Low | 2 |