Skip to content
Mallace for javascript and typescript teams

JavaScript and TypeScript security fixes, proved by tests

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.

Command injection

User input reaching child_process calls like exec, fixed with execFile/spawn argument arrays.

SQL injection

Query strings built from user input, fixed with your library’s placeholders.

Code injection

User input reaching eval.

Cross-site scripting and SSRF

Request data sent back as HTML unescaped, or a URL from the request fetched by the server, in Express handlers.

Real tests

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

Scan your repository free.