Repository navigation
Releases
SawOne-Agentic v1.2.0: AI & Agent Security
SawOne-Agentic v1.2.0: AI & Agent Security
DevSecOps scanner for Agentic AI, MCP, LLMs, and ML systems.
- Powered by SawOne-SI core engine & analysers
- Updated container images:
ghcr.io/hackin2minutes-oss/sawone-si-scanner:1andghcr.io/hackin2minutes-oss/sawone-si-redteam:1(signed with Cosign) - Optimized artifact storage footprint and enhanced runner isolation
SawOne-Agentic v1.1.4: Fix Red-Team Network Connectivity
What's Fixed
🐛 Red-Team Endpoint Unreachable (Docker Network Isolation)
When redteam-endpoint is set to a localhost URL (e.g. a target app running on the GitHub Actions runner), the scanner container could not reach it — localhost inside the container resolves to the container's own loopback, not the host runner's loopback.
Fix
When redteam-endpoint is non-empty, --network host is added to docker run so the scanner container shares the runner's network namespace and can reach any service on the host (garak, promptfoo, etc. will connect to the correct endpoint).
# Example: start your target app before calling the action
- name: Start LLM Target
run: python3 app.py --port 8000 --mode vulnerable &
- uses: hackin2minutes-oss/sawone-agentic-action@v1
with:
redteam-endpoint: 'http://localhost:8000/v1/chat/completions'
redteam-profile: 'quick'Upgrade
- uses: hackin2minutes-oss/sawone-agentic-action@v1 # floating
- uses: hackin2minutes-oss/sawone-agentic-action@v1.1.4 # pinnedSawOne-Agentic v1.1.3: Fix Bind-Mount Conflict on Reports Dir
What's Fixed
🐛 Root Cause (bind-mount point conflict)
When the action pre-created ${RUNNER_TEMP}/sawone-agentic-reports and then bind-mounted that exact directory into the container (-v reports:reports:rw), the scanner's shutil.rmtree(reports) startup cleanup would delete all files inside but then fail to os.rmdir the directory itself — it's a kernel-protected bind-mount point (EBUSY). Result: Python traceback, exit 1, zero reports written.
Fix
- Mount the parent directory (
${RUNNER_TEMP}) as:rwinstead of the reports subdir - Do not pre-create the reports directory — the scanner creates and fully owns it
Local Validation ✅
Full report set generated: PDF (en+ar), HTML, SARIF, JUnit, findings.json, summary.json
Upgrade
- uses: hackin2minutes-oss/sawone-agentic-action@v1 # floating
- uses: hackin2minutes-oss/sawone-agentic-action@v1.1.3 # pinnedSawOne-Agentic v1.1.2: Fix Reports Dir Mount
What's Fixed
🐛 Bug Fix
- Read-only filesystem crash: The scanner internally performs
shutil.rmtree(reports)+os.mkdir(reports)at startup. When the reports directory was placed inside${target}(mounted read-only), the rmtree succeeded but mkdir failed withOSError: Read-only file system, causing a Python traceback and exit code 1 with zero reports generated. - Fix: Reports are now written to
${RUNNER_TEMP:-/tmp}/sawone-agentic-reports— fully writable, on the runner's temp filesystem, completely independent of the source checkout mount.
Local validation
Tested locally: scanner completes successfully, generates PDF/HTML/SARIF/JSON reports in the correct writable location.
Upgrade Path
- uses: hackin2minutes-oss/sawone-agentic-action@v1 # always latest v1.x.x
- uses: hackin2minutes-oss/sawone-agentic-action@v1.1.2SawOne-Agentic v1.1.1: Fix Public Scanner Image
What's Fixed
🐛 Bug Fixes
- Public scanner image: Changed default
scanner-imagefrom privatesawone-si-scanner:1to the publicghcr.io/hackin2minutes-oss/sawone-scanner:1, so external repositories no longer hit anunauthorizederror when pulling the container. - Artifact upload guard: Moved
reports-diroutput to before thedocker runcall soupload-artifactalways receives a valid path, even when the scanner image pull fails. - Upload path glob: Changed artifact
pathto<reports-dir>/**to avoid empty-directory warnings. - Conditional upload/SARIF steps: Both downstream steps now guard on
steps.scan.outputs.reports-dir != ''to skip gracefully on early failure.
Upgrade Path
- uses: hackin2minutes-oss/sawone-agentic-action@v1 # always latest v1.x.x
# or pin to exact patch:
- uses: hackin2minutes-oss/sawone-agentic-action@v1.1.1SawOne-Agentic v1.1.0: LLM Supply Chain & PR Inline Review
What's New in v1.1.0
- Static LLM Supply-Chain Security Scanner:
- trust_remote_code=True and missing trust_remote_code=False detections.
- Model weights downloaded from unverified HuggingFace namespaces or unverified URLs (curl/wget).
- Unpinned or VCS/private-index dependencies in requirements.txt.
- Missing Model Card / provenance metadata validation.
- GitHub PR Inline Review Annotations:
- Automated pull request reviews with inline code annotations and recommendations.
- Severity badges (CRITICAL, HIGH, MEDIUM, LOW) and OWASP/CWE references.
- Review status gates: REQUEST_CHANGES on blocking gate failures, COMMENT on passing scans.
- Hardened Execution & Safe Reporting:
- Auto-uploads sawone-agentic-reports artifact (PDFs, SARIF, JSON summary).
- Code Scanning integration: uploads SARIF to GitHub Security tab on public repos.
- Fail-closed gate evaluation.
SawOne-Agentic v1.0.1: Security Hardening & Isolation
Security & Execution Boundary Hardening
- Least-Privilege Mounts: The repository workspace is now mounted strictly read-only (
:ro), isolating reports to a dedicated writable path (sawone-agentic-reports/). - Gated Docker Socket:
/var/run/docker.sockis no longer mounted unconditionally. It is only attached when live red-teaming or container scanning is explicitly enabled. - Fail-Closed Gate Logic: Fixed summary evaluation fallback to ensure corrupted or missing summaries never default to a pass condition. Scanner crashes cleanly exit with error code 2+.
- Explicit Pulls & Digest Pinning: Removed silent pull suppression (
|| true) and added support for immutable@sha256:image digest pinning. - Source Code & Test Fixtures Transparency: Updated documentation linking directly to the open-source core engine and deliberately vulnerable test fixture benchmark in sawone-si.
SawOne-Agentic v1.0.0
Official GitHub Marketplace Action for SawOne-Agentic: DevSecOps scanner for Agentic AI, MCP, LLMs, and ML systems.