Add a corpus case exercising SSRF detection in Go.
Where: signetry_eval/detection/corpus/ — add a case with a cited provenance (link/CWE), plus a SAFE decoy that must stay 0 false positives.
Acceptance criteria:
- One vulnerable Go snippet (
http.Get(r.URL.Query().Get("u"))-style) that the engine flags as ssrf / CWE-918.
- One safe Go snippet (constant URL) that is NOT flagged.
- Corpus-integrity test passes:
uv run pytest -q.
See existing cases in the corpus for the exact format. Depends on signetry-core@v0.6.0 (installed automatically).
Add a corpus case exercising SSRF detection in Go.
Where:
signetry_eval/detection/corpus/— add a case with a citedprovenance(link/CWE), plus a SAFE decoy that must stay 0 false positives.Acceptance criteria:
http.Get(r.URL.Query().Get("u"))-style) that the engine flags asssrf/CWE-918.uv run pytest -q.See existing cases in the corpus for the exact format. Depends on
signetry-core@v0.6.0(installed automatically).