github.com / ccusage
ccusage/ ccusage
Rust·501 files·commit 18461f2·scanned 1h ago·cached ✓
15/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.
score capped at 15 — 18,734+ stars — findings likely false positives
verdict accurate?
18,734 stars
38% file coverage
CLI tool detected
threat-state: lowlive
FINDINGS ░▒▓
criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.rust/crates/ccusage-adapter-all/src/report.rs
if let Some(filter) = jq {
let mut child = std::process::Command::new("jq")
.arg(filter)
.stdin(std::process::Stdio::piped())+8criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.rust/crates/ccusage-core/src/output.rs
if let Some(filter) = jq {
let mut child = std::process::Command::new("jq")
.arg(filter)
.stdin(std::process::Stdio::piped())+8warningRust unsafe blockunsafe blocks bypass Rust's memory safety guarantees. Malware uses them for raw pointer manipulation, shellcode injection, or calling dangerous foreign functions.rust/crates/ccusage-test-support/src/lib.rs
let previous = std::env::var_os(key);
unsafe { std::env::set_var(key, value) };
Self {
key,+3warningRust unsafe blockunsafe blocks bypass Rust's memory safety guarantees. Malware uses them for raw pointer manipulation, shellcode injection, or calling dangerous foreign functions.rust/crates/ccusage/src/commands/mod.rs
}
unsafe { kill(pid as i32, 0) == 0 }
}
+3infoSuspicious file in repoVery large source file (495KB) — could contain obfuscated payloadapps/ccusage/config-schema.json+2
Scores are heuristics. A “safe” verdict means no known-malicious patterns were found — clever malware can look boring. Wrong verdict? Flag it above; confirmed false positives become regression tests.
192 files scanned @ 18461f2 | 9/25/2026 | heuristic scan — always review manually
risk by category
code execution24
network & exfiltration0
file system access0
obfuscation0
supply chain4
owasp / injection0
telemetry
files 192/501rules hit 7engine v6commit 18461f2
github
ccusage/ccusage
npx ccusage
18734
852
484d
501 files
192 scanned(38%)
18461f2
architecture░▒▓
entry (0) flagged (4) pkg (55)
215 nodes · 313 edgesscroll to zoom · click node to jump to finding