Product
Everything you need to secure code, cloud, and runtime– in one central system
Code
Dependencies
Prevent open-source risks (SCA)
Secrets
Catch exposed secrets
SAST
Secure code as its written
Container Images
Secure images easily
Malware
Prevent supply chain attacks
Infrastructure as Code
Scan IaC for misconfigurations
License Risk & SBOMs
Avoid risk, be compliant
Outdated Software
Know your EOL runtimes
Cloud
Cloud / CSPM
Cloud misconfigurations
DAST
Black-box security testing
API Scanning
Test your API’s for vulns
Virtual Machines
No agents, no overhead
Kubernetes Runtime
soon
Secure your container workloads
Cloud Search
Cloud sprawl, solved
Defend
Runtime Protection
In-app Firewall / WAF
Features
AI AutoFix
1-click fixes with Aikido AI
CI/CD Security
Scan before merge and deployment
IDE Integrations
Get instant feedback while coding
On-Prem Scanner
Compliance-first local scanning
Solutions
Use Cases
Compliance
Automate SOC 2, ISO & more
Vulnerability Management
All-in-1 vuln management
Secure Your Code
Advanced code security
Generate SBOMs
1 click SCA reports
ASPM
End-to-end AppSec
AI at Aikido
Let Aikido AI do the work
Block 0-Days
Block threats before impact
Industries
FinTech
HealthTech
HRTech
Legal Tech
Group Companies
Agencies
Startups
Enterprise
Mobile apps
Manufacturing
Pricing
Resources
Developer
Docs
How to use Aikido
Public API docs
Aikido developer hub
Changelog
See what shipped
Security
In-house research
Malware & CVE intelligence
Glossary
Security jargon guide
Trust Center
Safe, private, compliant
Open Source
Aikido Intel
Malware & OSS threat feed
Zen
In-app firewall protection
OpenGrep
Code analysis engine
Integrations
IDEs
CI/CD Systems
Clouds
Git Systems
Compliance
Messengers
Task Managers
More integrations
About
About
About
Meet the team
Careers
We’re hiring
Press Kit
Download brand assets
Calendar
See you around?
Open Source
Our OSS projects
Blog
The latest posts
Customer Stories
Trusted by the best teams
Partner Program
Partner with us
Contact
Login
Start for Free
No CC required
Aikido
Menu
Aikido
EN
EN
FR
JP
DE
PT
Login
Start for Free
No CC required
Blog
/
Zero day attack prevention for NodeJS with Aikido Zen

Zero day attack prevention for NodeJS with Aikido Zen

By
Samuel Vandamme
Samuel Vandamme
4 min read
Product & Company Updates
June 3, 2025

TLDR: 

0-day attacks, exploiting vulnerabilities unknown to software vendors pose a significant cyber threat. Traditional web application firewalls (WAFs) often fall short of preventing these attacks, requiring frequent patching. Runtime Application Self Protection (RASP) takes a different approach which doesn’t rely on written rules but actively monitors application behaviour through native integrations, leading to an increased protection for 0-Days. 

The objective when building Aikido Zen for NodeJS was to allow developers to retro-fit their apps and protect them by default against common classes of injection attacks such as SQL injections, shell injections, path traversal and SSRF. Not only should the developer be protected against mistakes in their own code, but also against unknown flaws in libraries they are using.

To assess its effectiveness, we evaluated Zen against a number of CVEs. This whitepaper explains the approach, grades the effectiveness and lays out tradeoffs and limitations. For this paper, the team has identified 17 vulnerabilities of which 11 were blocked by Zen without any previous knowledge about the specific exploit.

Introduction

WAFs have always been a last hope against 0-days as they relied on a combination of luck and recurring patterns to catch 0-days during their “Zero-day attack” window (as shown below). Only after vulnerabilities have been disclosed publicly (t0) can WAF rules be updated to stop the new attack. 

By Libicki et al. - (in English) (2015) The Defender’s Dilemma: Charting a Course Toward Cybersecurity, Rand Corporation ISBN: 978-0-8330-8911-3., Public Domain, https://commons.wikimedia.org/w/index.php?curid=147095222

‍

A WAF will look at inbound connection data (headers, body, ..) before it hits your application. It scans the data for suspicious patterns (SQL injections, path traversals) and blocks or removes the suspicious data. Although effective, it has the tendency to create a lot of false positives as seen in research by System Weakness.

 If you have 10,000 customers, the best solution could still block 56 of them. 

Aikido Zen takes a fundamentally different approach to web application security. Instead of relying solely on signatures and known patterns, it focuses on understanding and mitigating attack behaviors on a deeper application level. 

The Aikido Zen Approach

By focusing on monitoring and intercepting malicious activity at the point where it attempts to access or manipulate critical resources, Aikido Zen is able to provide a significant reduction in false positives by adopting a strategy that only blocks attacks when they interact with the underlying systems. 
‍

This is accomplished by implementing a system that scrutinizes various types of interactions with the underlying environment. These include:

  • Database Interactions: Monitoring calls made to database libraries, both SQL and NoSQL, allows for the detection of unauthorized queries, data exfiltration attempts, or injection attacks. By analyzing the content and structure of these database calls, malicious activity can be identified and blocked before it causes damage.

  • External Calls: Monitoring external calls made through HTTP, HTTPS, or other protocols can reveal attempts to communicate with command-and-control servers, download malware, or exfiltrate data. By inspecting the content and destination of these calls, malicious traffic can be identified and blocked.

  • File System Access and Shell execution: Monitoring file system access can detect attempts to read, write, or modify sensitive files, or to execute malicious code. By analyzing the file paths, permissions, and operations involved in these accesses, unauthorized activity can be identified and blocked.

  • Server-Side Request Forgery (SSRF) Attempts: SSRF attacks can be devastating, allowing attackers to leverage your server's trust to access internal resources or even interact with external services on their behalf. By closely monitoring the destination and nature of internal requests originating from your servers Zen is able to block SSRF attacks.

By focusing on these critical points of interaction with the underlying systems, the Zen approach allows for more precise and effective detection and blocking of attacks, while minimizing the number of false positives that can disrupt legitimate activity. This strategy also provides valuable insights into the nature and targets of attacks, which can be used to improve overall security posture.

Research

As a continuous effort, the Aikido Zen team runs tests against recently discovered vulnerabilities to measure the effectiveness of Aikido Zen. The team identifies new 0 days, creates a reproducible testing environment, validates the vulnerability with a successful payload injection, and then installs Aikido Zen to verify the attack is blocked. 
‍

For this paper the team has identified 17 vulnerabilities of which 11 were blocked by Zen and 6 were not for a myriad of reasons. 

The results of our research can be found below and all testing environments, exploits and resources needed for reproduction have been open sourced.

Blocked

CVE ID Affected software Type
CVE-2014-3744 npm:st Path Traversal
CVE-2015-1369 npm:sequelize SQL Injection
CVE-2019-15597 npm:node-dfs Shell Injection
CVE-2020-7687 npm:fast-http Path Traversal
CVE-2020-7765 npm:@firebase/util Prototype Pollution
CVE-2020-8116 npm:dot-prop Prototype Pollution
CVE-2020-26301 npm:ssh2 Shell Injection
CVE-2023-31719 npm:@frangoteam/fuxao SQL Injection
CVE-2024-24806 libuv (used by Node.js) SSRF
CVE-2024-39338 npm:axios SSRF
CVE-2024-53900 npm:mongoose JS Code Injection
CVE-2025-23084 Node.js Path traversal
CVE-2025-25975 npm:parse-git-config Prototype Pollution
CVE-2025-25977 npm:canvg Prototype Pollution
CVE-2025-27152 npm:axios SSRF
CVE-2025-28269 npm:js-object-utilities Prototype Pollution
CVE-2025-32020 npm:crud-query-parser SQL Injection

Not Blocked

CVE Affected software Type Reason
CVE-2014-9682 dns-sync Command Injection Uses old unsupported ShellJS version. Version updated by Zeni.
CVE-2015-1369 sequelize SQL Injection Issue not caught at first, fixed in version 1.7.11.
CVE-2024-21511 mysql2 Code Injection Single-threaded non-blocking requests cause context loss.
Use libraries like async_hooks to maintain context.
https://github.com/nodejs/node/issues/41257
https://nodejs.org/api/async_context.html#asynccontextasyncresource
CVE-2024-56198 path-sanitizer Path Traversal Issue arises when the input is modified.
CVE-2025-1302 jsonpath-plus Remote Code Execution Vulnerability in the execution based on code presence.
Fixed by ensuring a check before code execution.
CVE-2024-42352 @nuxt/icon SSRF Package not supported anymore.

Aikido is continuously researching and expanding the Aikido Zen's zero-day protection with new framework support and enhanced algorithms.
‍

A core principle is maintaining minimal performance impact (≤ 5%) for continuous protection. While this prevents us from immediately implementing certain resource-intensive protection algorithms (which could increase request times by 2x-10x), we're actively developing alternative, efficient approaches.

Consider Aikido Zen an *additional* layer of protection, complementing Aikido's comprehensive reactive components like code scanning, API testing, and other robust security capabilities.

Conclusion

Aikido Zen is a major breakthrough in web application security. It offers strong protection against zero-day attacks without requiring constant patching by concentrating on attack behaviors and utilizing cutting-edge technologies. Aikido Zen offers a potential solution for ensuring the ongoing security of web applications as the threat landscape changes.

Written by Samuel Vandamme

Share:

https://www.aikido.dev/blog/zero-day-nodejs

Table of contents:
Text Link
Share:
Use keyboard
Use left key to navigate previous on Aikido slider
Use right arrow key to navigate to the next slide
to navigate through articles
By
Madeline Lawrence

Introducing Aikido AI Cloud Search

Aikido
May 26, 2025
Read more
By
Mackenzie Jackson

Reducing Cybersecurity Debt with AI Autotriage

Product & Company Updates
May 21, 2025
Read more
By
Mackenzie Jackson

Understanding SBOM Standards: A Look at CycloneDX, SPDX, and SWID

Guides & Best Practices
May 20, 2025
Read more
By
Mackenzie Jackson

Vibe Check: The vibe coder’s security checklist

Guides & Best Practices
May 19, 2025
Read more
By
Charlie Eriksen

You're Invited: Delivering malware via Google Calendar invites and PUAs

Vulnerabilities & Threats
May 13, 2025
Read more
By
Mackenzie Jackson

Container Security is Hard — Aikido Container Autofix to Make it Easy

Product & Company Updates
May 12, 2025
Read more
By
Charlie Eriksen

RATatouille: A Malicious Recipe Hidden in rand-user-agent (Supply Chain Compromise)

Vulnerabilities & Threats
May 6, 2025
Read more
By
Charlie Eriksen

XRP supply chain attack: Official NPM package infected with crypto stealing backdoor

Vulnerabilities & Threats
April 22, 2025
Read more
By
Charlie Eriksen

The malware dating guide: Understanding the types of malware on NPM

Vulnerabilities & Threats
April 10, 2025
Read more
By
Charlie Eriksen

Hide and Fail: Obfuscated Malware, Empty Payloads, and npm Shenanigans

Vulnerabilities & Threats
April 3, 2025
Read more
By
Mackenzie Jackson

Why Lockfiles Matter for Supply Chain Security

Guides & Best Practices
April 1, 2025
Read more
By
Madeline Lawrence

Launching Aikido Malware – Open Source Threat Feed

Product & Company Updates
March 31, 2025
Read more
By
Charlie Eriksen

Malware hiding in plain sight: Spying on North Korean Hackers

Vulnerabilities & Threats
March 31, 2025
Read more
By
Madeline Lawrence

Get the TL;DR: tj-actions/changed-files Supply Chain Attack

Vulnerabilities & Threats
March 16, 2025
Read more
By
Mackenzie Jackson

A no-BS Docker security checklist for the vulnerability-minded developer

Guides & Best Practices
March 6, 2025
Read more
By
Mackenzie Jackson

Sensing and blocking JavaScript SQL injection attacks

Guides & Best Practices
March 4, 2025
Read more
By
Floris Van den Abeele

Prisma and PostgreSQL vulnerable to NoSQL injection? A surprising security risk explained

Vulnerabilities & Threats
February 14, 2025
Read more
By
The Aikido Team

Top Dynamic Application Security Testing (DAST) Tools in 2025

DevSec Tools & Comparisons
February 12, 2025
Read more
By
Willem Delbare

Launching Opengrep | Why we forked Semgrep

Product & Company Updates
January 24, 2025
Read more
By
Thomas Segura

Your Client Requires NIS2 Vulnerability Patching. Now What?

Guides & Best Practices
January 14, 2025
Read more
By
Mackenzie Jackson

Top 10 Software Composition Analysis (SCA) tools in 2025

DevSec Tools & Comparisons
January 9, 2025
Read more
By
Mackenzie Jackson

The Startup's Open-Source Guide to Application Security

Guides & Best Practices
December 23, 2024
Read more
By
Madeline Lawrence

Launching Aikido for Cursor AI

Product & Company Updates
December 13, 2024
Read more
By
Mackenzie Jackson

Meet Intel: Aikido’s Open Source threat feed powered by LLMs.

Product & Company Updates
December 13, 2024
Read more
By
Johan De Keulenaer

Aikido joins the AWS Partner Network

Product & Company Updates
November 26, 2024
Read more
By
Mackenzie Jackson

Command injection in 2024 unpacked

Vulnerabilities & Threats
November 24, 2024
Read more
By
Mackenzie Jackson

Path Traversal in 2024 - The year unpacked

Vulnerabilities & Threats
November 23, 2024
Read more
By
Mackenzie Jackson

Balancing Security: When to Leverage Open-Source Tools vs. Commercial Tools

Guides & Best Practices
November 15, 2024
Read more
By
Mackenzie Jackson

The State of SQL Injection

Vulnerabilities & Threats
November 8, 2024
Read more
By
Michiel Denis

Visma’s Security Boost with Aikido: A Conversation with Nikolai Brogaard

Customer Stories
November 6, 2024
Read more
By
Michiel Denis

Security in FinTech: Q&A with Dan Kindler, co-founder & CTO of Bound

Customer Stories
October 10, 2024
Read more
By
Madeline Lawrence

Automate compliance with SprintoGRC x Aikido

Product & Company Updates
September 11, 2024
Read more
By
Madeline Lawrence

SAST vs DAST: What you need to know.

Guides & Best Practices
September 2, 2024
Read more
By
Lieven Oosterlinck

5 Snyk Alternatives and Why They Are Better

DevSec Tools & Comparisons
August 5, 2024
Read more
By
Madeline Lawrence

Why we’re stoked to partner with Laravel

Product & Company Updates
July 8, 2024
Read more
By
Felix Garriau

110,000 sites affected by the Polyfill supply chain attack

Vulnerabilities & Threats
June 27, 2024
Read more
By
Felix Garriau

Cybersecurity Essentials for LegalTech Companies

Guides & Best Practices
June 25, 2024
Read more
By
Roeland Delrue

Drata Integration - How to Automate Technical Vulnerability Management

Product & Company Updates
June 18, 2024
Read more
By
Joel Hans

DIY guide: ‘Build vs buy’ your OSS code scanning and app security toolkit

Guides & Best Practices
June 11, 2024
Read more
By
Roeland Delrue

SOC 2 certification: 5 things we learned

Compliance
June 4, 2024
Read more
By
Joel Hans

Top 10 app security problems and how to protect yourself

Guides & Best Practices
May 28, 2024
Read more
By
Madeline Lawrence

We just raised our $17 million Series A

Product & Company Updates
May 2, 2024
Read more
By
Willem Delbare

Webhook security checklist: How to build secure webhooks

Guides & Best Practices
April 4, 2024
Read more
By
Willem Delbare

The Cure For Security Alert Fatigue Syndrome

Guides & Best Practices
February 21, 2024
Read more
By
Roeland Delrue

NIS2: Who is affected?

Compliance
January 16, 2024
Read more
By
Roeland Delrue

ISO 27001 certification: 8 things we learned

Compliance
December 5, 2023
Read more
By
Roeland Delrue

Cronos Group chooses Aikido Security to strengthen security posture for its companies and customers

Customer Stories
November 30, 2023
Read more
By
Bart Jonckheere

How Loctax uses Aikido Security to get rid of irrelevant security alerts & false positives

Customer Stories
November 22, 2023
Read more
By
Felix Garriau

Aikido Security raises €5m to offer a seamless security solution to growing SaaS businesses

Product & Company Updates
November 9, 2023
Read more
By
Roeland Delrue

Aikido Security achieves ISO 27001:2022 compliance

Product & Company Updates
November 8, 2023
Read more
By
Felix Garriau

How StoryChief’s CTO uses Aikido Security to sleep better at night

Customer Stories
October 24, 2023
Read more
By
Willem Delbare

What is a CVE?

Vulnerabilities & Threats
October 17, 2023
Read more
By
Willem Delbare

Top 3 web application security vulnerabilities in 2024

Vulnerabilities & Threats
September 27, 2023
Read more
By
Felix Garriau

New Aikido Security Features: August 2023

Product & Company Updates
August 22, 2023
Read more
By
Felix Garriau

Aikido’s 2025 SaaS CTO Security Checklist

Guides & Best Practices
August 10, 2023
Read more
By
Felix Garriau

Aikido’s 2024 SaaS CTO Security Checklist

Guides & Best Practices
August 10, 2023
Read more
By
Felix Garriau

15 Top Cloud and Code Security Challenges Revealed by CTOs

Guides & Best Practices
July 25, 2023
Read more
By
Willem Delbare

What is OWASP Top 10?

Vulnerabilities & Threats
July 12, 2023
Read more
By
Willem Delbare

How to build a secure admin panel for your SaaS app

Guides & Best Practices
July 11, 2023
Read more
By
Roeland Delrue

How to prepare yourself for ISO 27001:2022

Guides
July 5, 2023
Read more
By
Willem Delbare

Preventing fallout from your CI/CD platform being hacked

Guides
June 19, 2023
Read more
By
Felix Garriau

How to Close Deals Faster with a Security Assessment Report

Guides & Best Practices
June 12, 2023
Read more
By
Willem Delbare

Automate Technical Vulnerability Management [SOC 2]

Guides
June 5, 2023
Read more
By
Willem Delbare

Preventing prototype pollution in your repository

Guides & Best Practices
June 1, 2023
Read more
By
Willem Delbare

How does a SaaS startup CTO balance development speed and security?

Guides
May 16, 2023
Read more
By
Willem Delbare

How a startup’s cloud got taken over by a simple form that sends emails

Engineering
April 10, 2023
Read more
By
Felix Garriau

Aikido Security raises €2 million pre-seed round to build a developer-first software security platform

Product & Company Updates
January 19, 2023
Read more
Container Security is Hard — Aikido Container Autofix to Make it Easy
By
Mackenzie Jackson

Container Security is Hard — Aikido Container Autofix to Make it Easy

Product & Company Updates
May 29, 2025
Launching Aikido Malware – Open Source Threat Feed
By
Madeline Lawrence

Launching Aikido Malware – Open Source Threat Feed

Product & Company Updates
May 29, 2025
Malware hiding in plain sight: Spying on North Korean Hackers
By
Charlie Eriksen

Malware hiding in plain sight: Spying on North Korean Hackers

Vulnerabilities & Threats
May 29, 2025

Get secure for free

Secure your code, cloud, and runtime in one central system.
Find and fix vulnerabilities fast automatically.

Start for Free
No CC required
Book a demo
No credit card required |Scan results in 32secs.
Company
ProductPricingAboutCareersContactPartner with us
Resources
DocsPublic API DocsVulnerability DatabaseBlogIntegrationsGlossaryPress KitCustomer Reviews
Security
Trust CenterSecurity OverviewChange Cookie Preferences
Legal
Privacy PolicyCookie PolicyTerms of UseMaster Subscription AgreementData Processing Agreement
Use Cases
ComplianceSAST & DASTASPMVulnerability ManagementGenerate SBOMsWordPress SecuritySecure Your CodeAikido for Microsoft
Industries
For HealthTechFor MedTechFor FinTechFor SecurityTechFor LegalTechFor HRTechFor AgenciesFor EnterpriseFor PE & Group Companies
Compare
vs All Vendorsvs Snykvs Wizvs Mendvs Orca Securityvs Veracodevs GitHub Advanced Securityvs GitLab Ultimatevs Checkmarxvs Semgrepvs SonarQube
Connect
hello@aikido.dev
LinkedInX
Subscribe
Stay up to date with all updates
Not quite there yet.
👋🏻 Thank you! You’ve been subscribed.
Team Aikido
Not quite there yet.
© 2025 Aikido Security BV | BE0792914919
🇪🇺 Registered address: Coupure Rechts 88, 9000, Ghent, Belgium
🇪🇺 Office address: Gebroeders van Eyckstraat 2, 9000, Ghent, Belgium
🇺🇸 Office address: 95 Third St, 2nd Fl, San Francisco, CA 94103, US
SOC 2
Compliant
ISO 27001
Compliant

RASP,

SQL Injections,