Opengrep: a grep that understands code, and why it matters more when agents write the code
20 min read
Opengrep and Semgrep find code by pattern, using rules that look like the code they match. This article starts from what static analysis is, writes a first rule, works up to taint analysis, and then explains why tools like this become more valuable when LLM agents write most of the code. Every rule in the article has been run with Opengrep 1.26.0.