Protect

Zen (In-App Firewall)

Zen is a firewall that runs inside your application and stops attacks such as SQL injection, command injection and path traversal.

A conventional web application firewall sits in front of the application and sees only the incoming traffic. It does not know what the application does with the content. Aikido’s Zen runs inside the application itself and stops an attack at the moment it would have reached the database or the operating system.

What it is

Zen is an in-app firewall, also known as RASP (Runtime Application Self-Protection). It is installed as a library in the application, not as a separate service in the network.

Zen is open source and available for Node.js, Python, PHP, Java, .NET, Ruby and Go.

How it works

Zen watches the input coming from users and the calls the application makes onwards, for example to the database. When user input is about to alter a database query or a command, Zen stops the call.

Zen blocks SQL injection, NoSQL injection, command injection and path traversal, among others. Because it looks at what the application actually does, it does not need new rules for every new vulnerability.

The checks run locally in the application. Only attack events and telemetry are sent to Aikido, where you can see who attacked and what they tried.

You can test Zen without blocking first and see what it detects before you switch blocking on.

Zen also has traffic control features:

  • Rate limiting per endpoint and per user, against brute force among other things.
  • Bot blocking, for example AI scrapers and search engine crawlers.
  • Blocking of known attackers, based on IP lists from CrowdSec, and of Tor traffic.
  • Geo-blocking, where you allow or deny countries.
  • Blocking of individual users.

Zen also maps your APIs from the traffic and generates an OpenAPI specification automatically. It can be used in Aikido’s API scanning.

Who it is for

Zen suits teams that want to protect an application in production while vulnerabilities are being fixed, and those who have no separate web application firewall to manage. It is also useful where you need rate limiting and bot control without building it yourself.

How FM CyberSecurity helps

FM CyberSecurity is an Aikido partner and resells the licences. Our consultants help you install Zen in your applications, run a trial period without blocking and set up the traffic rules.

Last updated 26 Nov 2026

Contact

Portrait of Christian Vik

Christian Vik

Aikido lead

Email christian.vik@fmcybersecurity.com

For the complete documentation index, see /llms.txt. Markdown version of this page: /en/products/aikido/zen-in-app-firewall.md.