scanning-database-security
Warn
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: MEDIUMDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The skill requires access to and auditing of highly sensitive database configuration files and system tables that contain authentication rules and user metadata.
- Evidence: Instructs the agent to read and flag entries in
pg_hba.conf,postgresql.conf,my.cnf,mongod.conf, and themysql.usertable. - PII Exposure: Explicitly directs the agent to scan for plaintext sensitive data in database columns, specifically targeting
password,ssn, andcredit_cardpatterns. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from databases and application source code, creating a potential attack surface for indirect prompt injection.
- Ingestion points: Reads authentication configuration files, system roles tables, database query results, and application source code via the
Greptool (e.g., in files likescripts/database_scan.pyandscripts/config_validator.py). - Boundary markers: The instructions lack explicit delimiters or "ignore embedded instructions" warnings when processing these external data sources.
- Capability inventory: The skill is granted
Bash,Write, andEditpermissions, providing significant execution and modification capabilities that could be targeted by injected instructions. - Sanitization: There is no mention of sanitizing, escaping, or validating the external content before it is processed by the agent.
Audit Metadata