Zen protects your Node app against attacks with one line of code. Get peace of mind— at runtime.
See the codeZen, your in-app firewall for peace of mind– at runtime.
Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks.
It protects your Node.js apps by scanning user input and where that data eventually flows to, allowing Zen to more accurately block SQL Injections, Path traversal attacks, and more. It runs on the same server as your Node.js app for simple installation and zero maintenance.
Zen will autonomously protect your Node.js applications against:
Zen operates autonomously on the same server as your Node.js app to:
Zen for Node.js 16+ is compatible with:
mongodb 4.x, 5.x, 6.x and 7.x (npm package versions, not MongoDB server versions)mongoose 9.x, 8.x, 7.x and 6.xpg 8.x and 7.xmysql 2.xmysql2 3.xmariadb 3.x (3.5+ requires ESM instrumentation)sqlite3 6.x and 5.xnode:sqlitebetter-sqlite3 13.x, 12.x, 11.x, 10.x, 9.x and 8.xpostgres 3.x@clickhouse/client 1.x@prisma/client 6.x and 5.x@prisma/adapter-pg 7.x@prisma/adapter-better-sqlite3 7.x@google-cloud/functions-framework 5.x, 4.x and 3.x@google-cloud/pubsub 6.x, 5.x, 4.xSee list above for supported database drivers.
graphql 17.x, 15.x, 16.xxml2js 0.6.x, 0.5.x, ^0.4.18fast-xml-parser 5.x, 4.xxml-js 1.xShellJS 0.9.x, 0.8.x, 0.7.x@koa/router 14.x, 13.x, 12.x, 11.x and 10.xZen instruments the following AI SDKs to track which models are used and how many tokens are consumed, allowing you to monitor your AI usage and costs:
openai 7.x, 6.x, 5.x, 4.x@mistralai/mistralai 1.x and 2.x (2.x+ requires ESM instrumentation)@anthropic-ai/sdk ^0.40.x@aws-sdk/client-bedrock-runtime 3.xai 7.x, 6.x, 5.x, 4.x@google/genai ^1.6.0Note: Prompt injection attacks are currently not covered by Zen.
We recommend testing Zen locally or on staging before deploying to production.
# The --save-exact makes sure that you don't automatically install a newer version
$ npm install --save-exact @aikidosec/firewall
# The --exact makes sure that you don't automatically install a newer version
$ yarn add --exact @aikidosec/firewall
For framework- and provider- specific instructions, check out our docs:
[!NOTE] Many TypeScript projects use
importsyntax but still compile to CommonJS — in that case, the setup in the framework docs above works as-is. If your app runs as native ESM at runtime (e.g."type": "module"in package.json), see ESM setup for additional steps.
Aikido is your no nonsense application security platform. One central system that scans your source code & cloud, shows you what vulnerabilities matter, and how to fix them - fast. So you can get back to building.
Zen improves Aikido's offering by providing you with security in production. Use the automatic generation of API specifications together with our API scanning offering for even better API Security.
Only the necessary data gets reported back to Aikido, we scan your requests locally and only report back data once every 10 minutes. If an attack on your application is detected, we report immediately allowing you to take swift action.
You can easily select which IP addresses and/or bots to block from curated lists inside our Dashboard.
You will need an Aikido account and a token to report events to Aikido. If you don't have an account, you can sign up for free. (No credit card required)
Here's how:
AIKIDO_TOKEN, using dotenv or another method of your choosing.By default, Zen will only detect and report attacks to Aikido.
To block requests, set the AIKIDO_BLOCK environment variable to true.
See Reporting to Aikido to learn how to send events to Aikido.
Configure Zen using environment variables for authentication, mode settings, debugging, and more.
This program is offered under a commercial and under the AGPL license. You can be released from the requirements of the AGPL license by purchasing a commercial license. Buying such a license is mandatory as soon as you develop commercial activities involving the Zen software without disclosing the source code of your own applications.
For more information, please contact Aikido Security at this address: support@aikido.dev or create an account at https://app.aikido.dev.
We run a benchmark on every commit to ensure Zen has a minimal impact on your application's performance.
See benchmarks
Our bug bounty program is public and can be found by all registered Intigriti users at: https://app.intigriti.com/researcher/programs/aikido/aikidoruntime
See CONTRIBUTING.md for more information.
See CODE_OF_CONDUCT.md for more information.
See SECURITY.md for more information.
TypeScript
79.3%
JavaScript
19.3%
Rust
1.4%
Zen protects your Node app against attacks with one line of code. Get peace of mind— at runtime.
See the codeZen, your in-app firewall for peace of mind– at runtime.
Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks.
It protects your Node.js apps by scanning user input and where that data eventually flows to, allowing Zen to more accurately block SQL Injections, Path traversal attacks, and more. It runs on the same server as your Node.js app for simple installation and zero maintenance.
Zen will autonomously protect your Node.js applications against:
Zen operates autonomously on the same server as your Node.js app to:
Zen for Node.js 16+ is compatible with:
mongodb 4.x, 5.x, 6.x and 7.x (npm package versions, not MongoDB server versions)mongoose 9.x, 8.x, 7.x and 6.xpg 8.x and 7.xmysql 2.xmysql2 3.xmariadb 3.x (3.5+ requires ESM instrumentation)sqlite3 6.x and 5.xnode:sqlitebetter-sqlite3 13.x, 12.x, 11.x, 10.x, 9.x and 8.xpostgres 3.x@clickhouse/client 1.x@prisma/client 6.x and 5.x@prisma/adapter-pg 7.x@prisma/adapter-better-sqlite3 7.x@google-cloud/functions-framework 5.x, 4.x and 3.x@google-cloud/pubsub 6.x, 5.x, 4.xSee list above for supported database drivers.
graphql 17.x, 15.x, 16.xxml2js 0.6.x, 0.5.x, ^0.4.18fast-xml-parser 5.x, 4.xxml-js 1.xShellJS 0.9.x, 0.8.x, 0.7.x@koa/router 14.x, 13.x, 12.x, 11.x and 10.xZen instruments the following AI SDKs to track which models are used and how many tokens are consumed, allowing you to monitor your AI usage and costs:
openai 7.x, 6.x, 5.x, 4.x@mistralai/mistralai 1.x and 2.x (2.x+ requires ESM instrumentation)@anthropic-ai/sdk ^0.40.x@aws-sdk/client-bedrock-runtime 3.xai 7.x, 6.x, 5.x, 4.x@google/genai ^1.6.0Note: Prompt injection attacks are currently not covered by Zen.
We recommend testing Zen locally or on staging before deploying to production.
# The --save-exact makes sure that you don't automatically install a newer version
$ npm install --save-exact @aikidosec/firewall
# The --exact makes sure that you don't automatically install a newer version
$ yarn add --exact @aikidosec/firewall
For framework- and provider- specific instructions, check out our docs:
[!NOTE] Many TypeScript projects use
importsyntax but still compile to CommonJS — in that case, the setup in the framework docs above works as-is. If your app runs as native ESM at runtime (e.g."type": "module"in package.json), see ESM setup for additional steps.
Aikido is your no nonsense application security platform. One central system that scans your source code & cloud, shows you what vulnerabilities matter, and how to fix them - fast. So you can get back to building.
Zen improves Aikido's offering by providing you with security in production. Use the automatic generation of API specifications together with our API scanning offering for even better API Security.
Only the necessary data gets reported back to Aikido, we scan your requests locally and only report back data once every 10 minutes. If an attack on your application is detected, we report immediately allowing you to take swift action.
You can easily select which IP addresses and/or bots to block from curated lists inside our Dashboard.
You will need an Aikido account and a token to report events to Aikido. If you don't have an account, you can sign up for free. (No credit card required)
Here's how:
AIKIDO_TOKEN, using dotenv or another method of your choosing.By default, Zen will only detect and report attacks to Aikido.
To block requests, set the AIKIDO_BLOCK environment variable to true.
See Reporting to Aikido to learn how to send events to Aikido.
Configure Zen using environment variables for authentication, mode settings, debugging, and more.
This program is offered under a commercial and under the AGPL license. You can be released from the requirements of the AGPL license by purchasing a commercial license. Buying such a license is mandatory as soon as you develop commercial activities involving the Zen software without disclosing the source code of your own applications.
For more information, please contact Aikido Security at this address: support@aikido.dev or create an account at https://app.aikido.dev.
We run a benchmark on every commit to ensure Zen has a minimal impact on your application's performance.
See benchmarks
Our bug bounty program is public and can be found by all registered Intigriti users at: https://app.intigriti.com/researcher/programs/aikido/aikidoruntime
See CONTRIBUTING.md for more information.
See CODE_OF_CONDUCT.md for more information.
See SECURITY.md for more information.
TypeScript
79.3%
JavaScript
19.3%
Rust
1.4%