skills/socai-io/socai/clean-targets/Gen Agent Trust Hub

clean-targets

Pass

Audited by Gen Agent Trust Hub on Jul 30, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses a bash script to perform filesystem operations and execute local commands.
  • The script executes git worktree list, find, and du to identify and measure Cargo target directories.
  • It uses rm -rf to delete identified build artifacts.
  • The script implements several safety mechanisms: it only targets directories containing the CACHEDIR.TAG marker, checks the process list (ps) to skip directories currently in use by rustc or cargo, and provides a mandatory --dry-run step in the instructions for user verification.
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 30, 2026, 03:24 AM
Security Audit — agent-trust-hub — clean-targets