{"id": "AISEC_00001", "category": "security", "language": "bash", "vulnerability_type": "SQL Injection", "severity": "Low", "cwe": "CWE-89", "owasp": "A03:2021 Injection", "domain": "uploads", "prompt": "Perform a security review of this Bash code in the uploads domain and explain the vulnerability.", "code": "query = f\"SELECT * FROM users WHERE id = {user_id}\"", "analysis": "User-controlled input is concatenated directly into the SQL query.", "impact": "The issue can expose or manipulate order data in production.", "remediation": "Apply least privilege, input validation, and safe framework APIs.", "secure_code": "cursor.execute('SELECT * FROM users WHERE id = ?', (user_id,))"} {"id": "AISEC_00002", "category": "security", "language": "sql", "vulnerability_type": "Cross-Site Scripting", "severity": "Medium", "cwe": "CWE-79", "owasp": "A03:2021 Injection", "domain": "webhooks", "prompt": "Perform a security review of this SQL code in the webhooks domain and explain the vulnerability.", "code": "html = f\"