@astram/guard 0.37.0 → 0.40.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.
- package/dist/agent/agent-provenance.d.ts +24 -0
- package/dist/agent/agent-provenance.d.ts.map +1 -1
- package/dist/agent/agent-provenance.js +33 -1
- package/dist/auth/auth.controller.d.ts.map +1 -1
- package/dist/auth/auth.controller.js +5 -1
- package/dist/auth/auth.module.d.ts.map +1 -1
- package/dist/auth/auth.module.js +40 -2
- package/dist/auth/dto.d.ts +2 -0
- package/dist/auth/dto.d.ts.map +1 -1
- package/dist/auth/tokens.d.ts +14 -0
- package/dist/auth/tokens.d.ts.map +1 -1
- package/dist/auth/tokens.js +16 -2
- package/dist/authentication/service-account-principal.d.ts +29 -0
- package/dist/authentication/service-account-principal.d.ts.map +1 -0
- package/dist/authentication/service-account-principal.js +55 -0
- package/dist/authz/mariadb-policy-store.d.ts +38 -3
- package/dist/authz/mariadb-policy-store.d.ts.map +1 -1
- package/dist/authz/mariadb-policy-store.js +61 -4
- package/dist/completeness/catalog-reconciler.d.ts +10 -1
- package/dist/completeness/catalog-reconciler.d.ts.map +1 -1
- package/dist/completeness/catalog-reconciler.js +23 -4
- package/dist/completeness/ports/catalog-store.d.ts +19 -2
- package/dist/completeness/ports/catalog-store.d.ts.map +1 -1
- package/dist/enforcement/facts-version.d.ts +22 -0
- package/dist/enforcement/facts-version.d.ts.map +1 -0
- package/dist/enforcement/facts-version.js +34 -0
- package/dist/enforcement/global-enforcement.guard.d.ts +9 -26
- package/dist/enforcement/global-enforcement.guard.d.ts.map +1 -1
- package/dist/enforcement/global-enforcement.guard.js +48 -177
- package/dist/enforcement/session-facts-reload.d.ts +66 -0
- package/dist/enforcement/session-facts-reload.d.ts.map +1 -0
- package/dist/enforcement/session-facts-reload.js +168 -0
- package/dist/identity/auth-facts.controller.d.ts.map +1 -1
- package/dist/identity/auth-facts.controller.js +5 -1
- package/dist/identity/identity-actions.d.ts +9 -1
- package/dist/identity/identity-actions.d.ts.map +1 -1
- package/dist/identity/identity-actions.js +12 -1
- package/dist/identity/module-registry.bridge.d.ts +16 -0
- package/dist/identity/module-registry.bridge.d.ts.map +1 -1
- package/dist/identity/module-registry.bridge.js +45 -0
- package/dist/identity/permission-facts.adapter.d.ts +41 -1
- package/dist/identity/permission-facts.adapter.d.ts.map +1 -1
- package/dist/identity/permission-facts.adapter.js +98 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -6
- package/dist/internal.d.ts +23 -0
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +36 -1
- package/dist/module/shield-tokens.d.ts +87 -11
- package/dist/module/shield-tokens.d.ts.map +1 -1
- package/dist/module/shield-tokens.js +8 -1
- package/dist/notifications/notification.service.d.ts +3 -0
- package/dist/notifications/notification.service.d.ts.map +1 -1
- package/dist/notifications/notification.service.js +9 -0
- package/dist/request-auth/request-principal.d.ts +5 -0
- package/dist/request-auth/request-principal.d.ts.map +1 -1
- package/dist/request-auth/request-principal.js +7 -1
- package/dist/request-auth/session-token-binder.d.ts +79 -6
- package/dist/request-auth/session-token-binder.d.ts.map +1 -1
- package/dist/request-auth/session-token-binder.js +264 -173
- package/dist/session/call-principals.d.ts +54 -0
- package/dist/session/call-principals.d.ts.map +1 -0
- package/dist/session/call-principals.js +38 -0
- package/dist/session/session-principal.d.ts +86 -0
- package/dist/session/session-principal.d.ts.map +1 -0
- package/dist/session/session-principal.js +139 -0
- package/migrations/1710000000143-AddPermissionGroup.cjs +41 -0
- package/package.json +5 -5
|
@@ -180,6 +180,27 @@ export interface SessionTokenBinderOptions {
|
|
|
180
180
|
* refresh the claims, move the pointer, grace-expire the previous token, clear the marker.
|
|
181
181
|
*/
|
|
182
182
|
export declare const REBIND_ON_ROTATE_SCRIPT = "if redis.call('EXISTS', KEYS[2]) == 0 then return 0 end\nlocal bound = redis.call('EXISTS', KEYS[1]) == 1\nif ARGV[8] == '1' then\n if bound then return 2 end\n redis.call('SET', KEYS[1], ARGV[1], 'PX', ARGV[4])\n redis.call('SET', KEYS[5], ARGV[6], 'PX', ARGV[4])\n return 3\nend\nif bound and redis.call('GET', KEYS[5]) ~= ARGV[6] then return 2 end\nlocal current = redis.call('GET', KEYS[3])\nif current == false then current = '' end\nif current ~= ARGV[5] then\n if bound then return 2 end\n redis.call('SET', KEYS[1], ARGV[1], 'PX', ARGV[4])\n return 3\nend\nredis.call('SET', KEYS[1], ARGV[1], 'PX', ARGV[2])\nredis.call('SET', KEYS[2], ARGV[1], 'PX', ARGV[3], 'XX')\nredis.call('SET', KEYS[3], ARGV[6], 'PX', ARGV[3])\nif ARGV[5] ~= '' and KEYS[4] ~= KEYS[1] then\n local remaining = redis.call('PTTL', KEYS[4])\n if remaining == -1 or remaining > tonumber(ARGV[7]) then\n redis.call('PEXPIRE', KEYS[4], ARGV[7])\n end\nend\nredis.call('DEL', KEYS[5])\nreturn 1";
|
|
183
|
+
/**
|
|
184
|
+
* The mandatory-2FA recompute's compare-and-set (review round 1, item A): write ARGV[2] only if the
|
|
185
|
+
* entry is still exactly ARGV[1] (the value the caller read and judged), keeping its remaining TTL.
|
|
186
|
+
* One script, so of N concurrent recomputes exactly one writes. Returns 1 when written, else 0.
|
|
187
|
+
*/
|
|
188
|
+
export declare const MFA_STATE_CAS_SCRIPT = "\nlocal cur = redis.call('GET', KEYS[1])\nif cur ~= ARGV[1] then return 0 end\nlocal ttl = redis.call('PTTL', KEYS[1])\nif ttl <= 0 then return 0 end\nredis.call('SET', KEYS[1], ARGV[2], 'PX', ttl, 'XX')\nreturn 1";
|
|
189
|
+
/**
|
|
190
|
+
* The session-claims rewrites' compare-and-set (background-agent-tasks QA-1 P2-1): `refreshGrants`,
|
|
191
|
+
* `rederiveScopeSubtree`, `clearReenroll`, `restrictMfaEnrollment` and `clearRestriction` read an
|
|
192
|
+
* entry, transform it and write it back. Written
|
|
193
|
+
* as GET → PTTL → `SET … XX`, a concurrent writer landing between the read and the write (a
|
|
194
|
+
* `restrictMfaEnrollment` restriction + epoch bump, another rewrite) was overwritten by the older
|
|
195
|
+
* copy. This writes ARGV[2] only if the entry is still exactly ARGV[1] (the value the caller read
|
|
196
|
+
* and transformed), keeping its remaining TTL (`PTTL` here, never extended) and `XX` (a deleted
|
|
197
|
+
* entry is never re-created).
|
|
198
|
+
*
|
|
199
|
+
* 1 written.
|
|
200
|
+
* 0 the entry changed since the read: the caller re-reads and re-applies its transformation.
|
|
201
|
+
* -1 the entry is gone or has no TTL: nothing is written, and nothing to retry.
|
|
202
|
+
*/
|
|
203
|
+
export declare const CLAIMS_REWRITE_CAS_SCRIPT = "\nlocal cur = redis.call('GET', KEYS[1])\nif cur == false then return -1 end\nif cur ~= ARGV[1] then return 0 end\nlocal ttl = redis.call('PTTL', KEYS[1])\nif ttl <= 0 then return -1 end\nredis.call('SET', KEYS[1], ARGV[2], 'PX', ttl, 'XX')\nreturn 1";
|
|
183
204
|
export declare class SessionTokenBinder {
|
|
184
205
|
private readonly redis;
|
|
185
206
|
private readonly options;
|
|
@@ -285,12 +306,25 @@ export declare class SessionTokenBinder {
|
|
|
285
306
|
*
|
|
286
307
|
* Each entry is rewritten only when it still belongs to `sessionId` + `tenantId` (a concurrent
|
|
287
308
|
* scope-switch moved it → left alone) and `facts` is fresher than what it holds (a slower request
|
|
288
|
-
* never overwrites newer facts). Each keeps its remaining TTL and is written
|
|
309
|
+
* never overwrites newer facts). Each keeps its remaining TTL and is written by compare-and-set
|
|
310
|
+
* ({@link CLAIMS_REWRITE_CAS_SCRIPT}: a concurrent writer's change is re-read and kept, a logout
|
|
289
311
|
* that deleted it wins). Best-effort: any Redis error or miss → that entry is skipped; the caller
|
|
290
312
|
* still uses the reloaded roles for the current request. Returns `true` when the access-token
|
|
291
313
|
* entry was rewritten.
|
|
314
|
+
*
|
|
315
|
+
* `accessToken` `null` (background-agent-tasks SPEC v9 §5 C, the off-request facts refresh): the
|
|
316
|
+
* token currently bound to the session ({@link currentAccessToken}), when there is one; the
|
|
317
|
+
* session-claims entry is rewritten either way.
|
|
318
|
+
*/
|
|
319
|
+
refreshGrants(accessToken: string | null, sessionId: string, tenantId: string, facts: CoarseGrants, roleIds?: readonly string[]): Promise<boolean>;
|
|
320
|
+
/**
|
|
321
|
+
* The access token currently bound to `sessionId` (the session → token entry every bind and
|
|
322
|
+
* rotation writes), or `null` when none is bound or Redis errors. Only for the off-request facts
|
|
323
|
+
* refresh's write-back ({@link refreshGrants} / {@link rederiveScopeSubtree} with a `null`
|
|
324
|
+
* token), which then rewrites that token's entry exactly as the request on it would. Never
|
|
325
|
+
* returned outside the binder.
|
|
292
326
|
*/
|
|
293
|
-
|
|
327
|
+
private currentAccessToken;
|
|
294
328
|
/**
|
|
295
329
|
* SCOPE-SWITCH re-bind (Task 5.2, ADR-0027 / ADR-0024). A principal is switching which
|
|
296
330
|
* active node it acts under; re-bind its CURRENT session (the same access token — no
|
|
@@ -340,9 +374,10 @@ export declare class SessionTokenBinder {
|
|
|
340
374
|
* (a concurrent refresh already wrote something at least as fresh → left alone). Each keeps its
|
|
341
375
|
* remaining TTL (a re-derive never extends a session). Best-effort: any Redis error or miss →
|
|
342
376
|
* `false`; the caller still uses the fresh subtree for the current request and a later reload
|
|
343
|
-
* retries. Returns `true` when the access-token entry was rewritten.
|
|
377
|
+
* retries. Returns `true` when the access-token entry was rewritten. `accessToken` `null`: the
|
|
378
|
+
* session's current token, as in {@link refreshGrants}.
|
|
344
379
|
*/
|
|
345
|
-
rederiveScopeSubtree(accessToken: string, sessionId: string, tenantId: string, subtree: readonly string[], version: number): Promise<boolean>;
|
|
380
|
+
rederiveScopeSubtree(accessToken: string | null, sessionId: string, tenantId: string, subtree: readonly string[], version: number): Promise<boolean>;
|
|
346
381
|
/**
|
|
347
382
|
* Resolve an access token to its bound claims, or `null` if the binding is
|
|
348
383
|
* absent/expired. Fail-closed: any Redis error → `null` (the caller denies), never
|
|
@@ -350,6 +385,19 @@ export declare class SessionTokenBinder {
|
|
|
350
385
|
* token simply has no key.
|
|
351
386
|
*/
|
|
352
387
|
resolve(accessToken: string): Promise<BoundPrincipalClaims | null>;
|
|
388
|
+
/**
|
|
389
|
+
* Resolve a SESSION (not an access token) to its bound claims, from the session-claims entry
|
|
390
|
+
* alone (background-agent-tasks SPEC §5 B): the same validation and normalization as
|
|
391
|
+
* {@link resolve} ({@link parseBoundClaims}) and the same session-authoritative overlay of the
|
|
392
|
+
* re-enrol flag and the mandatory-2FA state ({@link overlaySessionState}), applied to the one
|
|
393
|
+
* entry that `unbindSession` deletes on logout, admin end-sessions and the disable sweep. It is
|
|
394
|
+
* the entry every claims rewrite (rotation, live-grants rebind, subtree re-derive, scope switch)
|
|
395
|
+
* writes beside the access-token entry, so it carries the session's current claims.
|
|
396
|
+
*
|
|
397
|
+
* `null` (fail closed) when the entry is gone (ended), malformed, bound to another session id, or
|
|
398
|
+
* Redis errors. One Redis GET; never on the guard's per-request path.
|
|
399
|
+
*/
|
|
400
|
+
resolveSession(sessionId: string): Promise<BoundPrincipalClaims | null>;
|
|
353
401
|
/**
|
|
354
402
|
* MANDATORY-2FA RECOMPUTE write (R2.5, D-2): store a re-evaluated requirement on the
|
|
355
403
|
* session-claims entry (authoritative for every live token of the session; see `resolve()`).
|
|
@@ -374,10 +422,17 @@ export declare class SessionTokenBinder {
|
|
|
374
422
|
/**
|
|
375
423
|
* R2.7 defence in depth: restrict the session NOW (`restriction: 'mfa_enrollment'`, any grace
|
|
376
424
|
* deadline dropped) after a removal left the user with no confirmed factor while a policy applies.
|
|
377
|
-
* Unconditional
|
|
378
|
-
* increments the epoch, so an in-flight recompute that read the old state cannot lift it. The
|
|
425
|
+
* Unconditional on the stored state (no epoch or stamp precondition: restricting is always the
|
|
426
|
+
* safe direction), and it increments the epoch, so an in-flight recompute that read the old state cannot lift it. The
|
|
379
427
|
* re-enrol flag and the requirement stamp are kept. Returns `false` when the entry is gone or Redis
|
|
380
428
|
* failed.
|
|
429
|
+
*
|
|
430
|
+
* Written by compare-and-set ({@link compareAndRewrite}, background-agent-tasks QA-1 P2-1
|
|
431
|
+
* follow-up): the restriction is re-applied to the FRESH entry on every attempt, so a concurrent
|
|
432
|
+
* rewrite landing between the read and the write (live grants, subtree, scope, re-enrol clear)
|
|
433
|
+
* keeps its facts and the restriction still lands; a logout in that window wins (never
|
|
434
|
+
* re-created); the remaining TTL is kept. A writer changing the entry on every read exhausts the
|
|
435
|
+
* retries → `false` (the caller answers 503: fail closed).
|
|
381
436
|
*/
|
|
382
437
|
restrictMfaEnrollment(sessionId: string): Promise<boolean>;
|
|
383
438
|
/**
|
|
@@ -387,6 +442,15 @@ export declare class SessionTokenBinder {
|
|
|
387
442
|
* that started before the confirm cannot write its stale result back. The live token's next
|
|
388
443
|
* request is unrestricted (it is not re-minted). Best-effort: a gone entry or a Redis error leaves
|
|
389
444
|
* the session as it is (still restricted: the safe direction).
|
|
445
|
+
*
|
|
446
|
+
* Written by compare-and-set ({@link compareAndRewrite}, background-agent-tasks QA-1 P2-1
|
|
447
|
+
* follow-up). The clear lifts only the mandatory-2FA state it READ: the epoch on its first read
|
|
448
|
+
* is the one it intends to supersede. When a re-read (after a compare miss) carries a different
|
|
449
|
+
* epoch, a restriction, recompute or other clear landed in its window and is newer than what this
|
|
450
|
+
* clear judged, so nothing is written (a concurrent `restrictMfaEnrollment` survives; the session
|
|
451
|
+
* stays as that writer left it, the safe direction). A rewrite that leaves the epoch alone (live
|
|
452
|
+
* grants, subtree, re-enrol clear) is kept and the clear re-applied on top. A logout in the window
|
|
453
|
+
* wins (never re-created); the remaining TTL is kept.
|
|
390
454
|
*/
|
|
391
455
|
clearRestriction(sessionId: string): Promise<void>;
|
|
392
456
|
/**
|
|
@@ -403,6 +467,15 @@ export declare class SessionTokenBinder {
|
|
|
403
467
|
* dead / will re-deny) — we simply return. Idempotent.
|
|
404
468
|
*/
|
|
405
469
|
clearReenroll(sessionId: string): Promise<void>;
|
|
470
|
+
/**
|
|
471
|
+
* Read `key`, transform it and write the result back only if the entry is unchanged since the
|
|
472
|
+
* read ({@link CLAIMS_REWRITE_CAS_SCRIPT}: remaining TTL kept, `XX`). `transform` returns the new
|
|
473
|
+
* payload, or `null` for "leave it" (it may throw: that is a miss too). On a compare miss the entry
|
|
474
|
+
* is re-read and the same transformation re-applied to the fresh value (so a concurrent writer's
|
|
475
|
+
* change is kept), at most {@link CLAIMS_CAS_RETRIES} times; then `false` (fail closed, the next
|
|
476
|
+
* request or poll recomputes). A gone entry, a Redis error or a `null` transform → `false`.
|
|
477
|
+
*/
|
|
478
|
+
private compareAndRewrite;
|
|
406
479
|
/** Drop an access-token binding. Idempotent. */
|
|
407
480
|
unbind(accessToken: string): Promise<void>;
|
|
408
481
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-token-binder.d.ts","sourceRoot":"","sources":["../../src/request-auth/session-token-binder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAKjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,oFAAoF;AACpF,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,iEAAiE;IACjE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAC/B;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,YAAY,CAAC;IACpC;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,mBAAmB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