vigilsutra 0.1.2 → 0.1.3
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
CHANGED
|
@@ -1,26 +1,30 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## 0.1.
|
|
4
|
-
|
|
5
|
-
-
|
|
6
|
-
|
|
7
|
-
## 0.1.
|
|
8
|
-
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.3 - 2026-11-04
|
|
4
|
+
|
|
5
|
+
- Build with TypeScript 7.0.2 (`tsconfig.json` now lists `"types": ["node"]`); GitHub Actions updated to current majors (checkout 7, setup-node 7, codeql-action 4, upload-artifact 7), still pinned to commit SHAs.
|
|
6
|
+
|
|
7
|
+
## 0.1.2 - 2026-11-01
|
|
8
|
+
|
|
9
|
+
- CI now tests Node 20, 22, 24 and 26 (current LTS) on Ubuntu, macOS and Windows; all 12 jobs pass. Docs updated. No code changes.
|
|
10
|
+
|
|
11
|
+
## 0.1.1 - 2026-11-01
|
|
12
|
+
|
|
13
|
+
- Release workflow publishing to npm with provenance (Trusted Publishing); Dependabot for Actions and npm; workflow actions pinned to commit SHAs; OpenSSF Scorecard workflow; manual benchmark workflow.
|
|
14
|
+
- **Security fixes from an internal review** (see docs/assurance/internal-review.md): adapter uninstall validates manifest entries; a project policy that narrows scope is disclosed in reports (`--policy`, `--no-policy` added); single-descriptor file reads with inode check; SARIF paths percent-encoded; Markdown and terminal output neutralize hostile file names and control characters; per-rule per-file finding cap.
|
|
15
|
+
- **Two quadratic regular expressions fixed** (found by new fuzz tests).
|
|
16
|
+
- **Fewer false positives**, found by running on 18 public repositories (quoted local workflows, string-literal matches, JWT `verify=False`, `usedforsecurity=False`, routes and egress rules, `Effect: Deny`, `$variable` placeholders, `.env` placeholders, nonroot images, sanitized HTML, translation files). Findings in test, example, archived and vendored paths now have low confidence and `pathContext: test-or-example`.
|
|
17
|
+
- `failOn` in `.vigilsutra.yml` is now applied.
|
|
18
|
+
- New: runtime offline test, fuzz/ReDoS tests, benchmark tooling (`benchmarks/`), assurance documentation (`docs/assurance/`), SBOMs, coverage report.
|
|
19
|
+
|
|
20
|
+
## 0.1.0 - 2026-10-31
|
|
21
|
+
|
|
22
|
+
First public release (early). Published to npm as `vigilsutra@0.1.0`.
|
|
23
|
+
|
|
24
|
+
- Offline, read-only CLI: `audit`, `baseline`, `verify`, `rules`, `explain`, `doctor`, `init`, `adapters`.
|
|
25
|
+
- 32 rules across secrets, GitHub Actions, Docker, Kubernetes, Terraform, JS/TS/Python code patterns, AI agents, privacy signals and process.
|
|
26
|
+
- Reports: text, JSON, Markdown, SARIF 2.1.0, escaped HTML.
|
|
27
|
+
- Secret redaction in all formats; stable fingerprints that exclude secret values and line numbers.
|
|
28
|
+
- Safe scoping: symlinks never followed, size/count/time limits, binary skipping.
|
|
29
|
+
- Six Agent Skills and a Claude Code project adapter (preview, no-overwrite, manifest-based uninstall).
|
|
30
|
+
- Not included yet: dependency/SBOM/advisories, other IDE adapters, local-LLM adapter, waivers, patch proposals.
|
package/dist/engine.js
CHANGED
|
@@ -7,7 +7,7 @@ import { inventory } from "./scope.js";
|
|
|
7
7
|
import { DEFAULT_POLICY, loadPolicy } from "./policy.js";
|
|
8
8
|
import { redactSpan, scrubTokens, tidy } from "./redact.js";
|
|
9
9
|
import { SEVERITY_ORDER } from "./types.js";
|
|
10
|
-
export const VERSION = "0.1.
|
|
10
|
+
export const VERSION = "0.1.3";
|
|
11
11
|
/** Per rule, per file. Keeps one noisy file from producing an unbounded report. */
|
|
12
12
|
export const MAX_PER_RULE_PER_FILE = 200;
|
|
13
13
|
function sha(s) {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
|
|
3
3
|
"bomFormat": "CycloneDX",
|
|
4
4
|
"specVersion": "1.5",
|
|
5
|
-
"serialNumber": "urn:uuid:
|
|
5
|
+
"serialNumber": "urn:uuid:a6af414a-eb9a-4cac-a6d7-06f1b624cd72",
|
|
6
6
|
"version": 1,
|
|
7
7
|
"metadata": {
|
|
8
|
-
"timestamp": "2026-11-
|
|
8
|
+
"timestamp": "2026-11-02T19:30:12.772Z",
|
|
9
9
|
"lifecycles": [
|
|
10
10
|
{
|
|
11
11
|
"phase": "build"
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
21
|
"component": {
|
|
22
|
-
"bom-ref": "vigilsutra@0.1.
|
|
22
|
+
"bom-ref": "vigilsutra@0.1.2",
|
|
23
23
|
"type": "library",
|
|
24
24
|
"name": "VigilSutra-AI",
|
|
25
|
-
"version": "0.1.
|
|
25
|
+
"version": "0.1.2",
|
|
26
26
|
"scope": "required",
|
|
27
27
|
"author": "Vatsal Shah",
|
|
28
28
|
"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.",
|
|
29
|
-
"purl": "pkg:npm/vigilsutra@0.1.
|
|
29
|
+
"purl": "pkg:npm/vigilsutra@0.1.2",
|
|
30
30
|
"properties": [],
|
|
31
31
|
"externalReferences": [
|
|
32
32
|
{
|
|
@@ -95,14 +95,61 @@
|
|
|
95
95
|
]
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
|
-
"bom-ref": "typescript@
|
|
98
|
+
"bom-ref": "@typescript/typescript-win32-x64@7.0.2",
|
|
99
|
+
"type": "library",
|
|
100
|
+
"name": "@typescript/typescript-win32-x64",
|
|
101
|
+
"version": "7.0.2",
|
|
102
|
+
"scope": "optional",
|
|
103
|
+
"author": "Microsoft Corp.",
|
|
104
|
+
"description": "TypeScript is a language for application scale JavaScript development",
|
|
105
|
+
"purl": "pkg:npm/%40typescript/typescript-win32-x64@7.0.2",
|
|
106
|
+
"properties": [
|
|
107
|
+
{
|
|
108
|
+
"name": "cdx:npm:package:development",
|
|
109
|
+
"value": "true"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"externalReferences": [
|
|
113
|
+
{
|
|
114
|
+
"type": "distribution",
|
|
115
|
+
"url": "https://registry.npmjs.org/@typescript/typescript-win32-x64/-/typescript-win32-x64-7.0.2.tgz"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"type": "vcs",
|
|
119
|
+
"url": "https://github.com/microsoft/TypeScript.git"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "website",
|
|
123
|
+
"url": "https://www.typescriptlang.org/"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type": "issue-tracker",
|
|
127
|
+
"url": "https://github.com/microsoft/TypeScript/issues"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"hashes": [
|
|
131
|
+
{
|
|
132
|
+
"alg": "SHA-512",
|
|
133
|
+
"content": "d014371e40071e528b4a9d6a46f7f7494846a46b03ba107f8e0170ef982ecaa6f126a11a4b40b0fd514ef22da71e094953340246d30c47f20100a137113302e2"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"licenses": [
|
|
137
|
+
{
|
|
138
|
+
"license": {
|
|
139
|
+
"id": "Apache-2.0"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"bom-ref": "typescript@7.0.2",
|
|
99
146
|
"type": "library",
|
|
100
147
|
"name": "typescript",
|
|
101
|
-
"version": "
|
|
148
|
+
"version": "7.0.2",
|
|
102
149
|
"scope": "required",
|
|
103
150
|
"author": "Microsoft Corp.",
|
|
104
151
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
105
|
-
"purl": "pkg:npm/typescript@
|
|
152
|
+
"purl": "pkg:npm/typescript@7.0.2",
|
|
106
153
|
"properties": [
|
|
107
154
|
{
|
|
108
155
|
"name": "cdx:npm:package:development",
|
|
@@ -112,7 +159,7 @@
|
|
|
112
159
|
"externalReferences": [
|
|
113
160
|
{
|
|
114
161
|
"type": "distribution",
|
|
115
|
-
"url": "https://registry.npmjs.org/typescript/-/typescript-
|
|
162
|
+
"url": "https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz"
|
|
116
163
|
},
|
|
117
164
|
{
|
|
118
165
|
"type": "vcs",
|
|
@@ -130,7 +177,7 @@
|
|
|
130
177
|
"hashes": [
|
|
131
178
|
{
|
|
132
179
|
"alg": "SHA-512",
|
|
133
|
-
"content": "
|
|
180
|
+
"content": "f0561abbdea8dcd28e85b8ca8bfa8dbc6fd6e63873c646dd9b9b23f406d9ff94f9b16aa7de12602df1b1dbbb11299593bf2cc23fc74b4414dfe6d05349155434"
|
|
134
181
|
}
|
|
135
182
|
],
|
|
136
183
|
"licenses": [
|
|
@@ -190,10 +237,10 @@
|
|
|
190
237
|
],
|
|
191
238
|
"dependencies": [
|
|
192
239
|
{
|
|
193
|
-
"ref": "vigilsutra@0.1.
|
|
240
|
+
"ref": "vigilsutra@0.1.2",
|
|
194
241
|
"dependsOn": [
|
|
195
242
|
"@types/node@22.20.5",
|
|
196
|
-
"typescript@
|
|
243
|
+
"typescript@7.0.2"
|
|
197
244
|
]
|
|
198
245
|
},
|
|
199
246
|
{
|
|
@@ -203,9 +250,15 @@
|
|
|
203
250
|
]
|
|
204
251
|
},
|
|
205
252
|
{
|
|
206
|
-
"ref": "typescript@
|
|
253
|
+
"ref": "@typescript/typescript-win32-x64@7.0.2",
|
|
207
254
|
"dependsOn": []
|
|
208
255
|
},
|
|
256
|
+
{
|
|
257
|
+
"ref": "typescript@7.0.2",
|
|
258
|
+
"dependsOn": [
|
|
259
|
+
"@typescript/typescript-win32-x64@7.0.2"
|
|
260
|
+
]
|
|
261
|
+
},
|
|
209
262
|
{
|
|
210
263
|
"ref": "undici-types@6.21.0",
|
|
211
264
|
"dependsOn": []
|
|
@@ -10,8 +10,8 @@ Date 2026-11-01. Package `vigilsutra@0.1.0`.
|
|
|
10
10
|
|
|
11
11
|
| Package | Version | License |
|
|
12
12
|
|---|---|---|
|
|
13
|
-
| typescript |
|
|
14
|
-
| @types/node | 22.20.5 | MIT |
|
|
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
15
|
| undici-types (via @types/node) | 6.21.0 | MIT |
|
|
16
16
|
|
|
17
17
|
Full dev SBOM: [sbom-full-dev.cdx.json](sbom-full-dev.cdx.json). All licenses are compatible with Apache-2.0 distribution.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vigilsutra",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
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",
|
|
@@ -66,6 +66,6 @@
|
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@types/node": "^22.20.5",
|
|
69
|
-
"typescript": "^
|
|
69
|
+
"typescript": "^7.0.2"
|
|
70
70
|
}
|
|
71
71
|
}
|