pstack-codex

Pass

Audited by Gen Agent Trust Hub on Nov 27, 2026

Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill includes an installation command that executes a Python script to configure the agent's local environment. This script defines commands that the platform is instructed to run automatically during prompt submission.
  • [PERSISTENCE]: The installation process modifies the ~/.codex/hooks.json configuration file to register a UserPromptSubmit hook. This persistent modification ensures the skill's logic is executed for every subsequent prompt, allowing it to maintain state and behavior across different sessions and threads.
  • [INDIRECT_PROMPT_INJECTION]: The skill implements a mechanism to ingest user prompts and inject additional context into the agent's input stream. While used to enable feature toggles like 'Poteto Mode', this creates a processing surface where prompt content influences the system-level context provided to the model.
  • [SCOPE_CONSISTENCY]: The privileged operations, such as environment modification and prompt monitoring, are consistent with the skill's purpose as a compatibility adapter for complex workflows. The associated scripts follow safe practices, including atomic file writes and strict validation of session identifiers to prevent path traversal.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 27, 2026, 05:22 AM