@clear-capabilities/agentic-security-scanner 0.170.0 → 0.172.0
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 +38 -0
- package/bin/agentic-security.js +6 -0
- package/dist/1336.index.js +891 -719
- package/dist/550.index.js +548 -0
- package/dist/7405.index.js +868 -0
- package/dist/9382.index.js +4220 -0
- package/dist/9579.index.js +1197 -0
- package/dist/agentic-security.mjs +2 -2
- package/dist/agentic-security.mjs.sha256 +1 -1
- package/package.json +3 -3
- package/src/context-intelligence/CLAUDE.md +21 -0
- package/src/context-intelligence/adapters/existing-ir.js +14 -0
- package/src/context-intelligence/adapters/haskell-hie.js +138 -0
- package/src/context-intelligence/build.js +68 -0
- package/src/context-intelligence/candidates.js +115 -0
- package/src/context-intelligence/canonical.js +95 -0
- package/src/context-intelligence/capabilities.js +33 -0
- package/src/context-intelligence/cli.js +422 -0
- package/src/context-intelligence/config.js +90 -0
- package/src/context-intelligence/controls.js +194 -0
- package/src/context-intelligence/diff.js +97 -0
- package/src/context-intelligence/entrypoints.js +336 -0
- package/src/context-intelligence/evaluation/index.js +228 -0
- package/src/context-intelligence/evaluation/runner.js +139 -0
- package/src/context-intelligence/evaluation/scripted-reader.js +279 -0
- package/src/context-intelligence/files.js +80 -0
- package/src/context-intelligence/graph-schema.js +227 -0
- package/src/context-intelligence/imports.js +123 -0
- package/src/context-intelligence/manifest.js +99 -0
- package/src/context-intelligence/packer.js +224 -0
- package/src/context-intelligence/persist.js +40 -0
- package/src/context-intelligence/prompts/packs.js +82 -0
- package/src/context-intelligence/queue.js +355 -0
- package/src/context-intelligence/reachability.js +182 -0
- package/src/context-intelligence/repo-info.js +16 -0
- package/src/context-intelligence/review.js +321 -0
- package/src/context-intelligence/spans.js +147 -0
- package/src/context-intelligence/store.js +203 -0
- package/src/posture/artifact-registry.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,44 @@
|
|
|
9
9
|
> make the history less accurate, not more.
|
|
10
10
|
|
|
11
11
|
|
|
12
|
+
## 0.172.0 - Deterministic Context Intelligence (`context` command)
|
|
13
|
+
|
|
14
|
+
An opt-in, additive subsystem. The default scan, `hunt` and every existing command are unchanged.
|
|
15
|
+
|
|
16
|
+
- `agentic-security context build` resolves entry points (JavaScript and TypeScript, Python, Haskell, plus the surfaces the existing inventory recognises) and writes one inspectable, hash-bound context bundle each. No model call, no network call. A bundle is `complete` only when nothing material was unresolved, omitted, capped or split.
|
|
17
|
+
- Protection states are explicit per dimension (present, not present, not seen, not resolved, omitted due to budget, evaluated and ineffective for a control that runs after the sensitive operation), with observed versus inferred evidence.
|
|
18
|
+
- `context review` runs focused single-call reviews over frozen bundles through the existing model resolver, egress policy and redaction. Citations are verified against the bundle, severity comes only from the existing confirmation tier, and the bounded queue retries, caches, checkpoints and resumes. A job with no verified result is reported as missing coverage; `--strict` exits 3 on it.
|
|
19
|
+
- `context diff`, `inspect`, `verify`, `export`, `status`, `cleanup`, and an offline batch export and import.
|
|
20
|
+
- Optional read-only compiler metadata import for Haskell (`hie-export/1`), validated against the source snapshot. Automatic metadata builds and a provider batch API are blocked and documented as such.
|
|
21
|
+
- `context eval` scores a bundled synthetic suite with a scripted reader. It is labelled synthetic on its face and supports no accuracy claim; intervals are unmeasured below 10 independent cases, and the holdout split is ledgered.
|
|
22
|
+
- A batch import bug found while testing: a stored declined result no longer blocks importing a good result for the same job.
|
|
23
|
+
- Registered `context-intelligence` and `context-intelligence.json` in the state artifact registry.
|
|
24
|
+
|
|
25
|
+
See [the guide](docs/guides/context-intelligence.md).
|
|
26
|
+
|
|
27
|
+
## 0.171.0 - documentation: surface every shipped PRD capability in the README and docs index
|
|
28
|
+
|
|
29
|
+
A documentation-only release. Auditing the docs against the actual CLI surface after PRD 5 shipped found
|
|
30
|
+
several real gaps — not cosmetic, actively misleading in one case — and fixed them:
|
|
31
|
+
|
|
32
|
+
- **README.md said built container images are NOT scanned.** That line predated `image scan`/`image verify`
|
|
33
|
+
(PRD 5, shipped in 0.170.0) and was flatly false by the time it shipped. Corrected, with a link to the new
|
|
34
|
+
guide below.
|
|
35
|
+
- **Seven of the repo's 17 slash-command dispatchers had no entry in README's own Commands list**:
|
|
36
|
+
`dataflow`, `governance`, `remediation`, `federate`, `image`, `provenance`, `runtime`. Added, grouped under
|
|
37
|
+
two new categories ("Data Flow Explorer" and "Source-to-artifact & runtime").
|
|
38
|
+
- **`docs/guides/runtime-twin.md` (PRD 2's own user guide) was an orphan** — reachable from one internal
|
|
39
|
+
cross-link, linked from neither README.md nor docs/README.md. Linked from both.
|
|
40
|
+
- **PRD 5 (Source-to-Artifact Security & Provenance) had no user-facing guide at all**, only the internal
|
|
41
|
+
`docs/implementation-status/` tracking doc. Added `docs/guides/artifact-provenance.md`.
|
|
42
|
+
- **`docs/reference/cli.md` — "every command, flag, and exit code" — was missing `proof`, `rules`, `fleet`,
|
|
43
|
+
`runtime`, `image`, `provenance`, and `supply` entirely** from its own Commands table (the literal CLI
|
|
44
|
+
surface of PRDs 1, 3, 4, 2, and 5). Added all seven.
|
|
45
|
+
- Added two new "What makes it different" bullets (runtime corroboration, source-to-artifact tracing) and a
|
|
46
|
+
`supply --vex` mode mention to README's Commands list.
|
|
47
|
+
|
|
48
|
+
No code changed; `scanner/dist/agentic-security.mjs` is unchanged.
|
|
49
|
+
|
|
12
50
|
## 0.170.0 - source-to-artifact security & provenance: a new `src/artifact/` package, `image`/`provenance` CLI, VEX
|
|
13
51
|
|
|
14
52
|
Binds a finding to the actual **built artifact** (a container image, today) that ships it — closing the gap
|
package/bin/agentic-security.js
CHANGED
|
@@ -181,6 +181,11 @@ Commands:
|
|
|
181
181
|
to each finding of a scan result. Read-only, local files only.
|
|
182
182
|
Off by default: set AGENTIC_SECURITY_ASSURANCE_DEPLOYMENT_BOUNDARIES=1.
|
|
183
183
|
Exit: 0 ok, 1 failed, 2 usage, 3 feature off or blocked.
|
|
184
|
+
context <build|inspect|diff|review|status|eval|verify|export|cleanup> [--root <dir>]
|
|
185
|
+
Deterministic Context Intelligence (opt-in, additive): resolve entry points,
|
|
186
|
+
write one inspectable, hash-bound context bundle each, and optionally run
|
|
187
|
+
focused single-call model reviews over them. 'context build' makes no model
|
|
188
|
+
call and no network call. Run 'agentic-security context' for the full usage.
|
|
184
189
|
explore [path] [--port <n>] [--keep-open]
|
|
185
190
|
Start a local, read-only server over an
|
|
186
191
|
already-scanned lineage graph (run
|
|
@@ -7636,6 +7641,7 @@ async function main() {
|
|
|
7636
7641
|
case 'calibration-feedback': process.exit(await cmdCalibrationFeedback(args));
|
|
7637
7642
|
case 'calibration-report': process.exit(await cmdCalibrationReport(args));
|
|
7638
7643
|
case 'hunt': process.exit(await cmdHunt(args));
|
|
7644
|
+
case 'context': process.exit(await (await import('../src/context-intelligence/cli.js')).cmdContext(args));
|
|
7639
7645
|
case 'compliance': process.exit(await cmdCompliance(args));
|
|
7640
7646
|
case 'attest': process.exit(await cmdAttest(args));
|
|
7641
7647
|
case 'verify-attestation': process.exit(await cmdVerifyAttestation(args));
|