azure-postgres
Warn
Audited by Socket on Oct 9, 2026
2 alerts found:
Anomalyx2Anomalyscripts/setup-group.sh
LOWAnomalyLOW
scripts/setup-group.sh
No clear malware or unauthorized exfiltration is evident. The script performs expected Azure and PostgreSQL administration, but unsafe SQL interpolation of the database argument and group display name can permit SQL injection or malformed grants. Use strict validation and proper SQL identifier/literal quoting; treat the admin grant as a high-impact privilege change.
Confidence: 96%Severity: 67%
Anomalyscripts/setup-user.sh
LOWAnomalyLOW
scripts/setup-user.sh
The script has a legitimate administrative purpose and no clear malware indicators. However, unvalidated USER_UPN and DATABASE values are interpolated into SQL, creating SQL injection risk when inputs are attacker-controlled. The admin option intentionally grants substantial privileges; use it only for trusted users.
Confidence: 98%Severity: 62%
Audit Metadata