Repo of the Day
javixeneize/kova
Published: Dec 4, 2026
Open repository ↗IAST and RASP for web apps: finds vulnerabilities from inside the running app and stops attacks, without changing its code
Summary
Kova is a runtime application-security tool that adds IAST and RASP to Java, Node.js/TypeScript, Python, and Go web apps, as well as AWS Lambda, without changing application code. It reports findings to a collector and live dashboard: IAST identifies unsafe data flows reached during normal traffic or tests, while RASP can report or block active exploit payloads.
What it is useful for
Engineers can use Kova during local development, QA, staging, CI, and runtime protection.
- Finding vulnerabilities in exercised code: IAST can identify unsafe SQL construction, path traversal, command injection, SSRF, template injection, reflected XSS, insecure cookies, weak hashing, and other issues covered by its 16+ built-in OWASP rules. For example, it can connect a request such as
GET /users?name=aliceto SQL built from that input. - Testing exploit handling: RASP looks for active payloads such as
../../etc/passwd,' OR '1'='1, shell commands, cloud metadata SSRF, SpEL/SSTI, and open redirects. The defaultreportmode records attacks without changing the response;blockmode aborts the dangerous call and returns403 Forbidden by Kova RASP. - Prioritizing remediation: The dashboard provides source-to-sink flows, stack traces, endpoint coverage, severity summaries, and an attack-surface map. This helps distinguish a reachable vulnerability from an endpoint that has not been exercised.
- Adding results to CI: The documented CLI can fail a test run and generate SARIF 2.1.0 for code-scanning workflows.
A documented limitation is scope: Kova instruments backend services, server-side SSR/BFF layers, and FaaS handlers, but client-side browser DOMs and SPAs are out of scope. IAST never blocks benign traffic or posture findings; blocking applies only to confirmed exploit rules in block mode.
How engineers can use it
The quickest documented option starts the collector, dashboard, and demos for all four stacks:
docker compose --profile demo up
For a local Python installation, Python 3.9 or newer is required:
pip install -e ".[server]"
kova-server
Then attach an agent to the application. The README documents these approaches:
JAVA_TOOL_OPTIONS="-javaagent:/opt/kova/kova-agent.jar" java -jar myapp.jar
NODE_OPTIONS="--require /opt/kova/agents/node/register.cjs" npm start
PYTHONPATH="/opt/kova/iast_agent/bootstrap" python app.py
kova-go build -o myapp .
Configure the collector and behavior through environment variables:
export IAST_COLLECTOR="http://localhost:8800"
export IAST_SERVICE="myapp"
export IAST_MODE="report"
Change IAST_MODE to block when runtime blocking is wanted. IAST_EXCLUDE_PATHS can skip endpoints such as health checks, while IAST_ENABLED="0" provides an immediate kill switch.
For CI, the README gives this example:
kova --fail-on high --sarif kova.sarif -- python -m pytest tests/integration
Stack-specific deployment details, including AWS Lambda layers, are covered in the repository’s language and serverless guides.