data-analysis
Warn
Audited by Gen Agent Trust Hub on Feb 23, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION] (MEDIUM): The functions
export_chartandexport_all_for_presentationinreference/chart-gallery.mdacceptfilenameandoutput_diras inputs and use them directly in file system operations (Path.mkdir,fig.write_image). This lack of validation allows for potential path traversal attacks where a malicious user could overwrite sensitive files.\n- [PROMPT_INJECTION] (LOW): Thekpi_cardfunction inreference/chart-gallery.mdis vulnerable to indirect injection because it embeds raw input data into HTML strings without sanitization.\n - Ingestion points: The
label,value, anddeltaarguments in thekpi_cardfunction inreference/chart-gallery.md.\n - Boundary markers: None present.\n
- Capability inventory: File-write capabilities via
plotlyexport functions inreference/chart-gallery.md.\n - Sanitization: None; input values are directly concatenated into an HTML template.
Audit Metadata