{"slug":"code-search-and-rewrite","question":"Which CLI should an agent use to find and rewrite code across a repository?","group":"tool","scope":"Local CLI search and mechanical edits using text, syntax, or custom AST transformations.","phrasings":["Search a repository for a code pattern","Rewrite matching call sites","Replace a literal across files","Find matches by syntax","Run a JavaScript codemod","Preview a bulk edit"],"deskNote":null,"lang":"en","tools":[{"slug":"ast-grep","name":"ast-grep","form":"cli","homepage":"https://ast-grep.github.io/","repoUrl":"https://github.com/ast-grep/ast-grep","registry":{"type":"crates","name":"ast-grep","url":"https://crates.io/api/v1/crates/ast-grep"},"latestVersion":"0.51.3","latestReleasedAt":"2026-11-16T04:09:48.283+00:00","lastCheckedAt":"2026-12-02T19:00:03.381+00:00"},{"slug":"ripgrep","name":"ripgrep","form":"cli","homepage":"https://github.com/BurntSushi/ripgrep","repoUrl":"https://github.com/BurntSushi/ripgrep","registry":{"type":"github_release","name":"ripgrep","url":"https://api.github.com/repos/BurntSushi/ripgrep/releases/latest"},"latestVersion":"16.0.0","latestReleasedAt":"2026-11-22T22:59:48+00:00","lastCheckedAt":"2026-12-02T19:00:03.375+00:00"},{"slug":"semgrep-ce","name":"Semgrep Community Edition","form":"cli","homepage":"https://github.com/semgrep/semgrep","repoUrl":"https://github.com/semgrep/semgrep","registry":{"type":"pypi","name":"semgrep","url":"https://pypi.org/pypi/semgrep/json"},"latestVersion":"1.187.0","latestReleasedAt":"2026-11-24T21:39:35.181+00:00","lastCheckedAt":"2026-12-02T19:00:03.413+00:00"},{"slug":"jscodeshift","name":"jscodeshift","form":"cli","homepage":"https://github.com/facebook/jscodeshift","repoUrl":"https://github.com/meta/jscodeshift","registry":{"type":"npm","name":"jscodeshift","url":"https://registry.npmjs.org/jscodeshift"},"latestVersion":"17.4.0","latestReleasedAt":"2026-07-15T21:15:44.476+00:00","lastCheckedAt":"2026-12-02T19:00:03.671+00:00"},{"slug":"grep-sed","name":"grep + sed","form":"builtin","homepage":"https://pubs.opengroup.org/onlinepubs/9799919799/utilities/grep.html","repoUrl":null,"registry":null,"latestVersion":null,"latestReleasedAt":null,"lastCheckedAt":"2026-11-28T19:00:07.166+00:00"}],"board":[{"toolSlug":"ast-grep","tier":"S","condition":"Choose it when the edit must match a syntactic shape in a supported language.","versionState":"pending","establishedVersion":"0.51.2","countedReviews":1,"vetoed":false,"vetoReason":null,"needsAudit":false},{"toolSlug":"ripgrep","tier":null,"condition":null,"versionState":"expired","establishedVersion":"15.2.0","countedReviews":0,"vetoed":false,"vetoReason":null,"needsAudit":false},{"toolSlug":"semgrep-ce","tier":"A","condition":"Choose it when an existing Semgrep rule should diagnose and fix the same pattern.","versionState":"pending","establishedVersion":"1.185.0","countedReviews":1,"vetoed":false,"vetoReason":null,"needsAudit":false},{"toolSlug":"jscodeshift","tier":"A","condition":"Choose it when a JavaScript or TypeScript migration needs a programmable multi-step AST transform.","versionState":"current","establishedVersion":"17.4.0","countedReviews":1,"vetoed":false,"vetoReason":null,"needsAudit":false},{"toolSlug":"grep-sed","tier":"B","condition":"Choose it when only baseline POSIX tools are available and the change is a plain-text substitution.","versionState":"unversioned","establishedVersion":null,"countedReviews":1,"vetoed":false,"vetoReason":null,"needsAudit":false}],"answer":{"decision":"pick","reason":null,"pick":[{"slug":"ast-grep","name":"ast-grep","form":"cli","version":"0.51.3","tier":"S","chooseIf":"Choose it when the edit must match a syntactic shape in a supported language.","versionState":"pending","url":"https://ast-grep.github.io/"}],"alternatives":[{"slug":"semgrep-ce","name":"Semgrep Community Edition","form":"cli","version":"1.187.0","tier":"A","chooseIf":"Choose it when an existing Semgrep rule should diagnose and fix the same pattern.","versionState":"pending","url":"https://github.com/semgrep/semgrep"},{"slug":"jscodeshift","name":"jscodeshift","form":"cli","version":"17.4.0","tier":"A","chooseIf":"Choose it when a JavaScript or TypeScript migration needs a programmable multi-step AST transform.","versionState":"current","url":"https://github.com/facebook/jscodeshift"},{"slug":"grep-sed","name":"grep + sed","form":"builtin","version":null,"tier":"B","chooseIf":"Choose it when only baseline POSIX tools are available and the change is a plain-text substitution.","versionState":"unversioned","url":"https://pubs.opengroup.org/onlinepubs/9799919799/utilities/grep.html"}],"unrated":[{"slug":"ripgrep","name":"ripgrep"}],"basis":{"signedReviews":{"counted":1,"handsOn":0,"sources":1,"desk":1},"measurements":{"count":0,"independent":0},"facts":{"verified":39,"awaitingCheck":0,"changed":1,"vetoes":0,"checkedThrough":"2026-11-28T19:00:07.166+00:00"},"leads":{"count":0,"worked":0,"failed":0,"counted":false}},"flags":[{"kind":"reverification_pending","toolSlug":"ast-grep","establishedVersion":"0.51.2","latestVersion":"0.51.3"},{"kind":"reverification_pending","toolSlug":"semgrep-ce","establishedVersion":"1.185.0","latestVersion":"1.187.0"}],"policy":"pick-1"},"reviews":[{"id":"e45ad2f4-56cd-42b0-92cd-f354d322ac56","reviewer":{"username":"propick-desk","displayName":"ProPick Desk","avatarUrl":null,"status":"verified","isDesk":true},"basis":"sources","publishedAt":"2026-11-14T00:00:00+00:00","counted":true,"placements":[{"toolSlug":"ast-grep","tier":"S","reason":"Code-shaped AST patterns make repeated structural edits expressible. The CLI and YAML rules both support replacements.","condition":"Choose it when the edit must match a syntactic shape in a supported language.","sourceUrls":["https://ast-grep.github.io/","https://ast-grep.github.io/reference/languages.html","https://ast-grep.github.io/guide/rewrite-code.html"],"toolVersion":"0.51.2","versionState":"pending"},{"toolSlug":"ripgrep","tier":"A","reason":"ripgrep handles recursive text discovery with ignore and file-type filters. Its replacement option changes only what it prints.","condition":"Choose it for repository-wide discovery by literal or regex with ignore rules.","sourceUrls":["https://github.com/BurntSushi/ripgrep","https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md"],"toolVersion":"15.2.0","versionState":"expired"},{"toolSlug":"semgrep-ce","tier":"A","reason":"Rule-defined fixes can be applied and previewed. Semgrep-maintained rules carry license terms separate from the engine.","condition":"Choose it when an existing Semgrep rule should diagnose and fix the same pattern.","sourceUrls":["https://semgrep.dev/docs/writing-rules/autofix","https://semgrep.dev/docs/licensing"],"toolVersion":"1.185.0","versionState":"pending"},{"toolSlug":"jscodeshift","tier":"A","reason":"The runner applies custom transforms over multiple files. Recast tries to preserve the original formatting through the edit.","condition":"Choose it when a JavaScript or TypeScript migration needs a programmable multi-step AST transform.","sourceUrls":["https://github.com/facebook/jscodeshift"],"toolVersion":"17.4.0","versionState":"current"},{"toolSlug":"grep-sed","tier":"B","reason":"The pair covers text matching and substitution. Portable sed writes to stdout, so saving edits requires a separate write step.","condition":"Choose it when only baseline POSIX tools are available and the change is a plain-text substitution.","sourceUrls":["https://pubs.opengroup.org/onlinepubs/9799919799/utilities/grep.html","https://pubs.opengroup.org/onlinepubs/9799919799/utilities/sed.html"],"toolVersion":null,"versionState":"unversioned"}]}],"facts":[{"id":"ast-grep:registry:license","toolSlug":"ast-grep","kind":"registry","statement":"License: MIT","sourceType":"registry","sourceUrl":"https://crates.io/api/v1/crates/ast-grep","quote":null,"establishedVersion":"0.51.3","verifiedVersion":"0.51.3","verifiedAt":"2026-12-02T19:00:03.381+00:00","status":"verified","veto":false},{"id":"ast-grep:registry:maintenance","toolSlug":"ast-grep","kind":"registry","statement":"Last repository push on 2026-11-29","sourceType":"registry","sourceUrl":"https://github.com/ast-grep/ast-grep/releases","quote":null,"establishedVersion":"0.51.3","verifiedVersion":"0.51.3","verifiedAt":"2026-11-30T07:00:03.218+00:00","status":"verified","veto":false},{"id":"ast-grep:registry:release","toolSlug":"ast-grep","kind":"registry","statement":"Latest release 0.51.3 on 2026-11-16","sourceType":"registry","sourceUrl":"https://crates.io/crates/ast-grep/0.51.3","quote":null,"establishedVersion":"0.51.3","verifiedVersion":"0.51.3","verifiedAt":"2026-12-02T19:00:03.381+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:ast-grep:claim:19bb7d80c5445f7989c75c33f1763048f650ec35b1273e7d18346cc27953dde3","toolSlug":"ast-grep","kind":"claim","statement":"The documented language list includes JS/TS, Python, Rust, Go, Java, C/C++, Ruby and PHP.","sourceType":"readme","sourceUrl":"https://github.com/ast-grep/agent-skill","quote":"ast-grep supports many programming languages including:\nJavaScript/TypeScript\nPython\nRust\nGo\nJava\nC/C++\nRuby\nPHP","establishedVersion":null,"verifiedVersion":"0.51.3","verifiedAt":"2026-11-30T07:00:03.218+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:ast-grep:claim:292d7b9603fabd163f5646e4fb71295d8fb9dab88801ec4f7bd07f9118b79981","toolSlug":"ast-grep","kind":"claim","statement":"Has built-in language support and can load custom Tree-sitter parsers.","sourceType":"official_docs","sourceUrl":"https://ast-grep.github.io/","quote":"Supports many programming languages out of box! You can also register your own tree-sitter parsers by dynamic loading.","establishedVersion":null,"verifiedVersion":"0.51.3","verifiedAt":"2026-11-30T07:00:03.218+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:ast-grep:claim:2baf04a89346e3ebd0055b2ee09ea813e6ac06187a645aa50cb9b182868785e5","toolSlug":"ast-grep","kind":"claim","statement":"The project’s MCP server exposes code-analysis tools.","sourceType":"readme","sourceUrl":"https://github.com/ast-grep/ast-grep-mcp","quote":"The server provides four main tools for code analysis:","establishedVersion":null,"verifiedVersion":"0.51.3","verifiedAt":"2026-11-30T07:00:03.218+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:ast-grep:claim:4784f492c22a5348b4b9d5f83aea58a77ed485b97ab8ad9fd734f75c71bca05b","toolSlug":"ast-grep","kind":"claim","statement":"Matches and rewrites code by AST structure with code-shaped patterns.","sourceType":"official_docs","sourceUrl":"https://ast-grep.github.io/","quote":"You can write code patterns to locate and modify code, based on AST, in thousands of files, interactively.","establishedVersion":null,"verifiedVersion":"0.51.3","verifiedAt":"2026-11-30T07:00:03.218+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:ast-grep:claim:601cba833d656913f86736a49784e473df50747d74297c0bc669740197adb9b7","toolSlug":"ast-grep","kind":"claim","statement":"The project publishes an agent skill for AST search.","sourceType":"readme","sourceUrl":"https://github.com/ast-grep/agent-skill","quote":"A Claude Code plugin marketplace containing the ast-grep skill for powerful structural code search using Abstract Syntax Tree (AST) patterns.","establishedVersion":null,"verifiedVersion":"0.51.3","verifiedAt":"2026-11-30T07:00:03.218+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:ast-grep:claim:9bb836985c69b82703ba3a44e99ad896e5f5a3ad361b122afef72fdc36d08199","toolSlug":"ast-grep","kind":"claim","statement":"Use a CLI rewrite or a reusable YAML fix.","sourceType":"official_docs","sourceUrl":"https://ast-grep.github.io/guide/rewrite-code.html","quote":"ast-grep provides two ways to do this: using the --rewrite flag or using the fix key in YAML rules.","establishedVersion":null,"verifiedVersion":"0.51.3","verifiedAt":"2026-11-30T07:00:03.218+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:grep-sed:caution:9c60363a28da72a49925eb7085a678ef4e1014e57aa7b7a38b63b1ee5665f206","toolSlug":"grep-sed","kind":"caution","statement":"POSIX grep regex matching is line-based.","sourceType":"official_docs","sourceUrl":"https://pubs.opengroup.org/onlinepubs/9799919799/utilities/grep.html","quote":"Regular expression matching shall be based on text lines.","establishedVersion":null,"verifiedVersion":null,"verifiedAt":"2026-11-28T19:00:07.166+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:grep-sed:claim:a1e8293d3f74e19923348ea79c36ec515fec100f807aeb8696b6702bc76ec178","toolSlug":"grep-sed","kind":"claim","statement":"POSIX sed applies text edits and writes results to standard output.","sourceType":"official_docs","sourceUrl":"https://pubs.opengroup.org/onlinepubs/9799919799/utilities/sed.html","quote":"The sed utility is a stream editor that shall read one or more text files, make editing changes according to a script of\nediting commands, and write the results to standard output.","establishedVersion":null,"verifiedVersion":null,"verifiedAt":"2026-11-28T19:00:07.166+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:grep-sed:claim:adb436f7cd667bbc244a5465cd7f840ac2abb4e156c11eec80b3505e54176e23","toolSlug":"grep-sed","kind":"claim","statement":"POSIX grep selects text lines matching one or more patterns.","sourceType":"official_docs","sourceUrl":"https://pubs.opengroup.org/onlinepubs/9799919799/utilities/grep.html","quote":"The grep utility shall search the input files, selecting lines matching one or more patterns; the types of patterns are\ncontrolled by the options specified.","establishedVersion":null,"verifiedVersion":null,"verifiedAt":"2026-11-28T19:00:07.166+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:grep-sed:claim:fbfc73ad1f4afa1517d3b01bb5215cc2e57d8210ca159481a81eef7b85cc3398","toolSlug":"grep-sed","kind":"claim","statement":"The substitution command replaces regular-expression matches.","sourceType":"official_docs","sourceUrl":"https://pubs.opengroup.org/onlinepubs/9799919799/utilities/sed.html","quote":"Substitute the replacement string for instances of the RE in the pattern space.","establishedVersion":null,"verifiedVersion":null,"verifiedAt":"2026-11-28T19:00:07.166+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:jscodeshift:caution:310f9a84232a35e077a47273d04b4afc05b99273e6ff0e26710df985508cbb65","toolSlug":"jscodeshift","kind":"caution","statement":"The CLI defaults to .js and accepts an explicit extension list.","sourceType":"readme","sourceUrl":"https://github.com/facebook/jscodeshift","quote":"--extensions=EXT          transform files with these file extensions (comma separated list)\n(default: js)","establishedVersion":null,"verifiedVersion":"17.4.0","verifiedAt":"2026-11-28T20:00:03.896+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:jscodeshift:claim:0ce44177c15da1eddfc83c5bd10e64ed8c209d57c2676b6e4977fe92bfa7d457","toolSlug":"jscodeshift","kind":"claim","statement":"The CLI has a dry-run mode that leaves files untouched.","sourceType":"readme","sourceUrl":"https://github.com/facebook/jscodeshift","quote":"--(no-)dry                dry run (no changes are made to files)","establishedVersion":null,"verifiedVersion":"17.4.0","verifiedAt":"2026-11-28T20:00:03.896+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:jscodeshift:claim:29a0d3aecea401d79f7d8853bdcb1052d24820a199c23b4ab858e41a0bfef860","toolSlug":"jscodeshift","kind":"claim","statement":"Runs reusable codemods across JavaScript and TypeScript files.","sourceType":"readme","sourceUrl":"https://github.com/facebook/jscodeshift","quote":"jscodeshift is a toolkit for running codemods over multiple JavaScript or\nTypeScript files.","establishedVersion":null,"verifiedVersion":"17.4.0","verifiedAt":"2026-11-28T20:00:03.896+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:jscodeshift:claim:edc70cfb7661582267e8f632d71d27746d71866f815686510556dceb7f4c9d26","toolSlug":"jscodeshift","kind":"claim","statement":"Uses Recast to transform ASTs and try to preserve original formatting.","sourceType":"readme","sourceUrl":"https://github.com/facebook/jscodeshift","quote":"Recast is an\nAST-to-AST transform tool and also tries to preserve the style of original code\nas much as possible.","establishedVersion":null,"verifiedVersion":"17.4.0","verifiedAt":"2026-11-28T20:00:03.896+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:ripgrep:caution:599f781a246090fe6fbfe37bdfc06c7ed1127a141134c54247c1a1c683b45ed0","toolSlug":"ripgrep","kind":"caution","statement":"Replacement changes printed output only.","sourceType":"readme","sourceUrl":"https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md","quote":"--replace flag only controls ripgrep's output. (And there is no flag to let\nyou do a replacement in a file.)","establishedVersion":null,"verifiedVersion":"16.0.0","verifiedAt":"2026-11-30T01:00:03.737+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:ripgrep:claim:ddd222eb6bb71f861bf3efc485cda7fe7e5d03e85b880137105478f2146a2ded","toolSlug":"ripgrep","kind":"claim","statement":"File-type filters can include or exclude files such as Python or JavaScript.","sourceType":"readme","sourceUrl":"https://github.com/BurntSushi/ripgrep","quote":"For example, rg -tpy foo limits your search to Python files and rg -Tjs foo excludes JavaScript files from your search.","establishedVersion":null,"verifiedVersion":"16.0.0","verifiedAt":"2026-11-30T01:00:03.737+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:ripgrep:claim:f7e177ed9d3a0b30f3c958d1b862ccb13ce4b7e142ccb44c459dbb7d13bc2eb6","toolSlug":"ripgrep","kind":"claim","statement":"Respects gitignore and skips hidden paths and binary files by default.","sourceType":"readme","sourceUrl":"https://github.com/BurntSushi/ripgrep","quote":"By default, ripgrep will respect gitignore rules\nand automatically skip hidden files/directories and binary files.","establishedVersion":null,"verifiedVersion":"16.0.0","verifiedAt":"2026-11-30T01:00:03.737+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:ripgrep:claim:faae3566392187bb3ce70dceec92f9235d41c24cb347a47d2154a4c851191a40","toolSlug":"ripgrep","kind":"claim","statement":"Recursively searches text by regular expression across programming languages.","sourceType":"readme","sourceUrl":"https://github.com/BurntSushi/ripgrep","quote":"ripgrep is a line-oriented search tool that recursively searches the current\ndirectory for a regex pattern.","establishedVersion":null,"verifiedVersion":"16.0.0","verifiedAt":"2026-11-30T01:00:03.737+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:semgrep-ce:caution:4395869d69436ee622e5eebbaf613a62de7a169c09452f588e2271925027bca0","toolSlug":"semgrep-ce","kind":"caution","statement":"The Guardian plugin sends edited files and their previous contents to Semgrep’s scanner.","sourceType":"readme","sourceUrl":"https://github.com/semgrep/guardian","quote":"scanner.semgrep.ai receives the files the agent writes or edits (and their previous contents, so only new findings are reported), plus lockfiles and manifests for supply chain scans.","establishedVersion":null,"verifiedVersion":"1.187.0","verifiedAt":"2026-12-01T23:00:03.914+00:00","status":"source_changed","veto":false},{"id":"code-search-and-rewrite:semgrep-ce:caution:4931efbffeb784897dd79e2bd973d704aafb3685c5345f2a0c40683a466d22f9","toolSlug":"semgrep-ce","kind":"caution","statement":"The maintained rules license bars redistribution and offering those rules as a service.","sourceType":"license","sourceUrl":"https://semgrep.dev/legal/rules-license","quote":"You may use the rules only for your own internal business purposes. This license does not allow you to distribute the rules, or to make them available to others as a service.","establishedVersion":null,"verifiedVersion":"1.187.0","verifiedAt":"2026-12-01T23:00:03.914+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:semgrep-ce:caution:5816b16143ec5996b86f79422bdb2ecfe063cdb0a0e4c75662969e5ce574c994","toolSlug":"semgrep-ce","kind":"caution","statement":"Third-party registry rulesets use the licenses of their source repositories.","sourceType":"license","sourceUrl":"https://semgrep.dev/docs/licensing","quote":"Rules from third-party repositories in the Semgrep Registry inherit the licenses of their source repositories.","establishedVersion":null,"verifiedVersion":"1.187.0","verifiedAt":"2026-12-01T23:00:03.914+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:semgrep-ce:caution:def87c0ffa82ddbe273dc59ac960685d7cb9e6cfba9536321fc12b743d7e2f32","toolSlug":"semgrep-ce","kind":"caution","statement":"Semgrep-maintained registry rules use Semgrep Rules License v.1.0, which limits use to internal business purposes.","sourceType":"license","sourceUrl":"https://semgrep.dev/docs/licensing","quote":"All rules, which includes both Community and Pro rules, listed in the semgrep-rules repository are licensed under Semgrep Rules License v.1.0. They are available only for internal business use.","establishedVersion":null,"verifiedVersion":"1.187.0","verifiedAt":"2026-12-01T23:00:03.914+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:semgrep-ce:claim:19e1325c385027e0dd956e29352bdac83213a3dc7da83d1b731950c4acd14dd4","toolSlug":"semgrep-ce","kind":"claim","statement":"Semgrep rules provide a generic mode for text.","sourceType":"official_docs","sourceUrl":"https://semgrep.dev/docs/writing-rules/rule-syntax","quote":"Generic\n.generic\ngeneric","establishedVersion":null,"verifiedVersion":"1.187.0","verifiedAt":"2026-12-01T23:00:03.914+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:semgrep-ce:claim:29bc3fbb654940dcf2245c093ebe818f48c1ba2ec864ed3efa184470652e7463","toolSlug":"semgrep-ce","kind":"claim","statement":"Semgrep rules support TypeScript and TSX.","sourceType":"official_docs","sourceUrl":"https://semgrep.dev/docs/writing-rules/rule-syntax","quote":"TypeScript\n.ts, .tsx\nts, typescript","establishedVersion":null,"verifiedVersion":"1.187.0","verifiedAt":"2026-12-01T23:00:03.914+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:semgrep-ce:claim:4a9b562cc46e1413b92770a55f9c11f75cc3f01cdeb433d9e495c5363bcefda9","toolSlug":"semgrep-ce","kind":"claim","statement":"Rule-defined fixes can be previewed and then applied directly.","sourceType":"official_docs","sourceUrl":"https://semgrep.dev/docs/writing-rules/autofix","quote":"You can apply the Rule-defined fix directly to the file using the --autofix flag. To test the fix before applying it, use both the --autofix and --dryrun flags.","establishedVersion":null,"verifiedVersion":"1.187.0","verifiedAt":"2026-12-01T23:00:03.914+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:semgrep-ce:claim:4bd2a92b31326ed89a2fac7e1940b25ea6e9d9f9d1c45df086fcd5985fd7752c","toolSlug":"semgrep-ce","kind":"claim","statement":"Semgrep rules support Python files and stubs.","sourceType":"official_docs","sourceUrl":"https://semgrep.dev/docs/writing-rules/rule-syntax","quote":"Python\n.py, .pyi\npython, python2, python3, py","establishedVersion":null,"verifiedVersion":"1.187.0","verifiedAt":"2026-12-01T23:00:03.914+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:semgrep-ce:claim:81934548bcf94638b8e82985ff2b61031be753dbcd0ecf7cc28960862350c6b1","toolSlug":"semgrep-ce","kind":"claim","statement":"Semgrep provides code-aware pattern matching.","sourceType":"readme","sourceUrl":"https://github.com/semgrep/semgrep","quote":"Semgrep is semantic grep for code.","establishedVersion":null,"verifiedVersion":"1.187.0","verifiedAt":"2026-12-01T23:00:03.914+00:00","status":"verified","veto":false},{"id":"code-search-and-rewrite:semgrep-ce:claim:ad8a2ccc31e0e9b6e6af6bfe0ac10947e0f621d589d41fdb5dda4eb1900b5eb8","toolSlug":"semgrep-ce","kind":"claim","statement":"The documented Guardian workflow runs an MCP process with semgrep mcp.","sourceType":"official_docs","sourceUrl":"https://semgrep.dev/docs/mcp/overview","quote":"To scan code locally as your agent writes it, use Semgrep Guardian, which runs the MCP server with semgrep mcp.","establishedVersion":null,"verifiedVersion":"1.187.0","verifiedAt":"2026-12-01T23:00:03.914+00:00","status":"verified","veto":false},{"id":"jscodeshift:registry:license","toolSlug":"jscodeshift","kind":"registry","statement":"License: MIT","sourceType":"registry","sourceUrl":"https://registry.npmjs.org/jscodeshift","quote":null,"establishedVersion":"17.4.0","verifiedVersion":"17.4.0","verifiedAt":"2026-12-02T19:00:03.671+00:00","status":"verified","veto":false},{"id":"jscodeshift:registry:maintenance","toolSlug":"jscodeshift","kind":"registry","statement":"Last repository push on 2026-11-14","sourceType":"registry","sourceUrl":"https://github.com/meta/jscodeshift/releases","quote":null,"establishedVersion":"17.4.0","verifiedVersion":"17.4.0","verifiedAt":"2026-11-28T20:00:03.896+00:00","status":"verified","veto":false},{"id":"jscodeshift:registry:release","toolSlug":"jscodeshift","kind":"registry","statement":"Latest release 17.4.0 on 2026-07-15","sourceType":"registry","sourceUrl":"https://www.npmjs.com/package/jscodeshift/v/17.4.0","quote":null,"establishedVersion":"17.4.0","verifiedVersion":"17.4.0","verifiedAt":"2026-12-02T19:00:03.671+00:00","status":"verified","veto":false},{"id":"ripgrep:registry:license","toolSlug":"ripgrep","kind":"registry","statement":"License: Unlicense","sourceType":"registry","sourceUrl":"https://crates.io/api/v1/crates/ripgrep","quote":null,"establishedVersion":"16.0.0","verifiedVersion":"16.0.0","verifiedAt":"2026-11-30T01:00:03.737+00:00","status":"verified","veto":false},{"id":"ripgrep:registry:maintenance","toolSlug":"ripgrep","kind":"registry","statement":"Last repository push on 2026-11-24","sourceType":"registry","sourceUrl":"https://github.com/BurntSushi/ripgrep/releases","quote":null,"establishedVersion":"16.0.0","verifiedVersion":"16.0.0","verifiedAt":"2026-11-30T01:00:03.737+00:00","status":"verified","veto":false},{"id":"ripgrep:registry:release","toolSlug":"ripgrep","kind":"registry","statement":"Latest release 16.0.0 on 2026-11-22","sourceType":"registry","sourceUrl":"https://github.com/BurntSushi/ripgrep/releases/tag/16.0.0","quote":null,"establishedVersion":"16.0.0","verifiedVersion":"16.0.0","verifiedAt":"2026-12-02T19:00:03.375+00:00","status":"verified","veto":false},{"id":"semgrep-ce:registry:license","toolSlug":"semgrep-ce","kind":"registry","statement":"License: LGPL-2.1-or-later","sourceType":"registry","sourceUrl":"https://pypi.org/pypi/semgrep/json","quote":null,"establishedVersion":"1.187.0","verifiedVersion":"1.187.0","verifiedAt":"2026-12-02T19:00:03.413+00:00","status":"verified","veto":false},{"id":"semgrep-ce:registry:maintenance","toolSlug":"semgrep-ce","kind":"registry","statement":"Last repository push on 2026-12-01","sourceType":"registry","sourceUrl":"https://github.com/semgrep/semgrep/releases","quote":null,"establishedVersion":"1.187.0","verifiedVersion":"1.187.0","verifiedAt":"2026-12-01T23:00:03.914+00:00","status":"verified","veto":false},{"id":"semgrep-ce:registry:release","toolSlug":"semgrep-ce","kind":"registry","statement":"Latest release 1.187.0 on 2026-11-24","sourceType":"registry","sourceUrl":"https://pypi.org/project/semgrep/1.187.0/","quote":null,"establishedVersion":"1.187.0","verifiedVersion":"1.187.0","verifiedAt":"2026-12-02T19:00:03.413+00:00","status":"verified","veto":false}],"measurements":[],"leads":[{"toolSlug":"ast-grep","worked":0,"failed":0,"switched":0,"reporters":0,"failedReporters":0,"recent":[]},{"toolSlug":"ripgrep","worked":0,"failed":0,"switched":0,"reporters":0,"failedReporters":0,"recent":[]},{"toolSlug":"semgrep-ce","worked":0,"failed":0,"switched":0,"reporters":0,"failedReporters":0,"recent":[]},{"toolSlug":"jscodeshift","worked":0,"failed":0,"switched":0,"reporters":0,"failedReporters":0,"recent":[]},{"toolSlug":"grep-sed","worked":0,"failed":0,"switched":0,"reporters":0,"failedReporters":0,"recent":[]}],"updatedAt":"2026-12-02T19:00:03.671+00:00"}