Repository navigation
Releases
Releases · rctruta/ai-sec-gate
v1.3.0
What's Changed
- feat: close shell-wrapper/urlopen/CI-PERM gaps, add check-wheel, randomize prover, trim .gates (v1.3.0) by @rctruta in #29
Full Changelog: v1.2.0...v1.3.0
v1.2.0
What's Changed
- feat: add non-git/app-cache scan guard, PY-ARCHIVE-001, CI-INJECT-001, SECURITY.md, and CodeQL (v1.2.0) by @rctruta in #28
Full Changelog: v1.1.1...v1.2.0
v1.1.1
What's Changed
- fix(security): harden ai-sec-gate against adversarial repos, archives, and outputs (v1.1.1) by @rctruta in #27
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
- feat: add trust-boundary path-context severity tiering and Caught in the Wild README section by @rctruta in #25
- feat: release ai-sec-gate v1.1.0 (targeted --rule, --posture, and single-file verification) by @rctruta in #26
Full Changelog: v1.0.0...v1.1.0
v1.0.0
What's Changed
- ci: decouple PyPI/release checks and publish atomic version badges by @rctruta in #22
- feat(posture): add 4-state POSTURE-ENV N/A detection and actionable SHA/dep-audit remediation UX by @rctruta in #23
- feat: release ai-sec-gate v1.0.0 (Go adapter, OWASP Top 10 & LLM Top 10 coverage, baselines, suppressions) by @rctruta in #24
Full Changelog: v0.9.0...v1.0.0
v0.9.0
What's Changed
- feat: add owner-ready Markdown audit reports, explain CLI, and real-repo precision fixes (v0.9.0) by @rctruta in #21
Full Changelog: v0.8.0...v0.9.0
v0.8.0
What's Changed
- docs: add GitHub Actions Marketplace badge to README by @rctruta in #18
- feat: support remote HTTPS Git URLs, github:owner/repo, and pypi: targets (v0.8.0) by @rctruta in #19
- chore(ci): auto-publish to PyPI and create GitHub Release after green CI on main by @rctruta in #20
Full Changelog: v0.7.0...v0.8.0
v0.7.0 — SARIF v2.1.0 Code Scanning, Reusable GitHub Action & re.VERBOSE ReDoS
What's New in v0.7.0
1-Step Composite GitHub Action (action.yml)
Adopt ai-sec-gate in any repository without custom shell glue — with SHA-pinned setup-uv, env:-bound inputs (zero expression injection), and optional SARIF + Shields badge output:
- name: Run ai-sec-gate
uses: rctruta/ai-sec-gate@<40-char-commit-sha>
with:
min-level: "3" # use "4" with prove: "true" and with-deps-audit: "true"
sarif-file: ai-sec-gate.sarif
- name: Upload SARIF to GitHub Code Scanning
if: always()
uses: github/codeql-action/upload-sarif@<40-char-commit-sha>
with:
sarif_file: ai-sec-gate.sarifSARIF v2.1.0 Output (--sarif / --format sarif)
- Emits GitHub Code Scanning–compatible SARIF v2.1.0 (
$schema, deduplicated rules,security-severityscores3.0–9.5, POSIX relative paths, and remediation guidance). - Works both on stdout (
--format sarif) and as a sidecar file (--sarif ai-sec-gate.sarif) alongside human-readable text output.
ReDoS Analyzer Calibration (re.VERBOSE / re.X / (?x))
- Strips unescaped whitespace and
#comments outside character classes whenre.VERBOSE,re.X, or inline(?x)is used, eliminating false positives on documented multi-line Python regexes while still catching realCWE-1333backtracking inside verbose patterns.
Install
uvx ai-sec-gate check . --prove --with-deps-audit --min-level 4