dry-run-a-risky-change
Fail
Audited by Gen Agent Trust Hub on Nov 17, 2026
Risk Level: HIGHDYNAMIC_EXECUTIONDATA_EXFILTRATIONCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: Level 3 of the dry-run process instructs the agent to write custom TypeScript checks into the
ee/apps/den-api/scripts/dry-run/directory and subsequently execute them via theprod-data-dry-run.ymlGitHub workflow against a PlanetScale production data copy. This creates a vector where AI-generated code is executed in a privileged environment. - [DATA_EXFILTRATION]: The skill requires the agent to handle sensitive production data, including names, IDs, emails, and counts, using the
den_queryadministrative tool. The instructions explicitly direct the agent to keep this raw personally identifiable information (PII) within the chat context, which presents a data exposure risk to the underlying LLM platform. - [COMMAND_EXECUTION]: The skill makes extensive use of CLI tools and workflows to perform its functions, including
pnpmfor running end-to-end evaluations and the GitHub CLI (gh) for triggering production dry-run workflows with custom parameters. - [PRIVILEGE_ESCALATION]: The documentation describes the requirement for PlanetScale service tokens with extensive permissions, including
create_branch,delete_branch, andrestore_production_branch_backup. The management of these highly privileged credentials by the agent during the setup or execution of dry runs increases the risk of unauthorized infrastructure changes. - [INDIRECT_PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection due to its processing of untrusted data from production databases.
- Ingestion points: The agent reads and processes JSON extracts, plan metadata, and feature overrides from the
Dendatabase and PlanetScale branches. - Boundary markers: There are no specified delimiters or instructions to ignore embedded commands within the data being queried.
- Capability inventory: The agent possesses the capability to write local scripts and trigger remote GitHub workflows, which could be abused if malicious instructions are present in the database content.
- Sanitization: There is no evidence of sanitization or validation of the retrieved database content before it is processed by the agent or interpolated into reporting logic.
Recommendations
- AI detected serious security threats
Audit Metadata