Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
kavach-loop — Closed-loop vulnerability remediation: detect -> reproduce exploit -> generate patch -> verify with a proof harness. Worked example: Langflow CVE-2026-33017 | Kitploit
Tools/GitHubGitHub/nsk-394/kavach-loop
Static AnalysisVulnerability ScannersContainer SecurityVulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationSecurity VirtualizationDevSecOps
GitHubnsk-394/kavach-loop

kavach-loop

Nov 6, 2026Not yet reviewed

Closed-loop vulnerability remediation: detect -> reproduce exploit -> generate patch -> verify with a proof harness. Worked example: Langflow CVE-2026-33017

View Repository

Related Tools

  • ghidra

    Ghidra is a software reverse engineering (SRE) framework

  • capa

    Rule-based static and dynamic analysis tool that identifies capabilities in PE, ELF, .NET, and shellcode files, mapping them to MITRE ATT&CK techniques for malware triage.

  • yara-x

    A rewrite of YARA in Rust.

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    844
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    447
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    383
  • 5

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    347
  • 6

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    328

Explore all tools

Browse our collection of tools

View all tools →
Share

kavach-loop

A closed-loop vulnerability remediation pipeline: detect → reproduce the exploit → generate a patch → verify the patch against a proof harness — before any fix is trusted.

Most "AI fixes your CVE" demos stop at generating a patch. kavach-loop refuses to trust a patch until it has proven two things against a real running instance of the vulnerable software: (1) the original exploit no longer works, and (2) the app still functions normally. The worked example is a real critical CVE.

⚠️ Scope & safety: every network-touching module is hard-locked to localhost (127.0.0.1 / ::1) and refuses any other target. The exploit code exists to prove a patch works against a disposable container you run yourself — not to attack anything. Only run this against the bundled target.

Worked example: CVE-2026-33017 (Langflow RCE)

Unauthenticated remote code execution in Langflow ≤ 1.8.2 — GHSA-vwmf-pq79-vjvx / NVD. POST /api/v1/build_public_tmp/{flow_id}/flow builds a public flow with no auth; attacker-supplied node code reaches exec() with no sandbox, through a six-hop call chain from the route handler to the sink.

The loop

flowchart LR
    T["exploit_repro/<br/>disposable Langflow 1.8.2<br/>container (localhost only)"]
    D["detection/<br/>Semgrep rule over<br/>live-extracted source"]
    E["exploit_repro/exploit.py<br/>PoC: confirm RCE is real"]
    P["patch_gen/<br/>LLM unified diff,<br/>applied to a real copy"]
    V["proof_harness/verify.py<br/>exploit blocked? + app<br/>still works? → one verdict"]
    T --> D --> E --> P --> V
    V -->|fused confidence score| OUT["trusted / rejected"]
StageModuleWhat it really does
Detectdetection/detect.py + rules/unauthenticated-exec-sink.yamlRuns a real Semgrep pass over source pulled live from the target container. The rule honestly flags the reliably-detectable precondition (unauthenticated route forwarding attacker-structured input into a downstream call), not full six-hop taint — and says so, at confidence: LOW, so every hit still needs confirmation.
Reproduceexploit_repro/exploit.pyLocalhost-only PoC that confirms the RCE actually fires, so we're patching a real bug, not a static-analysis guess.
Patchpatch_gen/generate.pyFetches the real current source of the vulnerable function from the running container, retrieves 1–2 reference fix patterns, asks an LLM for a unified diff, then applies it to a second disposable container and restarts it so the patched code reloads.
Verifyproof_harness/verify.py + test_functionality.pyFuses two checks into one verdict: the PoC must now fail, and Langflow's normal authenticated REST API (health, version, whoami, flow CRUD) must still pass. A patch that blocks the exploit by gutting the app is rejected.

The honesty is the point: the detection rule documents exactly what it does and doesn't prove, and the verifier refuses to call a patch good just because the exploit stopped working.

Run it

pip install -r requirements.txt           # requests, pytest, openai, semgrep
export OPENAI_API_KEY=...                  # for patch_gen

cd exploit_repro/langflow-cve-2026-33017
docker compose up -d                       # vulnerable target on 127.0.0.1:7860
curl -s http://127.0.0.1:7860/health

cd ../..
python detection/detect.py                 # static-analysis finding
python exploit_repro/exploit.py            # confirm the RCE (localhost only)
python patch_gen/generate.py               # generate + apply + verify a patch
pytest proof_harness/                       # functionality smoke tests

Stop and wipe: docker compose down -v.

Status

The individual stages (detection, exploit repro, patch gen, proof harness) are implemented and run against the real target. main.py is a thin orchestration skeleton — the stages are currently driven directly as shown above. Wiring them into a single main() call is the next step.

Why "kavach"

Kavach (कवच) is Sanskrit for "armor." The loop is the armor: nothing ships until it's been attacked and shown to hold.

Download Tool