codex-fix-prose
Fail
Audited by Gen Agent Trust Hub on Oct 11, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDYNAMIC_EXECUTIONREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill's instructions in
SKILL.mdand thescripts/preflight.shscript execute a 'lint command' parsed directly from the user's initial request. This command is executed in the parent agent's shell environment without validation. - [DYNAMIC_EXECUTION]: The
scripts/preflight.shscript uses theevalshell command to execute the$lintstring. Because this string is derived from natural language input in the user's request, it allows a malicious actor to inject arbitrary shell commands (e.g., using command chaining with&&,;, or|) that the agent will then execute. - [REMOTE_CODE_EXECUTION]: By allowing unvalidated user-supplied strings to be executed as shell commands, the skill creates a high-risk vector for arbitrary code execution. This could be used to download and execute malicious payloads or perform unauthorized network operations.
- [INDIRECT_PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it processes untrusted target files and user-supplied commands with powerful capabilities but no sanitization.
- Ingestion points: The
targetfile is read and edited, and thelint commandis parsed from the request (SKILL.md). - Boundary markers: Absent; the skill lacks delimiters or instructions to prevent the agent from following commands embedded within the document being fixed.
- Capability inventory: The skill has arbitrary shell execution via
eval(scripts/preflight.sh), file-write capabilities on the target, and the ability to delegate to other agents. - Sanitization: None; the lint command is passed to
evalas a raw string.
Recommendations
- AI detected serious security threats
Audit Metadata