@blamejs/core 0.17.10 → 0.17.12
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 +4 -0
- package/NOTICE +1 -1
- package/lib/asn1-der.js +12 -0
- package/lib/auth/oauth.js +60 -13
- package/lib/vendor/MANIFEST.json +11 -11
- package/lib/vendor/public-suffix-list.dat +7 -36
- package/lib/vendor/public-suffix-list.data.js +5439 -5453
- package/package.json +1 -1
- package/sbom.cdx.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,10 @@ upgrading across more than a few patches at a time.
|
|
|
8
8
|
|
|
9
9
|
## v0.17.x
|
|
10
10
|
|
|
11
|
+
- v0.17.12 (2026-07-22) — **The vendored Public Suffix List is refreshed to the current upstream snapshot.** The vendored Mozilla Public Suffix List is updated to the current upstream build, so organizational-domain derivation for DMARC identifier alignment, BIMI issuer scoping, cookie-scope confinement, and same-site policy reflects the current registry delegations. The data module is regenerated and re-signed across all four integrity layers, the manifest hashes are refreshed, and the NOTICE attribution date is updated. **Security:** *Public Suffix List refreshed to the current upstream snapshot* — The vendored Mozilla Public Suffix List is updated to the current upstream snapshot, so organizational-domain derivation reflects the current registry delegations everywhere the framework draws a registrable-domain boundary -- DMARC identifier alignment, BIMI issuer scoping, cookie-scope confinement, and same-site policy. The precise upstream commit and version are recorded in the signed data file and the vendor manifest. The .data.js carrier is regenerated and re-signed across all four integrity layers (SHA-256 + SHA3-512 + SLH-DSA-SHAKE-256f signature + in-payload canary), the manifest hashes are refreshed, and the NOTICE attribution date is updated.
|
|
12
|
+
|
|
13
|
+
- v0.17.11 (2026-07-17) — **The DER decoder rejects a non-minimal length encoding, and the OAuth client-attestation verifier pins the JWT type so a JWT minted for another purpose can't be replayed into the attestation slot.** The shared ASN.1 DER decoder accepted a non-minimal long-form length encoding (a long form used for a value that fits the short form, or a length carrying a leading-zero octet), a BER/DER parser-differential an attacker could use to smuggle an alternate encoding of a certificate, CMS structure, or OCSP response past the strict decoder. And the OAuth client-attestation verifier did not pin the JOSE type header of the attestation and proof-of-possession JWTs, so a JWT minted for another purpose but signed by the same key could be replayed into the attestation slot. **Security:** *DER decoder rejects a non-minimal length encoding* — b.asn1Der is the shared DER reader every certificate, CMS, and OCSP parse in the framework routes through. X.690 §10.1 requires the minimum number of length octets: the long form may be used only for lengths of 128 or more, and must carry no leading-zero octet. The decoder accepted both non-minimal forms -- a long-form length for a value that fits the short form, and a long-form length with a leading zero -- which is a BER/DER parser-differential an attacker can use to encode the same structure two ways and slip an alternate encoding past a strict verifier that canonicalizes differently. The decoder already refused every other BER-ism it encounters (indefinite-length, non-minimal OID sub-identifiers, non-minimal high-tag-number tags); it now also refuses a non-minimal length, closing the remaining differential. · *OAuth client-attestation verifier pins the JWT type* — b.auth.oauth's attestation-based client authentication (draft-ietf-oauth-attestation-based-client-auth) verifies two JWTs -- the client-attestation JWT and its proof-of-possession JWT -- each of which carries a REQUIRED, distinct JOSE type header (oauth-client-attestation+jwt and oauth-client-attestation-pop+jwt). The verifier checked the signature and claims but not the type header, so a JWT minted for a different purpose but signed by the same key -- a private_key_jwt client assertion, or the other proof-of-possession JWT -- could be replayed into the attestation or PoP slot (the cross-JWT confused-deputy class RFC 8725 §3.11 explicit typing defends against). The verifier now pins the expected type for each slot, and the builders emit the same literals so a produced and a checked type can never drift; the framework's DPoP and back-channel-logout JWT verifiers already pin their type, and the attestation verifier now matches.
|
|
14
|
+
|
|
11
15
|
- v0.17.10 (2026-07-17) — **A CIDR-scoped SMTP relay allowlist is now actually enforced instead of relaying for the whole internet, EU AI-Act social scoring is flagged prohibited for any actor rather than only public authorities, and the X-Wing hybrid KEM stays uniform implicit-rejection on a low-order X25519 point.** The mail server's relay authorization discarded its arguments and returned allowed for every connecting peer whenever an operator configured any relayAllowedFor entry, so a per-CIDR relay allowlist -- intended to scope relay to registered sources -- turned the server into an open relay for the entire internet. The EU AI-Act prohibited-practice classifier gated social scoring on the deployer being a public authority, a limitation that was in the 2021 Commission proposal but dropped from the adopted Regulation (EU) 2024/1689, so a private-actor social-scoring system was under-classified as not-prohibited. The GDPR record-of-processing updater validated a legal-basis change with a truthiness guard, so a falsy-but-invalid value skipped the enum check and could corrupt a required Article 30 field. And the X-Wing hybrid post-quantum KEM threw a raw derivation error on a low-order X25519 point instead of the uniform implicit-rejection its contract and the draft specification require, exposing a decapsulation-oracle distinguisher and a crash for any consumer following the documented no-try/catch advice. **Security:** *SMTP relay allowlist enforces its per-entry CIDR instead of relaying for everyone* — b.mail.server.mx accepts a relayAllowedFor allowlist of { cidr, scope } entries, documented as scoping relay to registered source ranges over the default MX-only, no-relay posture. The relay-authorization check discarded both the peer address and recipient and simply returned allowed whenever the allowlist was non-empty, so an operator restricting relay to, for example, 10.0.0.0/8 actually granted relay to every peer on the internet -- an open relay, directly contradicting the module's advertised open-relay defense. The check now admits relay only when the connecting peer's source address falls inside one of the allowlisted ranges (using the same range arithmetic the HTTP network-allowlist fence uses); a peer outside every range is refused. Each relayAllowedFor entry's cidr is now validated at startup -- a mask is required so a bare IP cannot silently disable an entry, private and reserved ranges are allowed since relay allowlists legitimately name them, and a malformed entry throws at boot rather than mis-scoping relay. · *AI-Act classifier flags social scoring by any actor as prohibited* — b.compliance.aiAct's prohibited-practice classifier implements EU AI-Act Article 5. Its social-scoring gate (Art. 5(1)(c)) required both the purpose to be social scoring and the deployer to be a public authority before flagging the practice as prohibited. The "by public authorities or on their behalf" limitation existed in the 2021 Commission proposal but was removed from the adopted Regulation (EU) 2024/1689, which prohibits social scoring by any actor. A private-actor social-scoring system was therefore under-classified as not-prohibited. The classifier now flags social scoring on the purpose alone, matching the adopted text; the other Article 5 gates (predictive policing based solely on profiling, untargeted facial-recognition scraping, emotion inference in the workplace/education outside medical/safety uses) correctly retain the conjuncts that are part of their statutory definitions rather than over-broad limitations. · *GDPR record-of-processing rejects a falsy-but-invalid legal basis on update* — b.gdpr.ropa records the Article 30 register of processing activities, whose legalBasis field is constrained to the six Article 6(1) bases. register validates the basis against the allowlist, but update validated a legal-basis change with a truthiness guard, so a falsy-but-invalid value (an empty string, and similar) short-circuited past the enum check and was written into the record -- silently corrupting a required Article 30 field. The updater now validates whenever the patch touches legalBasis, keyed on the field being present rather than truthy, so an invalid value is rejected with the same rigor register applies and a genuine change to a valid basis still succeeds. · *X-Wing hybrid KEM stays uniform implicit-rejection on a low-order X25519 point* — b.crypto.xwing implements the X-Wing hybrid post-quantum KEM (ML-KEM-768 combined with X25519), whose contract and the draft-connolly-cfrg-xwing-kem specification require decapsulation to be uniform implicit-rejection: a tampered ciphertext yields a different secret, never an error, so a consumer must not branch on success. But a hostile low-order X25519 point in the ciphertext (or in the recipient's X25519 public half) drove the X25519 derivation to an all-zero shared secret, which the underlying library aborts with a raw derivation error rather than returning the value RFC 7748 X25519 (without the optional abort) yields. That exposed a decapsulation-oracle distinguisher (a low-order point throws while every other ciphertext returns a secret) and a crash for any caller following the documented advice not to wrap decapsulation in a try/catch. The shared X25519 step now translates that abort back into the all-zero shared secret, restoring uniform implicit-rejection; the combiner still binds the X25519 ciphertext and public key and the ML-KEM-768 leg still protects the result, so the hybrid's secure-if-either-holds guarantee is unchanged.
|
|
12
16
|
|
|
13
17
|
- v0.17.9 (2026-07-17) — **A prototype-member regime name no longer voids a breach-notification clock into reporting a missed deadline as met, a planted plaintext file can no longer stand in for the sealed keyed-hash MAC key, and content-safety sanitization recomputes the integrity descriptor over the bytes actually delivered.** The incident-report deadline clock resolved its per-regime statutory table by a plain-object lookup with no own-property check, so a regime name equal to an inherited object member (valueOf, toString, constructor) resolved to a prototype function instead of the default deadlines -- every due-by became NaN, and a notification filed long past a statutory wall was recorded on-time, reporting a missed regulatory deadline as met. The retention posture-floor lookup had the same defect. The vault's keyed-hash MAC key reader trusted the vault's documented pass-through of a non-sealed value, so a plaintext file substituted on disk was accepted as the secret MAC key without the vault passphrase. And the static file server and the upload finalizer both replaced the served/stored payload when a content-safety gate sanitized it but kept advertising the ORIGINAL bytes' ETag/SRI (static) and sha3/size descriptor (upload), so a client validating the integrity of the delivered body -- or an operator storing the reported hash as the dedup/integrity key -- got a digest that did not match what was actually delivered. **Security:** *Breach-notification and retention lookups reject a prototype-member name* — b.incident.report's deadline clock resolves the statutory deadline set for an incident's regime (GDPR 72h, NIS2 24h, DORA 4h initial, HIPAA 60 days, ...) by indexing a per-regime table with the operator-supplied regime string. The lookup used a truthiness check with no own-property guard, so a regime equal to an inherited object member -- valueOf, toString, constructor, hasOwnProperty -- resolved to the prototype function instead of falling back to the default deadlines. Every computed due-by then became NaN, and because a late comparison against NaN is never true, a notification filed long past the real statutory wall was recorded on-time (not late) and the clock's late count stayed zero -- a genuinely missed regulatory deadline reported to a regulator as met. b.retention's compliance-posture floor lookup (hipaa, pci-dss, gdpr, soc2) had the identical defect, resolving a prototype-member posture to an inherited function as the retention floor. Both now resolve the name through an own-property check, so a prototype-member name falls back to the default deadlines (incident-report) or is rejected as an unknown posture (retention); real regimes and postures are unaffected. · *Vault refuses a non-sealed file as the keyed-hash MAC key* — b.vault derives a keyed-hash MAC key (used by field-level encryption's keyed derived-hash mode to keep an attacker with disk access from correlating low-entropy plaintexts) and seals it at rest. The reader loaded the sealed file and called the vault's unseal, which by its documented idempotent-read contract returns any value lacking the vault seal prefix verbatim -- so a plaintext 32-byte value planted on disk passed straight through and was accepted as the MAC key. In wrapped-vault mode this let an attacker with disk-write access but no vault passphrase (and therefore unable to forge a genuine seal) inject a known MAC key, downgrading the keyed derived-hash to an attacker-known key. The reader now requires the on-disk value to actually be sealed (carry the vault prefix) before unsealing, refusing a substituted plaintext or otherwise-unsealed file -- the same load-bearing prefix check the database key loader and the key-rotation pipeline already apply to their sealed key material. · *Content-safety sanitization recomputes the served body's integrity descriptor* — When a content-safety gate returns a sanitize action it replaces the payload with the cleaned bytes. b.staticServe still emitted the strong ETag and subresource-integrity (SRI) header derived from the original file on disk, and b.fileUpload's finalizer still handed onFinalize (and recorded in the audit) the sha3 and size of the original assembled bytes -- so the integrity descriptor advertised for the delivered/stored bytes did not match them. A browser performing SRI verification of the sanitized static response would fail the check, a strong-validator or If-None-Match cache would be keyed to a representation the client never receives, and an operator storing the upload's reported sha3 as the integrity or dedup key of the stored (sanitized) file would record a hash that never matches it. Both now recompute the ETag/SRI (static) and the sha3/size descriptor (upload) over the bytes actually delivered whenever a gate sanitized the payload; an unsanitized response keeps the on-disk/reassembly digest, which already describes the delivered bytes.
|
package/NOTICE
CHANGED
|
@@ -90,7 +90,7 @@ Used for: Top-10000 most-common (breach-derived) passwords. Loaded by
|
|
|
90
90
|
baseline.
|
|
91
91
|
--------------------------------------------------------------------------------
|
|
92
92
|
Component: publicsuffix-list (Mozilla Public Suffix List)
|
|
93
|
-
Version: master snapshot (bundled 2026-07-
|
|
93
|
+
Version: master snapshot (bundled 2026-07-22)
|
|
94
94
|
Source: https://publicsuffix.org/list/public_suffix_list.dat
|
|
95
95
|
License: MPL-2.0
|
|
96
96
|
Copyright: Copyright (c) Mozilla Foundation and Public Suffix List contributors
|
package/lib/asn1-der.js
CHANGED
|
@@ -132,6 +132,18 @@ function readNode(buf, offset) {
|
|
|
132
132
|
for (var i = 0; i < lenOctets; i += 1) {
|
|
133
133
|
length = (length * 256) + buf[offset + headerLen + i]; // base-256 length bytes
|
|
134
134
|
}
|
|
135
|
+
// X.690 §10.1: DER requires the MINIMUM number of length octets. Long
|
|
136
|
+
// form is only permitted for lengths >= 128, and must carry no leading-
|
|
137
|
+
// zero octet — reject both non-minimal forms so an attacker-supplied
|
|
138
|
+
// certificate / CMS / OCSP response cannot smuggle a BER/DER parser-
|
|
139
|
+
// differential encoding through the shared walker. The decoder already
|
|
140
|
+
// refuses every other BER-ism (indefinite length, non-minimal OID
|
|
141
|
+
// subidentifiers, non-minimal high-tag-number tags); enforcing minimal
|
|
142
|
+
// lengths closes the remaining gap.
|
|
143
|
+
if (length < 128 || buf[offset + headerLen] === 0) { // X.690 §10.1 short-form boundary / no leading-zero octet
|
|
144
|
+
throw new Asn1Error("asn1/length-non-minimal",
|
|
145
|
+
"long-form length is not DER-minimal (length=" + length + ")");
|
|
146
|
+
}
|
|
135
147
|
headerLen += lenOctets;
|
|
136
148
|
}
|
|
137
149
|
|
package/lib/auth/oauth.js
CHANGED
|
@@ -512,6 +512,13 @@ var ATTESTATION_ALGS = Object.freeze([
|
|
|
512
512
|
"EdDSA",
|
|
513
513
|
]);
|
|
514
514
|
|
|
515
|
+
// draft-ietf-oauth-attestation-based-client-auth §4.1 / §5.1 — the REQUIRED,
|
|
516
|
+
// distinct `typ` header of each JWT. One literal per role, used by BOTH the
|
|
517
|
+
// builders (the value we emit) and the verifier (the value we pin) so the
|
|
518
|
+
// produced typ and the checked typ can never drift apart.
|
|
519
|
+
var ATTESTATION_JWT_TYP = "oauth-client-attestation+jwt";
|
|
520
|
+
var ATTESTATION_POP_JWT_TYP = "oauth-client-attestation-pop+jwt";
|
|
521
|
+
|
|
515
522
|
// Cap on an attestation / PoP JWT. HTTP-header-borne JWTs are small;
|
|
516
523
|
// 16 KiB refuses a pathological header without touching real tokens.
|
|
517
524
|
var MAX_ATTESTATION_JWT_BYTES = C.BYTES.kib(16);
|
|
@@ -582,7 +589,10 @@ function _signAttestationJws(header, payload, privateKey, alg) {
|
|
|
582
589
|
// Verify a compact JWS against an already-imported public KeyObject. The
|
|
583
590
|
// alg is read from the header but MUST equal expectedAlg AND match the
|
|
584
591
|
// key's kty (via the shared cross-check) — no alg-confusion window.
|
|
585
|
-
|
|
592
|
+
// `expectedTyp` (when supplied) pins the JOSE `typ` header so a JWT minted
|
|
593
|
+
// for another purpose but signed by the same key can't be replayed into the
|
|
594
|
+
// attestation / PoP slot.
|
|
595
|
+
function _verifyAttestationJws(jws, publicKeyJwk, label, expectedTyp) {
|
|
586
596
|
if (typeof jws !== "string" || jws.length === 0) {
|
|
587
597
|
throw new OAuthError("auth-oauth/attestation-malformed", label + ": JWT must be a non-empty string");
|
|
588
598
|
}
|
|
@@ -618,6 +628,18 @@ function _verifyAttestationJws(jws, publicKeyJwk, label) {
|
|
|
618
628
|
throw new OAuthError("auth-oauth/attestation-crit-not-supported",
|
|
619
629
|
label + ": JWS 'crit' header is not supported (RFC 7515 §4.1.11)");
|
|
620
630
|
}
|
|
631
|
+
// Explicit typing (RFC 8725 §3.11 / draft-ietf-oauth-attestation-based-
|
|
632
|
+
// client-auth §6): the attestation and PoP JWTs each carry a REQUIRED,
|
|
633
|
+
// distinct `typ`. Pinning it stops a JWT minted for a different purpose
|
|
634
|
+
// but signed by the same key (a private_key_jwt client assertion, another
|
|
635
|
+
// proof-of-possession JWT) from being replayed into the attestation / PoP
|
|
636
|
+
// slot — the cross-JWT confused-deputy class. The framework's other JWS
|
|
637
|
+
// verifiers already pin typ (dpop+jwt, logout+jwt); this one now matches.
|
|
638
|
+
if (typeof expectedTyp === "string" && header.typ !== expectedTyp) {
|
|
639
|
+
throw new OAuthError("auth-oauth/attestation-wrong-typ",
|
|
640
|
+
label + ": header.typ must be '" + expectedTyp + "' (RFC 8725 §3.11 " +
|
|
641
|
+
"explicit typing); got " + JSON.stringify(header.typ));
|
|
642
|
+
}
|
|
621
643
|
// CVE-2026-22817 — cross-check alg against the key's kty before verify.
|
|
622
644
|
jwtExternal._assertAlgKtyMatch(header.alg, publicKeyJwk);
|
|
623
645
|
var keyObject = _jwkToKey(publicKeyJwk);
|
|
@@ -744,7 +766,7 @@ function buildClientAttestation(aopts) {
|
|
|
744
766
|
validateOpts.assignOwnEnumerable(payload, aopts.extraClaims, Object.keys(payload));
|
|
745
767
|
}
|
|
746
768
|
return _signAttestationJws(
|
|
747
|
-
{ typ:
|
|
769
|
+
{ typ: ATTESTATION_JWT_TYP, alg: alg }, payload, key, alg);
|
|
748
770
|
}
|
|
749
771
|
|
|
750
772
|
/**
|
|
@@ -819,7 +841,7 @@ function buildClientAttestationPop(popts) {
|
|
|
819
841
|
payload.challenge = popts.challenge; // draft §5.2 — server nonce
|
|
820
842
|
}
|
|
821
843
|
return _signAttestationJws(
|
|
822
|
-
{ typ:
|
|
844
|
+
{ typ: ATTESTATION_POP_JWT_TYP, alg: alg }, payload, key, alg);
|
|
823
845
|
}
|
|
824
846
|
|
|
825
847
|
/**
|
|
@@ -878,7 +900,8 @@ async function verifyClientAttestation(attestationJwt, popJwt, vopts) {
|
|
|
878
900
|
"auth-oauth/attestation-no-expected-aud");
|
|
879
901
|
|
|
880
902
|
// 1. Attestation signature against the TRUSTED attester key.
|
|
881
|
-
var att = _verifyAttestationJws(attestationJwt, vopts.attesterJwk, "client-attestation"
|
|
903
|
+
var att = _verifyAttestationJws(attestationJwt, vopts.attesterJwk, "client-attestation",
|
|
904
|
+
ATTESTATION_JWT_TYP);
|
|
882
905
|
var ap = att.payload || {};
|
|
883
906
|
if (typeof ap.sub !== "string" || ap.sub.length === 0) {
|
|
884
907
|
throw new OAuthError("auth-oauth/attestation-no-sub",
|
|
@@ -912,7 +935,8 @@ async function verifyClientAttestation(attestationJwt, popJwt, vopts) {
|
|
|
912
935
|
}
|
|
913
936
|
|
|
914
937
|
// 2. PoP signature against the attestation's cnf key (NOT the attester).
|
|
915
|
-
var pop = _verifyAttestationJws(popJwt, ap.cnf.jwk, "client-attestation-pop"
|
|
938
|
+
var pop = _verifyAttestationJws(popJwt, ap.cnf.jwk, "client-attestation-pop",
|
|
939
|
+
ATTESTATION_POP_JWT_TYP);
|
|
916
940
|
var pp = pop.payload || {};
|
|
917
941
|
// aud MUST be THIS AS issuer (constant-time, exact). Attacker-replayed
|
|
918
942
|
// PoP minted for a different AS is refused (draft §8 step 7).
|
|
@@ -1756,20 +1780,43 @@ function create(opts) {
|
|
|
1756
1780
|
|
|
1757
1781
|
async function _normalizeTokens(raw, vopts) {
|
|
1758
1782
|
vopts = vopts || {};
|
|
1783
|
+
// RFC 6749 §3.3 — scope is space-separated, ONLY U+0020. `\s+` previously
|
|
1784
|
+
// matched U+0085 NEL, U+00A0 NBSP, etc., so a hostile AS returning
|
|
1785
|
+
// `scope: "admin<NEL>read"` would surface as `["admin", "read"]` and the
|
|
1786
|
+
// operator's scope allowlist saw two distinct scopes. Spec-strict split on
|
|
1787
|
+
// single-space keeps a non-token separator inside one token.
|
|
1788
|
+
//
|
|
1789
|
+
// §5.1 also fixes the PRESENT-vs-ABSENT distinction that a bare truthiness
|
|
1790
|
+
// test lost: an ABSENT scope ("OPTIONAL, if identical to the requested
|
|
1791
|
+
// scope") means the client got what it asked for → mirror the request; a
|
|
1792
|
+
// PRESENT scope is authoritative, INCLUDING the empty string, which grants
|
|
1793
|
+
// ZERO scopes. Coercing "" to the requested set (its falsy value slipped
|
|
1794
|
+
// the old `raw.scope ? …` test into the absent branch) would report a
|
|
1795
|
+
// downscoped-to-nothing grant as the full requested set — a scope-based
|
|
1796
|
+
// authorization guard downstream then treats denied scopes as granted. A
|
|
1797
|
+
// malformed non-string scope is treated as zero (fail closed), never as
|
|
1798
|
+
// the requested set.
|
|
1799
|
+
var grantedScope;
|
|
1800
|
+
if (typeof raw.scope === "string") {
|
|
1801
|
+
grantedScope = raw.scope.split(" ").filter(function (s) { return s.length > 0; });
|
|
1802
|
+
} else if (raw.scope === undefined) {
|
|
1803
|
+
// ONLY a truly ABSENT property (undefined) mirrors the request (RFC 6749
|
|
1804
|
+
// §3.3 "OPTIONAL, if identical to the requested scope"). A PRESENT but
|
|
1805
|
+
// malformed value — `null`, a number, an object — is NOT an omitted
|
|
1806
|
+
// scope; treating `{ "scope": null }` as absent would copy the full
|
|
1807
|
+
// requested set and report a grant the AS never made. Fall through to
|
|
1808
|
+
// zero (fail closed).
|
|
1809
|
+
grantedScope = scope.slice();
|
|
1810
|
+
} else {
|
|
1811
|
+
grantedScope = [];
|
|
1812
|
+
}
|
|
1759
1813
|
var tokens = {
|
|
1760
1814
|
accessToken: raw.access_token,
|
|
1761
1815
|
tokenType: raw.token_type || "Bearer",
|
|
1762
1816
|
expiresIn: raw.expires_in || null,
|
|
1763
1817
|
refreshToken: raw.refresh_token || null,
|
|
1764
1818
|
idToken: raw.id_token || null,
|
|
1765
|
-
|
|
1766
|
-
// `\s+` previously matched U+0085 NEL, U+00A0 NBSP, etc., so a
|
|
1767
|
-
// hostile AS returning `scope: "admin<NEL>read"` would
|
|
1768
|
-
// surface as `["admin", "read"]` and the operator's scope
|
|
1769
|
-
// allowlist saw two distinct scopes. Spec-strict split on
|
|
1770
|
-
// single-space + reject scope tokens that contain non-token
|
|
1771
|
-
// chars.
|
|
1772
|
-
scope: raw.scope ? raw.scope.split(" ").filter(function (s) { return s.length > 0; }) : scope.slice(),
|
|
1819
|
+
scope: grantedScope,
|
|
1773
1820
|
raw: raw,
|
|
1774
1821
|
};
|
|
1775
1822
|
if (tokens.idToken && isOidc) {
|
package/lib/vendor/MANIFEST.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"hashes": {
|
|
19
19
|
"server": "sha256:2b30a26f728c5349f4c4b47834f862a4f77393b1224fc12b22abe3ce2cfab78f"
|
|
20
20
|
},
|
|
21
|
-
"refreshedAt": "2026-07-
|
|
21
|
+
"refreshedAt": "2026-07-23T03:16:00.999Z"
|
|
22
22
|
},
|
|
23
23
|
"@noble/curves": {
|
|
24
24
|
"version": "2.2.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"hashes": {
|
|
41
41
|
"server": "sha256:2880c288b1285ef51d356d057bee6f0c8a00de36638cf47b47617e8c1faf10d5"
|
|
42
42
|
},
|
|
43
|
-
"refreshedAt": "2026-07-
|
|
43
|
+
"refreshedAt": "2026-07-23T03:16:00.999Z"
|
|
44
44
|
},
|
|
45
45
|
"@noble/post-quantum": {
|
|
46
46
|
"version": "0.6.1",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"hashes": {
|
|
72
72
|
"server": "sha256:f9c94094b3c10fe73dac5343289da582454ea6053494fab2bf66099d9103d6c3"
|
|
73
73
|
},
|
|
74
|
-
"refreshedAt": "2026-07-
|
|
74
|
+
"refreshedAt": "2026-07-23T03:16:00.999Z"
|
|
75
75
|
},
|
|
76
76
|
"@simplewebauthn/server": {
|
|
77
77
|
"version": "13.3.2",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"hashes": {
|
|
95
95
|
"server": "sha256:e83195dc9f189385da9c856ef38843f4466f93ea8f3d7fc2efcb1e1b18da6f20"
|
|
96
96
|
},
|
|
97
|
-
"refreshedAt": "2026-07-
|
|
97
|
+
"refreshedAt": "2026-07-23T03:16:00.999Z"
|
|
98
98
|
},
|
|
99
99
|
"SecLists-common-passwords-top-10000": {
|
|
100
100
|
"version": "10k-most-common (master)",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
},
|
|
115
115
|
"runtime_artifact": "lib/vendor/common-passwords-top-10000.data.js",
|
|
116
116
|
"integrity_layers": "sha256 + sha3-512 + SLH-DSA-SHAKE-256f signature + in-payload canary (where applicable)",
|
|
117
|
-
"refreshedAt": "2026-07-
|
|
117
|
+
"refreshedAt": "2026-07-23T03:16:00.999Z"
|
|
118
118
|
},
|
|
119
119
|
"bimi-trust-anchors": {
|
|
120
120
|
"version": "operator-managed",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
},
|
|
140
140
|
"runtime_artifact": "lib/vendor/bimi-trust-anchors.data.js",
|
|
141
141
|
"integrity_layers": "sha256 + sha3-512 + SLH-DSA-SHAKE-256f signature + in-payload canary (where applicable)",
|
|
142
|
-
"refreshedAt": "2026-07-
|
|
142
|
+
"refreshedAt": "2026-07-23T03:16:00.999Z"
|
|
143
143
|
},
|
|
144
144
|
"publicsuffix-list": {
|
|
145
145
|
"version": "master",
|
|
@@ -152,14 +152,14 @@
|
|
|
152
152
|
"data_js": "lib/vendor/public-suffix-list.data.js"
|
|
153
153
|
},
|
|
154
154
|
"bundler": "curl https://publicsuffix.org/list/public_suffix_list.dat",
|
|
155
|
-
"bundledAt": "2026-07-
|
|
155
|
+
"bundledAt": "2026-07-22T00:00:00Z",
|
|
156
156
|
"hashes": {
|
|
157
|
-
"server": "sha256:
|
|
158
|
-
"data_js": "sha256:
|
|
157
|
+
"server": "sha256:239445596e15e13c345bab8f5118a617ae3e61e4e1df437728c14cbf4aaef716",
|
|
158
|
+
"data_js": "sha256:0742bf237375961822070329cda24c866afd3c711262fafa748a40443ec18a6e"
|
|
159
159
|
},
|
|
160
160
|
"runtime_artifact": "lib/vendor/public-suffix-list.data.js",
|
|
161
161
|
"integrity_layers": "sha256 + sha3-512 + SLH-DSA-SHAKE-256f signature + in-payload canary (where applicable)",
|
|
162
|
-
"refreshedAt": "2026-07-
|
|
162
|
+
"refreshedAt": "2026-07-23T03:16:00.999Z"
|
|
163
163
|
},
|
|
164
164
|
"peculiar-pki": {
|
|
165
165
|
"version": "2.0.0+pkijs-3.4.0",
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
"hashes": {
|
|
191
191
|
"server": "sha256:2307ef65e070757ffb13442b377e45efb9fa1a10432d9b39618387720ab990ed"
|
|
192
192
|
},
|
|
193
|
-
"refreshedAt": "2026-07-
|
|
193
|
+
"refreshedAt": "2026-07-23T03:16:00.999Z"
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
// Please pull this list from, and only from https://publicsuffix.org/list/public_suffix_list.dat,
|
|
6
6
|
// rather than any other VCS sites. Pulling from any other URL is not guaranteed to be supported.
|
|
7
7
|
|
|
8
|
-
// VERSION: 2026-07-
|
|
9
|
-
// COMMIT:
|
|
8
|
+
// VERSION: 2026-07-22_17-32-17_UTC
|
|
9
|
+
// COMMIT: 8ab4253fd2cbaf4c411bd7ccea56bff0db0e82cf
|
|
10
10
|
|
|
11
11
|
// Instructions on pulling and using this list can be found at https://publicsuffix.org/list/.
|
|
12
12
|
|
|
@@ -1631,7 +1631,6 @@ trentin-sudtirol.it
|
|
|
1631
1631
|
trentin-südtirol.it
|
|
1632
1632
|
trentin-sued-tirol.it
|
|
1633
1633
|
trentin-suedtirol.it
|
|
1634
|
-
trentino.it
|
|
1635
1634
|
trentino-a-adige.it
|
|
1636
1635
|
trentino-aadige.it
|
|
1637
1636
|
trentino-alto-adige.it
|
|
@@ -1652,7 +1651,6 @@ trentinos-tirol.it
|
|
|
1652
1651
|
trentinostirol.it
|
|
1653
1652
|
trentinosud-tirol.it
|
|
1654
1653
|
trentinosüd-tirol.it
|
|
1655
|
-
trentinosudtirol.it
|
|
1656
1654
|
trentinosüdtirol.it
|
|
1657
1655
|
trentinosued-tirol.it
|
|
1658
1656
|
trentinosuedtirol.it
|
|
@@ -1668,7 +1666,6 @@ umbria.it
|
|
|
1668
1666
|
val-d-aosta.it
|
|
1669
1667
|
val-daosta.it
|
|
1670
1668
|
vald-aosta.it
|
|
1671
|
-
valdaosta.it
|
|
1672
1669
|
valle-aosta.it
|
|
1673
1670
|
valle-d-aosta.it
|
|
1674
1671
|
valle-daosta.it
|
|
@@ -1705,7 +1702,6 @@ aosta.it
|
|
|
1705
1702
|
aoste.it
|
|
1706
1703
|
ap.it
|
|
1707
1704
|
aq.it
|
|
1708
|
-
aquila.it
|
|
1709
1705
|
ar.it
|
|
1710
1706
|
arezzo.it
|
|
1711
1707
|
ascoli-piceno.it
|
|
@@ -1929,6 +1925,9 @@ sondrio.it
|
|
|
1929
1925
|
sp.it
|
|
1930
1926
|
sr.it
|
|
1931
1927
|
ss.it
|
|
1928
|
+
su.it
|
|
1929
|
+
sud-sardegna.it
|
|
1930
|
+
sudsardegna.it
|
|
1932
1931
|
südtirol.it
|
|
1933
1932
|
suedtirol.it
|
|
1934
1933
|
sv.it
|
|
@@ -1949,6 +1948,7 @@ trani-barletta-andria.it
|
|
|
1949
1948
|
traniandriabarletta.it
|
|
1950
1949
|
tranibarlettaandria.it
|
|
1951
1950
|
trapani.it
|
|
1951
|
+
trentino.it
|
|
1952
1952
|
trento.it
|
|
1953
1953
|
treviso.it
|
|
1954
1954
|
trieste.it
|
|
@@ -1967,6 +1967,7 @@ ve.it
|
|
|
1967
1967
|
venezia.it
|
|
1968
1968
|
venice.it
|
|
1969
1969
|
verbania.it
|
|
1970
|
+
verbano-cusio-ossola.it
|
|
1970
1971
|
vercelli.it
|
|
1971
1972
|
verona.it
|
|
1972
1973
|
vi.it
|
|
@@ -12576,12 +12577,6 @@ bubbleapps.io
|
|
|
12576
12577
|
// Submitted by Klara Mall <dns@bwcloud-os.de>
|
|
12577
12578
|
*.bwcloud-os-instance.de
|
|
12578
12579
|
|
|
12579
|
-
// Bytemark Hosting : https://www.bytemark.co.uk
|
|
12580
|
-
// Submitted by Paul Cammish <paul.cammish@bytemark.co.uk>
|
|
12581
|
-
uk0.bigv.io
|
|
12582
|
-
dh.bytemark.co.uk
|
|
12583
|
-
vm.bytemark.co.uk
|
|
12584
|
-
|
|
12585
12580
|
// Caf.js Labs LLC : https://www.cafjs.com
|
|
12586
12581
|
// Submitted by Antonio Lain <antlai@cafjs.com>
|
|
12587
12582
|
cafjs.com
|
|
@@ -12841,10 +12836,6 @@ craft.me
|
|
|
12841
12836
|
// Submitted by Ales Krajnik <ales.krajnik@craynic.com>
|
|
12842
12837
|
realm.cz
|
|
12843
12838
|
|
|
12844
|
-
// Cryptonomic : https://cryptonomic.net/
|
|
12845
|
-
// Submitted by Andrew Cady <public-suffix-list@cryptonomic.net>
|
|
12846
|
-
*.cryptonomic.net
|
|
12847
|
-
|
|
12848
12839
|
// cyber_Folks S.A. : https://cyberfolks.pl
|
|
12849
12840
|
// Submitted by Bartlomiej Kida <security@cyberfolks.pl>
|
|
12850
12841
|
cfolks.pl
|
|
@@ -13511,10 +13502,6 @@ on.expo.app
|
|
|
13511
13502
|
staging.expo.app
|
|
13512
13503
|
on.staging.expo.app
|
|
13513
13504
|
|
|
13514
|
-
// Fabrica Technologies, Inc. : https://www.fabrica.dev/
|
|
13515
|
-
// Submitted by Eric Jiang <eric@fabrica.dev>
|
|
13516
|
-
onfabrica.com
|
|
13517
|
-
|
|
13518
13505
|
// fachschaften.org: https://fachschaften.org/
|
|
13519
13506
|
// Submitted by Felix Schäfer <security@fachschaften.org>
|
|
13520
13507
|
fspages.org
|
|
@@ -15267,10 +15254,6 @@ vki.kr
|
|
|
15267
15254
|
// Submitted by yumenewa <admin@project-study.com>
|
|
15268
15255
|
dev.project-study.com
|
|
15269
15256
|
|
|
15270
|
-
// Protonet GmbH : http://protonet.io
|
|
15271
|
-
// Submitted by Martin Meier <admin@protonet.io>
|
|
15272
|
-
protonet.io
|
|
15273
|
-
|
|
15274
15257
|
// PSL Sandbox : https://github.com/groundcat/PSL-Sandbox
|
|
15275
15258
|
// Submitted by groundcat <psl-sandbox@alumni.upenn.edu>
|
|
15276
15259
|
platter-app.dev
|
|
@@ -15452,10 +15435,6 @@ repl.run
|
|
|
15452
15435
|
resindevice.io
|
|
15453
15436
|
devices.resinstaging.io
|
|
15454
15437
|
|
|
15455
|
-
// RethinkDB : https://www.rethinkdb.com/
|
|
15456
|
-
// Submitted by Chris Kastorff <info@rethinkdb.com>
|
|
15457
|
-
hzc.io
|
|
15458
|
-
|
|
15459
15438
|
// Rico Developments Limited : https://adimo.co
|
|
15460
15439
|
// Submitted by Colin Brown <hello@adimo.co>
|
|
15461
15440
|
adimo.co.uk
|
|
@@ -15878,10 +15857,6 @@ indevs.in
|
|
|
15878
15857
|
musician.io
|
|
15879
15858
|
novecore.site
|
|
15880
15859
|
|
|
15881
|
-
// Standard Library : https://stdlib.com
|
|
15882
|
-
// Submitted by Jacob Lee <jacob@stdlib.com>
|
|
15883
|
-
api.stdlib.com
|
|
15884
|
-
|
|
15885
15860
|
// statichost.eu : https://www.statichost.eu
|
|
15886
15861
|
// Submitted by Eric Selin <admin@statichost.eu>
|
|
15887
15862
|
statichost.page
|
|
@@ -15908,10 +15883,6 @@ ipfs.w3s.link
|
|
|
15908
15883
|
// Submitted by Tony Schirmer <tony@storebase.io>
|
|
15909
15884
|
storebase.store
|
|
15910
15885
|
|
|
15911
|
-
// Storj Labs Inc. : https://storj.io/
|
|
15912
|
-
// Submitted by Philip Hutchins <hostmaster@storj.io>
|
|
15913
|
-
storj.farm
|
|
15914
|
-
|
|
15915
15886
|
// Strapi : https://strapi.io/
|
|
15916
15887
|
// Submitted by Florent Baldino <security@strapi.io>
|
|
15917
15888
|
strapiapp.com
|