Repository navigation
Releases
v1.5.5 — refreshed scanner pins (semgrep 1.177, anthropic 1.5) + docs
Routine freshness release, keeping the gate current across the fleet.
Pins
- semgrep 1.173.0 → 1.177.0
- anthropic 0.122.0 → 1.5.0 (only the optional BYO-key triage path uses the SDK; stable Messages-API surface, no fleet gate enables it)
- codeql-action/upload-sarif 4.37.6 → v4.38.0
- gitleaks 8.30.1 · pip-audit 2.10.1 (both still latest)
Docs
- Removed the stale "PyPI publish is pending" note (PyPI has been live since v1.1.0); refreshed DISTRIBUTION.md.
Pin by commit SHA (cisoventures/vulngate@b6a322b92b494341a9d702e2c8e91856a9096412 # v1.5.5) and let Dependabot open the bump PR. The @v1 tag also moves to this release, but a moving tag changes what runs in your pipeline without a diff or a review.
v1.5.4 — refreshed scanner pins (semgrep 1.173, anthropic 0.122) + automation fix
Routine freshness release. The scanner-freshness workflow (now unblocked — see below) detected and verified newer scanner engines, and this ships them to consumers on @v1.
Scanner pins
- semgrep 1.171.0 → 1.173.0
- anthropic 0.120.0 → 0.122.0
- (codeql-action upload-sarif → 4.37.6 via Dependabot, also in this release)
Automation fix
The weekly scanner-freshness job had been pushing update branches but failing to open the PR — the repo's 'Allow GitHub Actions to create and approve pull requests' setting was off. Enabled it; the job now opens its PR end-to-end (this release came through that path). A human still reviews and merges — branch protection requires green CI first.
v1.5.3 — SHA-pin all actions (checkout v7, setup-python v7, codeql-action v4)
Housekeeping release: refreshes and reconciles the pinned third-party GitHub Actions (via Dependabot + a cleanup pass), and turns on branch protection for main.
Action pins (all SHA-pinned now, with accurate version comments)
| Action | Was | Now |
|---|---|---|
| actions/checkout | v4 | v7.0.1 |
| actions/setup-python | v5 | v7.0.0 |
| github/codeql-action/upload-sarif | v3 | v4.37.3 (v3 is being deprecated) |
Dependabot handles the uses: action pins; the scanner-freshness workflow (v1.5.x) handles the scanner pins Dependabot can't see. Between them, nothing goes stale silently.
No functional change to scanning — pins only. Consumers on @v1 inherit the refreshed actions.
v1.5.2 — SARIF upload works on public repos again
Follow-up to v1.5.1. That release probed /code-scanning/alerts and treated 404 as "code scanning unavailable" — but a public repo that simply hasn't uploaded an analysis yet also returns 404 (no analysis found). Result: the very first SARIF upload would be skipped, permanently, on exactly the repos where code scanning works.
Fix: read repository metadata instead of probing for analyses. Upload when the repo is public (code scanning is free there) or when Advanced Security is enabled on a private repo.
Verified against all three real cases: private-without-Advanced-Security → skip cleanly; public → upload.
The v1.5.1 guarantee still holds: a scan that passes never produces a failing build.
v1.5.1 — a passing scan never fails your build
Bug fix, found by dogfooding on a private repo.
Adopting the Action on a private repo turned a clean PASS into a red build: the scan exited 0, then github/codeql-action/upload-sarif hard-failed. Uploading SARIF to the Security tab requires a public repo or GitHub Advanced Security — and most private repos have neither.
Fix: vulngate now probes the code-scanning API and skips the SARIF upload cleanly (with a clear log line) when it isn't available, instead of failing the run. Composite-action steps can't use continue-on-error, so a probe + if: is the correct mechanism. Findings still appear in the workflow log and the PR comment, and the gate verdict is unchanged.
A scan that passes now always produces a passing build.
Also documents actions: read in the example workflow permissions (required by the SARIF upload action).
v1.5.0 — build-only dependency flaws: reported but non-blocking (opt-in)
A known flaw in a build-only tool (your dev toolchain — bundlers, test runners, CLIs) never ships to the running app, so it shouldn't stop you shipping. As of v1.5.0 you can have those reported but not block the gate.
The policy
- Config
fail_on_dev_deps(default true — strict, unchanged for CI). - CLI
--ignore-dev-deps(onscanandgate); Action inputignore-dev-deps: true. - Set it lenient and a
development-scope dependency at/above your threshold is still reported but no longer fails the check. Runtime (live-app) dependencies, code findings, and secrets always still block.
Consistent everywhere
A single gates_the_build() rule drives scan, gate, terminal, and the PR comment, and the policy is persisted as scan.fail_on_dev_deps in findings.json — so the verdict never drifts between surfaces. Terminal and PR comment show a "N build-only issue(s) shown but not blocking" note so a PASS with visible highs is self-explanatory.
Vibecoder default
The local MCP server (the agent loop) uses the lenient behavior by default (scan_repo(block_on_build_only_deps=False)); the CLI and Action stay strict by default for CI. README recommends fail_on_dev_deps = false for app-team / vibecoder setups.
No change for existing strict users. 41 tests; fixture output unchanged.
v1.4.0 — plainer, context-aware finding language
Driven by real feedback — jargon like "toolchain bump" wasn't clear — after dogfooding the amino Workers, where "6 HIGH" turned out to be entirely build-only dev tooling with zero live-app exposure. vulngate now says that, plainly.
Runtime vs build-only dependencies
Every vulnerable dependency is now labelled in your live app or build-only tool — because a flaw in your build toolchain is not the same risk as one in shipped code. npm reads package-lock.json's per-entry dev flag (build-only only if every entry is dev; any production occurrence wins); pip infers from the requirements filename. The plain summary spells it out: "'wrangler' is a build-only tool … your live app isn't exposed" vs "'lodash' is a code package your live app actually runs …". Exposed as details.dependency_scope.
Softer, less-certain code findings
Semgrep matches a pattern and can be wrong, so its findings now carry a gentle caveat — "A scanner flagged this code pattern — it can be a false alarm, so confirm it applies before changing anything." Secrets and dependency CVEs (high-confidence) don't.
Plain-English glossary
A short glossary appears at the end of a scan (terminal) and as a collapsible section in the PR comment, showing only the terms that actually came up (dependency, build-only tool, live app, secret, severity).
Plus: "advisory" → "known issue" throughout. Fixture output unchanged; 38 tests green.
v1.3.1 — fix Semgrep dedupe dropping distinct findings
Bug fix, found by dogfooding a real repo.
Two distinct Semgrep findings of the same rule in the same file (different lines) were collapsing into one — and the extra ones were silently dropped.
Root cause: Semgrep OSS (no platform login, which is how vulngate always runs it) stamps every finding's extra.fingerprint with the constant placeholder "requires login". vulngate used that as the per-match identity, so the stable dedupe id keyed on (rule, file) only — every match of a rule in a file merged into one.
Fix: reject the "requires login" placeholder (and empty) and fall back to a location-keyed identity (rule:file:line:col) so distinct matches stay distinct; a real logged-in fingerprint is still used verbatim (stable + line-independent). Also dedupe by id inside the adapter so a scanner's finding_count is honest (Semgrep can emit one match several times via multiple taint paths) — closing the "chip says 6, summary says 2" gap.
Genuine duplicates (same rule/file/line) still collapse correctly. Regression test added from the exact "requires login" case. Fixture output unchanged.
v1.3.0 — MCP verify_fix + expanded plain-English knowledge pack
P3 — MCP verify_fix (close the loop)
New verify_fix(finding_id, path=".") tool: after a fix is applied it re-scans and confirms the finding's stable, line-independent id is actually gone. Verdicts: fixed / still_present / inconclusive / unknown_finding.
It won't be fooled by a scanner that didn't run. A finding can also vanish because its scanner wasn't installed or errored on the re-scan — that is not a fix. verify_fix reports fixed only when the scanner that owned the finding actually completed this run (using the v1.2.0 status taxonomy); otherwise the verdict is inconclusive, never a false all-clear. Thin wrapper — no LLM calls, never edits code.
The full vibe-coder loop is now: scan_repo → explain_finding → suggest_patch → (apply) → verify_fix.
P4 — expanded knowledge pack
The offline, deterministic plain-English pack grew from 19 → 57 CWEs and 18 → 47 keyword fallbacks — SSRF, open redirect, NoSQL injection, prototype pollution, mass assignment, header/log injection, CSV/formula injection, info-exposure & debug, crypto/secrets, a full access-control/auth set, and resource-handling (DoS, insecure temp files, untrusted loads) — all in the same jargon-free voice. Fixed a substring-ordering bug so nosql rules no longer mis-map to SQL injection.
Tests 23 → 30. Fixture still exits 1 with identical findings.
Install: pip install "vulngate[scanners]" · MCP: pip install "vulngate[mcp]" → vulngate-mcp
v1.2.0 — coverage taxonomy, scan receipt, SARIF consistency, supply-chain pinning
Coverage integrity & provenance (P1)
- Richer scanner-status taxonomy —
skippedsplit intonot_applicable(nothing to scan),unavailable(tool not installed), anddisabled(config), alongsidecompleted/error, each withapplicable/availablebooleans.scan.statusnow derives from applicability + completion: an applicable-but-missing scanner is a coverage gap →partial, never a silent clean pass. The v1.1.2 fail-closed-on-zero-coverage guarantee is preserved. - Scan receipt (
scan.receipt) — git commit, a sha256config_hashover the resolved config,scanner_versions, andstarted_at/completed_at. Afindings.jsonis now self-describing and auditable. - SARIF consistency — new
vulngate sarif <findings.json> [--out]projector. The Action regenerates SARIF from the finalfindings.json(after diff-filter + triage), so the Security tab matches the PR comment and the gate.
Supply-chain hardening (P2)
- SHA-pinned
actions/setup-python@v5andgithub/codeql-action/upload-sarif@v3. - Hardcoded the gitleaks 8.30.1 sha256 (x64 + arm64), arch-aware — defends a compromised release that a self-referential
checksums.txtwould validate. - Pinned
anthropic==0.118.0(triage) and the scanners exactly in the Action install (semgrep==1.171.0,pip-audit==2.10.1); the[scanners]extra stays>=for library users.
Install: pip install "vulngate[scanners]" · Action: uses: cisoventures/vulngate@v1