skill-fitness
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [DATA_EXFILTRATION]: Accesses sensitive local files containing configuration and session history.
- Reads
~/.claude.jsonto access skill usage metadata and priority scores. - Scans
~/.claude/projects/*.jsonlto process historical session transcripts, which may contain private user data and previously executed commands. - [COMMAND_EXECUTION]: Executes local system and platform-specific CLI tools.
scripts/fitness.pyusessubprocess.runto invokegit archivefor analyzing skills within specific git references.scripts/trigger.pyusessubprocess.Popento execute theclaudeCLI with test prompts to measure skill selection performance.- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from external sources (historical transcripts) that could contain malicious instructions.
- Ingestion points: Reads session transcripts from
~/.claude/projects/inscripts/fitness.py. - Boundary markers: None implemented for the transcript scanning logic.
- Capability inventory: Includes local command execution (
git,claude) and broad file system read access. - Sanitization: Content is analyzed using regex and AST parsing to identify imports and code 'shapes' rather than being directly executed or re-interpolated into new system prompts.
- [DYNAMIC_EXECUTION]: Performs runtime analysis and extraction of executable content.
- Uses
ast.parseandast.walkinscripts/fitness.pyto analyze Python code snippets mined from session transcripts for the 'absorb' feature. - Uses the
tarfilemodule to dynamically extract skill content from git archives at runtime.
Audit Metadata