system-memory-cleanup
Pass
Audited by Gen Agent Trust Hub on Dec 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local system binaries including
psfor monitoring andpkillfor terminating processes. It also invokes local shell scripts (scripts/top-processes.sh,scripts/find-orphan-claude.sh,scripts/kill-orphan-claude.sh) to automate these tasks. - [CREDENTIALS_UNSAFE]: The process inspection commands used (such as
ps -arcwwwxo "pid %cpu %mem rss command") retrieve the full command string for all running processes. This creates a risk of exposing sensitive data, such as API tokens, passwords, or private keys, if they have been passed as command-line arguments to other applications on the system. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the environment by reading the names and command-line arguments of all active system processes. A malicious local process could be named to contain instructions intended to influence the AI agent's behavior during the inspection or cleanup phase.
- Ingestion points: System process list via
pscommands and output from the provided cleanup scripts (SKILL.md). - Boundary markers: Absent. The agent is directed to identify and act on targets based on the raw output of process monitoring tools.
- Capability inventory: Process termination (
pkill), script execution (bash), and system monitoring (ps). - Sanitization: Absent. The skill does not filter or sanitize process names or arguments before the agent processes them.
Audit Metadata