openspec-apply-change
Pass
Audited by Gen Agent Trust Hub on Jun 28, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it ingests and acts upon instructions provided in external data sources.
- Ingestion points: The skill parses task lists from
openspec instructions applyand reads multiple project files identified in thecontextFilesmetadata. - Boundary markers: Absent. There are no delimiters or specific instructions to treat external data as non-executable text.
- Capability inventory: The agent has the capability to execute
openspecCLI commands and perform file system modifications (writes/edits). - Sanitization: Absent. The skill directs the agent to "Implement tasks" directly from the provided descriptions, which could contain malicious directives.
- [COMMAND_EXECUTION]: The skill relies on shell command execution via the
openspecCLI to manage workflows. - Evidence: Frequent use of
openspec status,openspec list, andopenspec instructionswith arguments provided via the user or previous command outputs. - Mitigation: The skill includes a "Workspace guard" mechanism that checks
actionContext.modeandallowedEditRootsto prevent unauthorized file edits in restricted environments.
Audit Metadata