security-best-practices
Warn
Audited by Socket on Oct 12, 2026
1 alert found:
SecuritySecurityfixtures/vulnerable.py
MEDIUMSecurityMEDIUM
fixtures/vulnerable.py
The fragment shows no clear malware behavior, but it has a SQL injection vulnerability, hardcoded plaintext credentials and secret material, and returns the secret as an authentication token. Use parameterized queries and managed, non-hardcoded credentials and tokens.
Confidence: 99%Severity: 78%
Audit Metadata