sql_injection_check
Test API endpoints for SQL injection vulnerabilities by analyzing parameter inputs using specified HTTP methods. Supports authentication and helps identify potential security risks.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
endpoint | Yes | API endpoint to test | |
http_method | No | HTTP method to use | GET |
original_value | Yes | Original value for the parameter | |
parameter_name | Yes | Name of the parameter to test for SQL injection | |
use_auth | No | Whether to use current authentication if available |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"endpoint": {
"description": "API endpoint to test",
"format": "uri",
"type": "string"
},
"http_method": {
"default": "GET",
"description": "HTTP method to use",
"enum": [
"GET",
"POST",
"PUT"
],
"type": "string"
},
"original_value": {
"description": "Original value for the parameter",
"type": "string"
},
"parameter_name": {
"description": "Name of the parameter to test for SQL injection",
"type": "string"
},
"use_auth": {
"default": true,
"description": "Whether to use current authentication if available",
"type": "boolean"
}
},
"required": [
"endpoint",
"parameter_name",
"original_value"
],
"type": "object"
}