# Agentic Vulnerability Hunting #### [Gannon McGibbon](https://gannon.io/) Note: - WRUG November 2026 - Lightning talk --- ## 👋 Hi, I'm Gannon 
- Developer at Shopify - Committer on Rails - "Security Researcher" Note: - I'm a developer at Shopify - A committer on Rails - And an amateur "security researcher" --- ## Agenda - What is a CVE - CVEs in 2026 - Hunting for CVEs Note: - I've got five minutes to talk about: - What a CVE is - What's happening to CVEs this year - How CVEs are found today --- # What is a CVE Note: - First, let's talk acronyms - Security engineers must be busy people - Because there's a lot of them --- ## What is a CVE - **C**ommon **V**ulnerabilities and **E**xposures - A unique ID for a publicly disclosed vulnerability - Assigned by CVE Numbering Authorities - Run by MITRE since 1999 Note: - CVE stands for Common Vulnerabilities and Exposures - A unique ID for a publicly disclosed vulnerability - These IDs are assigned by one of many authorities - Example: Github is an numbering authority - Overseen by MITRE, funded by the US Government --- ## What is a CWE - **C**ommon **W**eakness **E**numeration - A catalog of weakness types - CWE-89: SQL Injection - CWE-502: Deserialization of Untrusted Data Note: - CVEs come with three more acronyms - CWE is the Common Weakness Enumeration - A CVE is a specific bug - A CWE is a type of bug - Like SQL injection --- ## What is CVSS - **C**ommon **V**ulnerability **S**coring **S**ystem - Severity from 0.0 to 10.0 - 9.0 and above is Critical Note: - CVSS is the Common Vulnerability Scoring System - It scores severity from 0 to 10 - For a specific CVE - 9+ is critical! --- ## What is the NVD - **N**ational **V**ulnerability **D**atabase - Catalogs CVEs - With CWE and a CVSS scores Note: - And NVD is the National Vulnerability Database - Which catalogs published CVEs - And classifies them with - a CWE and a CVSS score --- ## Putting It Together | | Tells you | Example | | ---- | ------------------- | -------------- | | CVE | Which bug | CVE-2022-32224 | | CWE | What kind of bug | CWE-502 | | CVSS | How bad it is | 9.8 Critical | | NVD | Where to look it up | nvd.nist.gov | Note: - Here's a real Rails CVE from 2022 - Remote code execution in Active Record - CWE-502 means it's a deserialization bug - CVSS says it's a 9.8, which is really bad --- # CVEs in 2026 Note: - Now that we know what a CVE is - Let's talk about how many we've seen this year --- ## CVEs in 2026 ```mermaid xychart-beta title "CVEs published per month in 2026" x-axis [Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct] y-axis 0 --> 18000 bar [4302, 4616, 6234, 5810, 6936, 7942, 9770, 12255, 14928, 17051] ``` Note: - This is all the CVEs published this year - January had about 4,300 - Which is a normal amount - October had over 17,000 --- ## CVEs in 2026 | | CVEs published | | ----------------------------- | -------------: | | 2025 | 48,150 | | 2026, January to October | 89,844 | | 2026, November 13 | 100,222 | Note: - Last year had 48,000 CVEs - This year hit almost 90,000 by the end of October - And on November 13th, we passed 100,000 --- ## CVEs in 2026  Note: - So what changed? - The prevailing opinion - Is that we're using AI - To find more vulnerabilities --- # Hunting for CVEs Note: - But how exactly do people find them? - Let's find out --- ## Hunting for CVEs ```mermaid flowchart TD P[Prompt] --> G{Guardrails} G -- Looks safe --> A[Answer] G -- Looks risky --> R[Refusal] ``` Note: - LLMs can be used to search code for vulnerabilites - General purpose models ship with guardrails - which refuse risky requests - And turns out, asking a model to find exploits - is risky work! --- ## Hunting for CVEs ```mermaid flowchart TD P[Prompt] --> G{Guardrails} G -- Looks safe --> A[Answer] G -- Looks risky --> R[Refusal] ``` Note: - So when hunting for exploits - and proving a bug is actually exploitable - A security focused model is needed - One without these guardrails --- ## Hunting for CVEs | | General purpose | Security focused | | --------- | ---------------- | ---------------------- | | Anthropic | Claude Fable | Claude Mythos | | OpenAI | GPT-6 Astra | GPT-6 Cyber | | Google | Gemini 3.8 Flash | Gemini 3.8 Flash Cyber | Note: - Frontier models come in two different variants - Anthropic's Fable and Mythos uses - the same underlying model, but different safeguards - OpenAI and Google have similar model variants --- ## Hunting for CVEs ```mermaid flowchart TD P[Prompt] --> G{Guardrails} G -- Looks safe --> A[Answer] G -- Looks risky --> R[Refusal] ``` Note: - Open weight models like GLM or DeepSeek - Can also do security work - And have weaker guardrails by default --- ## Hunting for CVEs | [cybergym.io](https://www.cybergym.io/) | Weights | Reproduced | | --------------------------------------- | ------- | ---------: | | Gemini 3.8 Flash Cyber | Gated | 86.3% | | GPT-5.5-Cyber | Gated | 85.6% | | GLM-5.3 | Open | 84.5% | | Claude Mythos 5.2 | Gated | 83.1% | Note: - Websites like CyberGym ranks security models - Open weight models are close to frontier models - for simple tasks, and behind in more complicated ones --- ## Hunting for CVEs ```sh[] pi --print "Find all vulnerabilities, \ and make no mistakes." ``` Note: - But what about the prompt? - Do we just tell models to - find vulnerabilities? - Not quite. --- ## Hunting for CVEs ```sh[1] pi --print "Find all vulnerabilities in $path." ``` Note: - A good hunting prompt needs a few things - First, it needs scope - Give it a hint about where to search - Like a specific directory --- ## Hunting for CVEs ```sh[1-3] pi --print "A remote user who fully controls HTTP requests \ aims to exploit a Rails app through \ bypassing authentication, SQL injection, RCE etc. \ Find all vulnerabilities in $path." ``` Note: - Next is the threat model - Give it a hint about what an - attacker can do --- ## Hunting for CVEs ```sh[5-6] pi --print "A remote user who fully controls HTTP requests \ aims to exploit a Rails app through \ bypassing authentication, SQL injection, RCE etc. \ Find all vulnerabilities in $path. \ Each vulnerability should have a title, CWE, CVSS, \ and minimal reproduction script." ``` Note: - Finally you need an output contract - Tell the agent what you want to see - A CWE type, CVSS score, reproduction script, etc. --- ## Hunting for CVEs ```sh[] pi --print "A remote user who fully controls HTTP requests \ aims to exploit a Rails app through \ bypassing authentication, SQL injection, RCE etc. \ Find all vulnerabilities in $path. \ Each vulnerability should have a title, CWE, CVSS, \ and minimal reproduction script." ``` Note: - There's a lot more you can do - To improve a hunting prompt - But these are the basics --- ## Hunting for CVEs ```mermaid flowchart TD F[Pick a file] --> A[Agent hunts] A --> R[Report with proof] R --> V[Second agent verifies] V -- Not real --> F V -- Real --> H[Human triage] H --> D[Private disclosure] ``` Note: - Vulnerability scanning pipelines can also - get a lot more complicated - But I'm almost out of time --- # Conclusion Note: - So, to quickly wrap things up --- ## Conclusion - A CVE is an ID for a disclosed vulnerability - 2026 has already doubled 2025 - Security focused models have lower guardrails - Hunting prompts should have: - Scope - Threat model - Output conteract Note: - CVEs are IDs for vulnerabilities - AI is why there's more CVEs recently - Security focused models allow security work - Hunting prompts need a scope, threat model, and output contract --- ## Conclusion - A CVE is an ID for a disclosed vulnerability - 2026 has already doubled 2025 - Security focused models have lower guardrails - Hunting prompts should have: - Scope - Threat model - Output conteract Note: - Hunt for vulnerabilities in your systems - before someone else does! - *Pause* ---  Note: - That's it - You can find the slides at this QR code - Thanks! --- ## Further Reading - https://www.cve.org/About/Overview - https://nvd.nist.gov/vuln/detail/CVE-2022-32224 - https://nvd.nist.gov/developers/vulnerabilities - https://www.theregister.com/security/2026/11/13/this-years-bug-count-just-passed-100k/5309882 - https://www.anthropic.com/news/cyber-verification-program - https://openai.com/index/introducing-gpt-6-cyber/ - https://deepmind.google/fairwind-program/ - https://www.cybergym.io/ - https://www.aisi.gov.uk/blog/preliminary-assessment-of-kimi-k3s-cyber-capabilities - https://arxiv.org/abs/2406.11717 - https://lwn.net/Articles/1066581/ - https://pi.dev/ - https://www.anthropic.com/research/mythos-preview - https://goteleport.com/blog/finding-vulnerabilities-with-llms/ ---