vigilsutra 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -13
- package/README.md +25 -14
- package/dist/adapters.js +24 -5
- package/dist/cli.js +23 -10
- package/dist/engine.js +29 -7
- package/dist/policy.js +13 -4
- package/dist/redact.js +2 -1
- package/dist/reporters/index.js +9 -5
- package/dist/rules/agents-privacy.js +5 -5
- package/dist/rules/code.js +26 -6
- package/dist/rules/infra.js +21 -7
- package/dist/rules/secrets.js +13 -5
- package/dist/rules/util.js +33 -2
- package/dist/scope.js +36 -10
- package/docs/assets/demo.svg +5 -0
- package/docs/assurance/README.md +28 -0
- package/docs/assurance/REVIEW-REQUEST.md +23 -0
- package/docs/assurance/TRUST-PLAN.md +31 -0
- package/docs/assurance/benchmark.md +148 -0
- package/docs/assurance/coverage-raw.txt +127 -0
- package/docs/assurance/coverage.md +34 -0
- package/docs/assurance/fuzz-results.json +130 -0
- package/docs/assurance/fuzzing.md +38 -0
- package/docs/assurance/internal-review.md +41 -0
- package/docs/assurance/npm-audit.json +22 -0
- package/docs/assurance/offline-verification.md +26 -0
- package/docs/assurance/sbom-full-dev.cdx.json +214 -0
- package/docs/assurance/sbom-production.cdx.json +61 -0
- package/docs/assurance/sbom-production.spdx.json +44 -0
- package/docs/assurance/supply-chain.md +42 -0
- package/docs/assurance/trademark-search.md +27 -0
- package/docs/compatibility.md +1 -1
- package/docs/gen-demo-svg.mjs +17 -0
- package/docs/gen-rules.mjs +6 -6
- package/docs/launch-kit.md +53 -0
- package/docs/quickstart.md +44 -38
- package/docs/releasing.md +16 -0
- package/docs/rules.md +2 -2
- package/docs/security-advisories.md +26 -0
- package/llms.txt +2 -0
- package/package.json +2 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Preliminary name search
|
|
2
|
+
|
|
3
|
+
> **Important:** this is a quick web search, **not** a trademark clearance, legal opinion or availability guarantee. Have a trademark attorney run a formal search before significant promotion.
|
|
4
|
+
|
|
5
|
+
Date: 2026-11-01. Searched the name "VigilSutra" (and with `.com`, `.ai`, `.io`) in general web search.
|
|
6
|
+
|
|
7
|
+
## Findings
|
|
8
|
+
|
|
9
|
+
- No result for a product, company or website called "VigilSutra" was found.
|
|
10
|
+
- Results for similar names in security software exist, so a conflict in the "Vigil-" family cannot be ruled out:
|
|
11
|
+
- **VIGILES**, registered in the United States for software that monitors the security and integrity of computer systems and IoT devices.
|
|
12
|
+
- **VIGILANT365**, registered for application-security monitoring software.
|
|
13
|
+
- **VIGILANT**, registered for cybersecurity hardware and consulting.
|
|
14
|
+
- **THREATCERT**, pending, same owner as VIGILANT365.
|
|
15
|
+
- On 2026-10-31 the npm registry had no package named `vigilsutra` (it is now ours). GitHub had no repository of that name for this account.
|
|
16
|
+
- Domains `vigilsutra.com`, `.ai` and `.io` were **not** looked up in a registrar; do that.
|
|
17
|
+
|
|
18
|
+
## Interpretation
|
|
19
|
+
|
|
20
|
+
"VigilSutra" is a different word from those marks, but they share the "Vigil" stem in the same field (security software), which is the pattern examiners and opposing parties look at. The risk is moderate and unquantified here.
|
|
21
|
+
|
|
22
|
+
## Recommended next steps
|
|
23
|
+
|
|
24
|
+
1. Formal search in the USPTO and WIPO Global Brand databases, and in India (the author's jurisdiction) and the EU.
|
|
25
|
+
2. Check domains and social handles; register the ones you want.
|
|
26
|
+
3. Decide on a fallback name; the name appears in `package.json`, `README.md`, `CITATION.cff`, the docs and the `vigilsutra` command.
|
|
27
|
+
4. Keep using only "VigilSutra" with `AI` as a descriptor, never the registered marks above.
|
package/docs/compatibility.md
CHANGED
|
@@ -5,7 +5,7 @@ Last verified: 2026-10-31 on the build in this repository.
|
|
|
5
5
|
| Environment | Status | Evidence |
|
|
6
6
|
|---|---|---|
|
|
7
7
|
| Windows 11, Node 24.15, PowerShell and Git Bash | Tested | `npm test` run locally; the symlink test is skipped when symlink creation is not permitted |
|
|
8
|
-
| Ubuntu, macOS, Windows on Node 20 and
|
|
8
|
+
| Ubuntu, macOS, Windows on Node 20, 22, 24 and 26 (GitHub Actions) | Tested: all 12 jobs passed on commit `867132e` (Node 26.13 is the current LTS; Node 27 is only an alpha and is not tested) | `.github/workflows/test.yml` |
|
|
9
9
|
| Paths with spaces and non-ASCII characters | Tested on Windows | unit test |
|
|
10
10
|
| Claude Code skills adapter | File install and uninstall tested; invocation inside Claude Code not automated-tested | `adapters install claude` |
|
|
11
11
|
| Cursor, Codex, Gemini CLI, Copilot, Windsurf, Kiro, Cline | Not implemented. Generic mode: run the CLI and share its JSON or Markdown report | Planned, unverified |
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Renders a static terminal-style SVG from REAL CLI output (not hand-typed).
|
|
2
|
+
// Usage: node docs/gen-demo-svg.mjs > docs/assets/demo.svg (run after `npm run build`)
|
|
3
|
+
import { spawnSync } from "node:child_process";
|
|
4
|
+
const cmd = "vigilsutra audit examples/intentionally-insecure";
|
|
5
|
+
const r = spawnSync(process.execPath, ["dist/cli.js", "audit", "examples/intentionally-insecure", "--no-color"], { encoding: "utf8" });
|
|
6
|
+
const lines = r.stdout.split("\n").filter((l) => l.trim() !== "").slice(0, 30).map((l) => l.slice(0, 104));
|
|
7
|
+
const esc = (s) => s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
|
8
|
+
const color = (l) => (/^HIGH|^CRITICAL/.test(l) ? "#ff7b72" : /^MEDIUM/.test(l) ? "#e3b341" : /^LOW/.test(l) ? "#79c0ff" : /^INFO/.test(l) ? "#8b949e" : /^Summary/.test(l) ? "#56d364" : "#c9d1d9");
|
|
9
|
+
const h = 64 + (lines.length + 1) * 19;
|
|
10
|
+
let y = 62;
|
|
11
|
+
const body = [`<text x="22" y="${y}" fill="#56d364">$</text><text x="40" y="${y}" fill="#c9d1d9">${esc(cmd)}</text>`];
|
|
12
|
+
for (const l of lines) { y += 19; body.push(`<text x="22" y="${y}" fill="${color(l)}" xml:space="preserve">${esc(l)}</text>`); }
|
|
13
|
+
process.stdout.write(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 ${h}" width="880" role="img" aria-label="VigilSutra audit of the intentionally insecure demo project: 16 findings">
|
|
14
|
+
<title>vigilsutra audit examples/intentionally-insecure (real output)</title>
|
|
15
|
+
<rect width="880" height="${h}" rx="10" fill="#0d1117"/><rect width="880" height="34" rx="10" fill="#161b22"/>
|
|
16
|
+
<circle cx="20" cy="17" r="6" fill="#ff5f56"/><circle cx="40" cy="17" r="6" fill="#ffbd2e"/><circle cx="60" cy="17" r="6" fill="#27c93f"/>
|
|
17
|
+
<g font-family="ui-monospace,SFMono-Regular,Menlo,Consolas,monospace" font-size="12.5">${body.join("")}</g></svg>\n`);
|
package/docs/gen-rules.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ALL_RULES, RULES_VERSION } from "../dist/rules/index.js";
|
|
2
|
-
const o = [`# Rules (version ${RULES_VERSION})`, "", "Generated from the rule definitions by `node docs/gen-rules.mjs > docs/rules.md`. CWE ids are orientation only; no standards control mapping is asserted (mapping unverified).", "", "| ID | Title | Severity | Confidence | Status | Specialist | CWE |", "|---|---|---|---|---|---|---|"];
|
|
3
|
-
for (const r of ALL_RULES) o.push(`| ${r.id} | ${r.title.
|
|
4
|
-
o.push("", "## Details", "");
|
|
5
|
-
for (const r of ALL_RULES) o.push(`### ${r.id}: ${r.title}`, "", r.description, "", `- **Fix:** ${r.remediation}`, `- **Verify:** ${r.verification}`, `- **False positives:** ${r.falsePositives}`, "");
|
|
6
|
-
process.stdout.write(o.join("\n"));
|
|
1
|
+
import { ALL_RULES, RULES_VERSION } from "../dist/rules/index.js";
|
|
2
|
+
const o = [`# Rules (version ${RULES_VERSION})`, "", "Generated from the rule definitions by `node docs/gen-rules.mjs > docs/rules.md`. CWE ids are orientation only; no standards control mapping is asserted (mapping unverified).", "", "| ID | Title | Severity | Confidence | Status | Specialist | CWE |", "|---|---|---|---|---|---|---|"];
|
|
3
|
+
for (const r of ALL_RULES) o.push(`| ${r.id} | ${r.title.split("|").join("\\|")} | ${r.severity} | ${r.confidence} | ${r.status} | ${r.agent} | ${(r.cwe ?? []).join(", ")} |`);
|
|
4
|
+
o.push("", "## Details", "");
|
|
5
|
+
for (const r of ALL_RULES) o.push(`### ${r.id}: ${r.title}`, "", r.description, "", `- **Fix:** ${r.remediation}`, `- **Verify:** ${r.verification}`, `- **False positives:** ${r.falsePositives}`, "");
|
|
6
|
+
process.stdout.write(o.join("\n"));
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Launch kit
|
|
2
|
+
|
|
3
|
+
Material for announcing VigilSutra honestly. Every number below comes from [assurance/benchmark.md](assurance/benchmark.md) and the other assurance pages; update them when you re-run.
|
|
4
|
+
|
|
5
|
+
## One-paragraph description
|
|
6
|
+
|
|
7
|
+
VigilSutra AI is an open-source, offline security and privacy auditor for codebases. One command scans a project read-only, with no account, API key or network access, and writes redacted SARIF, JSON, Markdown or HTML reports. It checks secrets, GitHub Actions, Dockerfiles, Kubernetes, Terraform, JS/TS/Python code patterns and AI-agent configuration, and ships agent skills so an AI assistant can drive it. Early release; Apache-2.0.
|
|
8
|
+
|
|
9
|
+
## Short post (Hacker News / Reddit / dev.to)
|
|
10
|
+
|
|
11
|
+
> **Show HN: VigilSutra, an offline security scanner for repos, built to be honest about what it finds**
|
|
12
|
+
>
|
|
13
|
+
> I built a small, zero-dependency CLI (`npx vigilsutra audit .`) that scans a repo locally for hardcoded secrets, risky GitHub Actions, Docker/Kubernetes/Terraform misconfigurations, injection patterns and unsafe AI-agent/MCP setups. It never touches the network (there is a test that blocks the network and subprocesses and checks nothing is attempted), redacts secrets in every output, and labels each finding `confirmed` or `potential` with a separate confidence.
|
|
14
|
+
>
|
|
15
|
+
> To check myself I ran it on 18 public repos (OWASP Juice Shop, NodeGoat, TerraGoat, Kubernetes Goat, Django, Prometheus and others) and labeled 240 findings. The first version had an 18% false-positive share in my sample; after fixing the classes I found it was 0 of 32 on a fresh sample (small sample: the true rate could be up to about 9%). Fuzzing found two quadratic regexes I would have shipped. I also compared against Gitleaks and Semgrep: Gitleaks is the better secrets scanner, and Semgrep covers code I do not, so this is a complement, not a replacement.
|
|
16
|
+
>
|
|
17
|
+
> Caveats up front: pattern-based (no taint analysis), only JS/TS/Python code rules, no dependency or git-history scanning, labels were assigned by me with an AI assistant, and nobody independent has reviewed it yet. I would love a review: <https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/assurance/REVIEW-REQUEST.md>.
|
|
18
|
+
|
|
19
|
+
## Blog outline
|
|
20
|
+
|
|
21
|
+
1. The problem: first-pass security review that is private and does not need accounts.
|
|
22
|
+
2. Design rules: read-only, offline, redact before output, severity and confidence separate, never claim "secure".
|
|
23
|
+
3. How I tried to break it: fuzzing found 2 real quadratic regexes; a hostile-repository test; network-blocked runtime test.
|
|
24
|
+
4. Measuring on real code: method, the false-positive classes found, before and after, what was lost.
|
|
25
|
+
5. How it compares: Gitleaks, Semgrep.
|
|
26
|
+
6. Honest limits and what I want reviewed.
|
|
27
|
+
|
|
28
|
+
## Where to share
|
|
29
|
+
|
|
30
|
+
| Place | Notes |
|
|
31
|
+
|---|---|
|
|
32
|
+
| Hacker News (Show HN), r/netsec, r/devops, r/cybersecurity, dev.to, Lobsters | Read each community's self-promotion rules first |
|
|
33
|
+
| "awesome" lists: awesome-security, awesome-devsecops, awesome-static-analysis, awesome-claude-code, awesome-mcp | Open a pull request following each list's format |
|
|
34
|
+
| Claude Code / agent-skills communities | Share the skills in `agents/` |
|
|
35
|
+
| GitHub: social preview image (1280x640) in repository settings, Discussions on, "good first issue" labels | Settings, owner action |
|
|
36
|
+
| OpenSSF: Scorecard badge once its first run is public | Workflow is in place |
|
|
37
|
+
|
|
38
|
+
## Assets to create (owner)
|
|
39
|
+
|
|
40
|
+
- Social preview image 1280x640 (name, tagline, a 4-line terminal excerpt).
|
|
41
|
+
- A 20-second screen recording of `npx vigilsutra audit .`; the static terminal image in `docs/assets/demo.svg` is generated from real output.
|
|
42
|
+
|
|
43
|
+
## What not to say
|
|
44
|
+
|
|
45
|
+
Do not claim "secure", "audited", "certified", "enterprise-ready", any recall or detection percentage, or any user count you cannot show.
|
|
46
|
+
|
|
47
|
+
## Good first issues to open
|
|
48
|
+
|
|
49
|
+
1. Add `VS-SECRET` rules for more token formats (Stripe, npm, Slack webhooks) with fixtures. (Verify each format from the provider's documentation.)
|
|
50
|
+
2. Add a `vigilsutra explain --json` output.
|
|
51
|
+
3. Add a Java rule family (`Runtime.exec` with concatenation, `ObjectInputStream`), with fixtures and a benchmark check.
|
|
52
|
+
4. Independent re-labeling of `benchmarks/labels-*.json`.
|
|
53
|
+
5. Add a Windows long-path (over 260 characters) test.
|
package/docs/quickstart.md
CHANGED
|
@@ -1,38 +1,44 @@
|
|
|
1
|
-
# Quickstart
|
|
2
|
-
|
|
3
|
-
Prerequisite: Node.js 20 or newer. No API key, account or network access is needed to scan.
|
|
4
|
-
|
|
5
|
-
## Windows PowerShell
|
|
6
|
-
```powershell
|
|
7
|
-
git clone https://github.com/shahvatsalofficial/vigilsutra.git
|
|
8
|
-
cd vigilsutra
|
|
9
|
-
npm install; npm run build
|
|
10
|
-
node dist\cli.js audit examples\intentionally-insecure
|
|
11
|
-
node dist\cli.js audit "C:\path with spaces\my-project" --format markdown --out report.md
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## macOS / Linux
|
|
15
|
-
```bash
|
|
16
|
-
git clone https://github.com/shahvatsalofficial/vigilsutra.git && cd vigilsutra
|
|
17
|
-
npm install && npm run build
|
|
18
|
-
node dist/cli.js audit examples/intentionally-insecure
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
##
|
|
22
|
-
```bash
|
|
23
|
-
|
|
24
|
-
vigilsutra
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
##
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
# Quickstart
|
|
2
|
+
|
|
3
|
+
Prerequisite: Node.js 20 or newer. No API key, account or network access is needed to scan.
|
|
4
|
+
|
|
5
|
+
## Windows PowerShell
|
|
6
|
+
```powershell
|
|
7
|
+
git clone https://github.com/shahvatsalofficial/vigilsutra.git
|
|
8
|
+
cd vigilsutra
|
|
9
|
+
npm install; npm run build
|
|
10
|
+
node dist\cli.js audit examples\intentionally-insecure
|
|
11
|
+
node dist\cli.js audit "C:\path with spaces\my-project" --format markdown --out report.md
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## macOS / Linux
|
|
15
|
+
```bash
|
|
16
|
+
git clone https://github.com/shahvatsalofficial/vigilsutra.git && cd vigilsutra
|
|
17
|
+
npm install && npm run build
|
|
18
|
+
node dist/cli.js audit examples/intentionally-insecure
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## From npm
|
|
22
|
+
```bash
|
|
23
|
+
npx vigilsutra audit .
|
|
24
|
+
npm install -g vigilsutra
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Global `vigilsutra` command (from a clone)
|
|
28
|
+
```bash
|
|
29
|
+
npm link # from the cloned repo; remove with: npm unlink -g vigilsutra
|
|
30
|
+
vigilsutra doctor
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Docker
|
|
34
|
+
No official image is published yet (planned). To run in a container yourself, mount the project read-only with networking disabled:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
docker run --rm --network none -v "$PWD":/work:ro -v /path/to/vigilsutra:/vs:ro -w /work node:22 node /vs/dist/cli.js audit .
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Next steps
|
|
41
|
+
1. `vigilsutra init` to create `.vigilsutra.yml`.
|
|
42
|
+
2. `vigilsutra audit . --format sarif --out vigilsutra.sarif` for code scanning.
|
|
43
|
+
3. `vigilsutra baseline --out .vigilsutra-baseline.json` to accept current findings, then pass `--baseline` in CI to fail only on new ones.
|
|
44
|
+
4. After fixing, run `vigilsutra verify --previous vigilsutra-results.json`.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Releasing (npm with provenance)
|
|
2
|
+
|
|
3
|
+
Releases publish from GitHub Actions (`.github/workflows/release.yml`) using npm Trusted Publishing, so no long-lived npm token is stored and the package carries a provenance attestation linking it to this repository and workflow run.
|
|
4
|
+
|
|
5
|
+
## One-time setup (maintainer, on npmjs.com)
|
|
6
|
+
1. Open the `vigilsutra` package -> Settings -> **Trusted Publisher** -> GitHub Actions.
|
|
7
|
+
2. Owner `shahvatsalofficial`, repository `vigilsutra`, workflow `release.yml`, environment `npm`.
|
|
8
|
+
3. In GitHub: Settings -> Environments -> `npm` (created automatically on first run); optionally require a reviewer.
|
|
9
|
+
|
|
10
|
+
## Each release
|
|
11
|
+
1. Bump the version in `package.json`, `src/engine.ts` (`VERSION`) and `CITATION.cff`; update `CHANGELOG.md`.
|
|
12
|
+
2. `npm test && npm run audit:self`, commit, push to `main`, wait for CI.
|
|
13
|
+
3. `git tag -a vX.Y.Z -m "..." && git push origin vX.Y.Z`, then publish a GitHub release for that tag.
|
|
14
|
+
4. The workflow checks the tag matches `package.json`, runs tests and the self-audit, then runs `npm publish --provenance --access public`.
|
|
15
|
+
|
|
16
|
+
Fallback without Trusted Publishing: create a granular npm token limited to this package, store it as the repository secret `NPM_TOKEN`, and add `NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}` to the publish step.
|
package/docs/rules.md
CHANGED
|
@@ -81,11 +81,11 @@ A string matching a Slack token format (xox?-…) is committed.
|
|
|
81
81
|
|
|
82
82
|
### VS-SECRET-006: Environment file present in scanned tree
|
|
83
83
|
|
|
84
|
-
A `.env`-style file exists in the scanned tree. If it is tracked by git it exposes
|
|
84
|
+
A `.env`-style file exists in the scanned tree and contains at least one secret-named variable with a non-placeholder value. If it is tracked by git it exposes that value. File contents are not echoed.
|
|
85
85
|
|
|
86
86
|
- **Fix:** Treat the credential as compromised: revoke or rotate it at the issuer first, then remove it from the repository and load it from an environment variable or secret manager. Deleting it from the latest commit does not remove it from git history.
|
|
87
87
|
- **Verify:** Re-run `vigilsutra audit` after removing the value; then confirm the credential was rotated at the issuer and review git history for earlier exposure.
|
|
88
|
-
- **False positives:** Files that are git-ignored and never committed. This scanner does not read git state in v0.1, so it cannot tell.
|
|
88
|
+
- **False positives:** Files that are git-ignored and never committed. This scanner does not read git state in v0.1, so it cannot tell. Files holding only placeholders or non-secret settings are not reported.
|
|
89
89
|
|
|
90
90
|
### VS-CICD-001: GitHub Action not pinned to a commit SHA
|
|
91
91
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Security advisories and reviews
|
|
2
|
+
|
|
3
|
+
A public ledger of security reports against VigilSutra and independent reviews. Nothing is edited or removed after publication; corrections are added as new entries.
|
|
4
|
+
|
|
5
|
+
## Advisories
|
|
6
|
+
|
|
7
|
+
None published. As of 2026-11-01 no vulnerability has been reported externally.
|
|
8
|
+
|
|
9
|
+
## Fixes found by the project's own review
|
|
10
|
+
|
|
11
|
+
Ten issues found during the maintainer's internal review and by CodeQL were fixed before any external report. They are listed with tests in [assurance/internal-review.md](assurance/internal-review.md).
|
|
12
|
+
|
|
13
|
+
## Independent reviews
|
|
14
|
+
|
|
15
|
+
None yet. See [assurance/REVIEW-REQUEST.md](assurance/REVIEW-REQUEST.md).
|
|
16
|
+
|
|
17
|
+
## Response targets
|
|
18
|
+
|
|
19
|
+
| Step | Target |
|
|
20
|
+
|---|---|
|
|
21
|
+
| Acknowledge a private report | 7 days |
|
|
22
|
+
| Confirm or reject | 14 days |
|
|
23
|
+
| Fix or mitigation for a confirmed issue | best effort, usually within 30 days |
|
|
24
|
+
| Public advisory after the fix ships | with credit to the reporter unless they ask otherwise |
|
|
25
|
+
|
|
26
|
+
This is a volunteer project; targets are goals, not guarantees. Whether they are met will be visible here.
|
package/llms.txt
CHANGED
|
@@ -16,6 +16,8 @@ Key facts for assistants:
|
|
|
16
16
|
- [Agent contract](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/agent-contract.md)
|
|
17
17
|
- [Evidence and benchmarks](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/evidence.md): measured test, speed and redaction results
|
|
18
18
|
- [Legal notes](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/legal.md): license, authorized use, no warranty, trademarks
|
|
19
|
+
- [Trust and verification index](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/assurance/README.md): benchmark on 18 public repos, fuzzing, coverage, offline verification, supply chain, internal review
|
|
20
|
+
- [Benchmark and comparison with Gitleaks and Semgrep](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/assurance/benchmark.md)
|
|
19
21
|
- [Roadmap](https://github.com/shahvatsalofficial/vigilsutra/blob/main/ROADMAP.md)
|
|
20
22
|
- [CI/CD usage](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/ci-cd.md)
|
|
21
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vigilsutra",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "VigilSutra AI: open-source, offline-first security and privacy auditor CLI plus AI agent skills. Finds secrets, CI/CD, Docker, Kubernetes, IaC, code and AI-agent risks with redacted, evidence-based SARIF/JSON/Markdown reports. No API key, no telemetry.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"security",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"build": "tsc -p tsconfig.json",
|
|
61
61
|
"prepare": "npm run build",
|
|
62
62
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
63
|
-
"test": "npm run build && node --test test/vigilsutra.test.mjs",
|
|
63
|
+
"test": "npm run build && node --test test/vigilsutra.test.mjs test/offline-runtime.test.mjs test/fuzz.test.mjs",
|
|
64
64
|
"audit:self": "npm run build && node dist/cli.js audit . --fail-on high",
|
|
65
65
|
"prepublishOnly": "npm test && npm run audit:self"
|
|
66
66
|
},
|