npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@aikidosec/runtime

v1.5.18

Published

Aikido runtime protects your application against NoSQL injections and more

Downloads

518

Readme

Aikido Runtime Protection for Node.js

Aikido Runtime Protection for Node.js

NPM Version Codecov NPM License PRs Welcome

Runtime is an embedded security engine for autonomously protecting Node.js apps against common and critical attacks.

Runtime protects your Node.js apps by preventing situations, like user input containing dangerous strings, which allow injection, pollution, and path traversal attacks in the first place. It runs on the same server as your Node.js app for simple installation and zero maintenance.

Features

Runtime autonomously protects your Node.js applications against:

Runtime operates autonomously on the same server as your Node.js app to:

  • ✅ Secure your database similar to a web application firewall (WAF) with none of the infrastructure or cost.
  • Minimize impact on production with a tiny footprint and no additional dependencies.
  • ✅ Support a developer-first local development and testing experience.
  • ✅ Save security operators and development teams hours rooting out vulnerabilities, testing exploits, and coding remediations.

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

For framework- and provider- specific instructions, check out our docs:

Reporting to your 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 Runtimes's features without Aikido, but you will get the most value by reporting your data to 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:

Running in production (blocking) mode

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

To block requests, 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: [email protected] or create an account at https://app.aikido.dev.

Performance

We run a benchmark on every commit to ensure Runtime has a minimal impact on your application's performance.

The benchmark runs a simple MongoDB query to measure the difference between two runs with and without 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.