# Changelog

> **Coldpin v1.6.2** · Section: Verification & Releases · Available on: Latest: v1.6.2, Semantic Versioning, Apache-2.0
> Canonical HTML: https://coldpin-docs.pages.dev/docs/changelog/

All notable changes to `coldpin` following Keep a Changelog and Semantic Versioning. Jump to any release from the version index or toggle all entries below.

## Release History (v1.0.0 – v1.6.2)

### v1.6.2 — 2026-11-26

**Changed**

- **Slimmer Compiled-Only npm Package (`package.json`, `tests/hardening-and-packaging.test.ts`):** Removed duplicate TypeScript sources (`src/`) from `package.json` `"files"` while keeping all `25` compiled zero-dependency ESM modules under `lib/`, shrinking the published npm tarball from `114` files (`1.56 MB` unpacked) to `89` files (`910 KB` unpacked) and eliminating duplicate static-scanner source hits without altering any runtime or security behavior.
- **Verified WebMCP Static Metadata & README Badge (`scripts/docs/assets.ts`, `site/app.js`, `README.md`, `docs/fact-ledger.md`, `tests/docs-site.test.ts`):** Declared all 4 browser WebMCP tools with explicit 4-hint boolean annotations (`readOnlyHint`, `destructiveHint`, `idempotentHint`, `openWorldHint`), inline `get_coldpin_release_checksums` registration, and build-time static plain-string descriptions, and added the M8ven `?variant=verified` live publisher badge with `m8ven.ai` allowlisted in `docs/fact-ledger.md`.

**Fixed**

- **Tighter Live Dogfooding, Tier-3 Grader & Docs Accuracy (`tests/live-network-e2e.test.ts`, `tests/tier3-skill-eval.ts`, `tests/tier3-skill-eval.test.ts`, `CHANGELOG.md`, `README.md`):** Updated live E2E dogfooding to inspect published `coldpin@1.6.1` with explicit zero-`CRITICAL` and zero-lifecycle-hook assertions, hardened Tier-3 grading to reject prompt-parroting and trailing-negation `npx rea-agents` bypasses, synced `CHANGELOG.md`'s `REPO_URL_SCHEMA_PATTERN` regex with `src/mcp/tool-catalog.ts`, and synced `README.md` Tier-1 latency with `skills/coldpin/BENCHMARK.md`.

### v1.6.1 — 2026-11-24

**Added**

- **Multi-Architecture GHCR Container Distribution (`Dockerfile`, `.dockerignore`, `.github/workflows/release.yml`):** Added a zero-dependency, non-root (`USER node`), Alpine Node 24 container image with OCI repository labels (`org.opencontainers.image.source`) and a default-deny `.dockerignore` allowlist (`lib/`, `catalog/`, `package.json`, `LICENSE`), plus a keyless `publish-ghcr` release job building and smoke-testing `linux/amd64` + `linux/arm64` images at `ghcr.io/hynko431/coldpin` with SLSA build provenance (`actions/attest-build-provenance`).
- **Real-Network End-to-End & Tier-3 Multi-Agent Skill Evaluation Suites (`tests/live-network-e2e.test.ts`, `tests/tier3-skill-eval.ts`, `tests/tier3-skill-eval.test.ts`, `.github/workflows/ci.yml`):** Added `npm run test:live` (zero-mock CLI + spawned stdio MCP verification against live `registry.npmjs.org` and `api.osv.dev`, wired into the read-only non-fork `live-network-smoke` CI job with `timeout-minutes: 5`) and `npm run eval:tier3` (isolated 4-scenario live harness evaluator for `agy`, `claude`, and `codex` with Windows PowerShell 5.1 argument recovery, `.cmd` stdin shims, session-only least-privilege `agy --settings` MCP allow-rules, and deterministic fixture/grader unit tests).
- **Zero-Dependency 5-Pillar Documentation Portal & Shared ES2020 Hook Core (`scripts/docs/`, `site/`, `src/hook-core.ts`):** Rebuilt `site/` as a 17-page, 5-pillar static portal (`49` files) with raw `.md` twins, `/llms.txt`, `sitemap.xml`, real `404.html`, interactive `PreToolUse` Policy Lab powered by the shared zero-Node `src/hook-core.ts`, live `/evidence-card-app/` MCP App preview with Cloudflare `_headers` parity, and `npm run build:docs:check` parity enforcement (`tests/docs-site.test.ts`).
- **First-Party Official `npmjs.com` Package Card & Downloads Pill (`functions/badge/[[path]].js`, `tests/badge-function.test.ts`, `README.md`):** Added a zero-dependency Cloudflare Pages Function serving live adaptive light/dark SVGs at `/badge/npm-card.svg` and `/badge/npm-downloads.svg` backed directly by `api.npmjs.org` and `registry.npmjs.org` with edge caching, strict SVG presentation-attribute security invariants, degraded fallbacks, and reorganized `README.md`.

**Security & Hardening**

- **Closed `MTC-CAP-007` Arbitrary URL Schema Surface (`src/mcp/tool-catalog.ts`, `src/mcp/server.ts`, `catalog/mcp-schema-pin.json`):** Hardened `resolve_safe_anchor.repo_url` with a JSON Schema `pattern` (`^https://[A-Za-z0-9.-]+(?::[0-9]{1,5})?/[^\s?#]+$`) and `maxLength: 256` at both tool-schema advertisement and server runtime validation boundaries (holding `tools/list` at `1,643 <= 1,800` tokens), paired with negative schema/runtime regression tests in `tests/mcp-server.test.ts`.

### v1.6.0 — 2026-11-23

**Added**

- **Opt-In Self-Hosted Enterprise Streamable HTTP MCP Adapter (`src/mcp-http.ts` → `lib/mcp-http.mjs`, `src/mcp/http-auth.ts`, `src/mcp/http-server.ts`, `examples/mcp_config.http-remote.example.json`):** Added an isolated, fail-closed Streamable HTTP MCP (`2025-11-25`) adapter (`bin.coldpin-mcp-http`, POSIX `0100755`) keeping default `mcp_config.json` / `lib/mcp.mjs` local `stdio`-only with `$0/mo` maintainer cost. Enforces OAuth 2.1 + PKCE (`S256`) + RFC 9728 Protected Resource Metadata (`/.well-known/oauth-protected-resource` and path-inserted form) + RFC 8707 `aud` & scope (`403 insufficient_scope`) validation + pure Node 24 `RS256`/`ES256` JWKS verification (rejecting `alg: none` and `HS*`, with SSRF-guarded `fetchJwksJson()` consolidated inside `src/intel/registry-osv.ts`), constant-time SHA-256 `cpk_live_*` API keys (rejecting `<32`-char keys and unexpanded `${VAR}` placeholders), anti-DNS-rebinding `Host` + `Origin` allowlists, `1 MiB` request body cap (`413`), per-principal rate limiting (`429` + `Retry-After`), principal-bound cryptographic `Mcp-Session-Id` (`403` on cross-principal reuse, `DELETE /mcp` `204`), and Cloud Run `google_credentials` config template.
- **Zero-Dependency Inline MCP App (`ui://coldpin/evidence-card.html`, `src/mcp/evidence-card-app.ts`):** Added a self-contained `text/html;profile=mcp-app` SEP-1865 (`2026-01-26`) JSON-RPC `postMessage` evidence card UI linked via `_meta.ui.resourceUri` on `inspect_package_artifact`, `resolve_safe_anchor`, `verify_confusion`, and `audit_manifest_batch`, with `io.modelcontextprotocol/ui` initialize negotiation, default-deny CSP (`csp: {}`, `default-src 'none'`), strict `createElement`/`textContent` DOM rendering (zero `innerHTML`, `eval`, or external URLs), Antigravity `--color-*` host theme variables, copy-only command button, and read-only `get_artifact_report` paging while holding `tools/list` at `1,628 <= 1,800` estimated tokens.
- **Disabled-by-Default Scheduled Weekly Audit Sidecar Template (`examples/sidecar.weekly-audit.example.json`):** Added an opt-in Antigravity automation template (`"builtin": "schedule"`, `"restart_policy": "always"`, `"workspace_arg"`) whose `agent_permissions.access_grants` are strictly limited to read-only Coldpin MCP tools (`audit_manifest_batch`, `verify_confusion`, `get_artifact_report`) with zero shell/write permissions and zero active `sidecars/` directory at plugin root.
- **Phase E Verification, Self-Audit Rules & README Badges (`tests/phase-e-http-and-app.test.ts`, `scripts/self_audit_skillspector.py`, `scripts/run_benchmarks.ts`, `README.md`):** Added deterministic live loopback OAuth/JWKS/API-key/HTTP/MCP-App/sidecar tests (`42/42` across `7` suites), 3 new mutation proofs (`mut-36`–`mut-38`, `38/38` total), SkillSpector rules `SS-16`–`SS-18` (`APPROVE`, `risk=16/100`, `0` blocking across `24` compiled ESM modules), and GitHub Light/Dark adaptive `mcprush.com` `score.svg` + `card.svg` badges.

**Fixed**

- **Actionable SARIF Code Scanning Output (`scripts/self_audit_skillspector.py`):** Updated `emit_sarif()` to emit only actionable findings (`blocks == True` or `MEDIUM`/`HIGH`/`CRITICAL`) into `dist/skillspector-self-audit.sarif` so GitHub Code Scanning avoids false-positive PR alerts on documented non-blocking `LOW` capabilities (which remain fully reported in `docs/verification/skill-inspector-self-audit.md`).
- **Docs Portal Minimum Antigravity Version Typo (`site/index.html`):** Restored `>= v1.5.13` (previously mistyped as `v1.5.23`) and synced release metadata, verification metrics, and verified `SHA256SUMS.txt` to `v1.6.0`.

### v1.5.2 — 2026-11-22

**Fixed**

- **npm CDN Propagation Guard & Idempotent MCP Registry Publishing (`.github/workflows/release.yml`):** Replaced bare `npm view` existence probes in `publish-npm` with cache-busting query-parameter checks so Cloudflare's bare-URL `max-age=300` negative `404` cache is never poisoned before `npm publish`, added a dedicated origin-propagation wait step in `publish-mcp-registry` verifying both `registry.npmjs.org` version metadata (`mcpName` match) and tarball readiness before calling `mcp-publisher`, and wrapped `./mcp-publisher publish` in bounded transient-error retries with live Official MCP Registry idempotency checks.

### v1.5.1 — 2026-11-22

**Added**

- **Standalone Documentation Portal (`site/` + `.github/workflows/pages.yml`):** Added a zero-dependency, 3-column static documentation portal deployed on Cloudflare Pages (`https://coldpin-docs.pages.dev/`) and GitHub Pages (`https://hynko431.github.io/Coldpin-npx-Safe-Finder/`) featuring a three-layer CSS design token system, strict zero-`'unsafe-inline'` CSP + edge HTTP security headers (`site/_headers` enforcing `frame-ancestors 'none'`, `connect-src 'none'`, HSTS, `X-Content-Type-Options: nosniff`, COOP/CORP, and Permissions-Policy), instant `Ctrl+K` / `/` keyboard search, an interactive `PreToolUse` Hook Policy Simulator, and a 4-state `Title + Info + Evidence` Verdict Card Explorer.

**Fixed**

- **Keyless npm OIDC Trusted Publishing & Release Automation (`.github/workflows/release.yml`):** Pinned verified commit SHAs for `actions/download-artifact` (`v4.3.0`) and `actions/attest-build-provenance` (`v4.2.2`), passed `--repo "$GH_REPO"` and idempotency checks to `gh release create`, removed the `actions/setup-node` `registry-url` placeholder token that conflicted with keyless npm OIDC Trusted Publishing, and bound `publish-npm` to the protected `npm-publish` GitHub Environment for end-to-end Sigstore provenance publishing.

### v1.5.0 — 2026-11-21

**Added**

- **Antigravity-Native Aspect-Aligned Vertical Slice (`rules/`, `agents/`, `skills/`, `hooks.json`, `src/hook.ts`):** Upgraded Coldpin to a complete 5-component Antigravity Marketplace plugin (`agy plugin validate --strict`: `agents: 7, hooks: 3, mcpServers: 1, rules: 3, skills: 3, findings: []`, minimum host `agy >= v1.5.13`, `$0/mo`, zero external dependencies):
- **Clean `rules/` → `catalog/` Separation & 2-Tier Markdown Rules:** Relocated detection JSON/YAML (`triage-rules.json`, `mcp-schema-pin.json`, `sigma/*.yml`) into `catalog/` and populated `rules/` strictly with 3 Antigravity Markdown rules (`rules/AGENTS.md <= 1,800` bytes with compact 6-aspect delegation routing table, `rules/coldpin-manifest-guard.md` with `trigger: glob`, and `rules/coldpin-incident-checklist.md` with `trigger: model_decision`), paired with isolated private per-agent rules in each `agents/coldpin-*.md` body.
- **7 Strictly Read-Only Aspect Agents (`agents/`):** Added primary orchestrator `coldpin-auditor` (`mainAgent: true`, `invoke_subagent`) plus 6 dedicated background aspect subagents (`coldpin-discoverer`, `coldpin-inspector`, `coldpin-manifest-auditor`, `coldpin-confusion-auditor`, `coldpin-forensics`, `coldpin-compliance`) enforcing `commandExecutionPolicy: "off"`, canonical `view_file` allowlists, zero shell/write/`define_subagent` tools, and `inheritCustomizations: false` on all 6 background subagents (`[PLG-15]`).
- **Modular Aspect Playbooks & Antigravity Slash Skills (`skills/`):** Added 5 modular aspect playbooks under `skills/coldpin/references/aspect-*.md` (`SHARED_GLOBS`, `18` files attested in `skills/coldpin/skill.oms.sig`) plus 2 Antigravity-only slash skills (`skills/coldpin-audit/SKILL.md` and `skills/coldpin-incident/SKILL.md`) scoped strictly to `HOST_GLOBS["antigravity"]` and attested in `catalog/plugin.oms.sig`.
- **Fail-Safe ES2020 `PreToolUse` Hook (`hooks.json` → `src/hook.ts` / `lib/hook.mjs`):** Added 3 default-enabled hook groups (`coldpin-npx-guard`, `coldpin-config-guard`, `coldpin-delegation-guard` on `define_subagent`) running a pure ES2020 linear-time multi-shell tokenizer & file-edit guard that emits strictly `allow`, `deny`, or `force_ask` (never auto-approval) and exits `0` in 100% of code paths.
- **Official Schema Compliance & Enterprise Private-Registry Overlay (`plugin.json`, `mcp_config.json`, `examples/mcp_config.private-registry.example.json`):** Aligned root `plugin.json` to `https://antigravity.google/schemas/v1/plugin.json` (`additionalProperties: false`, zero root `"category"`, `author.url`, tightened `122`-char description synced across Claude/Codex, `~10%` transparent SVG icon margin), set `timeoutSeconds: 300` and all 7 Coldpin MCP tools `"eager": true` (`1,563` tokens), added `COLDPIN_PRIVATE_SCOPES` / `COLDPIN_PRIVATE_REGISTRY_URL` / `COLDPIN_REGISTRY_TOKEN` with unanchored `/\$\{[A-Za-z0-9_]+\}/` placeholder rejection (`[PLG-09]`), and kept default `mcp_config.json` zero-variable instant-enabled (`$0/mo`).
- **14-Gate Verification & Dual DSSE Signing (`SS-08`, `SS-14`, `SS-15`, `mut-30`–`mut-35`, `catalog/plugin.oms.sig`):** Added `tests/antigravity-plugin-components.test.ts` (`39/39` tests), 6 new mutation proofs (`35/35` total), upgraded `lint_skill.py` (13-file parity), `verify_hygiene.py`, `self_audit_skillspector.py` (`SS-08`/`SS-12`/`SS-14`/`SS-15`), `sign_and_verify_skill.ts` (`skill.oms.sig` + `catalog/plugin.oms.sig`), and `pack_plugin.py` (`create_system=3`, `0100755` POSIX zip modes).

### v1.4.0 — 2026-11-21

**Added**

- **Deterministic Batch Dependency Screening (`audit_manifest_batch` / `audit-batch`):** Added a 7th local read-only MCP tool (`audit_manifest_batch`) and matching 6th CLI verb (`coldpin audit-batch [path/to/package.json] [--include-dev] [--limit 1..50] [--offline] [--json]`) screening up to `50` direct dependencies from a root-confined `package.json` locally at `$0/mo`. Performs private-scope routing, `allowed_orgs`/`denied_orgs` policy screening, 7-primitive slopsquat/typosquat checks, and route-separated batch OSV/OpenSSF `MAL-*`/KEV lookups (failing closed as `UNVERIFIABLE_OFFLINE` when offline or when OSV lookups fail or are suppressed for private scopes). MCP responses default to compact `<= 2,000`-byte (`<= 500`-token) summaries prioritizing `MALICIOUS_OR_BLOCKED` ahead of `FLAGGED_SUSPICIOUS`, with full flagged-item paging via `get_artifact_report`.
- **Node 24 + Node 26 Active LTS CI Matrix (`.github/workflows/ci.yml`):** Expanded CI verification from `2` to `4` matrix cells (`ubuntu-latest` + `windows-latest` × Node `24` LTS + Node `26` Active LTS) while keeping SARIF Code Scanning upload pinned to `ubuntu-latest` (Node `24`).
- **Expanded Verification & Mutation Proofs (`tests/mcp-server.test.ts`, `scripts/run_benchmarks.ts`):** Added end-to-end MCP + CLI `audit_manifest_batch` verification (`33/33` deterministic tests) and 2 new mutation proofs (`mut-28-batch-manifest-malicious-and-private-isolation`, `mut-29-batch-summary-token-cap` — `29/29` total) covering the 50-dependency cap, private-scope OSV non-leakage, `MAL-*`/KEV/typosquat/unconfigured-private flagging, and `<= 2,000`-byte MCP summary enforcement.

### v1.3.0 — 2026-11-20

**Added**

- **Zero-Dependency Local `stdio` MCP Server (`src/mcp/`, `src/mcp.ts`, `lib/mcp.mjs`):** Implemented a local-first JSON-RPC 2.0 `stdio` MCP server (`MCP 2025-11-25`, `2025-06-18`, `2025-03-26`) with byte-buffered LF/CRLF framing (`1 MiB` cap), `stdout` hijack guard, `drain` backpressure, 3-tier workspace root confinement (`COLDPIN_ALLOWED_ROOTS` + `roots/list`), operator-only control plane, bounded concurrency semaphore (`maxConcurrent=4`, `maxQueue=16`), `notifications/cancelled` support, session-only bounded LRU report paging (`25` entries / `30m` TTL / `15 MiB` cap, zero verdict persistence to SQLite), `6` read-only tools (`discover_packages`, `inspect_package_artifact`, `resolve_safe_anchor`, `verify_confusion`, `audit_verify`, `get_artifact_report`), `2` resources, `2` prompts, compact `<= 6 KiB` default summaries, `48 KiB` REA `resource_constraint` cap, and `coldpin mcp` early CLI dispatch.
- **Pure-Core Extraction & Deterministic Compiled Runtime (`src/core/{path-confinement,workflows}.ts`, `scripts/build_lib.ts`, `lib/**/*.mjs`):** Extracted all 5 workflows into pure async modules with zero `stdout`/`stderr` writes and compiled deterministic LF ESM modules under `lib/` via Node 24's built-in `stripTypeScriptTypes` + `node --check`, fixing `ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING` under `node_modules/` (`bin: { coldpin: ./lib/cli.mjs, coldpin-mcp: ./lib/mcp.mjs }`).
- **Multi-Marketplace & Antigravity Packaging (`skills/coldpin/`, `mcp_config.json`, `server.json`, `.claude-plugin/plugin.json`):** Migrated canonical skill directory from `skill-src/coldpin/` to `skills/coldpin/` (retaining synced `.agents/skills/coldpin/`), added root `mcp_config.json` (`${PLUGIN_DATA}` cache isolation) and Official MCP Registry `server.json` (`2025-12-11` schema + `package.json` `mcpName`), inlined Claude Code `mcpServers` in `.claude-plugin/plugin.json`, resized icons to `128x128`, updated repository URLs to `https://github.com/hynko431/Coldpin-npx-Safe-Finder`, and added `rules/mcp-schema-pin.json` rug-pull pinning.
- **Keyless Release Automation (`.github/workflows/release.yml`):** Hardened with top-level `permissions: {}`, job-scoped permissions, dry-run `outputs.release_tag != ''` guards, SHA-pinned `actions/attest-build-provenance`, keyless npm OIDC Trusted Publishing (`npm >= 11.5.1`, zero static tokens), and Cosign-verified `mcp-publisher` publishing to the Official MCP Registry.

**Security & Hardening**

- **Closed `.npmrc` Arbitrary Env-Var Exfil, Prefix Confusion & Plaintext Bearer (`[MCP-09]`):** Restricted `:_authToken` parsing in `src/config/policy.ts` strictly to `$HOME/.npmrc` or operator-pinned config (never untrusted workspace `.npmrc`), enforced exact host/`/`-segment matching in `resolveAuthTokenForUrl()`, and enforced `protocol === "https:"` before attaching `Authorization: Bearer` in `src/intel/registry-osv.ts`.
- **Closed Git Redirect SSRF, Full Env Spread, Plaintext Auto-Allow & Raw OSV Fetch (`[MCP-09]`):** Added `-c http.followRedirects=false`, `GIT_CONFIG_GLOBAL=/dev/null`, minimal allowlisted Git env, binary-safe async `promisify(execFile)` (`encoding: "buffer"` in `runGitBuffer`), and active temp-dir shutdown cleanup in `src/analysis/parity-and-bisect.ts`; stopped auto-allowing arbitrary `http://` origins in `fetchJsonWithTimeout`, routed OSV POST through `fetchWithSafeRedirects`, added pre-flight `dns.lookup` IP classification (blocking loopback, IMDS, RFC1918, ULA, CGNAT `100.64.0.0/10`, `0.0.0.0/8`), and added streaming byte caps before `JSON.parse` (`[MCP-06]`).
- **Closed Offline Git Clone Bypass, Unscreened Discovery Fields, Cache Bleed & `/tmp` SQLite Race (`[MCP-03]`, `[MCP-04]`, `[MCP-05]`, `[MCP-13]`):** Blocked remote `git clone` when `offline_mode === true`; screened `query`, `org`, `creator`, and `category` for private scopes, `scope:` qualifiers, and secret-shaped strings; gated `verify_confusion.check_public` behind `COLDPIN_ALLOW_PUBLIC_CONFUSION_PROBE=1`; rejected `?`/`#`/userinfo/`>256` in `validateRemoteGitUrl`; namespaced both `osv:npm:...` and `osv-vuln:${vid}` (`osvDetailFlight`) with `sha256(osvBaseUrl)`; dropped shared `tmpdir()/coldpin/` SQLite fallback in favor of direct `:memory:` with `0700`/`0600` POSIX permissions; bounded lockfile reads (`25 MiB` + `isFile()`) and single-FD `openReadCappedFile()` reads; redacted attacker-injected audit keys; and registered MCP audit attribution fields across `AuditEvent`, `ALLOWED_AUDIT_KEYS`, and `canonicalAuditPayload()`.
- **Expanded Self-Audit & Verification Gates (`scripts/self_audit_skillspector.py`, `scripts/lint_skill.py`, `tests/mcp-server.test.ts`):** Added import-aware `SS-03` (zero FP on `RegExp.exec()`/`db.exec()`, blocking `execFileSync(`), `SS-11` MCP schema pin & stdio-only/pure-core guards, structured JSON `SS-12` MCP config audit, zero-noise `SS-13` `src/`↔`lib/` parity, `24,000`-byte `SKILL.md` budget, and `10`-manifest parity.

### v1.2.1 — 2026-11-20

**Fixed**

- **Lexical Block/Function Taint Scoping & Benign `envAliases` Filtering (`src/analysis/static-triage.ts`):** Replaced the flat file-wide `taintedVars`/`envAliases`/`processAliases`/`stringVars`/`sinkAliases`/`wrapperSinks` tables with a lexical scope stack (handling `{ ... }` blocks, named/anonymous/method/esbuild string-keyed `__commonJS`/`__esm` function bodies, chained expression-body arrows, block-body function/arrow parameter shadowing, braced and braceless `for (...)` headers, `catch (e)` bindings, per-scope declaration lists, object/array destructuring defaults & multi-entry RHS literals, unconditional-only clean-redeclaration/reassignment kill preventing braceless/short-circuit taint laundering, and scope-bounded wrapper sinks) while preserving 100% recall on closure-captured outer-scope taint, `try`-block outer reassignments, wrapper sinks, and cross-file/barrel re-exports. Unified taint evaluation (`getTaintAt`) ignores object-literal property keys (`{ env: "prod" }`), distinguishes dynamic `process.env[k]` reads from whole-`env` aliases, and checks `BENIGN_ENV_VARS` (including `NODE_DEBUG`, `npm_package_name`, `npm_lifecycle_script`, `TERM_PROGRAM`, `CLICOLOR`, and standard CI/terminal presence flags) and whole-`env` guards before falling back to identifier taint, eliminating bundled-parser false positives such as `prettier@3.5.3` `importFromFile` emitting `CRITICAL: TAINT_CRED_TO_NETWORK_OR_EXEC`.
- **Non-Regex Unicode RegExp Tolerance & Escape-Density Calibration (`src/analysis/static-triage.ts`):** Updated `lexJavaScriptWithStats` to disambiguate regex literals vs. division after `++`/`--`, member-property keywords (`obj.return / 2`), control headers (`if (s) /[\u0100-...]/`), and statement blocks, handle ECMAScript leading-zero `\u{0000...}` codepoint escapes, and exclude comments and regex literals from both Shannon entropy (`> 5.85` on `nonRegexCodeLen > 800`) and hex/unicode escape counting (`escapeMatches > 60 && (escapeMatches * 6) / nonRegexCodeLen >= 0.06`, plus `_0x` identifier obfuscators `>= 12`), eliminating `HIGH_ENTROPY_OBFUSCATION` false positives on legitimate Unicode character-class RegExp parser tables while catching dense `\xHH`/`\uHHHH` obfuscated string/identifier payloads (including comment-padded payloads).

**Added**

- **CLI `--version` / `-V` Flag (`src/cli.ts`, `README.md`):** Added `--version` and `-V` flags printing `coldpin v${ENGINE_VERSION}` with exit code `0`, documented them in `--help`, and updated the Quickstart clean inspection example in `README.md` to `semver@7.7.1`.
- **Expanded Regression & Corpus Verification (`tests/hardening-and-packaging.test.ts`, `tests/benchmark-corpus.ts`, `scripts/run_benchmarks.ts`):** Expanded to `28/28` deterministic tests, a 49-fixture security corpus (21 benign + 28 adversarial/fail-closed), and 18 mutation proofs covering esbuild-style bundled scoping, closure-captured taint, parameter shadowing, clean re-declaration, Unicode RegExp parser bundles vs. dense hex/unicode obfuscation, and CLI `--version`/`-V`.

### v1.2.0 — 2026-11-20

**Security & Hardening**

- **Closed Round 2 Static Triage Evasion Vectors & Benign False Positives (`src/analysis/static-triage.ts`):** Added ASI/semicolon-free and optional-chaining (`?.`) parsing, indirect `(0, eval/Function/sink)()`, `.call()`/`.apply()`/`.bind()`, `Function.prototype.constructor`, `Reflect.get/apply/construct`, `createRequire`, aliased ESM/CJS network/DNS/`child_process`/`vm` sinks, computed and `data:`/HTTP(S) dynamic `import()` (sparing class/object `import()` method definitions), `["a","b"].join("")`/`.reverse().join("")`/`.split("").reverse().join("")` and variable-concatenation folding, `globalThis.process.env`, bounded 6-hop transforming helper wrappers, bidirectional cross-file and barrel re-export taint chains, `path.join` credential paths, manifest `bin` shell-injection protection (`MANIFEST_SHELL_INJECTION_META`), and benign false-positive guards for array literals (`["eval"]`) and `RegExp` variable `.exec()`.
- **Strict npm SLSA Provenance Epistemic Boundary (`src/intel/registry-osv.ts`, `src/analysis/parity-and-bisect.ts`, `src/verdict/engine-and-formatters.ts`, `src/cli.ts`):** Explicitly distinguished unverified `dist.attestations.url` metadata (`PROVENANCE_METADATA_UNVERIFIED`) and locally verified leaf-cert DSSE + subject SHA-512 bundles (`PROVENANCE_UNANCHORED_DSSE`) from full Sigstore Fulcio/Rekor trust-root verification (`PROVENANCE_ATTESTED`); enforced strict npm PURL package and version binding (rejecting missing or non-PURL subject names), private-scope off-origin `dist.attestations.url` suppression, `require_provenance: true` fail-closed enforcement in both `inspect` and `resolve-anchor`, early-return `provenance_status` preservation in `verifyTarballVsGitParity`, and `CRITICAL` blocking of tampered SLSA subject digests or invalid DSSE signatures (`PROVENANCE_DIGEST_MISMATCH`, `PROVENANCE_DSSE_SIGNATURE_INVALID`).
- **Archive, Network, Audit & Bisect Hardening (`src/quarantine/safe-unpack.ts`, `src/intel/registry-osv.ts`, `src/analysis/parity-and-bisect.ts`, `src/compliance/audit-log.ts`, `src/cli.ts`):** Added tar EOF single-zero-block polyglot smuggling detection (`ARCHIVE_EOF_POLYGLOT_SMUGGLING`), malformed PAX and GNU `K` LongLink rejection, IPv4-mapped IPv6 SSRF blocking, `audit.jsonl` extra-field tamper detection, nested `package-lock.json` and Yarn Berry lockfile containment, KEV-on-HEAD and bounded non-monotonic bisect lookbehind, strict CLI flag parsing, `coldpin:provenance-status` CycloneDX VEX property, and Windows Node 24 libuv/SQLite clean shutdown handling.

**Verification, Code Hygiene & Packaging**

- **Expanded Deterministic Verification Suite (`tests/hardening-and-packaging.test.ts`, `tests/benchmark-corpus.ts`, `scripts/run_benchmarks.ts`):** Expanded to `27/27` tests, a 45-fixture corpus (19 benign + 26 adversarial/fail-closed), 16 real mutation proofs, local mocked HTTP CLI E2E tests (including signed and tampered SLSA attestation endpoints), negative packager link/anchor/icon tests, and `BENCHMARK.md` dataset-digest freshness validation (including `tests/benchmark-corpus.ts`).
- **Heading Anchor & Asset Link Verification (`scripts/verify_hygiene.py`, `scripts/pack_plugin.py`):** Added automated `#heading-anchor`, HTML `href`/`src`, and YAML asset validation across repository documentation and packaged multi-host archives.
- **Dynamic Version Sourcing, LF Determinism & Publish Allowlist (`src/analysis/static-triage.ts`, `scripts/self_audit_skillspector.py`, `scripts/lint_skill.py`, `package.json`):** Sourced `FALLBACK_RULESET_SPEC.version` and `computeRulesetSha256()` dynamically from `ENGINE_VERSION`, read SkillSpector self-audit SARIF version from root `plugin.json` with explicit LF (`newline="\n"`) writes to prevent Windows CRLF drift, added `skills/coldpin/skill-card.md` version parity validation in `scripts/lint_skill.py`, and added an explicit `package.json` `"files"` allowlist excluding tests, caches, `.github/`, and audit logs.

**GitHub CI, Release & Governance Infrastructure**

- **Cross-Platform CI Matrix (`.github/workflows/ci.yml`):** Added `workflow_dispatch` and cross-platform verification (`ubuntu-latest` and `windows-latest`, `fail-fast: false`) running `npm run verify:all` with commit-SHA-pinned actions and Ubuntu SARIF upload.
- **Tag-Driven Release Automation (`.github/workflows/release.yml`):** Added `v*` tag and manual dispatch release workflow running `npm run verify:all`, generating `dist/SHA256SUMS.txt` over the three reproducible host bundles and self-audit SARIF, and publishing GitHub Releases via built-in `gh release create`.
- **Repository Governance (`.github/`):** Added `.github/dependabot.yml` (weekly `github-actions` updates), `.github/CODEOWNERS`, `.github/PULL_REQUEST_TEMPLATE.md`, and `.github/ISSUE_TEMPLATE/` (`config.yml`, `bug_report.yml`, and defensive-only `detection_gap.yml`).

### v1.1.0 — 2026-11-19

**Branding & Naming**

- **Renamed to Coldpin (`coldpin`):** Updated package, CLI binary (`coldpin`), multi-harness plugin manifests, canonical skill directory (`skill-src/coldpin/`), SARIF/CycloneDX tool metadata, SVG header, and documentation. Canonical policy file is now `.coldpin.policy.json` (with automatic backward-compatible fallback to `.npx-guard.policy.json`).

**Security & Hardening**

- **Closed 8 Static Triage Evasion Vectors (`src/analysis/static-triage.ts`):** Added template-literal `${...}` expression lexing, `\uXXXX`/`\u{...}` Unicode escape decoding, regex-literal lexing (preventing `//` comment truncation), multi-hop intraprocedural taint propagation, receiver-aware network/DNS sinks (`dns.lookup`, `https.get`, `axios.post`, `net.connect`), `process["env"]` and `{ ...process.env }` / `Object.assign` detection, direct `child_process` dangerous command execution (`CHILD_PROCESS_DANGEROUS_EXEC`), `_0x` hex-identifier obfuscators, `String.fromCharCode` chains, and hex-encoded payload decoding.
- **Hardened Git Forensics & Tarball-Only Compromise Defense (`src/analysis/parity-and-bisect.ts`):** Disabled `.git/config` execution hooks (`core.fsmonitor=false`, `core.hooksPath=/dev/null`, `protocol.allow=never`, `diff.external=`), enforced strict `https://` remote URL validation (`CWE-88` argument-injection & SSRF defense), validated `gitHead`/`subdir`, preserved local Git drift checks even when `provenanceAttested=true`, and prevented tarball-only compromises with clean Git `HEAD` from emitting `USE_PINNED_LATEST`.
- **Hardened Archive & Network Boundaries (`src/quarantine/safe-unpack.ts`, `src/intel/registry-osv.ts`, `src/config/policy.ts`):** Added POSIX tar header checksum validation (`ARCHIVE_CORRUPT_HEADER_CHECKSUM`), byte-accurate POSIX PAX (`g` vs `x`, `size`, `linkpath` rejection), Windows illegal-character filtering, SSRF metadata-IP blocking, manual cross-origin redirect handling that strips private registry `Authorization` bearer tokens (`CWE-200`), multi-token private-scope query screening (`routeDiscoveryQuery`), and mixed-case `private_registries` normalization.
- **Enterprise Concurrency, Caching, Compliance & Observability (`src/cache/sqlite-store.ts`, `src/compliance/audit-log.ts`, `src/verdict/engine-and-formatters.ts`, `src/cli.ts`):** Added `SingleFlight` producer-once dedup, wired Split-Plane SQLite fact caching into `inspect`, added atomic lockfile serialization around `audit.jsonl` appends, added `--verbose` structured operational JSON logs on `stderr` and `--override-ticket`, upgraded CycloneDX 1.5 output with `serialNumber`/`dependencies[]`/VEX `vulnerabilities[]`, expanded local compromise detection to `pnpm-lock.yaml` & `yarn.lock`, added structured `rea_escalation_plan`, and wired OSV release/dep checks + alternative discovery into `resolve-anchor`.

**Governance & Reference-Repo Parity**

- **Google EGM Packaging Parity (`scripts/pack_plugin.py`, `assets/icon.svg`):** Added root `assets/icon.svg`, unified `skills/coldpin/` layout across all three host bundles (`antigravity`, `claude`, `openai`), added automated packaged-archive manifest & relative Markdown link verification, added `--no-overwrite` refusal, removed legacy stale bundle zip, and added `SECURITY.md`, `CONTRIBUTING.md`, and `ACCESSIBILITY.md`.
- **Detection-as-Code & Self-Audit Rigor (`rules/triage-rules.json`, `rules/sigma/npx-suspicious-child-process-linux.yml`, `scripts/self_audit_skillspector.py`):** Added formal rule registry manifest, Linux/macOS CI Sigma rule, enterprise `.coldpin.policy.example.json` / `.npmrc.example`, and removed whole-file skips from SkillSpector self-audit with dynamic `fetch`/`execFileSync` line verification.
- **Expanded Verification (`tests/hardening-and-packaging.test.ts`, `tests/benchmark-corpus.ts`, `scripts/run_benchmarks.ts`):** Expanded corpus to 30 fixtures (15 benign + 15 adversarial), 8 real mutation proofs, warm-vs-cold cache effectiveness checks, and `BENCHMARK.md` dataset-digest freshness validation.

### v1.0.0 — 2026-11-19

**Added**

- **Zero-Dependency Node 24 CLI (`src/cli.ts`)** implementing 5 canonical verbs (`discover`, `inspect`, `resolve-anchor`, `verify-confusion`, `audit-verify`) with exit codes `0 / 1 / 2 / 3`.
- **In-Memory Zero-Execution Tarball Quarantine (`src/quarantine/safe-unpack.ts`):** Streaming `node:zlib` byte-cap transform, SHA-512 verification, POSIX/PAX/GNU header parsing, Zip-Slip/symlink/hardlink/duplicate-entry/NTFS-ADS/Windows-reserved/case-collision rejection.
- **Deterministic JS/TS Lexical Taint & Hidden-Unicode Engine (`src/analysis/static-triage.ts`):** Single-pass $O(n)$ lexer, constant string folding, Base64 payload decoding, intraprocedural credential-to-network/exec taint, benign env allowlist, hidden/bidi Unicode & prompt-injection detection, native/WASM magic detection, and defanged IOC extraction.
- **3-Tier Tarball-vs-Git Parity & Patient-Zero Commit Bisect (`src/analysis/parity-and-bisect.ts`):** Provenance-first parity, manifest/hook parity, compiled `dist/` tolerance, `git diff-tree --root --first-parent`, full-tree blob-cached walk via Split-Plane SQLite (`WAL` + `busy_timeout`), and CVE/KEV dual-gate rollback.
- **Private-Scope Isolation & 7-Primitive Squat Shield (`src/config/policy.ts`, `src/discovery/slopsquat-guard.ts`, `src/intel/registry-osv.ts`):** `.npmrc` + `.coldpin.policy.json` private-first router, 1-edit/transposition typo block, and `verify-confusion` (`T1195.001`).
- **Enterprise Output Formats (`src/verdict/engine-and-formatters.ts`, `src/compliance/audit-log.ts`):** Sanitized `Title + Info + Evidence` Markdown cards, canonical JSON, SARIF 2.1.0, CycloneDX 1.5 SBOM, local workspace `package-lock.json` containment cards, and local hash-chained `audit.jsonl`.
- **Multi-Harness Enterprise Skill Package & Governance Suite:** Google EGM docs/manifests/reproducible packager, NVIDIA Auto-Ontology `runtime-contract.yaml`/`skill-card.md`/`BENCHMARK.md`/`skill.oms.sig`, NVIDIA SkillSpector self-audit (`scripts/self_audit_skillspector.py`), Enterprise Commons hygiene/staleness/Fact Ledger, and companion SOC Sigma rule.

---

*Coldpin v1.6.2 (Apache-2.0). Static triage does not replace runtime isolation or human judgment.*
