read-only-postgres
Audited by Socket on Sep 17, 2026
2 alerts found:
Anomalyx2The code appears intended as a local read-only PostgreSQL query tool, not malware. It contains no evident exfiltration, persistence, reverse shell, credential harvesting beyond intentionally loading configured database credentials, or destructive behavior. The SQL safety and PII masking controls are heuristic and incomplete, creating a moderate security risk if exposed to untrusted users or sensitive databases. The provided fragment is also syntactically incomplete and will not run as written.
The fragment is a development database configuration with hardcoded credentials and disabled SSL. These are security risks if the file is exposed, reused outside a strictly local environment, or connected through an untrusted network. No malicious functionality or malware indicators are present in the supplied configuration.