rhdh-templates
Pass
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/validate.pyutility invokes thedjlintcommand-line tool viasubprocess.runto validate the syntax of Nunjucks templates located in the skeleton directory. The command is constructed using a list of arguments and targets local files, minimizing risks of shell injection. - [INDIRECT_PROMPT_INJECTION]: The skill processes external codebases through
scripts/analyze.pyto identify candidate strings for parameterization. While this introduces an ingestion point for untrusted data, the risk is mitigated by the skill's 'Interactive Authoring' principle, which requires explicit user review and confirmation of each proposed mapping before any file modifications occur. - [DATA_EXFILTRATION]: The skill facilitates network communication with RHDH Scaffolder APIs (such as dry-run and action discovery endpoints) using
urllib.request. These operations use a user-specified RHDH base URL and authentication tokens retrieved from standard environment variables (RHDH_TOKEN,BACKSTAGE_TOKEN). These network operations are strictly for the purpose of template testing and metadata retrieval as part of the intended developer workflow. - [CREDENTIALS_SAFE]: The skill explicitly enforces security conventions that prevent the inclusion of literal secrets in templates. It includes a
fix-gotchasscript with patterns to detect hardcoded tokens and directs users to utilize Backstage'sSecretwidgets and integration-based secret references instead.
Audit Metadata