creating-apm-dashboards
Warn
Audited by Gen Agent Trust Hub on Aug 26, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The
generate_scriptfunction withinscripts/create_datadog_dashboard.pyandscripts/create_grafana_dashboard.pyallows for the creation of new bash scripts. The content of these scripts is derived from atemplateparameter which is passed via the command-line argument--content, allowing for arbitrary script generation. - [PRIVILEGE_ESCALATION]: The Python scripts
scripts/create_datadog_dashboard.pyandscripts/create_grafana_dashboard.pyexplicitly callfile_path.chmod(0o755)on the newly created shell scripts. This automatically grants execution permissions to files generated from potentially untrusted user content. - [INDIRECT_PROMPT_INJECTION]: The skill represents a surface for indirect prompt injection because it translates user-provided dashboard requirements directly into generated files and executable scripts.
- Ingestion points: User-supplied requirements for APM dashboards, monitoring dashboards, or performance metrics as described in the
SKILL.mdtriggers. - Boundary markers: Absent. The skill instructions do not include delimiters or directives for the agent to ignore potentially malicious embedded instructions in the user's requirements.
- Capability inventory: The skill uses
scripts/create_datadog_dashboard.pyandscripts/create_grafana_dashboard.pywhich have file-writing andchmodcapabilities. - Sanitization: Absent. The script content template is interpolated directly into the bash script file without escaping or validation.
Audit Metadata