@ultimat3/auth 4.1.0 → 5.0.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.
Files changed (2) hide show
  1. package/CLAUDE.md +5 -0
  2. package/package.json +4 -4
package/CLAUDE.md CHANGED
@@ -137,6 +137,11 @@ Tier 2. Produces the `Actor`; produces nothing else. Authorization is `@ultimat3
137
137
  presented), and `accountLocked`'s `key` (built by `ipKey` from a caller-supplied address).
138
138
  `${provider}` is NOT in that set — it is registry-validated on every shipped path, so it is boot
139
139
  config like `clientIdEnv`, not request data. Swept whole `As of 2026-08`.
140
+ **`UltimateError`'s constructor now escapes every line-bearing field as well** (`As of
141
+ 2026-08-20`), so a line break cannot leave this package whether or not a call site remembers.
142
+ These three renders stay and are not a second path: `renderCauseValue` also QUOTES, which is what
143
+ makes a forged `iss` legible as a value rather than as prose — the constructor is a floor under
144
+ every field, not a replacement for saying which value is foreign.
140
145
  - `readCookie` never throws on a malformed value. The `Cookie:` header is attacker-controlled and
141
146
  `decodeURIComponent('%')` is a bare `URIError`, which would escape every coded path in this
142
147
  package — the raw value goes to the signature or hash check, which is the readable refusal.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultimat3/auth",
3
- "version": "4.1.0",
3
+ "version": "5.0.0",
4
4
  "description": "Sessions, passwords, OAuth, MFA and api keys — resolved to one Actor",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -31,8 +31,8 @@
31
31
  "test": "bun test"
32
32
  },
33
33
  "dependencies": {
34
- "@ultimat3/core": "4.1.0",
35
- "@ultimat3/db": "4.1.0",
36
- "@ultimat3/schema": "4.1.0"
34
+ "@ultimat3/core": "5.0.0",
35
+ "@ultimat3/db": "5.0.0",
36
+ "@ultimat3/schema": "5.0.0"
37
37
  }
38
38
  }