code-reviewer

Warn

Audited by Socket on May 15, 2026

1 alert found:

Security
SecurityMEDIUM
examples/golden-review-critical.md

This code fragment presents a high-risk SQL injection vulnerability because it interpolates an untrusted `id` parameter directly into an SQL statement and executes it. It also likely overexposes data by using `SELECT *` and returning the full fetched row. Remediation should include parameterized queries (bind `id`), strict input validation/type casting (e.g., integer-only), and selecting only required columns for the JSON response.

Confidence: 88%Severity: 90%
Audit Metadata
Analyzed At
May 15, 2026, 05:18 PM
Package URL
pkg:socket/skills-sh/AreteDriver%2Fai-skills%2Fcode-reviewer%2F@07599449323010fe9ba59f7872bbf0c68745e5cc
Security Audit — socket — code-reviewer