session-cleanup

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses subprocess.run with ps -eo to identify running processes and map them to session files. This is a standard system inspection technique required for the skill's session-auditing functionality.
  • [EXTERNAL_DOWNLOADS]: The script scripts/summarize.py communicates with the 'OpenCode Go' API (opencode.ai) to generate session summaries. The domain is associated with the intended functionality of the skill as a development/audit tool.
  • [DYNAMIC_EXECUTION]: The skill instructions in SKILL.md suggest re-running tests (pytest, cargo test, bun test) and executing local scripts (scripts/find-sessions.py, scripts/summarize.py). These are standard development workflows and the scripts are provided within the skill package.
  • [DATA_EXPOSURE]: The skill scans for secrets (API keys, private keys) in git diffs as a safety measure before pushing code. This is a best-practice security check to prevent accidental credential leakage.
  • [PRIVILEGE_ESCALATION]: Mention of an install.sh script and crontab management is present. These actions are scoped to the user's environment (/home/cheta/) and are consistent with managing background jobs for the user's agent sessions.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 04:54 PM