
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@hookwarden/canonical-json
Advanced tools
In-house RFC 8785 JSON Canonicalization Scheme (JCS) encoder. Zero runtime dependencies, pure ECMAScript, no Node built-ins. The byte-equality anchor for hookwarden's audit-log signing + evidence-pack verification — vendorable into cross-language auditor
An in-house RFC 8785 JSON Canonicalization Scheme (JCS) encoder. Zero runtime dependencies. Pure ECMAScript, no Node built-ins — vendorable into auditor tooling.
Hookwarden's audit log signs canonical bytes (Phase 7) and exports
evidence packs (Phase 12) that auditors verify with non-JS tooling
(Python cryptography, Go crypto/ecdsa, Java). The encoding MUST
be deterministic and cross-language re-derivable. JCS (RFC 8785) is
the only ratified standard meeting that bar. JSON.stringify does
not — its key order is engine-defined and it silently coerces NaN/
Infinity to "null".
The reference implementation @cyberphone/json-canonicalization is
unmaintained since 2020, so we re-implement in-house with a
property-based test against the RFC §B vectors (decision D-06).
import { canonicalize } from "@hookwarden/canonical-json";
canonicalize({ b: 1, a: 2 }); // '{"a":2,"b":1}'
canonicalize([1, 2, 3]); // '[1,2,3]'
canonicalize(1e21); // '1e+21'
canonicalize(NaN); // throws RangeError
canonicalize(undefined); // throws TypeError
The function throws on values JSON cannot represent (NaN, ±Infinity, bigint, symbol, undefined, function) rather than silently coercing. This is the D-06 correctness invariant that makes evidence packs cross-language verifiable.
FAQs
In-house RFC 8785 JSON Canonicalization Scheme (JCS) encoder. Zero runtime dependencies, pure ECMAScript, no Node built-ins. The byte-equality anchor for hookwarden's audit-log signing + evidence-pack verification — vendorable into cross-language auditor
The npm package @hookwarden/canonical-json receives a total of 30 weekly downloads. As such, @hookwarden/canonical-json popularity was classified as not popular.
We found that @hookwarden/canonical-json demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.