skill-usage-stats
Pass
Audited by Gen Agent Trust Hub on Aug 6, 2026
Risk Level: SAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The diagnostic scripts execute local binaries such as
claude,codex, andripgrep(rg) to gather version data and search log files. These executions are constrained to specific diagnostic purposes and use controlled argument patterns. - [EXTERNAL_DOWNLOADS]: The
check_updatesfunction inscripts/agent_health.pyqueriesdownloads.claude.aito verify version freshness. This targets a well-known service associated with the agent's developers. - [DATA_EXFILTRATION]: The skill accesses sensitive configuration files, including
~/.claude.jsonandsettings.json, and scans session transcript logs (*.jsonl). While intended for local auditing, the contents are loaded into the agent's context. The skill's instructions specifically warn against printing secrets found during this process. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection due to its ingestion of external session logs.
- Ingestion points: Session logs (
~/.claude/projects/*.jsonl,~/.codex/sessions/**/*.jsonl) and local JSON/TOML configuration files. - Boundary markers: The skill employs structured JSON and TOML parsing logic that identifies and reports malformed records rather than processing them as instructions.
- Capability inventory: The skill has the ability to execute shell commands via
subprocess.runto inspect system tools and search files. - Sanitization: Log data is parsed as structured objects, and command-line interactions are handled via
shlexto minimize injection risks.
Audit Metadata