Repository navigation
Releases
MikeOps Guard v0.3.0
Highlights
- AI supply-chain scanner for poisoned rules, MCP configs, Unicode controls and unsafe agent hooks.
- Read-only MCP server plus zero-token Claude Code, Cursor and pre-commit guardrails.
- SARIF and Markdown output, cross-layer attack paths, and a visual HTML Security Grade.
- Baseline and changed-since adoption scopes for legacy repositories and pull requests.
- Linear-time scanner hot paths, reusable benchmarks, and a self-healing hackathon demo.
The GitHub Action and README examples are pinned to the immutable release commit.
Full Changelog: v0.2.0...v0.3.0
MikeOps Guard v0.2.0
Hardening release. Guard now tells you when a scan did not cover everything, never lets a scanned repository talk it into unsafe behaviour, and cleans up after itself on timeout or Ctrl+C. Findings on real repositories are unchanged from 0.1.0 apart from the new app-security scanner.
Truthful results
- New report
status:passed,failedorincomplete. A scan where a scanner failed, was missing, was disabled by the config, or could not read some files is nowincompleteinstead of looking clean. Console and HTML show INCOMPLETE.passedand the exit codes keep their 0.1.0 meaning. - Skipped files are reported. Each scanner lists files it could not check (up to 20, plus a count). Skipped workflows, SQL, env files and Supabase configs mark the scanner incomplete. Oversized JavaScript bundles are listed only, since they are almost always generated.
- Fingerprint v2 ignores line numbers, so ignore rules keep matching when code moves. Ignore rules written with 0.1.0 fingerprints still match.
Safety on untrusted repositories
- Terminal control characters are stripped from every string that comes from the scanned repository or the AI model.
- Known credential formats are redacted in findings, scanner errors, reports and anything sent to Ollama.
- A config file inside the scanned repository may only use a loopback Ollama host.
- Relative
PATHentries are ignored when finding scanner binaries. - The HTML report's CSP allows only its own script, by hash.
- File reads are bounded (1 MB for workflows, 512 KB for app source), and at most 32 files are read at once.
Process handling
- Scanners run in their own process group on macOS and Linux. A timeout or cancel stops the scanner and anything it started, such as
gitunder Gitleaks. - Ctrl+C stops running scanners, removes temporary files, writes no partial report and exits with the new code 130. A second Ctrl+C exits immediately.
New scanner
- app-security: Supabase tables without RLS, permissive write policies, public storage buckets, and service role keys or secrets exposed to frontend code. Checked against a labelled benchmark with no misses and no false positives on the fixtures.
Other
- Requires Node.js 20.3 or newer.
- Paths under symlinked directories (macOS
/tmp,/var) are reported correctly. scripts/install-scanners.shsupports macOS for trivy and osv-scanner, using official prebuilt releases verified against published checksums.trivy configskipsnode_modulesand.git: same findings, faster.- CI runs on Node 20 and 22 with all five real scanners installed. 126 tests.
Full audit and measurements: docs/AUDIT-2026-10-18.md.
Use the action
- uses: dotmann-commits/mikeops-guard@8847a1a16fc9b09f664f56f55a268d02f39e679b # v0.2.0
with:
fail-on: highMikeOps Guard v0.1.0
First release of MikeOps Guard, a DevSecOps CLI that finds exposed secrets, risky GitHub Actions, Dockerfile problems and vulnerable dependencies before you ship.
What it does
- Secrets: Gitleaks over files and full git history, with values redacted and never written to reports.
- GitHub Actions: a built-in audit for unpinned actions,
pull_request_targetcheckouts of PR code,write-alland missing token permissions, and script injection from untrusted input. Plus actionlint. - Dockerfiles and IaC: Hadolint and
trivy config. - Dependencies: osv-scanner (default) or
trivy fs. - Reports: terminal summary, JSON, and a self-contained HTML report.
- Optional local AI: plain-English explanations from a local Ollama model. No paid APIs.
- CI: exit codes
0pass,1policy failed,2usage error,3scanner failed. Composite GitHub Action with pinned, checksum-verified scanner releases.
Safety
Scans never modify the target repository. External tools run without a shell. Missing scanners are skipped with install hints, or fail the run with --require-tools.
Use the action
- uses: dotmann-commits/mikeops-guard@c4a4795d93952b85ca3c8bb8c4172e30bcb04167 # v0.1.0
with:
fail-on: highSee the README for install, configuration and the full workflow example.