vulnforge_verify_patch
Executes isolated Node.js vm canary sandbox verification of defensive patches against dual attack and benign functional payloads to prove exploit mitigation with zero regressions.
Instructions
Executes isolated Node.js vm canary sandbox verification of defensive patches against dual attack and benign functional payloads to prove exploit mitigation with zero regressions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vulnType | No | Vulnerability type (SQL_INJECTION, DOM_XSS, SECURITY_HEADERS, GRAPHQL_INTROSPECTION, GRAPHQL_RESOLVER_AUTH, etc.). Auto-inferred if omitted. | |
| timeoutMs | No | Execution timeout in milliseconds (default: 2000) | |
| patchedCode | Yes | The synthesized defensive patched code snippet | |
| originalCode | Yes | The original vulnerable source code snippet | |
| attackPayload | No | Custom attack payload to verify containment against (optional) | |
| benignPayload | No | Custom benign functional payload to verify lack of regression (optional) |