scanned 9d ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓
ast-grep
ast-grep is a Rust-based CLI for structural code search and rewriting. Instead of regex, you write patterns that look like the code you want to match, and ast-grep operates on the syntax tree — so a single rule can find and rewrite constructs reliably across an entire codebase. It powers large-scale migrations and custom lint rules for many languages via Tree-sitter.
Key features
Pattern matching on the AST, not text — precise and safe rewrites
Interactive codemods and batch rewriting from the command line
YAML rule files for reusable lint and migration rules
Multi-language support (JS/TS, Python, Rust, Go, Java, C, and more)
Fast parallel search over huge repositories
Perfect for API migrations, deprecation sweeps, and enforcing codebase-wide conventions — a scriptable engine an agent can drive to apply consistent, verifiable code changes.
Curated mirror of the open-source ast-grep (MIT). Get it from the source.
! Security: Review · 7575/100 · grade Bscanned 9d ago
✓ no compromise signals12 risk-surface · 6/20 OWASP controls flagged
Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.
What this capability can do · med confidence (static)
Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).
OWASP Top 10 for LLM Applications
⚠LLM03Supply Chaincritical
Vulnerable/compromised dependencies, models or archives in the artifact.