rule-steward
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill establishes a governance framework for project rules that modify agent behavior, creating an indirect prompt injection surface.\n
- Ingestion points: The skill ingests data from the
.agents/rules/directory, including the index file and individual rule definitions.\n - Boundary markers: Structural Markdown requirements (specific headers and fields) are enforced, though the rule content itself is free-form text.\n
- Capability inventory: The skill includes scripts capable of reading/writing files and executing
gitcommands.\n - Sanitization: Metadata like rule IDs and levels are validated, but the normative rule text is not sanitized.\n- [COMMAND_EXECUTION]: The provided
get-rules.mjsscript executes the systemgitbinary to interact with the repository.\n - Evidence: The script uses
execFileSyncto rungitcommands for repository status and file retrieval. It performs path resolution and validates commit identifiers to prevent command injection.\n- [DATA_EXPOSURE]: The skill manages files within the.agents/rules/project directory.\n - Evidence: The
init-rules.mjsandget-rules.mjsscripts perform directory creation and file reading within the project root. Access is restricted to the rule repository structure.
Audit Metadata