x9-okf-docs
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local binaries, including
gitandruby, viasubprocess.runto perform repository metadata lookups and strict YAML validation. These executions are performed using list-style arguments without a shell, which prevents command injection vulnerabilities. - Evidence:
scripts/okf_yaml.pycallsrubywith a hardcoded script;scripts/insert_frontmatter.pycallsgit logandgit rev-parse. - [INDIRECT_PROMPT_INJECTION]: The skill processes external Markdown files which serve as a potential attack surface for indirect prompt injection.
- Ingestion points: The skill reads all Markdown files identified as 'concepts' within the target directory specified in the
rootargument. - Boundary markers: The skill relies on standard YAML frontmatter delimiters (
---) to separate metadata from document bodies. - Capability inventory: The skill has the capability to write to the local file system (using atomic replacement via
os.replace) and execute local tools (git,ruby). - Sanitization: The skill performs extensive validation, including resolving paths to prevent directory traversal (
mutation_path), checking for symlinks, and using a strict Ruby-based YAML parser (Psych) withsafe_loadto prevent malicious payloads in frontmatter.
Audit Metadata