data-retention-archiving-planner
Warn
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
cleanup-old-data.tsinSKILL.mdutilizesprisma.$executeRawUnsafewith template literals to interpolate table and column names directly into SQL strings. While the date parameter is passed safely, identifiers like table names are not parameterized, which could allow SQL injection if the configuration becomes dynamic. - [COMMAND_EXECUTION]: The shell script
migrate-to-s3.shinSKILL.mdinterpolates variables directly into shell commands forpsqlandaws. This pattern is vulnerable to command injection if variables like$CUTOFF_DATEare derived from untrusted input. - [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes large volumes of application data, providing an attack surface for instructions hidden in data records.
- Ingestion points: Database records from
orders,users, andsessionstables are accessed via Prisma inSKILL.md. - Boundary markers: Absent. No delimiters or instructions are provided to the agent to prevent it from obeying instructions embedded in the processed data.
- Capability inventory: The skill has destructive database permissions (deletions) and network access for file uploads (S3).
- Sanitization: No sanitization or validation is applied to database content before it is processed by archival or cleanup jobs.
Audit Metadata