oracledb
Warn
Audited by Gen Agent Trust Hub on Jun 19, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The scripts in the
scripts/directory (e.g.,execute_sql.js,list_tables.js) contain amergeEnvVarsfunction that programmatically reads and parses a.envfile located at../../../.env. This file is accessed to retrieve sensitive database credentials and configuration. - [EXTERNAL_DOWNLOADS]: Each script uses
npxto download and execute the@toolbox-sdk/server@1.1.0package from the npm registry at runtime to perform its database operations. - [COMMAND_EXECUTION]: The scripts invoke the
npxtool usingchild_process.spawn. On Windows systems, the scripts explicitly setshell: true, which executes the command within a shell environment and can increase susceptibility to command injection if arguments are not strictly validated. - [PROMPT_INJECTION]: The skill represents an indirect prompt injection surface as it retrieves and displays data from an Oracle database (e.g., in
list_active_sessions.jsandlist_tables.js). If the database contains malicious instructions in session metadata or schema comments, these could be ingested into the agent's context. - [PROMPT_INJECTION]: Evidence Chain: 1. Ingestion points: Database query results and metadata processed in all scripts under
scripts/. 2. Boundary markers: None identified in the instruction markdown or scripts. 3. Capability inventory: The skill can execute arbitrary SQL (execute_sql.js) and run shell commands vianpx(spawnin all scripts). 4. Sanitization: No evidence of output sanitization or filtering of database content before it is returned to the agent.
Audit Metadata