vector-store

Warn

Audited by Socket on Jul 8, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
scripts/store-knowledge.sh

This module is primarily a Postgres data writer, not a visibly malicious program. However, it has two major security weaknesses: (1) a default PG connection string with hardcoded plaintext credentials, and (2) high-risk SQL injection/SQL breakage due to direct interpolation of untrusted CLI inputs into a psql -c SQL statement (including JSON metadata assembled without proper escaping). If inputs or execution context are attacker-influenced, the script could be used to tamper with database contents or disrupt operations.

Confidence: 70%Severity: 78%
AnomalyLOW
scripts/pg-query.sh

No indicators of covert malware (e.g., exfiltration, reverse shells, persistence, or obfuscated payloads) are present in this snippet. The primary security concern is operational/high-impact: hardcoded database credentials in the default connection string plus direct execution of arbitrary caller-supplied SQL via psql -c with no validation. This combination makes the script risky to distribute or run in contexts where inputs/environment can be influenced or where the repository/secret could be exposed.

Confidence: 74%Severity: 68%
Audit Metadata
Analyzed At
Jul 8, 2026, 02:14 AM
Package URL
pkg:socket/skills-sh/OperatingSystem-1%2Fagent-skills%2Fvector-store%2F@22d5ec5c843edbd6432f5b21d22aa362d15c42512bdffbe69f1768de9dc6bc92
Security Audit — socket — vector-store