You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5d4e924
Browse filesBrowse the repository at this point in the historyBrowse files
flatmap-stream dependency added to steal cryptocurrency wallets
80
78
81
-
$ secure-vibe gate Dockerfile --severity-floor high # FROM ubuntu:latest / USER root
82
-
Verdict: FAIL
79
+
$ secure-vibe audit Dockerfile --fail-on high # FROM ubuntu:latest / USER root
80
+
=== secure-vibe audit: Dockerfile ===
83
81
Findings: 3 (critical: 1, high: 2)
84
82
$ echo$?
85
83
1
@@ -105,30 +103,31 @@ jobs:
105
103
fail-on: high
106
104
```
107
105
108
-
Any other CI (or a pre-commit hook): `npx -y @shieldnet360/secure-vibe audit . --fail-on high` — add `--diff origin/main` for PR scope, `--format sarif` for Code Scanning, `--model <provider>` for the AI lanes.
106
+
Any other CI (or a pre-commit hook): `npx -y @shieldnet360/secure-vibe audit . --fail-on high` — add `--diff origin/main` for PR scope, `--format sarif` for Code Scanning.
109
107
110
108
## What you get
111
109
112
-
The lifecycle is **PREVENT → DETECT → ENFORCE → VERIFY → LEARN**:
110
+
The lifecycle is **PREVENT → DETECT → ENFORCE → VERIFY → LEARN**. The binary is
111
+
deterministic and passive — it never calls an LLM and never sends attack traffic;
112
+
the *reasoning* and *dynamic verification* are your coding agent's job, so the
113
+
tool stays keyless and works the same in Claude Code, Codex, Gemini, or plain CI.
113
114
114
115
- **PREVENT** — 30 signed skills across 8 assistants, consulted as code is written.
115
-
- **DETECT** — one auto-detecting `scan` (secrets, dependencies via a curated malicious / typosquat DB + CVE / OSV across 10 ecosystems, Dockerfile, GitHub Actions), and `audit` to fan it across a whole repo with dedup, severity ranking, and fixture triage. `audit` is model-pluggable: `--model` adds an AI semantic-sweep + adversarial-verify lane (bring your own key — Claude / OpenAI / Gemini / local), off and offline by default.
116
-
- **ENFORCE** — `gate` blocks insecure diffs; `--format json|sarif`, `--report-dir` for an HTML + PDF report.
117
-
- **VERIFY** — dynamic `verify_finding` confirms a candidate against a *live* target (ssrf · sqli · xss · redirect · path-traversal · command-injection · ssti · xxe); gated, dry-run by default.
116
+
- **DETECT** — one command, `audit`: fans the deterministic scanners (secrets, dependencies via a curated malicious / typosquat DB + CVE / OSV across 10 ecosystems, Dockerfile, GitHub Actions) across the tree (or a PR's `--diff`), then dedups, ranks by severity, and triages likely fixtures.
117
+
- **ENFORCE** — `audit --fail-on <severity>` exits non-zero for CI; `--format sarif` for Code Scanning, `--report-dir` for an HTML + PDF report, `--no-triage` for a strict gate.
118
+
- **VERIFY** — the coding agent confirms candidates dynamically, guided by the `dynamic-verification` skill (SecureVibe hands it the finding + method; the agent, with your authorization and scope, does the probing — the binary never sends the payload).
118
119
- **LEARN** — `secure-vibe contribute add -p <pkg> -e npm` writes a signed `.secure-vibe/overlay.json`; commit it (team) or point `$SECURE_VIBE_OVERLAY` at a shared file (org).
119
120
120
-
> **Narrow by design.** Detection is four deterministic scanners, not a general SAST. It catches known patterns and known-bad packages with near-zero false positives; it does not claim to find every vulnerability.
121
+
> **Narrow by design.** Detection is four deterministic scanners, not a general SAST. It catches known patterns and known-bad packages with near-zero false positives; it does not claim to find every vulnerability. The semantic and dynamic depth comes from the agent driving it.
121
122
122
123
## Commands
123
124
124
125
| Command | What it does |
125
126
|---|---|
126
127
| `init --tool <ide>` | Write the assistant config (`CLAUDE.md`, `.cursorrules`, …) that embeds the skills |
| `audit [path]` | Whole-tree fan-out: dedup, rank by severity, triage fixtures; `--model` adds AI lanes |
129
-
| `gate <path>` | Same detection, **non-zero exit** above a severity floor — the CI entry point |
128
+
| `audit [path...]` | The scanner: fan out every scanner, dedup, rank, triage. Reports by default; `--fail-on` gates CI; `--diff` scopes to a PR; `--format sarif` for Code Scanning |
130
129
| `check <pkg>[@ver] -e <eco>` | Look up one package: malicious / typosquat / CVE / OSV |
131
-
| `mcp` | Run the MCP server (18 tools); `mcp connect` registers it with Claude Code |
130
+
| `mcp` | Run the MCP server (17 tools); `mcp connect` registers it with Claude Code |
132
131
| `contribute` | The LEARN loop — block a bad package locally, share via git / overlay |
133
132
| `update` | Pull signed skills + vuln data (`--self` updates the binary) · `status` reports freshness |
134
133
@@ -138,7 +137,7 @@ Full reference: [docs/reference/cli.md](./docs/reference/cli.md) · `secure-vibe
0 commit comments