openspec-archive-change
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill instructions explicitly direct the agent to ingest and follow instructions from external data sources via the
openspec instructions archivecommand. - Ingestion points: Data is ingested from the JSON output of
openspec instructions archiveinSKILL.md(Step 1). - Boundary markers: The skill lacks explicit boundary markers or instructions to the agent to treat the external
contextoroperationGuidanceas untrusted data. - Capability inventory: The skill has the capability to execute shell commands (
Bashtool), write/sync specifications, and move directories on the file system. - Sanitization: There is no sanitization of the fetched context or guidance; the skill states that
contextmust be treated as a 'required prompt-level input'. - [COMMAND_EXECUTION]: The skill uses shell commands like
mkdir -pandmvto manage the archive directory structure. While it uses variables for paths, they are wrapped in double quotes to prevent basic shell injection, though they still rely on the integrity of the paths provided by theopenspecCLI output.
Audit Metadata