Skip to content

Commit 1036e55

Browse files
committed
chore(release): prepare DepRisk v1.5.0 (S69)
1 parent cf39a22 commit 1036e55

7 files changed

Lines changed: 15 additions & 12 deletions

File tree

‎Directory.Build.props‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<!-- Version: change here only. VersionSuffix is dropped for stable releases. -->
2020
<PropertyGroup>
21-
<VersionPrefix>1.4.0</VersionPrefix>
21+
<VersionPrefix>1.5.0</VersionPrefix>
2222
<Authors>Jahed Kabiri</Authors>
2323
<Company>codeoops-dev</Company>
2424
<Product>DepRisk</Product>

‎README.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,9 @@ Legend: ✅ implemented (built, tested, behaves as documented) · 🧪 experimen
716716
| Offline | Zero-network & zero-exfiltration proof gate: static API/subprocess/zero-NuGet ban tests + kernel-level Linux `unshare -n` CI proof across all 29 CLI commands including `deprisk mcp` (ADR 0055, ADR 0060) | ✅ |
717717
| Offline | Secret zero-leakage canary suite + malicious-repo red-team tests (config smuggling, JSON depth bombs, zip-slip, symlink escape, ANSI/CRLF injection, ADR 0056) | ✅ |
718718
| Distribution | Supply-chain & memory-safety gate: Rust `#![forbid(unsafe_code)]`, `cargo audit`, Rust & Ada/SPARK adversarial fuzzing, and deterministic CycloneDX 1.5 Self-SBOM on every release (ADR 0057) | ✅ |
719-
| Output | SARIF 2.1.0 and JSON for ranked findings (`rank`, `ci`) | ✅ |
719+
| Output | SARIF 2.1.0, JSON, self-contained offline HTML (`--format html`, CSP `default-src 'none'`), and GitHub PR Markdown (`--format md` + `action.yml` `step-summary: true`) across `rank`, `ci`, `plan`, `explain`, and `license` (ADR 0063) | ✅ |
720+
| Reachability | Multi-language conservative static reachability in Rust (`deprisk-reach`, `#![forbid(unsafe_code)]`) for C#, JS/TS, Python (`tree-sitter-python`), and Java (`tree-sitter-java`), plus 32-CVE curated 4-language symbol pack (`data/symbols/curated/`) and reproducible benchmark corpus (`benchmarks/datasets/v1.5-curated/`, ADR 0061, ADR 0062) | ✅ |
721+
| License | Offline SPDX license inventory and policy gate (`deprisk license`, `ci --fail-on license-denied,license-unknown`, `[policy] license_allow`/`license_deny`, and read-only `deprisk_license` MCP tool, ADR 0064) | ✅ |
720722
| Output | OpenVEX 0.2.0 export via `deprisk vex` (`not_affected` only under strict conditions, ADR 0016), checked in CI against the official OpenVEX JSON schema; signed as a DSSE envelope with an in-toto statement and verifiable with `deprisk vex verify` (ADR 0021). A statement is only as sound as the reachability verdict under it | ✅ |
721723
| Output | `deprisk explain`: evidence, reachability path, risk, and what would change it, as text or JSON (every sentence from a fixed template) | ✅ |
722724
| Output | Optional local-LLM narrative *(post-v1.0 / Later)* | 🗺️ |
@@ -747,7 +749,8 @@ Legend: ✅ implemented (built, tested, behaves as documented) · 🧪 experimen
747749
- **v1.2** *(released in `1.2.0`)* Python / PyPI (`uv.lock`, `poetry.lock`, pinned `requirements.txt`, PEP 440/503, ADR 0053); Rust / Cargo (`Cargo.lock`, OSV `crates.io`) and Go (`go.mod`, OSV `Go`, ADR 0054); `pkg:pypi`/`pkg:cargo`/`pkg:golang` SBOM & OpenVEX; reproducible benchmark & calibration scripts ([benchmarks/README.md](benchmarks/README.md)) and academic paper artifact guide ([paper/README.md](paper/README.md)).
748750
- **v1.3** *(released in `1.3.0`)* Deep security self-audit: static network/process/zero-NuGet API ban + kernel-level Linux `unshare -n` offline CI proof (ADR 0055); secret zero-leakage canary & malicious-repo red-team suites (ADR 0056); Rust `#![forbid(unsafe_code)]`, `cargo audit`, Rust & Ada/SPARK adversarial fuzzing, and deterministic CycloneDX 1.5 Self-SBOM (ADR 0057); complete threat-to-proof dossier ([docs/security-assurance.md](docs/security-assurance.md)).
749751
- **v1.4** *(released in `1.4.0`)* Modern frontend lockfiles (`pnpm-lock.yaml` v6/v9, `yarn.lock` v1/Berry, ADR 0058); Java/Maven (`pom.xml`, `gradle.lockfile`) and PHP/Composer (`composer.lock`, ADR 0059); native offline AI agent integration (`deprisk mcp` read-only stdio server + [skills/deprisk/SKILL.md](skills/deprisk/SKILL.md), ADR 0060).
750-
- **Later** Additional reachability frontends (Python, Rust, Go, Java), real-world labeled benchmark publication, PostgreSQL team mode, transparency-log checkpoints, richer API-diff-based cost model.
752+
- **v1.5** *(released in `1.5.0`)* Python (`tree-sitter-python`) and Java (`tree-sitter-java`) conservative static reachability (ADR 0061); 32-CVE curated 4-language symbol pack (`data/symbols/curated/`) and reproducible 4-language benchmark & calibration corpus (`benchmarks/results/`, ADR 0062); self-contained offline HTML & GitHub PR Markdown reports (`--format html|md`, `action.yml` `step-summary: true`, ADR 0063); offline SPDX license policy gate (`deprisk license`, `license-denied`/`license-unknown`, `deprisk_license` MCP tool, ADR 0064).
753+
- **Later** Additional reachability frontends (Rust, Go), longitudinal real-world labeled benchmark publication, PostgreSQL team mode, transparency-log checkpoints, richer API-diff-based cost model.
751754

752755
## For teams and companies
753756

‎analyzers/reach/Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎analyzers/reach/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "deprisk-reach"
3-
version = "1.4.0"
3+
version = "1.5.0"
44
edition = "2021"
55
rust-version = "1.89"
66
description = "DepRisk reachability analyzer for C#, JavaScript/TypeScript, Python, and Java: builds a conservative call graph from entrypoints and checks whether vulnerable symbols can be reached."

‎kernel/spark/alire.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "deprisk_kernel"
22
description = "Formally verified Ada/SPARK remediation plan verification kernel (P1-P6)"
3-
version = "1.4.0"
3+
version = "1.5.0"
44

55
authors = ["Jahed Kabiri"]
66
maintainers = ["Jahed Kabiri <jahed@codeoops.com>"]

‎src/DepRisk.Cli/CliApp.cs‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,32 +160,32 @@ private static void PrintUsage(TextWriter output)
160160
output.WriteLine(" match [path] Match dependencies against local OSV advisories (offline)");
161161
output.WriteLine(" --advisories <dir|.zip|.json> advisory data (required)");
162162
output.WriteLine(" --format table|json --out <file> --strict --ecosystem auto|nuget|npm|pypi|cargo|go|maven|composer");
163-
output.WriteLine(" reach [path] Can the vulnerable code be reached from your application? (C# and JavaScript/TypeScript, needs symbol maps and the analyzer)");
163+
output.WriteLine(" reach [path] Can the vulnerable code be reached from your application? (C#, JavaScript/TypeScript, Python, and Java; needs symbol maps and the analyzer)");
164164
output.WriteLine(" --advisories <...> --symbols <file|dir> --source <dir> --entrypoints auto|public-api|none");
165165
output.WriteLine(" --entrypoint <Ns.Type.Method> --analyzer <file> --timeout <seconds> --format table|json --out <file>");
166166
output.WriteLine(" symbols template [path] Draft symbol map entries for the advisory and package pairs that have none (the draft is refused until filled in)");
167167
output.WriteLine(" --advisories <...> [--symbols <file|dir>: leave out what is covered] --format table|json --out <file> --force --strict --ecosystem auto|nuget|npm|pypi|cargo|go|maven|composer");
168168
output.WriteLine(" symbols check [path] Do the symbol maps still fit this project? Unused, incomplete, missing entries; optional gate");
169169
output.WriteLine(" --advisories <...> --symbols <file|dir> --fail-on missing,incomplete,unused --strict --ecosystem auto|nuget|npm|pypi|cargo|go|maven|composer");
170170
output.WriteLine(" symbols mine Draft candidate symbols from a fix commit in a local git clone (offline; draft keeps complete: null)");
171-
output.WriteLine(" --repo <dir> --commit <sha|ref> --advisory <id> --package <name> [--language csharp|javascript] --format table|json --out <file> --force --git <path>");
171+
output.WriteLine(" --repo <dir> --commit <sha|ref> --advisory <id> --package <name> [--language csharp|javascript|python|java] --format table|json --out <file> --force --git <path>");
172172
output.WriteLine(" catalog build [path] Build an offline catalog.v1 of candidate versions from a local NuGet package cache");
173173
output.WriteLine(" --cache <dir> --all --out <file>");
174174
output.WriteLine(" catalog check <file> Validate a catalog.v1 candidate-version file offline");
175175
output.WriteLine(" plan [path] Compute and verify (P1-P5) a deterministic remediation plan under an effort budget (offline)");
176-
output.WriteLine(" --advisories <...> --catalog <file> --budget 6h --solver greedy|milp|external --optimizer <exe> --pin <pkg> --no-major <pkg> --license-allow <spdx> --format table|json --out <file>");
176+
output.WriteLine(" --advisories <...> --catalog <file> --budget 6h --solver greedy|milp|external --optimizer <exe> --pin <pkg> --no-major <pkg> --license-allow <spdx> --format table|json|md|html --out <file>");
177177
output.WriteLine(" verify <plan> [path] Independently verify a plan.v1 file with the SPARK kernel (--kernel <exe>, P1-P6) or C# reference verifier (P1-P5)");
178178
output.WriteLine(" --advisories <...> --catalog <file> [--kernel <exe>] [--budget 6h] [--pin <pkg>] [--no-major <pkg>] [--license-allow <spdx>] --format table|json --out <file>");
179179
output.WriteLine(" apply <plan> Preview (--dry-run) or verified-apply (--write --advisories <...> --catalog <file> [--kernel <exe>]) manifest edits from a plan.v1 file");
180180
output.WriteLine(" explain <id> [path] Why a finding stands where it does: evidence, reachability path, risk, what would change it");
181-
output.WriteLine(" --advisories <...> --package <id> (analysis options as for rank) --format table|json --out <file>");
181+
output.WriteLine(" --advisories <...> --package <id> (analysis options as for rank) --format table|json|md|html --out <file>");
182182
output.WriteLine(" vex [path] OpenVEX 0.2.0 statements for the findings (not_affected only for proven unreachable ones)");
183183
output.WriteLine(" --sign --key <private key> (--subject-file <file> | --subject-digest sha256:<hex>) Sign it: a DSSE envelope with an in-toto statement");
184184
output.WriteLine(" vex verify <envelope> --pubkey <public key> [--subject-file <file>] Verify a signed OpenVEX document");
185185
output.WriteLine(" --product <purl|iri> --author <text> [--role <text>] [--timestamp <rfc3339>] (analysis options) --out <file>");
186186
output.WriteLine(" rank [path] Like match, ordered by CISA KEV, EPSS, and CVSS (baseline; offline)");
187187
output.WriteLine(" --advisories <...> (required) --epss <csv[.gz]> --kev <json>");
188-
output.WriteLine(" --format table|json|sarif --out <file> --strict --ecosystem auto|nuget|npm|pypi|cargo|go|maven|composer");
188+
output.WriteLine(" --format table|json|sarif|md|html --out <file> --strict --ecosystem auto|nuget|npm|pypi|cargo|go|maven|composer");
189189
output.WriteLine(" --symbols <file|dir> (adds reachability; also --source --analyzer --entrypoints --entrypoint --timeout)");
190190
output.WriteLine(" --model baseline|risk (risk: seeded Monte Carlo; also --samples --seed --rank-by mean|p50|p90|p95|cvar95 --risk-params <file>)");
191191
output.WriteLine(" ci [path] Like rank, plus a policy gate: exit code 1 if a finding matches --fail-on or data is older than --max-data-age");

‎src/DepRisk.Cli/PACKAGE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Reachability-aware, uncertainty-driven dependency vulnerability triage and verified remediation planning, from your terminal.
44

5-
> **Status: stable (`1.4.0`).** This release ships across three zero-telemetry channels (NuGet global tool, standalone self-contained Linux/macOS/Windows archives on GitHub Releases, and official non-root Docker image `ghcr.io/codeoops-dev/deprisk`), reads NuGet (`project.assets.json`, `packages.lock.json`), npm/pnpm/Yarn (`package-lock.json` v1–v3, `pnpm-lock.yaml` v6/v9, `yarn.lock` v1/Berry), Python/PyPI (`uv.lock`, `poetry.lock`, pinned `requirements.txt`), Rust/Cargo (`Cargo.lock`), Go (`go.mod`), Java/Maven (`pom.xml`, `gradle.lockfile`), PHP/Composer (`composer.lock`), and CycloneDX/SPDX SBOMs, matches against local OSV advisories, ranks findings (KEV, EPSS, CVSS v3.x and v4.0, or seeded Monte Carlo uncertainty), checks reachability (C# and JS/TS via the bundled analyzer with run-time SHA-256 verification), drafts/checks/mines symbol maps (`symbols template|check|mine`), explains rankings, exports signed OpenVEX (DSSE/in-toto), reads `deprisk.toml`, gates CI (`--fail-on`, calibrated risk quantiles, `--only-new`, `--max-data-age`) with a local store under `.deprisk/store/`, builds/validates offline candidate version catalogs (`catalog build|check`), computes and independently verifies remediation plans under an effort budget (`plan --solver greedy|milp|external`, `verify [--kernel <spark-bin>]`, `apply --dry-run|--write`), ships the GNATprove-verified Ada/SPARK kernel (`kernel/spark/`, P1–P6), packages/verifies/imports DSSE-signed offline data bundles (`bundle create|verify|import`), exposes a read-only offline MCP stdio server for AI agents (`deprisk mcp` + `skills/deprisk/SKILL.md`), includes an official GitHub Action wrapper (`action.yml`), and keeps a signed, optionally passphrase-encrypted audit log. All 21 `v1` JSON schemas and exit codes `0..5` are frozen under `docs/stability.md`. Everything works offline.
5+
> **Status: stable (`1.5.0`).** This release ships across three zero-telemetry channels (NuGet global tool, standalone self-contained Linux/macOS/Windows archives on GitHub Releases, and official non-root Docker image `ghcr.io/codeoops-dev/deprisk`), reads NuGet (`project.assets.json`, `packages.lock.json`), npm/pnpm/Yarn (`package-lock.json` v1–v3, `pnpm-lock.yaml` v6/v9, `yarn.lock` v1/Berry), Python/PyPI (`uv.lock`, `poetry.lock`, pinned `requirements.txt`), Rust/Cargo (`Cargo.lock`), Go (`go.mod`), Java/Maven (`pom.xml`, `gradle.lockfile`), PHP/Composer (`composer.lock`), and CycloneDX/SPDX SBOMs, matches against local OSV advisories, ranks findings (KEV, EPSS, CVSS v3.x and v4.0, or seeded Monte Carlo uncertainty), checks reachability (C#, JS/TS, Python, and Java via the bundled analyzer with run-time SHA-256 verification), drafts/checks/mines symbol maps (`symbols template|check|mine`), explains rankings, exports signed OpenVEX (DSSE/in-toto), offline HTML & GitHub PR Markdown reports (`--format html|md`), enforces offline SPDX license policies (`deprisk license` + `ci --fail-on license-denied,license-unknown`), reads `deprisk.toml`, gates CI (`--fail-on`, calibrated risk quantiles, `--only-new`, `--max-data-age`) with a local store under `.deprisk/store/`, builds/validates offline candidate version catalogs (`catalog build|check`), computes and independently verifies remediation plans under an effort budget (`plan --solver greedy|milp|external`, `verify [--kernel <spark-bin>]`, `apply --dry-run|--write`), ships the GNATprove-verified Ada/SPARK kernel (`kernel/spark/`, P1–P6), packages/verifies/imports DSSE-signed offline data bundles (`bundle create|verify|import`), exposes a read-only offline MCP stdio server for AI agents (`deprisk mcp` + `skills/deprisk/SKILL.md`), includes an official GitHub Action on Marketplace (`action.yml` with `step-summary: true`), and keeps a signed, optionally passphrase-encrypted audit log. All 21 `v1` JSON schemas and exit codes `0..5` are frozen under `docs/stability.md`. Everything works offline.
66
>
77
> **Note on reachability & risk defaults:** `data/symbols/` ships conservative starter symbol maps (`complete: false`), and the built-in Monte Carlo risk priors remain uncalibrated defaults until calibrated on labeled cases with `deprisk bench calibrate`.
88

0 commit comments

Comments
 (0)