save-session
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill records session context including objectives, goals, and learning data that is intended to be read by a future agent. This creates a surface for indirect prompt injection if the current task context has been influenced by untrusted data.
- Ingestion points: Environment variables such as
SAVE_SESSION_GOAL_OBJECTIVEandSAVE_SESSION_WORKING_ONare read by thescripts/save-sessionscript. - Boundary markers: Absent; the content is written to
.session/CURRENT.mdunder Markdown headers without specific delimiters to isolate potentially malicious embedded instructions from being interpreted by the next agent. - Capability inventory: The skill writes to the local filesystem using Bash redirection.
- Sanitization: No escaping, filtering, or validation is performed on the captured strings before they are written to the checkpoint file.
- [DYNAMIC_EXECUTION]: The skill invokes Python scripts from computed paths within the vendor's local directory structure.
- Evidence:
scripts/save-sessionexecutespython3on a helper script located at$HOME/.codex/skills/session-orchestrate/scripts/session_workspace.py. - Evidence:
scripts/validate.shruns a validation script found at$HOME/.codex/skills/create-skill/scripts/audit.pyor a project-local equivalent.
Audit Metadata