analyze_data_flow
Trace data flow from user input to sensitive functions, identifying potential security vulnerabilities in code across multiple languages.
Instructions
分析代码中的数据流,追踪用户输入到敏感函数的数据传播路径。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"targetPath": "<targetPath>",
"language": "<language>"
},
"name": "analyze_data_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes | 指定编程语言 | |
| entryPoint | No | 入口函数名称 | |
| targetPath | Yes | 要分析的代码路径 |