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.runwithps -eoto 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.pycommunicates 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.mdsuggest 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.shscript andcrontabmanagement 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