---
title: "Finding Bugs using LLMs"
url: https://daily.dev/posts/finding-bugs-using-llms-pbp8oopzr
source_url: https://materialize.com/blog/finding-bugs-using-llms
type: article
source: "Materialize"
published: 2026-05-22T05:12:52.793Z
updated: 2026-05-22T05:13:19.354Z
tags: ["security", "llm", "claude", "code-review"]
reading_time: 7
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Finding Bugs using LLMs

**[Materialize](https://daily.dev/sources/materialize)** · 7 min read · 0 upvotes · 0 comments

## Summary

Materialize shares how they built an LLM-based bug-finding system using Claude (Opus 4.6/4.7) that scans pull requests, commits, and source files. The system runs automated coding agent sessions with carefully crafted prompts that categorize bugs by severity, cross-check against existing issues, and use tools like Trailmark and LSP for efficient codebase traversal. Key lessons include: always manually verifying LLM-reported bugs, using existing test frameworks as oracles, applying for safeguard adjustments with Anthropic/OpenAI to avoid policy blocks, and iterating on prompts to reduce false positives. The approach has uncovered hundreds of bugs not caught by existing test suites, though it complements rather than replaces systematic testing.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://materialize.com/blog/finding-bugs-using-llms>

## Similar posts on daily.dev

- [Using LLMs to Find Security Bugs: A Practitioner’s Playbook](https://daily.dev/posts/using-llms-to-find-security-bugs-a-practitioner-s-playbook-llrqsqe4g) · Tech Lead Digest · 0 upvotes · 0 comments
- [Using LLMs to secure source code](https://daily.dev/posts/using-llms-to-secure-source-code-jhoalndg0) · Eugene Yan · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#llm](https://daily.dev/tags/llm), [#claude](https://daily.dev/tags/claude), [#code-review](https://daily.dev/tags/code-review)

[View this post on daily.dev](https://daily.dev/posts/finding-bugs-using-llms-pbp8oopzr)
