frontmatter-guard
Pass
Audited by Gen Agent Trust Hub on Oct 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONPERSISTENCECOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and validate untrusted Markdown files which could contain malicious instructions intended to influence the agent's logic during the audit or repair process.
- Ingestion points: The skill reads file content via
gbrain frontmatter validateandgbrain frontmatter auditcommands. - Boundary markers: No specific boundary markers or instructions to ignore embedded commands within the scanned files are mentioned.
- Capability inventory: The skill uses the
exectool to run CLI commands and can write modifications to the filesystem using the--fixflag. - Sanitization: The skill relies on the external
gbrainCLI tool for YAML parsing and validation, but the agent itself interprets the tool's output. - [PERSISTENCE]: The
gbrain frontmatter install-hookcommand installs a git pre-commit hook in the user's repository. This ensures that the validation logic runs automatically during git operations, creating a persistent execution point within the developer's workflow. - [COMMAND_EXECUTION]: The skill uses the
exectool to invoke thegbrainCLI. While these commands are scoped to frontmatter validation and repair, they involve executing shell commands with arguments derived from file paths and source identifiers.
Audit Metadata