database
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill implements strict read-only enforcement in the 'query' mode by using
MATERIALIZEDtransaction isolation and connection-level blocks, ensuring thatINSERT,UPDATE,DELETE, andMERGEoperations are rejected even if requested by a user. - [SAFE]: Advanced credential protection is present across all modules; the skill is designed to discover configurations in secure paths (e.g.,
.env/databases/) and explicitly redacts secrets from logs, results, and error messages using a[REDACTED]mask. - [SAFE]: The
migration-guard.tsscript provides legitimate security utility by auditing SQL migrations for high-severity locks (Level 8ACCESS_EXCLUSIVE), preventing table rewrites, and identifying unindexed foreign key hazards that could cause production lockouts. - [SAFE]: Execution guardrails such as a 30-second timeout, 10,000-row caps, and 100-character column limits prevent runaway queries from exhausting database resources or overwhelming the agent's context.
- [INDIRECT_PROMPT_INJECTION]: The skill has a standard attack surface for database tools as it ingests untrusted data from query results and external SQL/Markdown files. This is well-mitigated by the skill's defense-in-depth architecture, which treats all external data as non-executable and forces structured ASCII table formatting for results.
- [SAFE]: Usage of the
bunruntime for helper scripts (cognitive-graph.tsandmigration-guard.ts) is documented for local execution on the operator's machine and does not involve downloading or executing remote code from untrusted sources.
Audit Metadata