Skip to content

Releases

v0.1.2

Choose a tag to compare

@ucsurf ucsurf released this 02 Nov 19:07
  • Reproducible demo: docs/demo/app.py and docs/demo.tape run from the repo root (vhs docs/demo.tape); CI checks that the demo input still triggers a finding.
  • README: badges, Why, GitHub Actions and pre-commit usage, limitations.
  • All workflow actions pinned by SHA with persist-credentials: false; OpenSSF Scorecard workflow.

v0.1.1

Choose a tag to compare

@ucsurf ucsurf released this 01 Nov 04:53
  • Fix README usage: the raw.githubusercontent directory URL in --config returned 404; usage now clones the repo.
  • Add a real example run to the README.
    No rule changes.

v0.1.0

Choose a tag to compare

@ucsurf ucsurf released this 31 Oct 07:17

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