Command injection
User input reaching child_process calls like exec, fixed with execFile/spawn argument arrays.
Mallace scans your JavaScript and TypeScript for user input reaching a shell, eval or SQL, and proves each finding with a test that runs on Node before fixing it.
User input reaching child_process calls like exec, fixed with execFile/spawn argument arrays.
Query strings built from user input, fixed with your library’s placeholders.
User input reaching eval.
Request data sent back as HTML unescaped, or a URL from the request fetched by the server, in Express handlers.
Regression tests use node:test and node:assert. TypeScript files load directly, and built-ins like child_process are mocked, so nothing real runs.
A good fit if
Node.js services, Express or Next.js backends, and scripts, in JavaScript or TypeScript on GitHub.
Not a fit if
Front-end-only issues, like XSS inside React components or client-side templates, aren’t covered by Mallace’s rules yet.
How it works: product overview · Questions: FAQ · Cost: pricing