ccusage-git

CLEAN
maintainer yobson 0 votes scanned 2026-08-21 00:01:35.148225
View on AUR

Triggered rules

Clean AI review downgraded a static finding llm_review

The static rules flagged this LOW, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it CLEAN (confidence 95%): The package builds from the project's own Git repository, uses standard Rust build practices, and installs only the compiled binary and license; no remote code execution or untrusted prebuilt binaries are involved.

1 higher static finding superseded - not the current verdict (shown for transparency)
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.

PKGBUILD

1# Maintainer: yobson <aur@yobson.xyz>
2pkgname=ccusage-git
3pkgver=20.0.20.r101.g813d801
4pkgrel=1
5pkgdesc='Analyze coding (agent) CLI token usage and costs from local data.'
6arch=(x86_64 aarch64)
7url='https://github.com/ryoppippi/ccusage'
8license=(MIT)
9depends=(gcc-libs)
10makedepends=(git cargo)
11options=(!lto)
12source=("${pkgname}::git+${url}.git")
13cksums=(SKIP)
14conflicts=(ccusage)
15provides=(ccusage)
16
17pkgver() {
18 cd "${srcdir}/${pkgname}"
19 git describe --long --abbrev=7 --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
20}
21
22prepare() {
23 cd "${srcdir}/${pkgname}/rust"
24
25 export RUSTUP_TOOLCHAIN=stable
26
27 cargo fetch --locked --target host-tuple
28}
29
30build() {
31 cd "${srcdir}/${pkgname}/rust"
32
33 export RUSTUP_TOOLCHAIN=stable
34 export CARGO_TARGET_DIR=target
35
36 cargo build --release --frozen --all-features
37}
38
39package() {
40 cd "${srcdir}/${pkgname}"
41
42 install -Dm755 rust/target/release/ccusage "${pkgdir}/usr/bin/ccusage"
43 install -Dm644 apps/ccusage/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
44}
45

Scan history

Scanned at (UTC)SeverityRules
2026-08-21 00:01:35 Clean 2
2026-08-20 23:13:41 Low 1

Report a package

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

0 / 4000
Your suggestion