database-skill

Warn

Audited by Socket on Sep 21, 2026

3 alerts found:

SecurityAnomalyx2
SecurityMEDIUM
scripts/toolbox.py

The code is a legitimate-looking database operations toolbox, not evident malware. It accesses credentials, executes arbitrary SQL, creates schema/data-change tickets, writes secrets and sensitive query data to local files, and can terminate database sessions. The primary concrete vulnerability is SQL injection in _pg_get_table_info() through unescaped schema and table values. Credential-file handling, temporary artifact exposure, broad process termination, and globals()-based CLI dispatch also warrant hardening. No obfuscated payload, exfiltration destination, reverse shell, persistence, or destructive behavior unrelated to database administration is present.

Confidence: 98%Severity: 72%
AnomalyLOW
scripts/multi_source_analyzer.py

The code is a data-analysis CLI with no clear malicious behavior or obfuscation. It contains security risks when exposed to untrusted input: unrestricted SQL execution, unvalidated SQL identifiers, arbitrary local file ingestion, and use of a predictable shared temporary database. These risks are potentially serious in a service or multi-user context, but they are not evidence of malware in this standalone fragment.

Confidence: 98%Severity: 68%
AnomalyLOW
scripts/analysis_workflow.py

The fragment is a readable local workflow utility with no apparent malware or network-based malicious behavior. It contains a meaningful path traversal and workspace-integrity risk because caller-controlled step_name, filename, and analysis_id are used in filesystem paths without validation. Exploitability depends on whether untrusted callers can supply these values, so the code requires review and input validation before use in a multi-user or exposed application.

Confidence: 98%Severity: 63%
Audit Metadata
Analyzed At
Sep 21, 2026, 03:20 PM
Package URL
pkg:socket/skills-sh/bytedance%2Fagentkit-samples%2Fdatabase-skill%2F@1e2e0ddce05a9f66544664fe408eed01a64fd2312cca3f3a780f26bc49ff0d2b