vigilsutra 0.2.1 → 0.2.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 +5 -0
- package/README.md +244 -244
- package/agents/secretwatch/SKILL.md +1 -1
- package/dist/cli.js +34 -34
- package/dist/engine.js +2 -1
- package/dist/git-index.js +282 -0
- package/dist/rules/secrets.js +3 -3
- package/dist/scope.js +8 -0
- package/docs/assurance/README.md +28 -28
- package/docs/assurance/TRUST-PLAN.md +31 -31
- package/docs/assurance/internal-review.md +41 -41
- package/docs/assurance/supply-chain.md +42 -42
- package/docs/compatibility.md +15 -14
- package/docs/gen-rules.mjs +6 -6
- package/docs/quickstart.md +50 -50
- package/docs/rules.md +4 -4
- package/docs/security-advisories.md +26 -26
- package/llms.txt +27 -27
- package/package.json +1 -1
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
# Supply chain: dependencies, licenses, SBOM
|
|
2
|
-
|
|
3
|
-
Date 2026-11-01. Package `vigilsutra@0.1.0`.
|
|
4
|
-
|
|
5
|
-
## Runtime dependencies: none
|
|
6
|
-
|
|
7
|
-
`package.json` has no `dependencies`. Installing `vigilsutra` from npm installs one package: itself. The CycloneDX 1.5 SBOM for production contains **0 components** ([sbom-production.cdx.json](sbom-production.cdx.json)); an SPDX version is in [sbom-production.spdx.json](sbom-production.spdx.json).
|
|
8
|
-
|
|
9
|
-
## Development dependencies (build and test only, never shipped)
|
|
10
|
-
|
|
11
|
-
| Package | Version | License |
|
|
12
|
-
|---|---|---|
|
|
13
|
-
| typescript | 7.0.2 (latest; native compiler, platform binary via `@typescript/typescript-<platform>`, Apache-2.0) | Apache-2.0 |
|
|
14
|
-
| @types/node | 22.20.5 (typed against Node 22 on purpose: Node 20 is end-of-life but still supported, so the types must not expose newer-only APIs) | MIT |
|
|
15
|
-
| undici-types (via @types/node) | 6.21.0 | MIT |
|
|
16
|
-
|
|
17
|
-
Full dev SBOM: [sbom-full-dev.cdx.json](sbom-full-dev.cdx.json). All licenses are compatible with Apache-2.0 distribution.
|
|
18
|
-
|
|
19
|
-
## Known vulnerabilities
|
|
20
|
-
|
|
21
|
-
`npm audit` on 2026-11-01 reported **0** vulnerabilities (info 0, low 0, moderate 0, high 0, critical 0) across 3 dev dependencies ([npm-audit.json](npm-audit.json)). An audit is a point-in-time check against the npm advisory database.
|
|
22
|
-
|
|
23
|
-
## Build and release integrity
|
|
24
|
-
|
|
25
|
-
| Control | State |
|
|
26
|
-
|---|---|
|
|
27
|
-
| Lockfile committed, `npm ci` in CI | yes |
|
|
28
|
-
| GitHub Actions pinned to commit SHAs | yes, all workflows |
|
|
29
|
-
| Dependabot for Actions and npm | enabled |
|
|
30
|
-
| Workflow permissions | `contents: read` by default; `id-token: write` and `security-events: write` only where needed |
|
|
31
|
-
| OpenSSF Scorecard workflow | added; first result pending |
|
|
32
|
-
| npm provenance (attestation linking the package to this repository and workflow) | **workflow written, not yet exercised.** Requires the owner to configure Trusted Publishing on npmjs.com; see [releasing.md](../releasing.md). Versions 0.1.0 and 0.1.1 were uploaded by hand and have no provenance |
|
|
33
|
-
| Reproducible builds | not verified |
|
|
34
|
-
| Package contents | 44 files in `dist`, `agents`, `adapters`, `policies`, `schemas`, `docs`, `templates` and top-level docs; no source maps, no tests |
|
|
35
|
-
|
|
36
|
-
## Reproduce
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
npm ci && npm audit
|
|
40
|
-
npm sbom --sbom-format cyclonedx --omit dev
|
|
41
|
-
npm pack --dry-run
|
|
42
|
-
```
|
|
1
|
+
# Supply chain: dependencies, licenses, SBOM
|
|
2
|
+
|
|
3
|
+
Date 2026-11-01. Package `vigilsutra@0.1.0`.
|
|
4
|
+
|
|
5
|
+
## Runtime dependencies: none
|
|
6
|
+
|
|
7
|
+
`package.json` has no `dependencies`. Installing `vigilsutra` from npm installs one package: itself. The CycloneDX 1.5 SBOM for production contains **0 components** ([sbom-production.cdx.json](sbom-production.cdx.json)); an SPDX version is in [sbom-production.spdx.json](sbom-production.spdx.json).
|
|
8
|
+
|
|
9
|
+
## Development dependencies (build and test only, never shipped)
|
|
10
|
+
|
|
11
|
+
| Package | Version | License |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| typescript | 7.0.2 (latest; native compiler, platform binary via `@typescript/typescript-<platform>`, Apache-2.0) | Apache-2.0 |
|
|
14
|
+
| @types/node | 22.20.5 (typed against Node 22 on purpose: Node 20 is end-of-life but still supported, so the types must not expose newer-only APIs) | MIT |
|
|
15
|
+
| undici-types (via @types/node) | 6.21.0 | MIT |
|
|
16
|
+
|
|
17
|
+
Full dev SBOM: [sbom-full-dev.cdx.json](sbom-full-dev.cdx.json). All licenses are compatible with Apache-2.0 distribution.
|
|
18
|
+
|
|
19
|
+
## Known vulnerabilities
|
|
20
|
+
|
|
21
|
+
`npm audit` on 2026-11-01 reported **0** vulnerabilities (info 0, low 0, moderate 0, high 0, critical 0) across 3 dev dependencies ([npm-audit.json](npm-audit.json)). An audit is a point-in-time check against the npm advisory database.
|
|
22
|
+
|
|
23
|
+
## Build and release integrity
|
|
24
|
+
|
|
25
|
+
| Control | State |
|
|
26
|
+
|---|---|
|
|
27
|
+
| Lockfile committed, `npm ci` in CI | yes |
|
|
28
|
+
| GitHub Actions pinned to commit SHAs | yes, all workflows |
|
|
29
|
+
| Dependabot for Actions and npm | enabled |
|
|
30
|
+
| Workflow permissions | `contents: read` by default; `id-token: write` and `security-events: write` only where needed |
|
|
31
|
+
| OpenSSF Scorecard workflow | added; first result pending |
|
|
32
|
+
| npm provenance (attestation linking the package to this repository and workflow) | **workflow written, not yet exercised.** Requires the owner to configure Trusted Publishing on npmjs.com; see [releasing.md](../releasing.md). Versions 0.1.0 and 0.1.1 were uploaded by hand and have no provenance |
|
|
33
|
+
| Reproducible builds | not verified |
|
|
34
|
+
| Package contents | 44 files in `dist`, `agents`, `adapters`, `policies`, `schemas`, `docs`, `templates` and top-level docs; no source maps, no tests |
|
|
35
|
+
|
|
36
|
+
## Reproduce
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npm ci && npm audit
|
|
40
|
+
npm sbom --sbom-format cyclonedx --omit dev
|
|
41
|
+
npm pack --dry-run
|
|
42
|
+
```
|
package/docs/compatibility.md
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
# Compatibility matrix
|
|
2
|
-
|
|
3
|
-
Last verified: 2026-
|
|
4
|
-
|
|
5
|
-
| Environment | Status | Evidence |
|
|
6
|
-
|---|---|---|
|
|
7
|
-
| Windows 11, Node 24.15, PowerShell and Git Bash | Tested | `npm test`
|
|
8
|
-
| Ubuntu
|
|
9
|
-
|
|
|
10
|
-
|
|
|
11
|
-
|
|
|
12
|
-
|
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
# Compatibility matrix
|
|
2
|
+
|
|
3
|
+
Last verified: 2026-11-06 on the build in this repository.
|
|
4
|
+
|
|
5
|
+
| Environment | Status | Evidence |
|
|
6
|
+
|---|---|---|
|
|
7
|
+
| Windows 11, Node 24.15, PowerShell and Git Bash | Tested | `npm test` on 2026-11-06: 102 passed, 1 skipped (symlink creation not permitted; the directory-junction case does run) |
|
|
8
|
+
| Ubuntu and Windows on Node 20, 22, 24 and 26 (GitHub Actions) | Required CI. Node 27 is only an alpha and is not tested | `.github/workflows/test.yml` |
|
|
9
|
+
| macOS | Not in required CI. On 2026-11-04, `macos-latest` jobs for Node 22 and 26 stayed queued and were cancelled with zero steps (runs 41882166871, 41885847962, 41886196642), which failed the workflow before any test ran. No Mac was available to re-run the suite locally. The program is plain Node with no native addon; path matching follows `core.ignorecase` | `.github/workflows/test.yml` |
|
|
10
|
+
| Paths with spaces and non-ASCII characters | Tested on Windows | unit test |
|
|
11
|
+
| Claude Code skills adapter | File install and uninstall tested; invocation inside Claude Code not automated-tested | `adapters install claude` |
|
|
12
|
+
| Cursor, Codex, Gemini CLI, Copilot, Windsurf, Kiro, Cline | Not implemented. Generic mode: run the CLI and share its JSON or Markdown report | Planned, unverified |
|
|
13
|
+
| Docker image | Not published | Planned |
|
|
14
|
+
|
|
15
|
+
The CLI works in any editor or CI that can launch a process. Native skill use requires an IDE that supports the Agent Skills format.
|
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.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"));
|
|
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"));
|
package/docs/quickstart.md
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
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
|
-
## Get a readable report
|
|
41
|
-
```bash
|
|
42
|
-
vigilsutra report . # writes ./vigilsutra-report/report.html, report.md, results.json, results.sarif
|
|
43
|
-
```
|
|
44
|
-
Open `report.html` in a browser, or `report.md` in any Markdown viewer. The folder has its own `.gitignore`; reports contain file paths and redacted excerpts, so do not publish them for private projects.
|
|
45
|
-
|
|
46
|
-
## Next steps
|
|
47
|
-
1. `vigilsutra init` to create `.vigilsutra.yml`.
|
|
48
|
-
2. `vigilsutra audit . --format sarif --out vigilsutra.sarif` for code scanning.
|
|
49
|
-
3. `vigilsutra baseline --out .vigilsutra-baseline.json` to accept current findings, then pass `--baseline` in CI to fail only on new ones.
|
|
50
|
-
4. After fixing, run `vigilsutra verify --previous vigilsutra-results.json`.
|
|
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
|
+
## Get a readable report
|
|
41
|
+
```bash
|
|
42
|
+
vigilsutra report . # writes ./vigilsutra-report/report.html, report.md, results.json, results.sarif
|
|
43
|
+
```
|
|
44
|
+
Open `report.html` in a browser, or `report.md` in any Markdown viewer. The folder has its own `.gitignore`; reports contain file paths and redacted excerpts, so do not publish them for private projects.
|
|
45
|
+
|
|
46
|
+
## Next steps
|
|
47
|
+
1. `vigilsutra init` to create `.vigilsutra.yml`.
|
|
48
|
+
2. `vigilsutra audit . --format sarif --out vigilsutra.sarif` for code scanning.
|
|
49
|
+
3. `vigilsutra baseline --out .vigilsutra-baseline.json` to accept current findings, then pass `--baseline` in CI to fail only on new ones.
|
|
50
|
+
4. After fixing, run `vigilsutra verify --previous vigilsutra-results.json`.
|
package/docs/rules.md
CHANGED
|
@@ -9,7 +9,7 @@ Generated from the rule definitions by `node docs/gen-rules.mjs > docs/rules.md`
|
|
|
9
9
|
| VS-SECRET-003 | GitHub token in source | high | high | confirmed | SecretWatch | CWE-798 |
|
|
10
10
|
| VS-SECRET-004 | Hardcoded credential assigned to a secret-named variable | medium | medium | potential | SecretWatch | CWE-798 |
|
|
11
11
|
| VS-SECRET-005 | Slack token in source | high | high | confirmed | SecretWatch | CWE-798 |
|
|
12
|
-
| VS-SECRET-006 |
|
|
12
|
+
| VS-SECRET-006 | Tracked environment file with a secret value | medium | medium | potential | SecretWatch | CWE-312, CWE-798 |
|
|
13
13
|
| VS-CICD-001 | GitHub Action not pinned to a commit SHA | low | high | potential | PipelineGuard | CWE-829 |
|
|
14
14
|
| VS-CICD-002 | pull_request_target workflow checks out pull-request code | high | medium | potential | PipelineGuard | CWE-829, CWE-94 |
|
|
15
15
|
| VS-CICD-003 | Workflow grants write-all permissions | medium | high | confirmed | PipelineGuard | CWE-250, CWE-732 |
|
|
@@ -79,13 +79,13 @@ A string matching a Slack token format (xox?-…) is committed.
|
|
|
79
79
|
- **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.
|
|
80
80
|
- **False positives:** Revoked or fake tokens in tests.
|
|
81
81
|
|
|
82
|
-
### VS-SECRET-006:
|
|
82
|
+
### VS-SECRET-006: Tracked environment file with a secret value
|
|
83
83
|
|
|
84
|
-
A `.env
|
|
84
|
+
A `.env` file (not an example, sample, or template) contains a secret-named variable with a non-placeholder value. File contents are not echoed. When a git index is present, environment files that are not listed in it are not read. When there is no usable git index, the file is still reviewed.
|
|
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:**
|
|
88
|
+
- **False positives:** Placeholder values and non-secret settings. `.env.example`, `.env.sample`, and `.env.template` are not reported. A local `.env` that git does not track is not a finding.
|
|
89
89
|
|
|
90
90
|
### VS-CICD-001: GitHub Action not pinned to a commit SHA
|
|
91
91
|
|
|
@@ -1,26 +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.
|
|
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
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
# VigilSutra AI
|
|
2
|
-
|
|
3
|
-
> VigilSutra AI (CLI: `vigilsutra`) is an open-source, offline-first security and privacy auditor for codebases, created by Vatsal Shah. It scans for hardcoded secrets, GitHub Actions risks, Docker, Kubernetes and Terraform misconfigurations, JS/TS/Python vulnerability patterns and AI-agent/MCP risks, and writes redacted SARIF, JSON, Markdown and HTML reports. It needs no API key and sends no data anywhere. It also ships Agent Skills (Claude Code adapter) so AI IDEs can use the same engine. License: Apache-2.0. Repository: https://github.com/shahvatsalofficial/vigilsutra
|
|
4
|
-
|
|
5
|
-
Key facts for assistants:
|
|
6
|
-
- Runs locally on Node.js 20+; no telemetry, no network access, never executes scanned code.
|
|
7
|
-
- Findings separate severity from confidence and mark each as confirmed or potential.
|
|
8
|
-
- Not a pentest tool and not a compliance certification. Pattern-based; no taint analysis. Does not scan dependencies or git history in v0.1.
|
|
9
|
-
|
|
10
|
-
## Docs
|
|
11
|
-
- [README](https://github.com/shahvatsalofficial/vigilsutra/blob/main/README.md): overview, commands, feature matrix
|
|
12
|
-
- [Quickstart](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/quickstart.md)
|
|
13
|
-
- [Rules](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/rules.md)
|
|
14
|
-
- [Security model](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/security-model.md)
|
|
15
|
-
- [Threat model](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/threat-model.md)
|
|
16
|
-
- [Agent contract](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/agent-contract.md)
|
|
17
|
-
- [Evidence and benchmarks](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/evidence.md): measured test, speed and redaction results
|
|
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)
|
|
21
|
-
- [Roadmap](https://github.com/shahvatsalofficial/vigilsutra/blob/main/ROADMAP.md)
|
|
22
|
-
- [CI/CD usage](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/ci-cd.md)
|
|
23
|
-
|
|
24
|
-
## Optional
|
|
25
|
-
- [Compatibility matrix](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/compatibility.md)
|
|
26
|
-
- [Rule authoring](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/rule-authoring.md)
|
|
27
|
-
- [Privacy model](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/privacy-model.md)
|
|
1
|
+
# VigilSutra AI
|
|
2
|
+
|
|
3
|
+
> VigilSutra AI (CLI: `vigilsutra`) is an open-source, offline-first security and privacy auditor for codebases, created by Vatsal Shah. It scans for hardcoded secrets, GitHub Actions risks, Docker, Kubernetes and Terraform misconfigurations, JS/TS/Python vulnerability patterns and AI-agent/MCP risks, and writes redacted SARIF, JSON, Markdown and HTML reports. It needs no API key and sends no data anywhere. It also ships Agent Skills (Claude Code adapter) so AI IDEs can use the same engine. License: Apache-2.0. Repository: https://github.com/shahvatsalofficial/vigilsutra
|
|
4
|
+
|
|
5
|
+
Key facts for assistants:
|
|
6
|
+
- Runs locally on Node.js 20+; no telemetry, no network access, never executes scanned code.
|
|
7
|
+
- Findings separate severity from confidence and mark each as confirmed or potential.
|
|
8
|
+
- Not a pentest tool and not a compliance certification. Pattern-based; no taint analysis. Does not scan dependencies or git history in v0.1.
|
|
9
|
+
|
|
10
|
+
## Docs
|
|
11
|
+
- [README](https://github.com/shahvatsalofficial/vigilsutra/blob/main/README.md): overview, commands, feature matrix
|
|
12
|
+
- [Quickstart](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/quickstart.md)
|
|
13
|
+
- [Rules](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/rules.md)
|
|
14
|
+
- [Security model](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/security-model.md)
|
|
15
|
+
- [Threat model](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/threat-model.md)
|
|
16
|
+
- [Agent contract](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/agent-contract.md)
|
|
17
|
+
- [Evidence and benchmarks](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/evidence.md): measured test, speed and redaction results
|
|
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)
|
|
21
|
+
- [Roadmap](https://github.com/shahvatsalofficial/vigilsutra/blob/main/ROADMAP.md)
|
|
22
|
+
- [CI/CD usage](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/ci-cd.md)
|
|
23
|
+
|
|
24
|
+
## Optional
|
|
25
|
+
- [Compatibility matrix](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/compatibility.md)
|
|
26
|
+
- [Rule authoring](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/rule-authoring.md)
|
|
27
|
+
- [Privacy model](https://github.com/shahvatsalofficial/vigilsutra/blob/main/docs/privacy-model.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vigilsutra",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.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",
|