UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

15 lines (12 loc) 285 B
function ok1() { // ok: insecure-createnodesfrommarkup createNodesFromMarkup('<div></div', function () { handleIt(); }) } function bad1(input) { // ruleid: insecure-createnodesfrommarkup createNodesFromMarkup('<div>' + input + '</div', function () { handleIt(); }) }