Skip to content

πŸ›‘οΈ Aikido Runtime protects your Node.js application against attacks with one line of code

License

Notifications You must be signed in to change notification settings

vinit-aikido/runtime-node

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Aikido Runtime Protection for Node.js

NPM Version Codecov NPM License PRs Welcome

Features

Protects your application against

Supported libraries and frameworks

Aikido runtime for Node.js 16+ is compatible with

Web frameworks

Database drivers

  • βœ… mongodb 4.x, 5.x and 6.x (npm package versions, not MongoDB server versions)
  • βœ… mongoose 8.x, 7.x and 6.x
  • βœ… pg 8.x and 7.x
  • βœ… mysql 2.x
  • βœ… mysql2 3.x

Cloud providers

ORMs and query builders

See list above for supported database drivers.

Installation

# The --save-exact makes sure that you don't automatically install a newer version
$ npm install --save-exact @aikidosec/runtime

# The --exact makes sure that you don't automatically install a newer version
$ yarn add --exact @aikidosec/runtime

Reporting to Aikido Security dashboard

Aikido Security is a developer-first software security platform. We scan your source code & cloud to show you which vulnerabilities are actually important.

You can use some of this library's features without Aikido, but you will get the most value when using it with Aikido.

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.

Here's how:

(You can use dotenv to load the token from an .env file)

Running in production mode (blocking)

By default, the runtime will only detect and report attacks to Aikido.

If you want to start blocking requests, you can set the AIKIDO_BLOCKING environment variable to true.

See Reporting to Aikido to learn how to send events to Aikido.

License

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 Aikido Runtime 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.

Performance

We run a benchmark on every commit to make sure that the runtime has a minimal impact on your application's performance.

The bench runs a simple MongoDB query to measure the difference between two runs with and without the runtime:

Without runtime With runtime Difference in ms
0.214ms 0.222ms +0.008ms

(Using Node.js 18.x and MongoDB 6.3.x, results will vary depending on your hardware)

See benchmarks for more information.

Contributing

See CONTRIBUTING.md for more information.

Code of Conduct

See CODE_OF_CONDUCT.md for more information.

Security

See SECURITY.md for more information.

About

πŸ›‘οΈ Aikido Runtime protects your Node.js application against attacks with one line of code

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 80.3%
  • JavaScript 19.0%
  • Makefile 0.7%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy