Skip to content

v0.1.0

Choose a tag to compare

@ucsurf ucsurf released this 31 Oct 07:17
· 4 commits to main since this release

First release: 15 Semgrep rules for JavaScript/TypeScript, Python, Go, Rust, PHP and C.

  • 12 rules are derived from vulnerabilities published on uc.surf/findings, and each links its GitHub advisory (e.g. GHSA-2wq3-cx7v-37f3, GHSA-f2pc-rwv3-69mv, GHSA-2qm8-x737-gmw5). 3 rules cover general patterns with no direct advisory (JSON Schema $id override, transform after sanitize, mutating route without authorization).
  • Every rule ships with positive and negative tests and a short write-up in docs/.
  • Low-confidence rules were tuned against golang/go, kubernetes, express, node and redis, and are reported at INFO severity.

Usage

git clone https://github.com/ucsurf/vuln-patterns
semgrep --config vuln-patterns/rules/ path/to/code