migrating-agents-md-to-control-flow
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill includes shell scripts for validating migration artifacts.
scripts/validate-migration-report.shusesgrepandawkto verify the structure and content of generated migration reports, whilescripts/validate-migration-skill.shusessed,grep, andpython3to validate skill frontmatter and directory structure. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted natural-language data from files like
AGENTS.md,CLAUDE.md, and.github/copilot-instructions.md. Malicious instructions embedded in these files could attempt to influence the agent during the extraction or report generation phases. - Ingestion points: Instructions in
SKILL.mddirect the agent to inspect repository-local documentation and workflow files. - Boundary markers: The skill does not define explicit delimiters or 'ignore embedded instructions' warnings for the data it processes.
- Capability inventory: The skill has the ability to read existing files, write new markdown files (reports, skills), and execute local validation scripts.
- Sanitization: There is no explicit logic for sanitizing or escaping the content read from the repository instruction files.
- [DYNAMIC_EXECUTION]: The
scripts/validate-migration-skill.shscript executes a Python script from a path that can be dynamically determined by environment variables. It defaults to looking forquick_validate.pywithin the$HOME/.codexor$CODEX_HOMEdirectories, representing dynamic execution of a local file based on environment configuration.
Audit Metadata