How to do Secure Code Review with Vibe Coding IDEs
Scott Behrens
Principal Security Engineer
Clint Gibler
Head of Research
1
Bold Claim: By the end of this webinar…
You will…
→ You can immediately start applying parts (or all) of this at work.
We’ll also share some prompts and “personas” used today you can start with.
2
🤖 Start code indexing (Qdrant)
3
🤖 Start “Understanding” process��Roo: Start the Workflow
4
Our Mindset: Practical, non hype-y
❌ ZOMG everything has changed with AI��✅ Leverage AI where it makes sense
5
Our Mindset: Practical, non hype-y
❌ ZOMG everything has changed with AI��✅ Leverage AI where it makes sense
6
Goal: Assess this repo
7
8
Vuln Scanning
Understand Repo/Threat Model
Reporting
Tracing
What
We'll Cover
Methodology
9
Methodology
Big Picture
Details
10
Methodology
11
Methodology
Triaging findings
�Getting it fixed
12
🤖 Improving an AI prompt with… AI��“Which web frameworks or API frameworks are used in this repo and where do the primary routes/controllers live?”
13
🤖 Start “Find” phase
👀 Review “Understanding” outputs���
14
❌ One mega prompt | ✅ Smaller, focused prompts
15
You are a security expert.��Perform the following assessment:��1. Examine the tech stack and architecture��2. Look for:�* XSS�* SQLi�* Access control bugs��3. Write up each finding��4. Combine the findings into a report��…
Tech stack
Trust boundaries
Routes
LLM Code Review
Tools (Semgrep)
Human Review
Write up Finding
Generate Report
✍️
Store outputs along the
way
16
Tech stack
Trust boundaries
Routes
LLM Code Review
Tools (Semgrep)
Human Review
Write up Finding
Generate Report
tech_stack.md
boundaries.svg
routes.md
scan.json
findings.md
⚒️ Prompts as functions()
Detailed sets of instructions that perform some task
Can call repeatedly on different inputs (code bases)
→ Roo Code, Claude Code, custom Agent, …
17
Tech stack
Trust boundaries
Routes
LLM Code Review
Tools (Semgrep)
Human Review
Write up Finding
Generate Report
🤖 Start “Fix” phase
👀 Review “Find” outputs���
18
🔮 Future Work
(Rad stuff we didn’t have time to cover today)
19
🧠 TL;DR
Understand
Find
Fix
Tips / Ideas
20