feature-flags-architect
Pass
Audited by Gen Agent Trust Hub on Nov 2, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
flag_debt_scanner.pyscript executesgit logviasubprocess.runto analyze the commit history and determine the age of feature flags. The execution is performed securely using an argument list instead of a shell string, and flag identifiers are validated against a restrictive regex. - [INDIRECT_PROMPT_INJECTION]: The skill scans repository source code files to identify feature flag identifiers, which constitutes a surface for indirect prompt injection if malicious content were embedded in code.
- Ingestion points: The
flag_debt_scanner.pyandkill_switch_audit.pyscripts walk the repository directory tree and read the contents of files with common code extensions (e.g., .py, .js, .ts). - Boundary markers: The scripts process file contents to extract identifiers but do not explicitly use boundary markers or provide instructions to the agent to ignore potential instructions within those files.
- Capability inventory: The skill scripts are restricted to local file reading and executing
gitfor history analysis. - Sanitization: Extracted identifiers are sanitized using a strict regular expression (
[\w.\-:]+) that limits identifiers to alphanumeric characters, dots, hyphens, and colons before they are used in any command execution.
Audit Metadata