aif-best-practices
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill explicitly instructs the agent to ingest and prioritize instructions from external files within the project environment, which could allow malicious repository content to influence agent behavior.
- Ingestion points: Instructions in SKILL.md mandate reading from
.ai-factory/skill-context/aif-best-practices/SKILL.mdand.ai-factory/ARCHITECTURE.mdif they exist. - Boundary markers: No delimiters or explicit "ignore embedded instructions" warnings are provided; instead, the skill states that "the skill-context rule wins" in cases of conflict, giving external data precedence over the skill's primary instructions.
- Capability inventory: The skill is permitted to use
Read,Glob, andGreptools and is involved in generating code, performing reviews, and refactoring logic. - Sanitization: The skill lacks any instructions to validate or escape the content retrieved from these external files before processing them as instructions.
Audit Metadata