Skip to main content

Aikido Zen for Python

Project description

Aikido Zen for Python 3

Zen, in-app firewall for Python 3 | by Aikido

Codecov PyPI Package Code Style : Black Unit tests End to end tests

Zen, your in-app firewall for peace of mind– at runtime.

Zen is an embedded Web Application Firewall that autonomously protects your Python apps against common and critical attacks.

Zen protects your Python apps by preventing user input containing dangerous strings, which allow SQL injections. It runs on the same server as your Python app for simple installation and zero maintenance.

Features

Zen will autonomously protect your Python applications from the inside against:

Zen operates autonomously on the same server as your Python app to:

  • ✅ Secure your app like a classic web application firewall (WAF), but with none of the infrastructure or cost.

Supported libraries and frameworks

Zen for Python 3 is compatible with:

Web frameworks

WSGI servers

Database drivers

Reporting to your Aikido Security dashboard

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 is a new product by Aikido. Built for developers to level up their security. While Aikido scans, get Zen for always-on protection.

You can use some of Zen’s features without Aikido, of course. Peace of mind is just a few lines of code away.

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:

  • Log in to your Aikido account.
  • Go to Zen.
  • Go to apps.
  • Click on Add app.
  • Choose a name for your app.
  • Click Generate token.
  • Copy the token.
  • Set the token as an environment variable, AIKIDO_TOKEN

Running in production (blocking) mode

By default, Zen 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.

Benchmarks

The following table summarizes the performance of both a typical SQL Query and a typical NoSQL Query with and without the Zen, measured in milliseconds :

Operation Avg. time w/o Zen Avg. time w/ Zen Delta Delta in %
SQL Query 1.222 ms 1.257 ms +0.035 ms +3%
NoSQL Query 1.090 ms 1.110 ms +0.020 ms +2%

See benchmarks folder for more.

Bug bounty program

Our bug bounty program is public and can be found by all registered Intigriti users here

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aikido_zen-1.0.14.tar.gz (174.3 kB view details)

Uploaded Source

Built Distribution

aikido_zen-1.0.14-py3-none-any.whl (281.4 kB view details)

Uploaded Python 3

File details

Details for the file aikido_zen-1.0.14.tar.gz.

File metadata

  • Download URL: aikido_zen-1.0.14.tar.gz
  • Upload date:
  • Size: 174.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for aikido_zen-1.0.14.tar.gz
Algorithm Hash digest
SHA256 b984aad46ac82148383d1ac2c434ba2ee0a647d93826dc08e41b3f4ce2cf533a
MD5 e6efd1ae8e8a96a19674891ff8e1f311
BLAKE2b-256 7b66ff24849b206d33c45d153d52b09243f3fddc75c27bfd047bba7ef1745a8e

See more details on using hashes here.

File details

Details for the file aikido_zen-1.0.14-py3-none-any.whl.

File metadata

  • Download URL: aikido_zen-1.0.14-py3-none-any.whl
  • Upload date:
  • Size: 281.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for aikido_zen-1.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 d207d16ce4f8a1a94d9cd5bee30e3e324d57bc79ab59c896543f9bb1ccd851e8
MD5 27ab040a1cbfc5acbaba5e1eac6b5cc9
BLAKE2b-256 8b3dc42c55c99c2afd02b97eb1bffc1f2f1c6661dac9cbc2a5c1523cc7897837

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page