data-encryption

Warn

Audited by Socket on Sep 16, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
references/database-encryption-postgresql.md

This is ordinary PostgreSQL encryption example code, not malware. It has meaningful security weaknesses: a hardcoded encryption key, plaintext sensitive values in source and query results, possible bytea-to-text encryption errors in the trigger, missing configuration handling, and no automatic encryption on updates. The code should not be used unchanged for production sensitive-data protection.

Confidence: 98%Severity: 70%
AnomalyLOW
references/nodejs-encryption-library.md

The fragment is a conventional cryptography utility and contains no evident malware or supply-chain backdoor. The primary security concerns are the hardcoded RSA passphrase fallback, import-time execution with sensitive logging, and unrestricted caller-supplied filesystem paths. These issues warrant remediation before production or package distribution, but the code shows no unauthorized network, credential-theft, or system-compromise behavior.

Confidence: 98%Severity: 58%
Audit Metadata
Analyzed At
Sep 16, 2026, 10:46 AM
Package URL
pkg:socket/skills-sh/aj-geddes%2Fuseful-ai-prompts%2Fdata-encryption%2F@9b5dad25606e1b3fe1799d234871034e97673a850f0009c98bd61ab2d21a0168