UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

15 lines (13 loc) 315 B
// ruleid:javascript-prompt var name = prompt('what is your name'); // ruleid: javascript-alert alert('your name is ' + name); alert('not', 'a', 'valid', 'alert') // ruleid: javascript-confirm if ( confirm("pushem!") == true) { r = "x"; } else { r = "Y"; // ruleid: javascript-debugger debugger; }