# ast-grep 0.42.1

⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

Snapshot of gominimal/pkgs commit `cd4b09dd2f492c47fba70eb1b8a8c724dabdc7e9` (pushed 2026-07-10T23:16:55.000Z).

## Install

```sh
min add ast-grep
```

## Direct advisories

None at this commit.

## Transitive advisories

5 advisories inherited through runtime dependencies:

- CVE-2026-4046 (HIGH) via glibc
- CVE-2026-4437 (HIGH) via glibc
- CVE-2026-4438 (MEDIUM) via glibc
- CVE-2026-5450 (CRITICAL) via glibc
- CVE-2026-5928 (HIGH) via glibc

## Dependencies

- Build (3): base, rust, toolchain
- Runtime (1): glibc

## Scorecard

| Category | Score | Band |
| --- | --- | --- |
| supply-chain | 47 | low |
| advisories | 10 | low |
| quality | 24 | low |
| maintenance | 67 | mid |
| licence | 100 | perfect |

## Links

- Homepage: https://ast-grep.github.io/
- Package page (HTML): https://minimal.dev/pkgs/ast-grep
- JSON API (floats latest): https://minimal.dev/api/pkgs/ast-grep.json
- SBOM (CycloneDX 1.5): https://minimal.dev/api/pkgs/ast-grep/sbom.json
