# openappsec/openappsec

open-appsec is a machine learning security engine that preemptively and automatically prevents threats against Web Application & APIs. This repo include the main code and logic.

Repository: https://github.com/openappsec/openappsec
Canonical: https://ross.abutalabs.com/products/openappsec
Homepage: https://openappsec.io
Language: C++
License: Apache-2.0
License Family: permissive
Topics: api-security, application-security, kubernetes, nginx, web-application-firewall, appsec, devsecops, kong, rate-limiting, security-tools, threat-prevention, waf, owasp, owasp-top-ten, nginx-proxy-manager
Last push: 2026-08-26T11:22:06+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 1407, "days_push": 7, "days_rel": 8, "gap_med": 30, "n_releases_24m": 18}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1689, forks 133 (observed 2026-08-28T04:05:22.400400+00:00)

## What it is
open-appsec is an open-source machine learning security engine that provides preemptive web application and API threat protection against OWASP-Top-10 and zero-day attacks. It deploys as an add-on to Linux, Docker, or Kubernetes environments on NGINX, Kong, APISIX, or Envoy, using supervised and unsupervised ML models to score and block malicious HTTP requests.

## Use cases
- protect web applications from OWASP Top 10 attacks
- prevent zero-day API attacks without signature updates
- add a machine learning WAF to NGINX or Kong
- secure Kubernetes ingress traffic
- block malicious HTTP requests automatically based on learned traffic patterns
- monitor and test web app security in monitor-only mode

## When to choose
- you need a modern ML-based WAF integrated into NGINX, Kong, APISIX, or Envoy
- you want preemptive zero-day protection without maintaining signature rules
- you run Linux, Docker, or Kubernetes and want declarative or Kubernetes CRD-based security configuration
- you prefer an open-source alternative to commercial WAFs

## When to avoid
- you need a network-layer firewall or DDoS mitigation rather than HTTP-layer protection
- you cannot rely on downloading the advanced production model from the vendor portal
- your stack is not NGINX, Kong, APISIX, or Envoy based
- you need a fully offline solution with no external model updates

## Facets
- artifact type: library
- maturity: active
- function: security, machine-learning, rate-limiting, middleware, http-server
- domain: security, web-development, apis, machine-learning
- platform: self-hosted
- tags: waf, api-security, owasp-top-ten, zero-day-protection, threat-prevention, kong, envoy, apisix, devsecops, appsec, devops, linux, docker, kubernetes, nginx

## Member repositories
- openappsec/openappsec (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:22.400400+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:38:41.678640+00:00, confidence not recorded.
  - readme: https://github.com/openappsec/openappsec (fetched 2026-08-28T04:05:22.400400+00:00, sha 3d89c30e74b6)
  - homepage: https://openappsec.io (fetched 2026-08-29T11:13:30.746845+00:00, sha 2c121535e703)
- Data as of 2026-08-30T08:39:29.467469+00:00.
