1 of 8

PatchPilot AI

AGENTX HACKATHON 2026

Six AI agents check code you didn't write for security threats and bugs, prove each problem with real tools, fix it on a copy and verify the fix, for developers, students and small teams.

Team Tech_X · D02E86

Members Chinmay Jandrapalli · Shreyash Shigwan

Track PS-07 · Open Track

Intelligent Software Security & Code Verification

Detect Risks. Fix Bugs. Verify Code.

Live demo patch-pilot-ai-kohl.vercel.app Code github.com/chinmay1512f/PatchPilot-AI

2 of 8

The problem

2

01

Developers run and merge code they didn't write: GitHub projects, third-party repositories, coding assignments, AI-generated fixes.

1 Software Security

  • Untrusted code can hide malicious behaviour, vulnerabilities, exposed credentials and vulnerable dependencies.
  • Scanner findings still need manual investigation to understand their real impact.

→ data theft · financial loss · system compromise

2 Unverified Code Changes

  • Hidden bugs and their root causes are hard to find and prove.
  • An AI-generated fix can look right yet introduce new bugs or security vulnerabilities.

→ broken features · regressions · new vulnerabilities

Real-world example: WaterPlum [1]

Fake recruiters sent developers “coding tests” that installed malware when run.

Campaign-wide totals, Dec 2025 – Jul 2026.

30,000+

devices infected

7,000+

crypto wallets hit

¥1.7B+

stolen (≈ US$10.71M)

The missing piece: one workflow that finds threats, proves bugs with real tests, repairs the code and independently verifies every change before it is trusted or merged. That is PatchPilot AI.

[1] Joint cybersecurity advisory on WaterPlum (Japan NPA & NCO, FBI, DC3, ACSC, BND, BfV), Sept 2026, cyber.gov.au/advisory/north-korean-waterplum-…

3 of 8

What we built

3

02

1

Security analysis & attack paths

Finds malicious code, vulnerabilities, exposed secrets and vulnerable packages, and shows how they chain into an attack.

2

Proven bug repair

Finds a bug's root cause, proves it with a failing test, then writes a minimal fix on a copy.

3

Verified, evidence-based results

Every fix re-tested and re-scanned; risk score from a fixed formula; report and patch to download.

Real run: Insecure Notes full analysis · 8 / 8 roadmap steps · six agents · est. $2.19

4 of 8

Live demo

  • Open the app → New analysis → paste a GitHub link or pick a sample, and watch six agents fill the 8-step roadmap
  • Insecure Notes: “likely malicious” verdict, 76 findings, 3 attack paths, 3 verified security fixes
  • Buggy Shop: root cause found, proven by a failing test, 1-line fix, 15 / 15 tests pass, risk score 85 → 100
  • Download the evidence report and the patch: the original code is never modified

4

Live patch-pilot-ai-kohl.vercel.app Backup a recorded Buggy Shop run in replay mode; tests and scanners still run live

5 of 8

How it works

5

04

Client

React web app on Vercel: paste a link, watch the live roadmap, read the report.

API

FastAPI server on Render (Docker image): jobs, usage limits, restricted test runs.

Brain

Central orchestrator + six Claude Opus 5.5 agents, using Bandit, Semgrep, OSV.dev and Pytest.

Data

SQLite job store; GitHub archive download; OSV.dev and npm / PyPI registries.

Hardest problem we solved: making AI results trustworthy

Claude never grades its own work. A bug counts only when a real test fails on it; a fix only when every test passes and the scanners re-run clean. The risk score is a fixed formula, not the model's opinion.

Sandbox: repository tests run with restricted execution, not a per-run container or VM. On the hosted demo they run as a separate low-privilege user with memory, process and time limits and no credentials in the environment. Network blocking is best-effort, so this is not a hard security boundary.

Inside the brain: the orchestrator runs six agents and passes checked results between them; agents never call each other.

1 Repository Understanding

2 Bug Investigation

3 Reproduction & Test

4 Repair

5 Verification & Security

6 Evidence & Reporting

Security lane, in parallel: scan → triage → attack paths → verified fixes

6 of 8

Results

6

05

76

security findings in Insecure Notes, incl. a “likely malicious” verdict, 3 attack paths and 3 verified fixes

15 / 15

tests pass after PatchPilot's 1-line fix to Buggy Shop; risk score 85 → 100

< 1 min

Buggy Shop end to end: bug found, proven, fixed and verified (43–59 s, about $0.70–0.96 per run)

How we know it works

Real runs, stored with full logs. Insecure Notes and Buggy Shop as above; an over-broad AI patch reviewed (6 functions changed where the bug needed 1; the added requests package brings 4 known vulnerabilities); our own TechX_VEXORA project (102 lock-file packages, 10 known vulnerabilities incl. a critical Next.js one). PatchPilot itself has 142 passing automated tests.

Not done yet: tests run for Python projects only (Pytest); test runs use restricted execution with best-effort network blocking, not a per-run container or VM; a full analysis costs about $0.70–$4 in Claude API usage.

3 potential attack paths mapped

3 security fixes verified by re-scan

142 PatchPilot automated tests pass

7 of 8

What's next

7

06

1

Next month

JavaScript / TypeScript test runs (Jest, Vitest), so repair works beyond Python; review GitHub pull requests in one click.

2

In 3 months

Pilot with student developers and hackathon teams at our college; measure threats and bugs caught before merge.

3

In a year

Isolated containers per run and team dashboards; free for students, paid plans for teams to sustain it.

Our ask

A pilot partner (a development team or a college club), cloud credits for isolated sandboxes and Claude API usage, and mentorship from security engineers.

8 of 8

Team Tech_X

THANK YOU

Questions? Try it at patch-pilot-ai-kohl.vercel.app

GitHub github.com/chinmay1512f/PatchPilot-AI

Demo patch-pilot-ai-kohl.vercel.app

College St. John College of Engineering

Members Chinmay Jandrapalli · Shreyash Shigwan

PatchPilot AI – Detect Risks. Fix Bugs. Verify Code.