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
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
→ data theft · financial loss · system compromise
2 Unverified Code Changes
→ 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-…
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
Live demo
4
Live patch-pilot-ai-kohl.vercel.app Backup a recorded Buggy Shop run in replay mode; tests and scanners still run live
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
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
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.
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.