academic-gate
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The hook scripts (
academic_gate_hook.py) utilizesubprocess.runto execute internal validation logic, specifically runningstructure_signoff_gate.pyto check the status of the project outline confirmation. These commands are constructed using local paths and placeholders defined in the skill's own registry. - [DYNAMIC_EXECUTION]: The
academic_gate_hook.pyscript contains a_forward_to_deployedfunction that usesrunpy.run_pathto dynamically execute a script from a pre-defined path in the user's home directory (~/.claude/academic-gate/academic_gate_hook.py). This mechanism is used to ensure that the agent always uses the most up-to-date, deployed version of the safety logic, even if an older version is triggered from a different location. - [INDIRECT_PROMPT_INJECTION]: The
context_feed_hook.pyscript ingests untrusted data from project files (e.g.,writing_progress.json,outline.md) to provide status updates to the AI agent. This creates a surface for indirect prompt injection. However, the skill implements a comprehensive sanitization routine incontext_guard_core.py(sanitize_field) that filters out invisible characters, control codes, and non-whitelisted characters before the data is injected into the agent's context. This is a recommended security best practice for context-injection features.
Audit Metadata