{"endpoint":"/api/dev/query-safety","method":"POST","service_trust":"https://defi-shield-hazel.vercel.app/api/trust-signal","free_check":{"endpoint":"https://defi-shield-hazel.vercel.app/api/free/token-check","method":"POST","price":"FREE","note":"Try before you buy — free basic token safety check with risk math."},"also_available_on":{"virtuals_acp":{"agent":"Authensor","agent_id":18805,"offerings":["pre_trade_safety","token_deep_scan","wallet_report","batch_seal"],"marketplace":"https://app.virtuals.io/acp/scan/agents","note":"Same service, accessible to 18,000+ autonomous agents on Virtuals Protocol."},"mcp_server":{"package":"devsecure-mcp","install":"npx devsecure-mcp","tools":67,"note":"Install as MCP server in Claude, Cursor, or any MCP-compatible client for direct tool access."},"bazaar":"https://defi-shield-hazel.vercel.app/.well-known/x402","agent_card":"https://defi-shield-hazel.vercel.app/.well-known/agent-card.json"},"powered_by":"DeFi Shield by Authensor","price":"$0.02","description":"Detect SQL injection vulnerabilities in query strings. Checks for UNION injection, stacked queries, tautology attacks, comment termination, LIKE injection, time-based blind, error-based, boolean-based extraction, schema enumeration, and string concatenation injection points. Also detects parameterized query usage.","llm_usage_prompt":"Call this endpoint when reviewing database queries or processing user-supplied input that may be used in SQL. Provide the query string in the 'query' field. Returns injection_detected (boolean), risk_level (none/low/medium/high/critical), detailed findings with pattern_type and matched_text, is_parameterized (boolean), and a recommendation. Costs $0.02.","params":{"query":"string (required) - SQL query or input string to analyze for injection patterns"},"exampleRequest":{"query":"SELECT * FROM users WHERE id = '1' OR '1'='1'"},"exampleResponse":{"injection_detected":true,"risk_level":"critical","findings":[{"pattern_type":"tautology","description":"Tautology injection (e.g., ' OR 1=1)","severity":"critical","matched_text":"' OR '1'='1'"}],"is_parameterized":false,"recommendation":"CRITICAL — active injection payload detected. This query is dangerous. Block immediately and rewrite with prepared statements.","query_length":46,"patterns_checked":18,"response_time_ms":2}}