Context Window Token Optimizer (P1 Specification)

Dynamic Rule Pruning & Token Budget Workbench

Injecting all 5462 industrial rules wastes 573510+ tokens on every turn. Dynamically prune irrelevant frameworks (Go, Python, Docker, Rust) when editing TypeScript to preserve >85% context window and sharpen AI focus.

79%
Tokens Saved per Turn
~450920 Tokens Preserved
Est. $13527.6 saved per 10k turns
Simulate Active File Context:

Active Files Under Edit (1)

Glob Heuristics
src/app/api/checkout/route.ts

Context Window Efficiency Analysis

Full Unpruned Rule Matrix (5462 Rules)573510 Tokens
Dynamically Pruned Rules (1290 Kept)122590 Tokens (21% remaining)
Saved Overhead:450920 tokens
Attention Preservation:>90% Attention
Automate in Cursor (.cursor/rules/)

Cursor supports modular .mdc rules with explicit globs:. This eliminates the need to load all rules at once.

These 1290 rules match your active file path patterns and are injected into the agent context window.~122590 tokens
ACTIVE INVARIANTbackend
View Rule Spec

Fastify 5 Schema Compilers & Encapsulation Production Standard

Fastify relies on lexical encapsulation contexts to sandbox decorators, hooks, and compiled validation/serialization schemas without memory leaks or cross-tenant bleed. In Fastify 5, misuse of global compilers or failing to encapsulate plugin boundaries causes compiled `fast-json-stringify` serializers and Ajv validators to either crash on duplicate IDs, leak private data across sibling scopes, or bypass JIT compilation optimizations. Production services must enforce strict encapsulation hierarchies and type-safe schema compilation across every routing subtree.

#backend#fastify#typescript#validation#security
ACTIVE INVARIANTfrontend
View Rule Spec

Astro 5 Actions & Content Layer Production Standard

Enforces strict type safety and architectural correctness for Astro 5 Server Actions and the zero-waterfall Content Layer API. Prevents runtime contract mismatches, hydration mismatches, and unhandled mutation exceptions across dynamic and prerendered boundaries. Failure to follow these patterns leads to silent data fetching waterfalls, build-time cache corruptions, and unhandled server action exceptions.

#frontend#astro#content-layer#server-actions#typescript
ACTIVE INVARIANTbackend
View Rule Spec

Drizzle ORM Batch API & Interactive Transaction Isolation Standard

Production database standard for Drizzle ORM (PostgreSQL & MySQL). Mandates using db.batch() over HTTP drivers to prevent round-trip waterfalls, explicit db.transaction() with serializable/read-committed isolation, and strictly avoids unawaited query promises.

#drizzle#drizzle-orm#database#typescript#postgres
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start SSR: Type-Safe Search Validation, Granular Loader Dependencies, and Deferred Data Streaming

Enforces strict type safety for URL search parameters via schema validators, prevents SSR render blocking through deferred streaming promises, and ensures loaders trigger re-executions only when declared dependencies mutate. Failing to adhere leads to TTFB degradation, hydration mismatch exceptions, and silent cache invalidation bugs in fullstack TanStack applications.

#frontend#tanstack-start#tanstack-router#ssr#streaming#type-safety#react
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Server Actions Boundary CSRF & Origin Validation Standard

Next.js 15 Server Actions enforce built-in origin checks against the Host header, but multi-domain setups, reverse proxy misconfigurations, or unauthenticated action endpoints create severe CSRF and unauthorized state mutation vectors. Production actions must assert authenticated session identity, validate strict schemas, and configure experimental.serverActions.allowedOrigins to protect critical boundaries.

#frontend#nextjs#security#csrf#server-actions
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start SSR Loader Invariants: Type-Safe Search Params & Deferred Streaming

Enforces type-safe search parameter validation via explicit schemas, prevents SSR TTFB stalls by delegating non-critical data to deferred streaming promises, and guarantees server-only boundaries using TanStack Start server functions.

#frontend#tanstack-router#tanstack-start#ssr#typescript#streaming
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement, Scroll Containment, and DOM Saturation Guardrail

Enforces strict industrial standards for TanStack Virtual 3.0 in massive datasets and dynamic tables. Mandates native ref-based element measurement via measureElement, strict containment of scroll margins to prevent viewport jitter, and hard limits on overscan to avoid catastrophic DOM node saturation.

#frontend#react#tanstack-virtual#performance#virtualization#dom-optimization
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start SSR Loaders, Streaming Deferred Data, and Validated Search Params

Enforces strict type-safety, streaming efficiency, and boundary isolation in TanStack Start and Fullstack TanStack Router. Requires declarative validation of search parameters via schema parsers, non-blocking SSR TTFB via explicit promise deferral with Suspense boundaries, and strict server/client boundary isolation using server functions.

#frontend#tanstack-start#tanstack-router#ssr#streaming#search-params#react
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0: Dynamic Measurement and DOM Containment Invariants

Enforces deterministic virtualization mechanics in TanStack Virtual 3.0, mandating stable dynamic element measurement callbacks, strict CSS containment, and bounded overscan budgets. Prevents layout thrashing, scroll-drift jitter, and DOM node saturation in massive data grids.

#tanstack-virtual#react#performance#dom-saturation#windowing
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Windowing Performance & Dynamic Containment Standard

Enforces strict memory footprint containment and layout stability when rendering massive tabular datasets using TanStack Virtual 3.0. Mandates precise dynamic item measurement via ref callbacks, hardware-accelerated composite transforms over top/left positioning, and strict scroll margin containment to eliminate layout thrashing and DOM node saturation.

#frontend#tanstack-virtual#react#performance#dom-virtualization
ACTIVE INVARIANTfrontend
View Rule Spec

Meta Lexical Immutable Transforms, Selection Reconciliation & Headless Markdown Engine Guardrails

Governs structural node transforms, selection preservation, and headless markdown serialization in Meta Lexical. Enforces strict adherence to writable clone mechanics, transform loop prevention, and headless environment execution without DOM leaks or dangling selection references.

#frontend#lexical#rich-text#markdown#ast#react#state-reconciliation
ACTIVE INVARIANTbackend
View Rule Spec

Bun 1.2 Native SQLite WAL Concurrency & S3 Direct-Stream Pipeline Invariants

Enforces strict production invariants for Bun 1.2 embedded database and object storage operations. Mandates WAL-mode PRAGMA concurrency configuration, prepared statement lifecycle reuse in 'bun:sqlite', and zero-copy S3 streaming via 'Bun.s3' to prevent node heap buffer exhaustion.

#backend#bun#bun-sqlite#s3#wal#zero-copy#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement, Scroll Containment, and DOM Saturation Defense

Mandates strict layout containment, stable key extraction, bounded overscan, and ref-based dynamic measurement in TanStack Virtual 3.0. Prevents catastrophic DOM node saturation, layout reflow thrashing, and scroll jitter in massive table and list implementations.

#frontend#react#tanstack-virtual#performance#windowing#tables
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start SSR Loaders, Type-Safe Search Params, and Deferred Streaming Standard

Enforces strict type-safety across SSR route loaders, search param validation schemas, and deferred data streaming in TanStack Start and TanStack Router. Eliminates server-side TTFB bottlenecks caused by un-deferred slow promises and prevents client-server hydration mismatches triggered by unvalidated URL state. Guarantees non-critical assets stream incrementally via React Suspense and TanStack Router's defer boundary.

#frontend#tanstack-start#tanstack-router#ssr#streaming#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Windowing & Scroll Margin Containment Invariants

Enforces strict DOM node containment, robust dynamic measurement, and hardware-accelerated transform positioning for TanStack Virtual 3.0. Prevents layout thrashing, scroll-jitter during asynchronous resizing, and DOM saturation when rendering datasets in excess of 100,000 rows. Mandates exact absolute offset styling, ref measurement bindings, and scroll margin synchronization across all high-density tables and lists.

#frontend#react#tanstack-virtual#performance#windowing#dom-containment
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Headless Node Immutability, Transform Convergence, and Markdown Serialization Guardrails

Lexical nodes represent immutable tree snapshots outside of transactional update scopes, requiring explicit writable cloning via $getWritable() and convergent transform guards. In headless environments, markdown serialization and selection reconciliation must operate strictly within read/update boundaries without triggering recursive transform cascades or relying on browser DOM globals.

#frontend#lexical#rich-text#headless#markdown#react
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Windowing Performance: Dynamic Measurement and Node Containment

Enforces strict DOM node containment, dynamic size measurement invariants, and scroll margin isolation when using @tanstack/react-virtual v3. Prevents layout thrashing, incorrect offset calculations, and DOM node saturation in infinite or massive tabular datasets. Mandates stable measurement refs and hardware-accelerated composite transformations for position translation.

#frontend#react#tanstack-virtual#performance#virtualization#dom-optimization
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Strict Suppression Standard

Enforces deterministic configuration inheritance, native Git VCS integration, and structured suppression syntax for Biome 1.9+. Prevents silent linter desynchronization, unverified rule overrides, and CI divergence caused by unanchored configurations or legacy ignore strategies.

#biome#linter#formatter#tooling#monorepo#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement, Scroll Containment, and DOM Saturation Guardrail

Enforces strict memory and render invariants when windowing massive datasets using TanStack Virtual 3.0. Mandates dynamic element measurement via measureElement ref attachments, CSS containment for scroll containers, and zero-DOM-leak node recycling to prevent main thread blocking, layout thrashing, and browser paint degradation.

#frontend#tanstack-virtual#react#performance#virtualization#dom-optimization
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start SSR: Type-Safe Search Validation and Deferred Streaming Invariants

Enforces strict type-safety across SSR loaders, search param schemas, and deferred data streaming in TanStack Start and TanStack Router. Prevents blocking SSR Time-to-First-Byte (TTFB) by mandating non-critical promise deferral via `defer()` and `<Await>`, while eliminating hydration mismatches and runtime crashes through schema-validated search parameters.

#frontend#tanstack-start#tanstack-router#ssr#streaming#zod#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Windowing & Node Containment Standard

Mandates deterministic dynamic element measurement, hardware-accelerated transforms, and bounded overscan configurations in TanStack Virtual 3.0. Enforces strict containment of scrollable bounds and explicit node measuring via data-index to eliminate DOM node saturation, layout thrashing, and scroll jitter in high-density tables.

#frontend#tanstack-virtual#performance#virtualization#react#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Synchronization, and Deterministic Suppression Standards

Enforces strict architecture for Biome 1.9 across monorepos and frontend packages. Mandates clean configuration inheritance via 'extends', native Git VCS integration to eliminate redundant ignore files, and deterministic, fully justified inline suppression syntax.

#frontend#biome#tooling#linter#formatter#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Svelte 5 Runes State Preservation, Pure Derivations, and Snippet Composition

Enforces Svelte 5 runes architecture across components and module state. Prohibits breaking reactive proxy bindings via premature destructuring, disallows using $effect for pure synchronous state derivation, mandates snippets over deprecated slot projections, and restricts runes to .svelte and .svelte.ts execution boundaries.

#frontend#svelte5#runes#state-management#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Immutable Node Transforms, Selection Reconciliation, and Headless Markdown Serialization

Enforces strict adherence to Meta Lexical copy-on-write immutability semantics, idempotent node transforms, and DOM-independent headless Markdown serialization. Violating these invariants produces infinite transform cascade loops, corrupted editor state trees, and runtime exceptions during headless SSR or background execution.

#frontend#lexical#rich-text#markdown#headless#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Windowing and Containment Standard

Enforces strict virtual DOM containment, hardware-accelerated transform positioning, and deterministic measurement caching for TanStack Virtual 3.0. Prevents layout thrashing, DOM node saturation, and measurement cache eviction in high-frequency, dynamic-height tabular datasets.

#frontend#react#tanstack-virtual#performance#windowing#tables
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Deterministic Rule Suppression

Enforces strict configuration schema inheritance via `extends`, deterministic Git-backed ignore semantics, and canonical Biome 1.9 suppression comment syntax. Eliminates silent linter bypassing, conflicting nested formatting rules, and redundant CI parsing passes across modern TypeScript monorepos.

#frontend#biome#linter#formatter#tooling#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Explicit Rule Suppression

Enforces deterministic Biome 1.9 configuration architecture across monorepos and isolated services. Mandates strict schema pinning, full VCS ignore delegation to avoid dual-configuration drift, and explicit, documented inline suppressions matching Biome's exact grammar.

#biome#linter#formatter#tooling#frontend#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Deterministic Configuration, VCS Integration, and Suppression Protocol

Mandates deterministic single-binary linting and formatting via Biome 1.9 configuration standards. Enforces native VCS ignore file inheritance, strict JSON schema validation, and structured inline suppression syntax with mandatory explanations to eliminate configuration drift and unvetted rule bypasses.

#frontend#biome#linter#formatter#tooling#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start Invariants: Type-Safe Search Params, Server Functions, and Deferred Streaming

Mandates strict schema-validated search parameters, isolated server functions via createServerFn, and explicit stream deferral via defer() and Await for non-critical loader promises in TanStack Start SSR. Violating these patterns degrades Time to First Byte (TTFB), causes hydration mismatches, and risks leaking server secrets to the client bundle.

#tanstack-router#tanstack-start#ssr#streaming#search-params#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Windowing, Measurement Containment, and DOM Node Management

Enforces strict DOM node containment, layout thrashing prevention, and correct dynamic height measuring patterns when using TanStack Virtual v3. Mandates accurate ref attachments, CSS containment isolation, and proper scroll margins to prevent recursive recalculations and browser frame drops in massive virtualized tables.

#frontend#tanstack-virtual#virtualization#react#performance#layout-containment
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Immutable Node Transforms, Selection Reconciliation, and Headless Markdown Serialization

Enforces strict immutability, selection reconciliation, and node registry completeness across Meta Lexical document pipelines. Prevents direct AST mutations without write locks, eliminates cursor jumping during batched node transforms, and guarantees lossless headless Markdown serialization.

#frontend#lexical#rich-text#markdown#headless#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement, Scroll Containment, and DOM Saturation Guardrails

Enforces strict performance invariants for TanStack Virtual 3.0 in high-density tables and lists. Prevents layout thrashing, DOM node saturation, and measurement jitter by requiring continuous measurement containment, transform-based positioning, and explicit scroll margin offsets. Mandates non-reactive scroll containers, stable item keys, and proper teardown of resize observers.

#frontend#react#tanstack-virtual#performance#windowing#dom-optimization
ACTIVE INVARIANTfrontend
View Rule Spec

React Router 7 Framework Mode Hydration & Single-Fetch Boundaries

Enforces architectural invariants for React Router 7 framework mode hydration, strictly governing typegen route module typing, turbo-stream single-fetch data boundaries, and clientLoader hydration lifecycles. Prevents hydration mismatches, unhandled streaming promise rejections, and invalid clientLoader cache collisions.

#frontend#react-router-7#remix#hydration#single-fetch#typegen#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement, Scroll Containment, and DOM Saturation Defense

Enforces strict DOM node count containment, deterministic dynamic element measurement, and layout shift mitigation when virtualizing large datasets using @tanstack/react-virtual v3. Mandates non-blocking resize observation, ref-based measurement attachment, and hardware-accelerated transforms to prevent forced synchronous reflows and memory leaks in enterprise grid tables.

#frontend#tanstack-virtual#react#performance#virtualization#dom-node-containment
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Headless State Immutability, Node Transforms, and Markdown Serialization Guardrails

Enforces strict immutability patterns in Meta Lexical node transforms, safe selection reconciliation during state updates, and deterministic AST-based headless markdown serialization. Prevents infinite transform loops, silent state desynchronization, and corrupted text selections in client and server-side document pipelines.

#frontend#lexical#rich-text#ast#headless#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Immutable Node Transforms, Selection Reconciliation, and Headless Serialization

Enforces architectural invariants in Meta Lexical engines, requiring absolute node immutability via getWritable(), strictly idempotent node transform loops to prevent reconciliation cascades, and isomorphic transformer registration in headless markdown pipelines.

#frontend#lexical#rich-text#markdown#react#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start & Fullstack Router SSR: Type-Safe Search Params & Deferred Data Streaming

Enforces strict type safety and streaming invariants in TanStack Start and TanStack Router fullstack SSR applications. Mandates runtime validation for search parameters using Zod/Valibot schemas, distinguishes non-critical promises using `defer()` wrapped in `<Await>` boundaries, and forbids direct loader client waterfalls or non-serializable SSR state leakage.

#frontend#tanstack-start#tanstack-router#ssr#streaming#search-params#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement and Layout Containment Standard

Enforces strict DOM node containment, GPU-accelerated absolute transforms, and non-thrashing dynamic element measurement for @tanstack/react-virtual 3.0. Prevents catastrophic layout recalculations and main-thread freezing in high-density tables and lists with variable-height cells.

#frontend#react#tanstack-virtual#virtualization#performance
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Immutable Node Transforms, Selection Reconciliation, and Headless Serialization Guardrails

Enforces strict immutability invariants during Lexical node transformations, guarantees selection point reconciliation during node replacement, and prevents silent state drops in headless Markdown serialization pipelines by enforcing node registration symmetry.

#frontend#lexical#rich-text#markdown#react#headless-editor
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Invariants: Dynamic Measurement, Data-Index Binding, and DOM Containment

Enforces strict DOM node containment, dynamic height measurement invariants, and GPU-composited positioning for TanStack Virtual 3.0. Prevents layout thrashing, infinite measurement cycles, and DOM node saturation in massive multi-thousand-row tables. Mandates deterministic data-index attribution and hardware-accelerated transform offsets.

#frontend#tanstack-virtual#performance#react#virtualization
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start SSR: Strict Type-Safe Search, Loader Isolation, and Deferred Data Streaming

Enforces strict type-safe search parameter validation, selective SSR data deferral via streaming, and explicit dependency tracking across TanStack Start routes. Prevents severe SSR Time-to-First-Byte (TTFB) degradation caused by un-deferred secondary fetches and eliminates hydration mismatches from untracked search param state.

#frontend#tanstack-start#tanstack-router#ssr#streaming#typescript#zod
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Deterministic Rule Suppression

Enforces strict configuration inheritance patterns, Git VCS integration, and deterministic rule suppression syntax under Biome 1.9. Disallows legacy ESLint/Prettier suppression comments and untyped Biome ignores without explicit justification, ensuring reproducibility across local and CI environments.

#frontend#biome#linter#formatter#tooling#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement, Containment, and Node Saturation Guardrails

Mandates strict containment of DOM node saturation, idempotent dynamic element measurement, and GPU-composited positioning for TanStack Virtual 3.0. Enforces stabilized item keys, bounded overscan thresholds, and strict isolation of layout recalculations in massive data grids.

#frontend#react#tanstack-virtual#performance#windowing
ACTIVE INVARIANTfrontend
View Rule Spec

React Router 7 Framework Mode Hydration & Single-Fetch Boundaries

Enforces architectural constraints for React Router 7 framework mode hydration, clientLoader caching, and Single Fetch data boundaries. Prevents client-server state desynchronization, double-fetching waterfalls, hydration mismatches, and broken route typegen contracts.

#frontend#react-router-7#remix#hydration#single-fetch#turbo-stream#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Immutable Node Transforms, Selection Reconciliation, and Headless Serialization

Enforces strict Lexical node mutation invariants using writable node proxies inside update boundaries, guarantees idempotent node transforms to prevent infinite reconcile cascades, preserves DOM/editor selection continuity during structural shifts, and ensures headless Markdown serialization runs deterministically without DOM leaks.

#frontend#lexical#rich-text#markdown#headless-editor#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement, Scroll Containment, and DOM Saturation Guardrails

Enforces deterministic element measurement, ref-bound layout stabilization, and multi-dimensional windowing containment for TanStack Virtual 3.0. Prevents catastrophic layout thrashing, infinite measurement oscillation loops, and DOM node saturation in high-density data tables.

#frontend#tanstack-virtual#virtualization#react#performance#table
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Explicit Rule Suppression Guardrails

Enforces strict configuration architecture in Biome 1.9 across monorepos and standalone repositories. Mandates explicit Git VCS integration to prevent parsing build outputs, centralized schema inheritance via `extends`, and fully qualified inline rule suppressions with mandatory justification strings.

#frontend#biome#linter#formatter#typescript#monorepo
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Windowing & Scroll Containment Standard

Enforces strict virtualizer lifecycle management in TanStack Virtual 3.0 for massive, dynamic datasets. Prevents DOM node saturation, layout thrashing, and sub-pixel jitter by mandating accurate ref dynamic measurement callbacks, scroll margin isolation, and GPU-accelerated CSS transform positioning.

#frontend#react#tanstack-virtual#performance#dom-virtualization
ACTIVE INVARIANTfrontend
View Rule Spec

Deterministic Biome 1.9 Monorepo Inheritance, VCS Integration, and Explicit Rule Suppression

Biome 1.9 replaces traditional multi-tool JavaScript/TypeScript toolchains with a high-performance single-binary engine. In production monorepos, engineers must enforce root configuration inheritance using exact relative extends paths, integrate native VCS ignore hooks to eliminate duplicate ignore manifests, and mandate structured, deterministic suppression comments containing both rule names and mandatory rationale.

#frontend#biome#biomejs#linter#formatter#monorepo#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start SSR: Type-Safe Search Validation, Loader Dependencies, and Deferred Streaming

Enforces strict validation of search parameters via standard schema parsers, mandatory `loaderDeps` declarations for search-dependent queries, and explicit deferred streaming via `defer()` for non-critical SSR data. Prevents SSR waterfall blocking and eliminates client-server hydration mismatch bugs.

#frontend#tanstack-router#tanstack-start#ssr#typescript#streaming
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Windowing and DOM Containment Standard

Enforces deterministic rendering invariants for TanStack Virtual 3.0 in massive datasets. Mandates hardware-accelerated transforms, bounded overscan, stable keying via getItemKey, and strict measureElement lifecycle bindings to eliminate ResizeObserver thrashing, layout jitter, and DOM node saturation.

#frontend#tanstack-virtual#react#virtualization#performance#dom-containment
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement and DOM Containment Standard

Enforces deterministic DOM virtualization using TanStack Virtual 3.0 with dynamic element measurement and hardware-accelerated positioning. Prevents layout thrashing, DOM node saturation, and measurement feedback loops in massive data tables by constraining overscan thresholds and stabilizing element ref attachments.

#frontend#tanstack-virtual#virtualization#performance#react#tables
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Headless Node Mutability, Selection Reconciliation, and Markdown Engine Guardrails

Enforces strict immutability patterns, selection preservation, and headless state reconciliation across Meta Lexical document pipelines. Prevents direct mutation of LexicalNode instances outside writable editor states and guarantees deterministic Markdown import/export without DOM dependencies. Mandates atomic transforms and safe clone operations to prevent state corruption and infinite transform loops.

#frontend#lexical#rich-text#markdown#state-management#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0: Dynamic Measurement Invariants and DOM Containment Guardrails

Enforces strict virtualizer lifecycle integrity, dynamic element measurement via ref callbacks with stable identity keys, and CSS containment in TanStack Virtual v3. Prevents catastrophic layout thrashing, scroll-jitter loops from dynamic heights, and DOM node saturation in massive tables.

#frontend#tanstack-virtual#performance#react#virtualization#dom-optimization
ACTIVE INVARIANTfrontend
View Rule Spec

Svelte 5 Fine-Grained Reactivity and Snippet Architecture Standard

Mandates strict adherence to Svelte 5 runes architecture ($state, $derived, $props, $effect, and snippets), strictly prohibiting legacy Svelte 3/4 patterns ($:, export let, <slot>). Enforces precise reactive dependency tracking, prevents infinite render loops from effect-driven derivations, and ensures snippet-based component composition.

#frontend#svelte5#runes#typescript#reactive-programming
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Monorepo Inheritance, VCS Boundary, and Rule Suppression Standard

Enforces deterministic configuration patterns for Biome 1.9 across monorepos and isolated services. Mandates native VCS integration to guarantee build boundary consistency with Git, explicit monorepo inheritance trees via extends, and deterministic inline rule suppression requiring non-empty rationale clauses.

#frontend#biome#linter#formatter#tooling#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Strict Suppression Syntax

Enforces deterministic Biome 1.9 single-binary linter and formatter configuration standards across monorepo and standalone codebases. Mandates centralized configuration inheritance via extends, strict VCS ignore integration to prevent artifact pollution, and strictly formatted inline suppression comments with mandatory explanatory rationales.

#frontend#biome#linter#formatter#tooling#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start Type-Safe Search Params & Deferred SSR Streaming Invariants

Enforces strict type safety for route search parameters, deterministic SSR loaders, and deferred streaming patterns in TanStack Start and Fullstack Router. Prevents blocking SSR server responses with slow network calls, eliminates client-side hydration mismatches caused by unvalidated query strings, and mandates standard deferred promise handling using the Await component.

#frontend#tanstack-start#tanstack-router#ssr#streaming#typescript#hydration
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start SSR: Strict Search Validation, Deferred Streaming, and Server Function Boundaries

Mandates strict schema validation via validateSearch for all URL search parameters, isolates critical vs non-critical SSR payloads using defer() with Suspense/Await for non-blocking TTFB, and enforces server-only execution boundaries with createServerFn.

#frontend#tanstack-router#tanstack-start#ssr#streaming#search-params#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Svelte 5 Runes Reactive State & Snippets Architectural Standard

Enforces deterministic, fine-grained reactivity using Svelte 5 Runes ($state, $derived, $effect, and $props) while deprecating legacy Svelte 3/4 reactive syntax ($:, let bindings, export let, and slot elements). Prevents reactive proxy de-structuring and guarantees pure, side-effect-free derivations with idiomatic snippet-based rendering.

#frontend#svelte#svelte5#runes#reactivity#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start SSR Loaders, Type-Safe Search Params, and Deferred Streaming Standard

Enforces strict type safety for URL search params, prevents SSR-blocking data waterfalls through deferred promise streaming, and eliminates client-server hydration mismatches in TanStack Start. Prohibits direct access to window.location or unvalidated search params during server-side renders and requires non-critical async loader data to be deferred via defer() and consumed with Suspense and Await.

#frontend#tanstack-start#tanstack-router#ssr#streaming#search-params#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start SSR Invariants: Type-Safe Search Validation, Streaming Deferrals, and Loader Dependency Tracking

Enforce strict schema validation on URL search parameters via validateSearch, prevent server-side TTFB bottlenecks by mandating defer() streaming for non-critical data, and guarantee deterministic hydration through explicit loaderDeps tracking across TanStack Start routes.

#tanstack-start#tanstack-router#ssr#typescript#zod#streaming
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Strict Suppression

Mandates deterministic monorepo configuration via Biome 1.9 extends syntax, binds discovery directly to Git VCS ignore manifests to eliminate filesystem desync, and requires fully justified inline suppression syntax. Prevents unanchored artifact scanning, legacy ESLint directive leakage, and silent suppression debt.

#frontend#biome#linter#formatter#tooling#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Windowing Performance: Dynamic Measurement & DOM Saturation Guardrail

Mandates deterministic element measurement, GPU-accelerated transforms, and strict overscan boundaries in TanStack Virtual v3. Prevents layout thrashing, ResizeObserver recursion loops, and DOM node saturation in high-frequency, massive tabular structures.

#frontend#tanstack-virtual#react#windowing#performance#dom-saturation
ACTIVE INVARIANTfrontend
View Rule Spec

Svelte 5 Runes Reactivity and Snippet Composition Standards

Enforces strict architectural boundaries for Svelte 5 runes ($state, $derived, $effect, and $props), preventing reactivity loss via object destructuring and cyclic cascades. Mandates type-safe snippet composition over deprecated slot systems and restricts $effect to non-reactive DOM/external synchronization.

#svelte#svelte-5#runes#frontend#reactivity#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Immutable Node Transforms, Selection Invariants, and Headless Markdown Serialization

Lexical enforces an immutable copy-on-write model where node mutations are strictly restricted to writable clones inside active editor updates. Mutating node properties directly, bypassing `$getSelection()` normalization during reconciliation, or leaking DOM/layout dependencies into headless Markdown serialization leads to broken undo/redo stacks, infinite transform cascades, and catastrophic SSR crashes.

#frontend#lexical#rich-text#ast#headless#react
ACTIVE INVARIANTfrontend
View Rule Spec

React Router 7 Framework Mode: Hydration, Typegen, and Single-Fetch Boundaries

Enforces strict architectural boundaries for React Router 7 framework mode hydration, single-fetch streaming, and virtual type generation. Prevents hydration mismatches, double-fetching cascades, and runtime crashes caused by unhandled streaming promises or improperly configured clientLoader hydration flags.

#frontend#react-router-7#remix#single-fetch#hydration#streaming#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement and DOM Saturation Containment

Enforces strict architectural invariants for TanStack Virtual 3.0 when virtualizing variable-height tabular datasets and infinite feeds. Prevents DOM node saturation, scroll jitter, and cascading layout recalculation cycles by mandating composite GPU-layer positioning, deterministic ref-based dynamic element measurement, and bound scroll margins.

#frontend#tanstack-virtual#react#performance#dom-optimization#virtualization
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Windowing and DOM Saturation Invariants

Enforces strict virtual DOM containment, dynamic height measurement invariants, and GPU-accelerated rendering rules for TanStack Virtual 3.0. Prevents severe main-thread locking, layout thrashing, and memory leakage caused by uncontained dynamic measurements and overscan misconfigurations in high-density tables.

#frontend#react#tanstack-virtual#performance#virtualization#dom-optimization
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Config Inheritance, VCS Integration, and Suppression Governance

Enforces deterministic Biome 1.9 configuration architecture utilizing declarative inheritance (`extends`), rigorous VCS ignore-file synchronization (`vcs.useIgnoreFile`), and strictly documented suppression comments. Eliminates configuration drift across monorepo workspaces and prevents undocumented linter escapes in production TypeScript codebases.

#frontend#biome#linter#formatter#tooling#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Windowing, Layout Thrashing, and Scroll Isolation

Enforces strict DOM node containment, dynamic size measurement caching, and scroll margin stabilization when virtualizing massive datasets with TanStack Virtual v3. Prevents layout thrashing, erratic scroll jitter, and catastrophic DOM node saturation through rigorous use of key extractors, ref measurement attachments, and CSS transform-based positioning.

#frontend#tanstack-virtual#virtualization#performance#react#dom-optimization
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start & Router SSR: Type-Safe Search Params, Loaders, and Deferred Streaming

Mandates strict schema validation for route search parameters and non-blocking SSR via deferred streaming for secondary network requests. Prevents SSR blocking waterfalls, unvalidated URL state tampering, and hydration mismatches in TanStack Start applications.

#frontend#tanstack-start#tanstack-router#ssr#search-params#deferred-streaming#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Immutable Node Transforms, Selection Reconciliation, and Headless Serialization

Mandates strict compliance with Lexical's copy-on-write AST model via getWritable(), boundary isolation in read/update transactions, selection reconciliation across batch transforms, and exhaustive node registration for headless markdown serialization.

#frontend#lexical#rich-text#ast#headless#markdown#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement and DOM Saturation Invariants

Governs virtualized table and list rendering with @tanstack/react-virtual v3. Enforces stable dynamic node measurement contracts, constrained overscan margins, and hardware-accelerated positioning to eliminate layout thrashing and DOM node saturation.

#frontend#tanstack-virtual#virtualization#react#performance#dom-optimization
ACTIVE INVARIANTfrontend
View Rule Spec

Svelte 5 Runes Reactive State, Derived Tracking, and Snippet Composition Invariants

Svelte 5 replaces legacy compile-time variable instrumentation with runtime fine-grained reactive proxies governed by runes ($state, $derived, $effect, $props). Developers must never simulate computed state using side-effectful $effect synchronization, never destructure $state objects into plain local primitives, and eliminate legacy slots in favor of typed snippet closures.

#frontend#svelte5#runes#reactivity#snippets#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement and DOM Saturation Invariants

Enforces strict DOM node containment and precise dynamic dimension tracking in TanStack Virtual 3.0 to prevent layout thrashing, scroll jitter, and memory exhaustion in ultra-high-density data tables. Mandates transform-based virtualization, bounded overscan margins, and deterministic element measurement hooks.

#frontend#react#tanstack-virtual#performance#windowing#dom-optimization
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement, Transform Containment, and DOM Saturation Prevention

Enforces strict architectural guardrails for TanStack Virtual 3.0 in massive datasets with dynamic heights. Mandates hardware-accelerated transform positioning over layout-triggering top offsets, dynamic node registration via measureElement with data-index attributes, and aggressive overscan constraints to prevent DOM node saturation and recursive layout thrashing.

#frontend#react#tanstack-virtual#performance#virtualization#dom-optimization
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Immutable Node Transforms, Selection Reconciliation, and Headless Markdown Serialization

Enforces Lexical's immutable document update cycle by requiring writable node cloning via $node.getWritable(), preventing infinite transform loops through dirty checking, preserving selection state during reconciliation, and mandating complete node schema registration during headless markdown conversions.

#frontend#lexical#rich-text#headless#markdown#react
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Headless Node Mutability, Selection Reconciliation, and Markdown Serialization Guardrails

Enforces immutable clone semantics via getWritable() during EditorState mutations, prevents selection collapse during asynchronous headless reconciliations, and guarantees bidirectional fidelity during headless Markdown serialization and deserialization.

#frontend#lexical#rich-text#editor#typescript#markdown#headless
ACTIVE INVARIANTfrontend
View Rule Spec

Strict Type-Safe Search Params, SSR Loaders, and Deferred Streaming in TanStack Start

Enforces complete type safety across search parameters with Zod validation, prevents SSR waterfall bottlenecks by decoupling critical hydration data from deferred promises via `defer()`, and mandates strict boundary management with `Await` components. Forbids unvalidated search params and blocking SSR loaders for non-critical downstream data.

#frontend#tanstack-start#tanstack-router#ssr#typescript#zod
ACTIVE INVARIANTfrontend
View Rule Spec

Svelte 5 Runes Reactivity, Snippets, and Props Invariants

Enforces fine-grained reactivity and component composition standards using Svelte 5 runes ($state, $derived, $props, $effect) and snippets. Prevents reactivity loss caused by props destructuring, eliminates circular re-renders from effect-based state synchronization, and deprecates legacy Svelte 3/4 stores and slot idioms.

#frontend#svelte5#runes#snippets#typescript#reactivity
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Strict Rule Suppression

Enforces strict configuration architecture for Biome 1.9+ across monorepos and standalone repositories. Mandates native VCS ignore file integration to prevent linting build artifacts, centralized configuration inheritance via the 'extends' array, and deterministic, documented inline suppression comments.

#frontend#biome#linter#formatter#tooling#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Windowing & Layout Containment Invariant

Enforces strict DOM node containment, GPU-accelerated absolute transforms, and robust dynamic height measurement mechanics in TanStack Virtual 3.0. Prevents layout thrashing, scrollbar jitter, and memory saturation in high-throughput enterprise data grids by mandating hardware-accelerated transforms, data-index hooks, and bounded overscan constraints.

#frontend#tanstack-virtual#performance#virtualization#react#dom-containment
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Deterministic Suppression

Enforces architectural standards for Biome 1.9+ in single-package and monorepo codebases. Mandates centralized configuration inheritance, native VCS gitignore resolution, and strictly formatted suppression comments with mandatory human-readable justifications.

#frontend#biome#biomejs#linter#formatter#monorepo#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Svelte 5 Runes: Reactive State Proxies, Derived Tracking, and Snippet Composition

Svelte 5 introduces fine-grained reactive proxies via runes ($state, $derived, $props, $effect) and replaces slots with explicit snippets. Legacy Svelte 3/4 reactivity paradigms ($:, export let, <slot />) and reactive destructuring violate signal graph propagation, creating broken reactive boundaries and hydration mismatches.

#frontend#svelte5#runes#typescript#snippets#fine-grained-reactivity
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Immutable Node Transforms, Selection Reconciliation & Headless Serialization

Enforces Lexical's copy-on-write immutability paradigm via node.getWritable(), guarantees idempotent node transforms to eliminate infinite render cascades, and mandates deterministic headless Markdown serialization without DOM dependency leaks.

#frontend#lexical#rich-text#headless-editor#markdown#react
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Deterministic Configuration Inheritance, VCS Anchoring, and Suppression Standards

Biome 1.9 requires strict configuration inheritance hierarchies across monorepos, authoritative VCS ignore alignment, and deterministic, reason-mandated suppression syntax. Inconsistent root anchoring leads to silent file skips and CI divergence, while ad-hoc suppression syntax creates unmonitored code quality debt.

#frontend#biome#linter#formatter#tooling#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Alignment, and Deterministic Suppression

Enforces strict Biome 1.9 configuration architecture across mono- and poly-repositories. Mandates deterministic configuration inheritance via relative extends, automatic Git-ignore synchronization through vcs configuration blocks, and syntactically validated inline rule suppressions with mandatory justification clauses.

#frontend#biome#typescript#linter#formatter#ci-cd
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Suppression Governance

Enforces deterministic Biome 1.9 configuration architecture utilizing native Git VCS ignore integration, monorepo config inheritance, and mandatory reasoned comment suppressions. Prevents untracked file pollution, rogue ignores, and configuration drift between local developer environments and CI pipelines.

#biome#linter#formatter#tooling#frontend#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Deterministic Configuration Inheritance, VCS Integration, and Structured Suppression

Enforces strict Biome 1.9 configuration standards across single-repository and monorepo architectures by requiring explicit Git VCS synchronization and deterministic configuration inheritance. Mandates machine-checkable, documented rationale for every lint rule suppression comment while eliminating redundant Prettier and ESLint legacy directives.

#frontend#biome#linter#formatter#typescript#vcs#ci-cd
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Deterministic Configuration, VCS Integration, and Suppression Standards

Enforces strict configuration inheritance, native Git VCS integration, and deterministic rule suppression syntax under Biome 1.9. Eliminates file-tree desynchronization between gitignore and Biome formatters while preventing undocumented or legacy ESLint suppressions.

#frontend#biome#tooling#formatter#linter#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Immutable Transforms, Selection Preservation, and Headless Serialization

Lexical relies on a dual-tree model where editor states are strictly immutable snapshots transformed exclusively via editor.update() transactions using writable node proxies ($getNodeByKey or .getWritable()). In headless and server-side contexts, markdown serialization, node transforms, and selection reconciliations must never mutate nodes outside an active update context or perform un-batched DOM-dependent operations, preventing memory leaks, corrupted historical branches, and collapsed selections.

#frontend#lexical#rich-text#headless#serialization#react
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Sizing and DOM Containment Architecture

Enforces deterministic dynamic measurement, strict overscan limits, and scroll margin containment in TanStack Virtual 3.0. Eliminates DOM node saturation, layout thrashing, and subpixel scroll-jitter in dense, large-scale virtualized tables and lists.

#frontend#tanstack-virtual#virtualization#react#performance
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement, Scroll Containment, and DOM Saturation Defense

Enforces strict DOM node containment, dynamic size estimation bounds, and transform isolation for TanStack Virtual v3 in massive data tables. Prevents layout thrashing, incorrect cumulative scroll offsets, and continuous unmeasured re-renders by enforcing stable dynamic measurement callbacks, scroll margin isolation, and CSS layout containment.

#frontend#react#tanstack-virtual#performance#virtualization#dom-containment
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Node Immutability, Transform Idempotency, and Headless Serialization Invariants

Enforces immutable clone semantics via node.getWritable() strictly inside editor.update() transactions, prevents infinite reconciliation cycles in registered node transforms, and guarantees headless document serialization mirrors client-side node schemas without DOM runtime leakage.

#frontend#lexical#rich-text#serialization#headless#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

React Router 7 Framework Mode Hydration and Single-Fetch Typegen Boundary

Enforces strict adherence to React Router 7 framework-mode data loading, hydration boundaries, and type generation. Prevents hydration mismatches, duplicate fetches, and broken streaming states caused by legacy Remix primitives (json, defer) and improper clientLoader.hydrate configurations under turbo-stream single-fetch.

#frontend#react-router-7#remix#hydration#single-fetch#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Windowing & Scroll Margin Invariants

Enforces strict DOM node containment, dynamic measurement synchronization, and GPU-composited coordinate positioning in TanStack Virtual 3.0. Prevents layout thrashing, scroll jumping, and main-thread saturation across high-frequency mutations and massive data sets. Mandates stable element keys, memoized measurement callbacks, and calibrated overscan limits.

#frontend#tanstack-virtual#react#windowing#performance#layout-stability
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement and DOM Containment Architecture

Enforces zero-layout-shift dynamic measurement, CSS layout containment, and hardware-accelerated positioning in TanStack Virtual 3.0 implementations. Prevents catastrophic DOM node saturation, layout thrashing, and scroll jitter in massive dynamic tables.

#frontend#tanstack-virtual#react#performance#virtualization#dom-optimization
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Immutable Node Transforms, Selection Reconciliation, and Headless Serialization

Enforces Lexical's copy-on-write immutability semantics, ensuring node mutations always route through $getWritable() within transactional editor.update() scopes. Mandates comprehensive node registration for headless markdown pipelines and strict selection preservation during asynchronous and batch AST transforms.

#frontend#lexical#rich-text#editor-state#headless-cms#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start SSR Loaders, Type-Safe Search Params & Deferred Streaming Invariants

Enforces strict type safety for TanStack Router search parameters via schema validators, mandates selective SSR streaming via defer() for slow promises to optimize TTFB, and requires server functions (createServerFn) to isolate backend execution and prevent client bundle pollution.

#frontend#tanstack-router#tanstack-start#ssr#streaming#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Config Inheritance, VCS Alignment, and Deterministic Suppression

Enforces strict Biome 1.9 single-binary linter and formatter architectural invariants across repositories and monorepos. Mandates native VCS ignore synchronization, relative configuration inheritance via 'extends', and deterministic suppression syntax with obligatory audit explanations.

#frontend#biome#linter#formatter#tooling#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Deterministic Biome 1.9 Configuration Inheritance, VCS Integration, and Suppression Standards

Enforces strict configuration schema compliance for Biome 1.9 single-binary toolchains across monorepo architectures. Prevents non-deterministic linting and formatting regressions by mandating native VCS integration, explicit extends resolution paths, and structured inline suppression syntax with explanatory justifications.

#frontend#biome#biomejs#linting#formatting#monorepo#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement, Scroll Containment, and DOM Anti-Saturation Standard

Enforces strict DOM memory limits, stable element measurement lifecycles, and subpixel layout containment for TanStack Virtual v3 in high-density data grids. Prohibits unbounded overscanning, non-keyed virtual items, and unmeasured dynamic height mutations that destabilize scroll position or trigger ResizeObserver loops. Mandates explicit scroll margins, isolation of layout recalculations via CSS containment, and dynamic measurement through stable ref callbacks.

#frontend#tanstack-virtual#react#performance#windowing#virtualization#dom-optimization
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start & Router SSR Type-Safe Search Params and Deferred Streaming Standard

Enforces strict type safety and architectural invariants across TanStack Start and Fullstack Router SSR lifecycles. Mandates Zod-validated search params via validateSearch, non-blocking SSR TTFB through TanStack defer() streaming, and proper isolation of server-only execution boundaries with createServerFn. Eliminates hydration mismatches, blocking waterfalls, and memory leaks during SSR data hydration.

#frontend#tanstack-start#tanstack-router#ssr#deferred-streaming#typescript#search-params
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start SSR Loaders, Streaming, and Type-Safe Search Params

Mandates end-to-end type safety for search params using standard schema validators, enforces non-blocking SSR via TanStack Router deferred data streaming, and guarantees deterministic hydration parity across client and server boundaries.

#frontend#tanstack-router#tanstack-start#ssr#typescript#streaming
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Windowing Performance & Dynamic Measurement Guardrails

Enforces strict DOM node containment, dynamic size measurement invariants, and scroll margin stabilization when virtualizing massive datasets with TanStack Virtual 3.0. Prevents forced reflow cascades, layout thrashing, incorrect virtual item caching, and DOM saturation across large tables and complex feed surfaces.

#frontend#react#tanstack-virtual#virtualization#performance#dom-recycling
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Immutable Transforms, Selection Reconciliation & Headless Serialization

Lexical editor states are immutable directed acyclic graph (DAG) snapshots requiring strict transactional modifications via editor.update() and getWritable(). Flawed node transforms cause fatal infinite reconciliation loops and selection collapse, while headless markdown/SSR pipelines crash when custom AST transformers or node definitions fail to mirror browser runtime registries.

#frontend#lexical#rich-text#ast#markdown#headless#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Deterministic Rule Suppressions

Enforces strict Biome 1.9 configuration architecture across monorepos and standalone repositories. Mandates native VCS ignore file synchronization, explicit configuration inheritance hierarchies via extends, and deterministic, fully-qualified suppression comments with mandatory explanatory text.

#frontend#biome#linter#formatter#tooling#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start SSR Deferred Streaming & Type-Safe Search Params Standard

Enforces strict type safety for URL search parameters via validateSearch schemas and non-blocking SSR execution via TanStack Router's defer and Await primitives. Prevents critical-path Time-To-First-Byte (TTFB) degradation and client-server hydration mismatches.

#frontend#tanstack-router#tanstack-start#ssr#typescript#streaming
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Suppression Guardrail

Enforces strict Biome 1.9 single-binary formatting and linting standards across frontend and monorepo codebases. Requires unified VCS ignore synchronization to prevent CI/local drift and mandates deterministic rule suppressions with mandatory justification reasons. Prohibits legacy ESLint/Prettier directive bleed and ensures deterministic configuration inheritance.

#frontend#biome#linter#formatter#monorepo#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start SSR: Type-Safe Search Params, Server Loaders, and Deferred Streaming

Enforces strict type safety for URL search parameters via schema validators, prevents SSR waterfalls through non-blocking deferred streaming, and guarantees proper server-client boundary isolation using server functions in TanStack Start and Router.

#frontend#tanstack-start#tanstack-router#ssr#streaming#search-params#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Sizing & DOM Containment Standards

Mandates zero-jitter dynamic element measurement, hardware-accelerated transforms, and bounded overscan budgets for TanStack Virtual v3 in high-density tables. Enforces strict viewport container isolation, stable item keying, and precise ref callback bindings to eliminate layout thrashing and DOM node saturation.

#frontend#tanstack-virtual#react#virtualization#performance#dom-containment
ACTIVE INVARIANTfrontend
View Rule Spec

Svelte 5 Runes Invariant: Fine-Grained Reactivity and Snippet Composition

Enforces architectural invariants for Svelte 5 runes ($state, $derived, $props, $effect) and snippet composition. Prevents reactivity severing caused by destructuring reactive proxies, completely eliminates legacy Svelte 3/4 reactivity paradigms (export let, $:, <slot />), and bans side-effect synchronization antipatterns in $effect.

#frontend#svelte5#runes#reactivity#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Deterministic Rule Suppression

Enforces deterministic configuration inheritance, native Git VCS boundary synchronization, and strictly justified inline suppressions in Biome 1.9. Prevents CI pipeline failures, configuration drift in monorepos, and silent suppression rot caused by legacy ESLint comment patterns.

#frontend#biome#linter#formatter#monorepo#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Immutable Node Transforms, Selection Preservation, and Headless Serialization Invariants

Enforces strict compliance with Meta Lexical's copy-on-write immutability, selection reconciliation invariants, and headless serialization execution contexts. Prevents infinite transform recursion, dirty state desynchronization, DOM selection collapse, and headless node registry mismatches.

#frontend#lexical#rich-text#markdown#headless-editor#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Start & Router SSR: Type-Safe Search Params, Loaders, and Streaming Invariants

Enforces strict type safety for search params via validation schemas, prohibits blocking SSR waterfalls by mandating deferred promise streaming for non-critical assets, and eliminates hydration mismatches in TanStack Start full-stack routes. Guarantees zero runtime search parameter divergence and deterministic server-side rendering execution.

#frontend#tanstack-start#tanstack-router#ssr#streaming#type-safety#react
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Headless Node Mutability, Transform Lifecycles, and Selection Invariants

Enforces proper immutability semantics, node mutation lifecycles, and selection reconciliation within headless Lexical editor pipelines. Prohibits direct property mutation, external modifications outside editor.update closures, and unmanaged selection resets during headless markdown serialization and deserialization.

#frontend#lexical#rich-text#editor#typescript#markdown#headless
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Strict Deterministic Suppression

Enforces strict Biome 1.9 configuration governance across monorepos and standalone repositories using schema pinning, declarative VCS ignore syncing, and deterministic rule suppression syntax. Mandates exact suppression target specifiers with required inline human rationales while forbidding legacy ESLint/Prettier annotations.

#frontend#biome#linter#formatter#tooling#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Svelte 5 Runes Reactivity, State Proxies, and Snippets Architecture

Enforces proper utilization of Svelte 5 runes ($state, $derived, $effect, $props) and Snippets, preventing legacy Svelte 3/4 reactivity leaks. Guarantees signals and proxy integrity by prohibiting side-effect-driven state synchronization, proxy destructuring pitfalls, and obsolete slot mechanisms.

#frontend#svelte#svelte-5#runes#state-management#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Configuration Inheritance, VCS Integration, and Strict Rule Suppression Standard

Enforces deterministic formatting and linting architecture via Biome 1.9 single-binary tooling across enterprise monorepos. Mandates standardized VCS ignore synchronization, centralized configuration inheritance, and fully qualified, documented suppression comments. Eliminates configuration drift, unignored build artifact pollution, and undocumented lint bypasses in CI/CD pipelines.

#frontend#biome#linter#formatter#monorepo#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

React Router 7 Framework Hydration, Single Fetch, and Route Typegen Invariants

Enforces architectural boundaries for React Router 7 Framework Mode, specifically governing single-fetch serialization, clientLoader hydration orchestration, and strict route module typegen consumption. Prevents double-fetching cascades, turbo-stream hydration mismatches, and broken client-side streaming topologies.

#react-router-7#remix#hydration#streaming#single-fetch#typegen#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Measurement, Key Containment, and DOM Saturation Defense

Mandates strict performance invariants for TanStack Virtual 3.0 in massive datasets and tables. Enforces stable key identification, sub-pixel composite transforms over layout-thrashing positioning, explicit dynamic element measurement contracts via data-index, and rigid bounds on overscan to prevent DOM node saturation and ResizeObserver loop limit exhaustion.

#frontend#tanstack-virtual#react#virtualization#performance#dom-optimization
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Virtual 3.0 Dynamic Windowing & Scroll Containment Standard

Enforces strict DOM node containment, element measurement caching, and continuous scroll margin preservation for massive data grids using TanStack Virtual v3. Prevents layout thrashing, DOM node saturation, and measurement jitter during high-velocity scrolling by requiring deterministic item keys, CSS contain properties, and explicit scroll margin offsets. Mandates hardware-accelerated transform positioning over direct offset mutations.

#frontend#tanstack-virtual#performance#react#windowing#virtualization
ACTIVE INVARIANTfrontend
View Rule Spec

Lexical Immutable Transforms, Selection Reconciliation & Headless Markdown Invariants

Enforces strict immutability protocols, transform loop prevention, and selection-preserving node reconciliations across Lexical editor implementations. Guarantees deterministic serialization between headless server environments and interactive browser client states without DOM leakage or reconciliation crashes.

#frontend#lexical#rich-text#editor-state#headless-cms#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

React Router 7 Framework Mode Hydration and Single-Fetch Invariants

Enforces strict typegen route module typing, turbo-stream native serialization, and explicit clientLoader hydration boundaries in React Router 7 Framework Mode. Prevents hydration mismatch bugs, duplicate network roundtrips, and stream serialization breakage caused by legacy Remix v2 patterns like json() wrappers and manual generic types.

#frontend#react-router#remix#hydration#single-fetch#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Biome 1.9 Strict Configuration Inheritance, VCS Integration, and Explicit Rule Suppression Guardrails

Mandate deterministic Biome 1.9 configuration architecture across monorepos and standalone repositories using JSONC schema validation, VCS-aware file resolution (`useIgnoreFile: true`), and strictly qualified suppression comments with mandatory explanatory rationale (`// biome-ignore group/rule: rationale`). Prevent configuration drift, CI linting discrepancies, and non-deterministic ignore behavior.

#frontend#biome#linter#formatter#tooling#vcs#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Server Isolation, App Reorganization, and SSR Hydration Standard

Enforces strict boundary separation between Nuxt 4 app/ runtime, Nitro server engine, and shared/ utilities. Prohibits global state pollution across concurrent SSR requests and eliminates cross-boundary imports between server and client domains.

#frontend#nuxt4#nitro#vue#ssr#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Server Isolation and Shared Directory Boundary Governance

Enforces strict boundary contracts across Nuxt 4's app/, server/, and shared/ directories, preventing cross-request state contamination in Nitro server handlers and hydration mismatches during SSR. Eliminates module-scoped mutable state on the server, restricts shared/ to runtime-agnostic isomorphic code, and mandates deterministic, scoped state hydration via useState.

#frontend#nuxt4#nitro#ssr#typescript#state-hydration#vue
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Server Engine Architecture & SSR State Isolation Standard

Enforces strict boundary separation across Nuxt 4's app/, server/, and shared/ directories while eliminating cross-request state pollution in Nitro event handlers and Vue SSR composables. Mandates request-scoped context, unstorage/H3 event context over module-level singletons, and useState over global refs to prevent concurrent tenant data leakage.

#nuxt#nuxt4#nitro#vue#ssr#typescript#architecture
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 App Restructuring, Nitro Isolation, and Hydration Invariant

Enforces strict isolation between Nuxt 4's app/ directory structure, the shared/ directory, and Nitro server execution contexts. Prevents cross-request SSR state leakage via module-scope singletons and ensures clean contracts for Nitro event handlers and isomorphic code.

#nuxt#nuxt4#nitro#vue#ssr#state-hydration#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Server Engine Isolation and Shared Directory Invariants

Nuxt 4 transitions to an explicit `app/` directory root and introduces the top-level `shared/` directory alongside the Nitro v2 engine. Un-isolated module-level state in Nitro event handlers or leaking client-side reactive state into server runtime scopes causes cross-request pollution and catastrophic SSR state hydration mismatches.

#nuxt4#nitro#vue#ssr#architecture#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Server Engine Isolation & Shared Directory Boundary Enforcement

Enforces strict boundary isolation between Nuxt 4's app/ directory, Nitro server runtime, and isomorphic shared/ directory. Prevents catastrophic cross-request state pollution in Nitro handlers and ensures client/server hydration parity without runtime capability leaks.

#frontend#nuxt#nuxt4#nitro#ssr#typescript#security
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Engine, Shared Directory, and SSR State Isolation

Enforces strict boundary separation across Nuxt 4's app/, server/, and shared/ directory architecture. Eliminates multi-tenant cross-request state pollution in Nitro v2 event handlers and SSR composables, ensuring hydration safety and runtime-agnostic isomorphic code.

#frontend#nuxt4#nitro#ssr#vue#typescript#state-hydration
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Server Engine, Shared Directory, and SSR State Isolation

Enforces strict boundary separation between Nuxt 4's app/ directory, Nitro server runtime, and shared/ utilities. Prevents cross-request state pollution, runtime leakage of server-only primitives into client bundles, and un-isolated SSR state hydration bugs.

#frontend#nuxt4#nitro#ssr#hydration#typescript#vue
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Engine, Shared Directory Architecture, and SSR State Isolation

Enforces strict boundaries in Nuxt 4 projects between the restructured app/ client workspace, Nitro v2 server/ engine, and shared/ isomorphic directory. Prevents cross-boundary leakage of server secrets into client bundles, stops module-level mutable state leaks across concurrent SSR requests, and guarantees deterministic client-side hydration.

#nuxt4#nitro#vue#ssr#hydration#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Server Engine, Shared Directory, and SSR State Isolation

Mandates strict architectural separation across Nuxt 4's app/, server/, and shared/ directories to prevent server-side runtime leakage and cross-request state pollution (CRSP). Enforces isomorphic purity in shared/, request-scoped lifecycle handling in Nitro handlers, and SSR-safe state hydration via useState.

#frontend#nuxt4#nitro#vue#ssr#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Server Engine & Shared Directory State Isolation Standards

Enforces strict architectural boundaries and execution context isolation in Nuxt 4, isolating Nitro server engine logic from the app/ directory via the root shared/ boundary. Prevents catastrophic cross-request state pollution during SSR hydration, illegal cross-boundary runtime imports, and leaks of server-only secrets into client bundles.

#nuxt4#nitro#vue#ssr#typescript#hydration#state-management
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Directory Restructuring, Nitro v2 Engine, and SSR State Isolation

Nuxt 4 introduces a restructured root architecture consolidating frontend code into 'app/' alongside a dual-targeted 'shared/' directory and Nitro v2 runtime. Improper placement of server logic in shared directories or leaking cross-request state via module-scoped singletons on the Nitro engine causes severe security breaches and memory leaks across concurrent SSR sessions.

#nuxt#nuxt4#nitro#vue#ssr#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Directory Restructuring, Nitro Context & SSR State Isolation

Enforces Nuxt 4 directory architecture (isolating application code inside `app/` and shared cross-runtime logic inside `shared/`), strict Nitro server-route context management, and per-request SSR state isolation. Prohibits global module-level mutable singletons and cross-boundary runtime contamination between Nitro server routes and Vue client code.

#frontend#nuxt4#nitro#ssr#vue3#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Engine Boundaries, Shared Directory Invariants, and SSR State Isolation

Mandates strict architectural boundaries between Nuxt 4's `app/` presentation layer, Nitro `server/` runtime, and the universal `shared/` directory. Enforces request-scoped state encapsulation using `useState()` and `H3Event` context to prevent cross-request memory contamination and SSR hydration mismatches.

#nuxt4#nitro#ssr-hydration#vue#typescript#architecture
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Directory Restructuring, Nitro Route Handlers, and SSR State Isolation

Nuxt 4 transitions all client application code into the app/ directory while Nitro server execution operates strictly under server/ and cross-runtime shared logic resides in shared/. Direct state mutation across runtime boundaries or module-level shared variables in Nitro handlers leads to cross-request state leakage, memory leaks, and SSR hydration mismatches.

#frontend#nuxt#nuxt4#nitro#vue#ssr#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Engine & Shared Directory SSR Hydration Isolation

Enforces strict boundary separation between Nuxt 4's app/, server/, and shared/ directories to prevent cross-request SSR state leaks and bundle contamination. Mandates request-scoped context isolation within Nitro v2 event handlers and strictly serializable, payload-safe contracts across the shared directory.

#nuxt#nuxt4#nitro#ssr#typescript#vue
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Server Engine & Isolated SSR State Hydration

Enforces strict architectural boundaries across Nuxt 4's app/, server/, and shared/ directories to eliminate cross-request state pollution in Nitro v2 runtimes. Mandates request-scoped context isolation using H3 event context and Nuxt useState to prevent sensitive data leaks between concurrent SSR executions.

#frontend#nuxt4#nitro#ssr-hydration#vue3#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Server Engine, Shared Directory, and SSR State Isolation

Enforce strict execution boundary separation across Nuxt 4 app/, server/, and shared/ directories while eradicating cross-request state pollution in Nitro v2 server engines and Vue SSR. Mandates request-bound event contexts in Nitro routes and useState/Pinia per-request lifecycle encapsulation in the app layer.

#frontend#nuxt4#nitro#ssr#typescript#state-hydration
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Nitro Server Engine, Shared Directory Boundaries, and SSR State Isolation

Enforces strict architectural boundaries between Nuxt 4 app/, server/, and shared/ directories while preventing cross-request state leakage during SSR. Mandates per-request context isolation in Nitro v2 event handlers and SSR-safe reactive singletons via useState.

#frontend#nuxt#nuxt4#nitro#ssr#vue3#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Nuxt 4 Directory Restructuring, Nitro Isolation, and SSR State Leak Prevention

Nuxt 4 introduces a restructured directory hierarchy where application code resides inside `app/` and shared cross-boundary utilities live in `shared/`. Nitro server runtime context must remain strictly isolated from Vue client runtimes, prohibiting global mutable module state in Nitro event handlers and ensuring SSR hydration payloads use serializable `useState` rather than top-level variables.

#nuxt#nuxt4#nitro#ssr#vue3#typescript#architecture
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Server Actions Origin Validation and CSRF Boundary Enforcement

Next.js 15 Server Actions expose public HTTP POST endpoints vulnerable to cross-origin abuse, host header spoofing behind reverse proxies, and unauthorized state mutation. Architects and developers must configure explicit `serverActions.allowedOrigins` in multi-domain or proxied deployments and enforce mandatory server-side authentication, origin verification, and schema validation inside every action body.

#frontend#nextjs#server-actions#csrf#security#next15
ACTIVE INVARIANTbackend
View Rule Spec

SurrealDB 2.0 Graph Relations, Record Linkage, and Live Subscription Lifecycle Management

Enforces typed RecordId instantiation, atomic graph relations (RELATE), and strict lifecycle management for SurrealDB 2.0 Live Queries. Prevents memory leaks from orphaned live query UUIDs and data corruption from untyped string-concatenated record links during WebSocket streaming.

#surrealdb#backend#websockets#graph-database#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Graph Invariants: Cyclic Relation Prevention & Contextual Tuple Hardening

Enforces strict directed acyclic graph (DAG) topology validation during relationship mutation writes and mandates strict server-side schema verification for ephemeral contextual tuples in OpenFGA evaluations. Prohibits persistent storage of ephemeral request attributes and guards against recursive relation loops causing graph expansion denial-of-service.

#security#rebac#openfga#zanzibar#authorization#graph-algorithms
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional UI Mediation, Nonce Atomicity, and Assertion Cryptographic Verification

Enforces zero-trust cryptographic validation for FIDO2/WebAuthn Passkey authentication with Conditional UI autofill. Requires atomic single-use challenge consumption to eliminate replay attacks, strict RP ID hash and origin binding, authenticatorData flag verification (User Presence and User Verification), and monotonic signature counter enforcement to detect authenticator cloning.

#security#webauthn#fido2#passkeys#cryptography#conditional-ui#replay-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce Sigstore Keyless OIDC Attestation and Admission Controller Verification

Enforces immutable supply-chain security using Sigstore Cosign keyless signing via ephemeral OIDC tokens issued by Fulcio and verified against the Rekor transparency log. Container workloads must be signed and attested at build time by digest, and admission controllers (such as Kyverno or Sigstore Policy Controller) must strictly validate the OIDC issuer and subject identity before allowing image execution.

#security#sigstore#cosign#supply-chain#kubernetes#kyverno#containers
ACTIVE INVARIANTsecurity
View Rule Spec

HashiCorp Vault Ephemeral Database Credentials and Lease-Aware Connection Pool Lifecycle

Production services interacting with relational datastores must consume short-lived ephemeral credentials issued dynamically by HashiCorp Vault with zero persistent root or shared credentials in configuration. Application connection pools must actively monitor lease TTLs, schedule proactive renewals before expiry, and gracefully drain and refresh database connection pools upon credential rotation without service downtime.

#security#vault#database#secrets-management#zero-trust#credential-rotation
ACTIVE INVARIANTsecurity
View Rule Spec

OWASP LLM-01 Indirect Prompt Injection Sandboxing, Delimiter Escaping & Deterministic Intent Verification

Untrusted text from RAG retrievals, web scrapers, and external APIs must be treated as untrusted user payload rather than prompt instructions. Applications must enforce rigorous XML tag sanitization, strict isolation within defined data boundaries, and secondary schema-driven deterministic verification before triggering downstream tool executions or state changes.

#security#owasp-llm-01#prompt-injection#rag#sandboxing#llm-guardrails
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Zero-Trust Workload Identity Attestation and Hot-Reloading

Enforces strict validation, dynamic in-memory hot-reloading, and trust-bundle verification for SPIFFE X.509 SVIDs over short-lived mTLS connections. Prevents static certificate caching, filesystem secret leakage, and permissive Subject Alternative Name (SAN) validation in microservice workloads.

#security#spiffe#spire#zero-trust#mtls#svid
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 DPoP Proof Validation, Nonce Enforcement, and Token Binding Verification

Mandates strict RFC 9449 compliance for DPoP (Demonstrating Proof-of-Possession) verification across Authorization Servers and Resource Servers. Enforces asymmetric key thumbprint matching (jkt/cnf), cryptographic validation of DPoP proof headers and claims (typ, htm, htu, ath, nonce), and distributed jti cache tracking to prevent replay attacks within clock skew bounds.

#security#oauth2#dpop#rfc9449#replay-prevention#jwt
ACTIVE INVARIANTsecurity
View Rule Spec

Kernel-Level Tetragon eBPF Telemetry and Privilege Boundary Enforcement

Enforce real-time kernel-space tracing and synchronous threat remediation using Cilium Tetragon TracingPolicies across Kubernetes workloads. Guardrails mandate in-kernel filtering for execution, namespace boundary crossing (setns/unshare), and capability acquisition to eliminate TOCTOU race conditions and user-space ring buffer flooding.

#security#ebpf#tetragon#cilium#container-security#zero-trust#kubernetes
ACTIVE INVARIANTsecurity
View Rule Spec

Strict ES256 Asymmetric Key Verification, JWKS Cache Invalidation, and Distributed Token Revocation

Enforces immutable cryptographic pinning to ECDSA P-256 (ES256) signature validation with robust JWKS key caching and rate-limiting. Mandates explicit verification of standard claims (iss, aud, exp, nbf) and enforces an atomic distributed blacklist lookup using a unique jti against a shared key-value store to support instantaneous token revocation.

#security#jwt#es256#jwks#ecdsa#redis#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

Strict CSP L3 Nonce Injection, Strict-Dynamic, and Trusted Types Enforcement

Enforces dynamic, cryptographically secure per-request nonce generation for Content Security Policy Level 3 compliance across all SSR/edge layers. Mandates the elimination of 'unsafe-inline' and 'unsafe-eval' via 'strict-dynamic' and prevents client-side DOM-XSS sinks by enforcing Trusted Types policies.

#security#csp#xss#trusted-types#ssr#headers
ACTIVE INVARIANTsecurity
View Rule Spec

SLSA Level 3 Cryptographic Provenance, CycloneDX SBOM Generation, and Dependency Quarantine

Enforces non-falsifiable SLSA Level 3 cryptographic build provenance and machine-readable CycloneDX Software Bill of Materials (SBOM) generation across all build and release pipelines. Mandates pre-deployment quarantine validation gates that verify in-toto/Cosign attestations, evaluate component hashes against official registries, and block unverified artifacts from execution environments.

#security#supply-chain#slsa-l3#cyclonedx#sbom#cosign#quarantine
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory WebAuthn L3 Conditional Mediation & Passkey Lifecycle Invariants

Enforces W3C WebAuthn Level 3 conditional mediation ('conditional UI') across all public entry points to eliminate credential stuffing and adversary-in-the-middle phishing. Mandates cryptographically binding server-side challenge-response validation, strict RP ID origin scoping, AbortController lifecycle management for autofill requests, and inspection of backup eligibility and state flags (BE/BS) for synchronized passkeys.

#security#webauthn#passkeys#fido2#conditional-mediation#authentication#appsec
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce In-Kernel Real-Time Exploit Prevention and Process Termination with Cilium Tetragon

Cilium Tetragon TracingPolicies must execute synchronous in-kernel enforcement (such as Sigkill) directly inside eBPF hook handlers rather than relying on asynchronous userspace alerting. Real-time prevention stops memory corruption exploits, container escapes, and unauthorized binary executions before payload completion, eliminating the Time-of-Check to Time-of-Use (TOCTOU) vulnerability window inherent in passive monitoring.

#security#ebpf#cilium#tetragon#zero-trust#runtime-security#kernel
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Real-Time ReBAC Tuple Evaluation & Invalidation Caching Standard

Enforces sub-millisecond fine-grained authorization evaluations while preventing stale permissions and TOCTOU vulnerabilities. Combines event-driven distributed cache invalidation via change-data-capture (CDC) or transactional outbox with OpenFGA contextual tuples for dynamic request attributes.

#security#openfga#rebac#authorization#caching#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Conditional Mediation & Hardware Attestation Invariants

Enforces cryptographically rigorous FIDO2/WebAuthn Level 3 implementations across omnichannel entrypoints. Mandates client-side conditional UI mediation with explicit AbortController lifecycle management and server-side strict challenge-response verification against FIDO Metadata Service (MDS) hardware attestation roots, preventing credential stuffing, phishing, and replay attacks.

#security#webauthn#fido2#passkeys#authentication#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA ReBAC Sub-Millisecond Graph Authorization and Cache Invalidation Invariant

Enforces sub-millisecond OpenFGA relationship-based access control (ReBAC) evaluations while guaranteeing zero stale-graph traversals. Mandates strict fail-closed authorization boundaries, deterministic transactional tuple synchronization via transactional outbox patterns, request-scoped contextual tuples, and precise cache invalidation across distributed services.

#security#openfga#rebac#authorization#cache-invalidation#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 Passkey Attestation & Credential Relay Downgrade Prevention

Enforces strict W3C WebAuthn Level 3 server-side validation invariants, covering exact origin binding, RP ID validation, cryptographically random challenge lifecycles, and user-verification enforcement. Mandates synced-credential (backup state) inspection, attestation trust path validation, and counter-rollback detection to neutralize credential relay attacks and unauthorized fallback downgrades.

#security#webauthn#passkeys#fido2#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory ZedToken Causal Consistency Enforcement in OpenFGA ReBAC

Distributed Relationship-Based Access Control (ReBAC) systems are vulnerable to Zanzibar's classic 'New Enemy' problem when mutations and authorization checks execute across asynchronously replicated data stores. Tuple writes modifying permissions must capture and propagate causal consistency tokens (ZedTokens or snapshot boundaries) to ensure downstream checks evaluate against at least as fresh a state snapshot. Omitting consistency constraints allows stale read-replica evaluations, resulting in critical authorization bypasses and privilege escalation after revocation events.

#security#openfga#zanzibar#rebac#authorization#distributed-systems
ACTIVE INVARIANTbackend
View Rule Spec

Next.js 15 Server Action Taint Boundaries and Cryptographic Idempotency Guardrail

Enforces strict isolation between server-side domain entities and client-facing responses using React taint APIs, combined with distributed cryptographic idempotency enforcement. Prevents accidental server secret leakage across the serialization boundary and eliminates double-execution of non-idempotent business mutations.

#backend#nextjs#react-taint#server-actions#idempotency#security
ACTIVE INVARIANTsecurity
View Rule Spec

Strict Origin, Challenge, and User Verification Guardrails for WebAuthn Conditional UI Passkeys

Production implementations of WebAuthn Conditional UI (autofill passkeys) must enforce cryptographic challenge verification, exact origin and Relying Party (RP) ID matching, and mandatory User Verification (`uv=required`) across both client mediation requests and server assertion verifications. Failing to enforce strict origin binding or permitting `discouraged` user verification allows malicious reverse proxies or compromised browser sessions to conduct MitM phishing and bypass biometrics on multi-device synced passkeys.

#security#webauthn#passkeys#conditional-ui#authentication#fido2
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Passkey Attestation, Exact Origin Binding, and UV Enforcement

Enforces strict W3C WebAuthn Level 3 verification invariants during passkey registration and assertion. Mandates exact match comparisons against expected fully qualified origins (FQDN, scheme, port), hardware-backed User Verification (UV flag) enforcement, monotonic sign counter validation, and single-use cryptographic challenge invalidation to eliminate Adversary-in-the-Middle (AitM) phishing and credential cloning.

#security#webauthn#fido2#passkeys#authentication#cryptography#aitm-defense
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium Tetragon eBPF Synchronous Kernel-Level System Call Kill-Switch Enforcement

Enforces deterministic, in-kernel security kill-switch policies using Cilium Tetragon TracingPolicies to synchronously terminate unauthorized syscalls at the eBPF hook layer. Prevents post-execution race conditions by mandating Sigkill or Override action primitives on privileged syscall hooks (e.g., sys_enter, commit_creds) rather than asynchronous userspace alert pipelines. Eliminates zero-day privilege escalation and uncontained binary executions within production Kubernetes workloads.

#security#ebpf#cilium#tetragon#kubernetes#runtime-security#linux-kernel
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Causality Consistency Token & Strict Read-After-Write Guardrails

Enforces strict causal consistency and token propagation in OpenFGA authorization checks to prevent the New Enemy Problem. Guarantees that permission revocations and access updates are immediately respected across distributed read replicas without authorization bypasses caused by replication lag.

#security#openfga#authorization#rebac#zanzibar#distributed-systems#consistency-tokens
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Bound Zero-Knowledge Key Derivation via WebAuthn PRF Extension

Enforces strict cryptographic hygiene when using the WebAuthn Pseudo-Random Function (PRF) extension (hmac-secret) for zero-knowledge client-side encryption. Mandates domain-separated HKDF salt isolation, prevents PRF output transmission to relying parties, and ensures ephemerality of unpadded raw symmetric keys in browser memory.

#security#webauthn#cryptography#prf-extension#zero-knowledge#hkdf
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Distributed ReBAC Architecture and Contextual Evaluation Invariants

Standardizes high-throughput, low-latency Relationship-Based Access Control (ReBAC) using OpenFGA across distributed microservices. Mandates atomic tuple synchronization via transactional outbox patterns, strict use of contextual tuples for ephemeral request states, and vector-evaluated batching to prevent N+1 authorization cascades and authorization drift.

#security#openfga#rebac#authorization#distributed-systems#zanzibar
ACTIVE INVARIANTsecurity
View Rule Spec

Kernel-Space eBPF RASP and Non-Blocking Socket-Level Egress Enforcement

Enforces deterministic, in-kernel security monitoring and egress authorization using eBPF LSM and socket hooks without user-space sidecar proxies. Mandates atomic ring-buffer event submission, bounded map lookups with verifier compliance, and synchronous kernel-level packet drops for policy violations before network stack traversal.

#security#ebpf#linux-kernel#rasp#cgroup2#lsm#network-security
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Transactional Log-Driven ReBAC Cache Invalidation & Consistency Pipeline

Mandates that all distributed and local relationship-based access control (ReBAC) cache layers invalidate permissions strictly via transactional log streams (CDC/Outbox) using monotonically increasing sequence tokens. Prevents privilege escalation and stale authorization decisions by guaranteeing causal consistency and eliminating reliance on loose TTLs for privilege revocation.

#security#openfga#rebac#cache-invalidation#cdc#kafka#redis
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce Zero-Knowledge Client-Side Key Derivation via WebAuthn PRF Extensions

Enforces strict zero-knowledge invariants for client-side cryptographic key derivation using WebAuthn Pseudo-Random Function (PRF) extensions. Mandates that raw PRF outputs and derived symmetric keys are isolated to client memory, processed through domain-separated HKDF, and stripped from network payloads prior to server transmission.

#security#webauthn#prf-extension#zero-knowledge#cryptography#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Graph Traversal Depth and Cyclic Relationship Defense Guardrail

Enforces deterministic graph evaluation limits, cycle prevention invariants, and context-bound authorization checks within OpenFGA ReBAC implementations. Eliminates denial-of-service via nested relationship loops and prevents privilege escalation caused by unbounded transitive resolutions in multi-tenant architectures. Mandates explicit graph depth constraints, tuple write DAG validation, and fail-closed fallback mechanisms.

#security#openfga#rebac#graph-depth#cycle-prevention#multi-tenant
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Dual-Attestation Origin Binding and Replay Prevention Standard

Mandates strict canonical RP origin binding, atomic challenge consumption, and multi-device synced credential flags verification (UP/UV/BE/BS) for WebAuthn passkey authentication. Enforces zero-trust cryptographic validation across multi-device enterprise cloud synchronizations to eliminate challenge replay attacks and origin spoofing.

#security#webauthn#fido2#passkeys#cryptography#attestation
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR: Strict Boundary Isolation for Static Shells and Dynamic Streams

Next.js 15 Partial Prerendering (PPR) mandates an impermeable architectural boundary between build-time static shells and runtime dynamic micro-streams. Accessing dynamic context—such as cookies(), headers(), dynamic route parameters, or uncached data queries—outside an explicit React Suspense boundary invalidates the static shell, degrading the route to fully dynamic server-side rendering and blocking initial Time to First Byte (TTFB). All dynamic operations must be strictly encapsulated into leaf Server Components wrapped in Suspense boundaries with deterministic fallbacks.

#frontend#nextjs#react19#ppr#performance#streaming
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Contextual Tuples and Deterministic Batch Resolution Standard

Mandates the utilization of in-flight contextual tuples for ephemeral authorization states and prohibits persisting transient access claims to the central OpenFGA store. Enforces deterministic sub-millisecond check latency by eliminating distributed N+1 graph traversal loops and mitigating privilege escalation through server-verified contextual facts.

#security#openfga#rebac#authorization#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Passkey WebAuthn Conditional UI with Origin Cryptographic Pinning

Enforces strict implementation standards for WebAuthn Conditional UI (autofill) authentication and robust server-side cryptographic origin verification. Guarantees protection against reverse-proxy phishing and origin-spoofing attacks by pinning expected client origins and RP IDs against signed authenticator assertions.

#security#webauthn#fido2#passkeys#authentication#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

Enforce React 19 Taint Boundaries for Server Actions and Client Tree Props

Mandates compile-time isolation and runtime taint protections using React 19 taint APIs (experimental_taintObjectReference, experimental_taintUniqueValue) across Server Component boundaries and Server Action responses. Prohibits passing raw database records, sensitive environment variables, or cryptographically private tokens to Client Components.

#frontend#react-19#server-actions#security#taint-api#rsc#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

Zero-Knowledge Hardware Key Derivation via WebAuthn PRF Extension

Enforces cryptographic and memory-safety invariants for client-side encryption key derivation using the WebAuthn PRF (Pseudo-Random Function) extension. Ensures authenticators derive zero-knowledge symmetric keys without persisting raw seeds, PRF outputs, or master keys to client storage, and mandates HKDF-SHA256 expansion with domain separation.

#security#webauthn#prf-extension#zero-knowledge#cryptography#passkeys
ACTIVE INVARIANTsecurity
View Rule Spec

In-Kernel Container Escape Prevention via Tetragon Syscall Interception

Mandates in-kernel synchronous enforcement of container isolation boundaries using Tetragon TracingPolicies. Prevents container runtime escape vectors—such as unauthorized namespace switching (setns), filesystem remounting, and kernel module/BPF injection—by executing kernel-level signal termination (Sigkill) before syscall completion rather than relying on user-space telemetry or post-facto alerting.

#security#ebpf#tetragon#kubernetes#container-security#zero-trust#syscalls
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 Device-Bound Passkey Origin Binding & Attestation Invariant

Mandates strict origin validation, RP ID isolation, and authenticator data flag verification (BE=0, BS=0) during WebAuthn Level 3 registration and authentication ceremonies. Enforces FIDO Metadata Service (MDS3) attestation certificate path validation to block subdomain impersonation and non-device-bound credential synchronization in high-assurance environments.

#security#webauthn#fido2#passkeys#attestation#origin-binding
ACTIVE INVARIANTsecurity
View Rule Spec

Cosign 2.4 Rekor Ephemeral OIDC Attestation Admission Guardrail

Mandates strict zero-trust container admission verification using Cosign 2.4 keyless OIDC signatures verified against Rekor transparency log proofs. Requires immutable digest pinning (sha256), explicit certificate identity (Subject Alternative Name) and issuer constraints, and cryptographically verified in-toto SLSA provenance attestations prior to workload scheduling.

#security#cosign#sigstore#rekor#oidc#supply-chain#kubernetes-admission
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA ReBAC Mesh Edge Authorization and Dual-Write Drift Guardrail

Enforces edge-evaluated OpenFGA authorization checks and transactional relationship tuple synchronization across distributed services. Eliminates authorization drift by preventing ad-hoc SQL privilege checks in downstream microservices and requiring transactional outbox patterns for OpenFGA write-tuple ingestion.

#security#rebac#openfga#authorization#edge-mesh
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Bound Zero-Knowledge Encryption via WebAuthn PRF Extension

Enforces strict cryptographic handling when utilizing the WebAuthn Pseudo-Random Function (PRF) extension (`eval` / `evalByCredential`) to derive hardware-bound client-side symmetric keys. Mandates that derived PRF outputs are never transmitted over the network or persisted in plain text, requiring immediate one-way HKDF expansion into AES-GCM-256 keys with distinct domain-separated salts. Ensures proper fallback handling and runtime capability detection across authenticators to prevent plaintext data leakage.

#security#webauthn#prf-extension#zero-knowledge#cryptography#aes-gcm#hkdf
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Device-Bound Attestation Step-Up Enforcement

Mandates cryptographic verification of hardware-bound security keys during privileged tenant operations to mitigate account takeover via compromised cloud-synced passkey ecosystems. Step-up verification for administrative actions must strictly enforce non-backupable authenticator flags (BE=0, BS=0) and validate hardware attestation certificates.

#security#webauthn#fido2#passkeys#zero-trust#attestation
ACTIVE INVARIANTsecurity
View Rule Spec

Zero-Static-Key Container Attestation via Sigstore Fulcio-Rekor Admission Policy

Enforces zero-static-key container provenance verification at the Kubernetes admission layer using short-lived Fulcio X.509 OIDC certificates and append-only Rekor transparency log proofs. Prohibits static long-lived asymmetric keys, unpinned OIDC issuer identities, and admission policies that fail open or skip Rekor inclusion verification (SET/SCT validation). Mandates strict validation of cryptographic subject alternative names (SAN), issuer URI claims, and in-toto provenance attestations before workload scheduling.

#security#sigstore#fulcio#rekor#cosign#kubernetes#admission-controller#supply-chain
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Zanzibar Bounded Consistency & Tuple Token Invariant

Enforces strict causal token propagation and bounded consistency constraints during OpenFGA check evaluations across distributed ReBAC clusters. Prevents the 'New Enemy' vulnerability and split-brain authorization bugs caused by evaluating stale replica caches immediately after permission mutations or revocations. Mandates explicit consistency preferences and atomic contextual tuple inclusion for point-in-time authorization decisions.

#security#openfga#rebac#zanzibar#authorization#consistency-tokens#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

Mandate HKDF Domain Separation and Zero-Knowledge Invariants for WebAuthn PRF Key Derivation

WebAuthn PRF (Pseudo-Random Function) extension derives deterministic symmetric key material directly inside hardware authenticators for client-side encryption. Applications must strictly mandate HKDF-SHA-256 expansion with domain separation on the PRF output, verify authenticator extension support before cryptographic operations, and never allow the raw authenticator output to be utilized directly as a cipher key or transmitted to servers.

#security#webauthn#prf#passkeys#cryptography#zero-knowledge#hkdf
ACTIVE INVARIANTmobile
View Rule Spec

Tauri 2.0 Mobile IPC Capability Scoping and Payload Validation Standard

Enforces zero-trust isolation between mobile WebViews and native Rust runtimes under Tauri 2.0. Mandates granular capability scoping via capability files and strict bidirectional schema validation to prevent privilege escalation from compromised WebView contexts.

#mobile#tauri#ipc#security#rust#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 0.6 Contextual Tuple ReBAC Transactional Consistency Guardrail

Enforces strict transactional consistency in OpenFGA 0.6+ relationship-based authorization checks across distributed microservice boundaries. Mandates the use of contextual tuples and calibrated consistency preferences during mutation lifecycles to eliminate read-after-write authorization race conditions and Time-of-Check to Time-of-Use (TOCTOU) security bypasses.

#security#openfga#rebac#authorization#distributed-systems#concurrency
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum ML-KEM Hybrid TLS 1.3 Microservice Transport Standard

Enforces post-quantum hybrid key encapsulation (NIST FIPS 203 ML-KEM combined with X25519) on all internal east-west microservice transport connections. Prevents 'Harvest Now, Decrypt Later' (HNDL) adversaries from capturing classical ephemeral Diffie-Hellman handshakes across internal fabrics to decrypt retroactively. Mandates strict TLS 1.3 negotiation with dual-kem groups and explicit rejection of legacy classical-only cipher suites.

#security#post-quantum#fips-203#ml-kem#tls-1-3#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Zero-Stale ReBAC Cache Invalidation with CDC & Consistency Tokens

Enforces zero-stale authorization evaluations in OpenFGA ReBAC architectures operating under sub-10ms SLOs. Mandates deterministic CDC invalidation pipelines and consistency token propagation across collaborative permission mutations to eliminate privilege retention vulnerabilities caused by replication lag and uncoordinated caches.

#security#openfga#rebac#cdc#authorization#cache-invalidation#zanzibar
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce RFC 9449 DPoP Sender-Constrained Token Binding & Replay Guards

Mandates strict RFC 9449 Demonstrating Proof-of-Possession (DPoP) verification across zero-trust ingress boundaries to prevent token exfiltration and replay attacks. Ingress services must cryptographically bind access tokens to client-held asymmetric keys via thumbprint verification (cnf.jkt), validate proof claims (htm, htu, ath, iat), and enforce atomic JTI deduplication using a centralized distributed replay cache.

#security#oauth2#dpop#rfc9449#jwt#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA ReBAC Graph Evaluation and Cache Coherency Guardrails

Enforces bounded traversal depth, strict cycle detection, and consistency-token validation during Relationship-Based Access Control (ReBAC) graph evaluations at scale. Prevents authorization bypasses caused by stale cache replication lag and eliminates denial-of-service vulnerabilities driven by unbounded recursive graph expansion.

#security#openfga#rebac#zanzibar#cache-coherency#graph-traversal
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Zero-Knowledge Deterministic Key Vaulting Standard

Enforces strict client-side isolation and rigorous cryptographic derivation standards for WebAuthn Level 3 PRF (Pseudo-Random Function) extensions. Protects zero-knowledge client architectures by forbidding server-bound transmission of PRF outputs, mandating HKDF domain separation, and enforcing non-exportable CryptoKey lifecycle handling.

#security#webauthn#passkeys#prf-extension#zero-knowledge#webcrypto#key-vaulting
ACTIVE INVARIANTbackend
View Rule Spec

Bun 1.2 Native Addon Boundary & Deterministic Async Queue Standard

Enforces deterministic backpressure and thread isolation when executing C++ native addons (Node-API/Bun FFI) alongside high-throughput TypeScript edge workers in Bun 1.2. Prevents JavaScriptCore (JSC) microtask starvation, event-loop lag, and unmanaged native memory heap thrashing by mandating off-main-thread execution and bounded queue scheduling.

#bun#typescript#native-addons#ffi#concurrency#backend#event-loop
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA ReBAC Real-Time Transactional Cache Invalidation Guardrail

Enforces strict transactional synchronization and cluster-wide invalidation semantics between OpenFGA tuple mutations and distributed evaluation caches. Mitigates stale privilege escalation and race conditions by banning uncoordinated TTL-based policy caching and fire-and-forget invalidation. Mandates transactional outbox or distributed broadcast barriers to achieve deterministic, sub-millisecond cache evictions across all evaluation nodes.

#security#openfga#rebac#authorization#cache-invalidation#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory WebAuthn L3 Hardware Attestation and Device-Bound Cryptographic Assertion

Enforces strict FIDO2/WebAuthn Level 3 hardware attestation verification and requires User Presence (UP) and User Verification (UV) flags on all device-bound assertions. Rejects passkey registrations lacking verified direct/enterprise hardware-backed cryptographic roots (TPM, Apple Secure Enclave, Android StrongBox) and binds the resulting authenticated sessions to ephemeral TLS-channel or client-data token binding to neutralize Adversary-in-the-Middle (AitM) session hijacking.

#security#webauthn#passkeys#fido2#cryptography#hardware-security#aitm-defense
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Component Tainted Object Invariant

Enforces strict boundary isolation for sensitive server-side payloads using React 19 experimental taint APIs. Guarantees that raw database models, authorization secrets, and sensitive tokens cannot be serialized and passed across the Server-to-Client component boundary, mandating explicit projection to client-safe Data Transfer Objects (DTOs).

#frontend#react19#rsc#security#taint-api#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

Zero-Trust Ephemeral Workload Attestation via SPIFFE/SPIRE Workload API & Dynamic mTLS Rotation

Enforces dynamic, cryptographic workload identity using the SPIFFE Workload API over Unix Domain Sockets to obtain short-lived X.509 SVIDs and SPIFFE trust bundles. Mandates streaming SVID auto-rotation directly into TLS handshake listeners to eliminate static API tokens, long-lived certificates on disk, and service restarts during credential rollover.

#security#spiffe#spire#zero-trust#mtls#x509-svid#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Zanzibar ReBAC Cache Synchronization & Consistency Token Invariants

Prevents authorization bypass and stale permission windows (the 'New Enemy' problem) during rapid ReBAC relationship mutations. Mandates that distributed check caching strictly pairs with transactional tuple invalidation, versioned generation keys, or consistency token propagation rather than uncoordinated static TTLs.

#security#openfga#rebac#zanzibar#caching#authorization
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 / WebAuthn Device-Bound Attestation and Step-Up Invariants

Enforces strict origin validation, cryptographically random single-use ephemeral challenges, monotonic signature counter tracking for clone detection, and hardware-attested user verification for high-privilege step-up operations. Prevents credential phishing, replay attacks, token cloning, and cross-origin relay vulnerabilities.

#security#webauthn#fido2#passkeys#cryptography#authentication#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Strict WebAuthn Level 3 Passkey Cryptographic Origin and Monotonic State Attestation

Enforces deterministic validation of WebAuthn Level 3 assertions, requiring exact origin matching, atomic challenge revocation, user verification enforcement, and monotonic signature counter validation. Prevents cross-origin credential harvesting, authenticator cloning, and assertion replay attacks across federated microservices.

#security#webauthn#fido2#passkeys#cryptography#zero-trust#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

Mandate SPIFFE/SPIRE Workload Attestation and Ephemeral X.509-SVID mTLS

Enforces dynamic, kernel-attested workload identities via SPIRE Workload API Unix Domain Sockets, forbidding long-lived credentials, static API secrets, and unverified TLS peer certificates. Mandates continuous SVID rotation in memory and strict SPIFFE ID SAN validation on all inter-service communication.

#security#spiffe#spire#mtls#zero-trust#workload-attestation#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Query v5: Bounded Serialized Mutation Queuing and Idempotency Guardrail

Enforces strict mutation idempotency and deterministic serial execution for offline-capable frontend clients using TanStack Query v5. Prevents out-of-order replays, duplicate resource creation, and poison-pill queue blockages during network transitions via mutation scopes, client-side idempotency keys, and bounded storage.

#frontend#tanstack-query#offline-first#idempotency#concurrency#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 RFC 9449 DPoP Sender-Constrained Ephemeral Key Attestation Guardrail

Enforces strict sender-constrained token validation via Demonstrating Proof-of-Possession (RFC 9449) across all authenticated network boundaries. Every outbound request to protected resources must generate and attach a cryptographically bound, ephemeral asymmetric proof-of-possession JWT matching the exact HTTP method, canonicalized URI, access token hash (ath), and server-issued nonce. Prevents bearer token exfiltration, token reuse attacks, and session hijacking by invalidating captured access tokens without possession of the non-extractable client private key.

#security#oauth2#dpop#rfc9449#cryptography#zero-trust#jwt#subtle-crypto
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6 Consistent Tuple Evaluation & Cache Pipelining Guardrails

Enforces strong consistency invariants and cache-pipelining controls across distributed OpenFGA 1.6 relationship-based access control (ReBAC) evaluations. Prevents authorization bypass and the New Enemy Problem by forbidding static-TTL caching of raw Check responses and mandating consistency tokens, contextual tuple evaluation, and deterministic invalidation pipelining on relation mutations.

#security#openfga#rebac#authorization#distributed-systems#cache-consistency
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Enterprise Attestation and Strict Origin Binding Invariants

Enforces cryptographically validated hardware attestation, exact origin matching, and monotonic counter verification across all WebAuthn and Passkey flows. Eliminates credential stuffing, phishing, and authenticator cloning by validating clientDataJSON against server-bound single-use challenges and verifying FIDO2 enterprise metadata chains.

#security#webauthn#fido2#passkeys#cryptography#zero-trust#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Distributed ReBAC Decision Caching & Outbox Invalidation

Mandates strict deterministic keying for local OpenFGA decision caching alongside transactional outbox-driven CDC tuple invalidation. Prevents authorization bypasses and New Enemy Problem vulnerabilities caused by stale edge-evaluated Zanzibar relationship tuples.

#security#openfga#rebac#zanzibar#caching#outbox#cache-invalidation
ACTIVE INVARIANTsecurity
View Rule Spec

Strict WebAuthn/FIDO2 Origin Binding, Attestation, and Replay Protection

Enforces strict cryptographic verification of WebAuthn and FIDO2 passkey assertions and registrations. Guarantees immutable clientDataJSON origin validation, exact challenge-response replay matching with single-use eviction, RP ID boundary enforcement, and authenticator counter regression checks to defeat reverse-proxy adversary-in-the-middle (AiTM) phishing.

#security#webauthn#fido2#passkeys#cryptography#aitm-phishing
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Real-Time Tuple Invariant & Atomic Cache Invalidation Standard

Enforces strict monotonic authorization consistency across distributed OpenFGA ReBAC evaluation paths and localized low-latency caching tiers. Mandates transactional outbox mutation patterns paired with atomic cache invalidation to prevent stale authorization grants (authorization drift) caused by out-of-order writes or un-invalidated graph traversals. Guarantees sub-millisecond zero-trust check evaluations without sacrificing access revocation consistency.

#security#openfga#rebac#authorization#cache-invalidation#redis#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Conditional UI & Device-Bound Assertion Invariant Guardrail

Enforces strict WebAuthn Level 3 conditional UI orchestration and server-side device-bound passkey assertion verification. Prevents race conditions and credential hijacking by mandating AbortController-managed autofill mediation, user-verification enforcement, and cryptographic validation of authenticatorData flags.

#security#webauthn#passkeys#fido2#conditional-ui#authentication#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Hole Isolation and Static Shell Determinism

Enforces strict isolation of dynamic runtime operations inside localized React Suspense boundaries under Next.js 15 Partial Prerendering (PPR). Prevents dynamic bailouts (headers, cookies, searchParams, un-cached data queries) from leaking upward and de-optimizing edge-cacheable static shell generation into fully dynamic SSR passes. Guarantees deterministic Time-To-First-Byte (TTFB) at edge Points of Presence (POPs) by mandating non-dynamic layouts and strict dynamic hole sandboxing.

#frontend#nextjs#react#ppr#partial-prerendering#suspense#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Zero-Knowledge Key Derivation via WebAuthn PRF and Conditional Mediation

Enforces strict cryptographic boundaries when using the WebAuthn PRF (Pseudo-Random Function) extension with conditional mediation for end-to-end encryption. Guarantees that authenticator-derived seeds are never transmitted to relying party servers, are isolated per security domain, and are processed strictly through HKDF before cipher instantiation.

#security#webauthn#prf-extension#passkeys#cryptography#zero-knowledge
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Cosign Ephemeral Keyless Provenance and SLSA-3 Admission Pinning

Enforces cryptographically verifiable, keyless container signing and SLSA-3 provenance validation via OIDC workload identity (Fulcio/Rekor) at admission control. Prohibits static private key-based Cosign workflows and unverified mutable image tags in production deployments to eliminate CI/CD secret exfiltration and image tampering vectors.

#security#sigstore#cosign#slsa-3#supply-chain#kyverno#kubernetes
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Distributed Cache Tag Invalidation Boundary

Mandates deterministic compound cache key topology and synchronized multi-region invalidation boundaries when utilizing Next.js 15's 'use cache', 'cacheTag', and 'cacheLife' APIs. Prevents stale edge node divergence and regional split-brain reads across geo-distributed deployments by enforcing namespaced, compound cache tags and distributed cache consistency.

#frontend#nextjs#use-cache#cache-invalidation#multi-region#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Deterministic Key Derivation & Zero-Knowledge Storage Invariant

Enforces strict cryptographic domain separation and ephemeral memory confinement when utilizing the WebAuthn Pseudo-Random Function (PRF) extension. Raw PRF outputs must never be transmitted to backends, persisted unencrypted, or used directly as encryption keys without HKDF expansion into non-extractable WebCrypto keys.

#security#webauthn#prf#cryptography#zero-knowledge#webcrypto#hkdf
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Capabilities Matrix IPC Isolation Standard

Enforces granular, cryptographically bound capability matrices and strict IPC scope limitations across distinct webview windows in Tauri 2.0 architectures. Prohibits global command enablement, wildcard file system or shell scopes, and undocumented invoke boundaries to prevent remote code execution through compromised renderers.

#security#tauri#ipc#rust#capabilities#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Router Preload Cache Synchronization and Mutation Invalidation Standards

Enforces deterministic loader cache lifecycles, abort signal propagation, and synchronous route invalidation across rapid client transitions in TanStack Router. Prevents race conditions and stale-data read anomalies caused by asynchronous preloads competing with concurrent mutations or fast navigational switches.

#frontend#tanstack-router#typescript#react#cache-invalidation#routing
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Window-Scoped Capability and Granular IPC Command Sandboxing

Enforce strict window-scoped capability mapping and granular command permissions in Tauri 2.0 to prevent privilege escalation via frontend DOM injection. All IPC commands must be explicitly registered within designated capability files restricted to specific window labels, remote domains, or webview instances. Wildcard permission grants or global command exposure across untrusted contexts violate the principle of least privilege and expose native OS operations to XSS exploitation.

#security#tauri#rust#ipc#sandboxing#capabilities
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce Least-Privilege WIT Capability Sandboxing in WASI 0.2 Host Runtimes

Untrusted guest WebAssembly components must execute within strictly attenuated capability domains defined by explicit WebAssembly Interface Type (WIT) contracts. Host runtimes must never expose blanket WASI 0.2 interfaces, ambient host sockets, or uncontained filesystem handles through WasiCtxBuilder. All host bindings must enforce resource tables, capability attenuation, and virtualized memory/network boundaries to prevent guest privilege escalation.

#security#wasm#wasi#wit#component-model#wasmtime#sandbox
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Client-Side Zero-Knowledge Symmetric Key Derivation Standard

Enforces strict client-side symmetric key derivation from hardware authenticators using the WebAuthn prf extension. Guarantees raw PRF outputs and derived encryption keys never leave the client runtime or transit over the network. Requires HKDF key separation with explicit domain contexts before performing WebCrypto operations on sensitive payloads.

#security#webauthn#prf#cryptography#zero-knowledge#passkeys#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

SLSA Level 4 Hermetic Build Provenance and Sigstore Keyless Admission Verification

Enforces SLSA Level 4 build compliance and Sigstore keyless cryptographic verification across deployment pipelines and cluster admission webhooks. Guarantees that container images and artifacts are built in hermetically isolated, ephemeral environments with non-forgeable in-toto attestations backed by Fulcio ephemeral certificates and Rekor transparency log proofs. Blocks unverified or tampered binaries, mutable container tags, and static long-lived private keys from cluster execution.

#security#slsa-level-4#sigstore#cosign#supply-chain#kubernetes#rekor#in-toto
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Component Model Capability Sandboxing & Zero Ambient Authority Standard

Untrusted third-party WebAssembly components must execute within strict WASI 0.2 (Preview 2) capability-attenuated boundaries with zero ambient authority. All guest-to-host interactions must be restricted to explicit, typed WebAssembly Interface Type (WIT) contracts without inheriting host environment variables, unconstrained network sockets, or raw filesystem handles. Host runtimes must explicitly attenuate capabilities using virtualized descriptors, deterministic resource ceilings, and epoch interruption.

#security#webassembly#wasi-0.2#component-model#sandboxing#capability-security#rust
ACTIVE INVARIANTfrontend
View Rule Spec

Enforce Next.js 15 Dynamic I/O Isolation and Deterministic PPR Boundaries

Prevents catastrophic prerender de-optimizations and cascading I/O waterfalls in Next.js 15 with Partial Prerendering (PPR) and Dynamic I/O enabled. Mandates that all uncached dynamic operations are strictly encapsulated within React Suspense boundaries, preventing dynamic state from poisoning the static shell.

#frontend#nextjs#react-server-components#dynamic-io#ppr#suspense#performance
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 RFC 9449 DPoP Token Binding and Replay-Resistant Nonce Rotation

Enforces strict RFC 9449 Demonstrating Proof-of-Possession (DPoP) at the application and transport layers. Mandates cryptographic binding of access and refresh tokens to ephemeral client-side private keys via thumbprint (jkt) and access token hash (ath) verification. Guarantees zero-trust replay resistance by enforcing server-directed DPoP-Nonce rotation and eliminating fallback to bearer authorization.

#security#oauth2#dpop#rfc9449#cryptography#web-crypto#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Tetragon eBPF Real-Time Process and Namespace Boundary Enforcement

Enforces synchronous eBPF kernel-level detection and SIGKILL termination for container namespace escape attempts and unauthorized Linux capability escalations. Restricts execution to deterministic process hierarchies and forbids runtime modification of security-sensitive syscall signatures at the kernel boundary.

#security#ebpf#tetragon#kubernetes#runtime-security#linux-kernel
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6 In-Memory Contextual Tuples and Concurrent ReBAC Evaluation

Enforces zero-storage-drift authorization decisions by mandating OpenFGA 1.6 contextual tuples and typed runtime context for ephemeral state evaluation. Prevents persistent tuple store pollution and read-after-write synchronization races while maintaining sub-10ms p99 latency through bounded concurrent check evaluations.

#security#openfga#rebac#authorization#concurrency#latency
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Workload Identity X.509 Short-Lived SVID Attestation Standard

Enforces zero-trust workload authentication via dynamic, kernel-attested SPIFFE/SPIRE Workload API Unix Domain Sockets, eliminating static secrets and long-lived credentials. Requires all microservice network transports to establish mTLS using short-lived X.509 SVIDs that rotate autonomously in-memory with strict SPIFFE ID Subject Alternative Name (SAN) verification.

#security#spiffe#spire#zero-trust#mtls#x509-svid#workload-identity
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA ReBAC Tuple Consistency via Transactional CDC and Invalidation

Mandates that OpenFGA relationship tuple mutations and permission cache invalidations are strictly derived from transactional outbox events processed via Debezium Change Data Capture (CDC). Direct dual-writes to both the relational datastore and OpenFGA API are forbidden to prevent authorization split-brain and stale access control bypasses.

#security#rebac#openfga#cdc#debezium#cache-invalidation#transactional-outbox
ACTIVE INVARIANTsecurity
View Rule Spec

Tetragon Synchronous Kernel Namespace Lockdown and In-Kernel SIGKILL Enforcement

Enforces synchronous kernel-space process termination via eBPF Tetragon TracingPolicies for unauthorized namespace manipulation and capability acquisition. Prevents container breakout and privilege escalation by executing immediate in-kernel SIGKILL actions prior to syscall completion, eliminating asynchronous userspace notification latency windows.

#security#ebpf#tetragon#kubernetes#container-escape#kernel-security
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum ML-KEM TLS 1.3 Hybrid Key Exchange Enforcement

Enforces mandatory hybrid post-quantum key encapsulation (ML-KEM / Kyber combined with classical ECDH) across all edge ingress load balancers and reverse proxies. Prevents 'Harvest Now, Decrypt Later' (HNDL) adversaries from capturing classical TLS sessions today to decrypt retroactively via Shor's algorithm on cryptanalytically relevant quantum computers.

#security#post-quantum#ml-kem#kyber#tls-1-3#cryptography#fips-203#infrastructure
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Shell Isolation & Boundary Decoupling

Mandates strict boundary decoupling between static shell prerendering and dynamic streaming holes in Next.js 15 PPR routes. Dynamic APIs (cookies, headers, searchParams, and uncached data sources) must be strictly isolated inside dedicated Suspense boundaries to prevent prerender bailouts, shell invalidation, and dynamic context leakage.

#frontend#nextjs15#ppr#react#streaming#suspense
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Extension & Passkey Session Binding Guardrail

Enforces strict validation of WebAuthn Level 3 pseudo-random function (prf) extension outputs and exact SHA-256 clientDataJSON hash assertions during passkey authentication. Prevents session hijacking, credential substitution, and authenticator desynchronization by deterministically binding server-side session tokens to hardware-derived PRF symmetric keys.

#security#webauthn#fido2#passkeys#prf-extension#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Consistent Snapshot Token Enforcement for Zanzibar 'New Enemy' Mitigation

Enforces cryptographically verifiable snapshot read tokens across distributed boundaries to mitigate the Zanzibar 'New Enemy' authorization race condition. Guarantees that ReBAC authorization evaluations against OpenFGA execute at a snapshot timestamp at least as fresh as the mutating transaction, preventing stale permission grants on newly modified or restricted resources.

#security#rebac#openfga#zanzibar#authorization#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic eBPF Cilium Kernel-Level Zero-Trust Microsegmentation

Enforces deterministic, kernel-enforced Layer 3 to Layer 7 workload identity isolation and egress verification via Cilium eBPF without Envoy sidecar overhead. Mandates socket-level BPF program verification (sockops, tc) coupled with CiliumNetworkPolicy (CNP) and CiliumClusterwideNetworkPolicy (CCNP) to eliminate non-deterministic egress, DNS spoofing, and sidecar latency amplification.

#security#ebpf#cilium#kubernetes#zero-trust#microsegmentation#networking
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA ReBAC Sub-5ms Evaluation and Distributed Cache Invariants

Enforces deterministic sub-5ms tuple evaluation bounds and distributed cache coherence for OpenFGA Relationship-Based Access Control (ReBAC). Mandates in-memory single-flight deduplication, bounded contextual tuple payload sizing, and transactional write-token propagation to eliminate graph-traversal stampedes across distributed service boundaries.

#security#openfga#rebac#authorization#distributed-systems#low-latency
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn & Passkey Device-Bound Assertion & Replay Protection Invariants

Enforces strict server-side validation of WebAuthn authenticator data, cryptographic challenge-response binding, client data origin validation, and signature counter monotonicity. Prevents cross-origin adversary-in-the-middle (AiTM) proxy attacks, credential replay, and challenge exhaustion across distributed authentication microservices.

#security#webauthn#passkeys#fido2#cryptography#replay-protection#aitm
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Shell and Suspense Boundary Isolation

Enforces strict static HTML skeleton delivery at the edge by isolating dynamic runtime operations within granular React Suspense boundaries. Any access to uncached dynamic I/O, headers, cookies, or searchParams outside a Suspense boundary triggers an uncaught route-level dynamic bailout, collapsing Partial Prerendering into full-page SSR and defeating edge TTFB optimization.

#nextjs#nextjs-15#react-19#ppr#partial-prerendering#suspense#streaming
ACTIVE INVARIANTfrontend
View Rule Spec

Svelte 5 Runes Reactive Isolation & Deep Proxy Trap Guardrails

Enforces strict fine-grained reactivity boundaries in Svelte 5 by preventing deep proxy leaks into external systems and eliminating destructuring-induced reactive loss. Guarantees memory safety and deterministic rendering through explicit $state.raw usage for heavy/external references and $state.snapshot for boundary handoffs.

#frontend#svelte5#runes#reactivity#typescript#performance
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Zanzibar ReBAC Authorization and Atomic Tuple Management

Standardizes centralized, zero-latency graph-based authorization checks across microservices via OpenFGA. Enforces atomic transactional consistency between local state persistence and OpenFGA tuple mutations using the Outbox pattern, while eliminating decentralized authorization bypasses caused by ad-hoc JWT claims parsing or disconnected database role tables.

#security#rebac#openfga#authorization#zanzibar#microservices
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Extension Client-Side Symmetric Key Derivation & Zero-Leakage Standard

Mandates strict zero-knowledge client-side symmetric key derivation using the WebAuthn PRF (Pseudo-Random Function) extension. Requires intermediate PRF outputs to pass through HKDF domain separation and strictly prohibits leaking authenticator-derived secrets to servers or persistent storage.

#security#webauthn#prf-extension#cryptography#hkdf#e2ee#zero-knowledge
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Actions Idempotency & CSRF Strict Origin Validation

Enforces strict origin checking, host header verification, and cryptographic idempotency key caching for React 19 Server Actions. Guarantees cross-site POST replay resilience and prevents duplicate execution of mutating server functions in modern RSC architectures under network retry or concurrent submission conditions.

#frontend#react-19#nextjs#server-actions#csrf#idempotency#security
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Contextual Tuple Authorization & Deterministic In-Memory Decision Caching

Enforces deterministic cryptographic hashing of request-scoped contextual tuples, store IDs, and model versions within in-memory ReBAC evaluation caches. Prevents authorization bypasses, cache poisoning, and cross-tenant privilege escalation caused by naive cache keys that omit transient contextual claims.

#openfga#rebac#authorization#caching#security#multi-tenant
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral X.509 SVID Inter-Cluster Zero-Trust Attestation

Mandates continuous ephemeral X.509 SVID issuance and verification via the SPIFFE Workload API, eliminating static long-lived credentials across multi-cloud meshes. Enforces non-blocking dynamic mTLS certificate reloads in memory and rejects permissive or wildcard SAN verification in favor of explicit federated SPIFFE ID validation.

#security#spiffe#spire#zero-trust#mtls#x509#mesh
ACTIVE INVARIANTsecurity
View Rule Spec

W3C Trusted Types and Strict Nonce-Based CSP Level 3 Enforcement

Enforces mathematically verifiable defenses against client-side DOM-based Cross-Site Scripting (XSS) by mandating W3C Trusted Types and CSP Level 3 strict nonces. Direct injection sink mutations (innerHTML, outerHTML, script.src) are prohibited unless routed through pre-compiled, audited TrustedType policies. All executable script tags must carry cryptographically secure per-request nonces, deprecating unsafe-inline and wildcard domain allowlists.

#security#trusted-types#csp-level-3#xss-prevention#dompurify#defense-in-depth
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Zanzibar Fine-Grained Authorization Depth & Cyclic Guards

Enforces strict recursion depth constraints, cycle detection, and distributed context propagation during OpenFGA Zanzibar relation graph evaluations. Prevents catastrophic tail-latency amplification and distributed denial-of-service (DDoS) stemming from self-referential or deeply nested multi-tenant tuple hierarchies. Mandates schema-level cycle guards, bounded expansion timeouts, and client-side resolution throttles.

#security#openfga#zanzibar#authorization#dos-prevention#graph-algorithms
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 Hardware Attestation and Device-Bound Credential Verification

Enforces cryptographic verification of hardware-backed authenticator attachment and attestation statements during FIDO2/WebAuthn registration. Eliminates credential downgrade and unauthorized cross-platform synchronization by asserting FIDO MDS3 trust chains, validating AAGUID authentications, and auditing authenticator data backup flags.

#security#webauthn#fido2#passkeys#cryptography#attestation
ACTIVE INVARIANTsecurity
View Rule Spec

Kernel-Enforced SPIFFE Dynamic Attestation via Linux eBPF LSM Hooks

Enforces non-bypassable workload identity verification at the Linux kernel boundary using eBPF LSM hooks prior to socket establishment. Prohibits static secret persistence, environmental tokens, and post-connect user-space authentication by cryptographically binding ephemeral SPIFFE IDs to task credentials and cgroups in kernel memory.

#security#spiffe#spire#ebpf#lsm#zero-trust#kernel-security
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Dynamic Credential Backup State & Transport Flag Verification

Enforces strict server-side cryptographic verification of authenticator data flags (BE/BS) and transport hints during registration and authentication ceremonies according to W3C WebAuthn Level 3. Prevents multi-device credential synchronization spoofing and ensures accurate auditing of multi-device (synced) versus single-device (hardware-bound) passkeys.

#security#webauthn#passkeys#cryptography#fido2#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Relying Party Origin Binding and Cryptographic Client Data Verification

Enforces strict canonical origin binding, relying party identifier (rpId) validation, and clientDataJSON cryptographic integrity checks during WebAuthn registration and authentication ceremonies. Neutralizes cross-subdomain passkey relays, TLS terminating proxy injection, challenge replays, and man-in-the-middle phishing vectors.

#security#webauthn#fido2#passkeys#cryptography#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Distributed Tuple Evaluation & Consistency Guardrail

Enforces deterministic consistency levels and bounded staleness thresholds during OpenFGA relationship tuple evaluations across distributed microservices. Prevents authorization bypasses and New Enemy race conditions caused by replication lag between OpenFGA datastore replicas during privilege revocation and critical mutation flows.

#security#openfga#authorization#distributed-systems#consistency#rebac
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Actions Cryptographic Argument Verification & Boundary Invariants

Enforces strict cryptographic verification, authoritative session extraction, and schema parsing for all bound closure arguments and payload parameters across React 19 Server Action boundaries. Prevents Insecure Direct Object References (IDOR), boundary parameter tampering, and privileged action escalation in client-server RPC pipelines.

#frontend#react-19#server-actions#cryptography#nextjs#authorization#security
ACTIVE INVARIANTsecurity
View Rule Spec

Passkey Conditional Mediation Step-Up Re-Authentication & Concurrency Invariants

Standardizes step-up re-authentication flows alongside WebAuthn conditional mediation (autofill). Enforces deterministic AbortController orchestration, mutex-locking on navigator.credentials.get, and strict server-side userVerification: 'required' assertions to eliminate NotAllowedError UI deadlocks, concurrent credential collisions, and privilege escalation.

#security#webauthn#passkeys#authentication#concurrency#fido2
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 8693 OAuth 2.0 Token Exchange with Cedar Policy-Based Delegation Guardrail

Enforces zero-trust cryptographic chain-of-custody and deterministic least-privilege scoping across multi-hop microservice delegation flows using RFC 8693 Token Exchange. Intermediary services must evaluate explicit Cedar policy delegation constraints before generating down-scoped downstream tokens, preventing token forwarding and privilege escalation attacks.

#security#oauth2#rfc8693#cedar-policy#zero-trust#token-exchange
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Actions & useActionState Idempotency and State Reconciliation Guardrail

Enforces strict mutation idempotency, cryptographically validated client transaction tokens, and deterministic state reconciliation across React 19 useActionState and useOptimistic boundaries. Prevents duplicate state mutations, replay attacks, and inconsistent optimistic rollbacks during transient network failures and rapid concurrent form dispatches in full-stack SSR environments.

#frontend#react-19#server-actions#use-action-state#idempotency#optimistic-ui#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA ReBAC Consistency, Contextual Tuples, and Invalidation Invariants

Enforces strict read-after-write consistency, contextual tuple delegation, and change-driven invalidation across OpenFGA Relationship-Based Access Control (ReBAC) implementations. Prevents the Zanzibar 'New Enemy' vulnerability and eliminates cascading graph expansion latencies across multi-tenant microservices.

#security#openfga#rebac#authorization#distributed-systems#caching
ACTIVE INVARIANTsecurity
View Rule Spec

Synchronized WebAuthn Conditional UI Mediation and Hardware Step-Up Enforcement

Enforces deterministic lifecycle management between asynchronous WebAuthn Conditional UI autofill mediation and modal step-up re-authentication. Requires explicit AbortController teardown of active conditional mediation requests prior to initiating modal assertions, guarantees cryptographic origin and userVerification='required' validation, and neutralizes DOM race conditions during high-risk transactional workflows.

#security#webauthn#passkeys#fido2#authentication#conditional-ui
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Monotonic Read-After-Write Consistency Token Invariant

Enforces deterministic read-after-write monotonic invariants across distributed OpenFGA edge deployments using consistency tokens. Mitigates authorization race conditions, time-of-check to time-of-use (TOCTOU) exploits, and transient authorization bypasses caused by stale cache evaluation following permission mutations. Mandates explicit propagation, persistence, and evaluation of OpenFGA consistency tokens across client requests and internal service calls.

#security#openfga#authorization#distributed-systems#concurrency
ACTIVE INVARIANTsecurity
View Rule Spec

Attested TLS (aTLS) Enclave Cryptographic Binding & Dynamic Verification Standard

Enforces strict cryptographic binding between TLS ephemeral session keys and hardware enclave attestation reports (AMD SEV-SNP, Intel SGX/TDX, AWS Nitro) within the TLS handshake. Guarantees zero-trust sovereign compute integrity by verifying hardware roots of trust, platform measurements, and public key binding before application data transit.

#security#atls#confidential-computing#enclaves#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Wasmtime Component Model Deterministic Memory Sandboxing and Fuel Limiting

Enforces strict fuel-based CPU consumption metering and linear memory bounding for untrusted WebAssembly components executing within host backend services. Requires all Wasmtime Store instances hosting guest plugins to implement ResourceLimiter and configure deterministic epoch or fuel bounds to prevent CPU starvation and host Out-Of-Memory (OOM) exploits.

#security#wasm#wasmtime#component-model#sandboxing#rust
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 Sender-Constrained DPoP Token Proof Orchestration Standard

Mandates cryptographic binding of access tokens and HTTP requests via non-extractable client keypairs compliant with RFC 9449. Enforces ephemeral proof generation per outbound request, strict URI normalization ('htu'/'htm'), access token hash ('ath') computation, and automated server DPoP nonce challenge rotation.

#security#oauth2#dpop#rfc9449#cryptography#tokens
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral x509-SVID Workload Federation Standard

Enforces short-lived, cryptographically verifiable x509-SVIDs acquired via local SPIRE Agent Workload API Unix Domain Sockets for all inter-workload and cross-cloud communication. Forbids baking static IAM credentials, long-lived API tokens, or pre-shared keys into deployments. Mandates automated mTLS handshake negotiation using dynamically rotated SPIFFE bundles across federated trust domains.

#security#spiffe#spire#zero-trust#mtls#workload-identity#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenID CAEP Real-Time Cross-Boundary Session Revocation Standard

Enforces deterministic, sub-second propagation and enforcement of OpenID Continuous Access Evaluation Profile (CAEP) and Shared Signals and Events (SSE) revocation streams across edge runtimes. Mandates immediate cryptographically verified Security Event Token (SET) ingestion, distributed low-latency revocation tombstoning, and edge-evaluated session termination to eliminate replay vulnerabilities during credential compromise.

#security#openid#caep#sse#session-management#edge-computing#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.5 Cyclic Graph Traversal & Latency Quarantine Invariant

Enforces bounded recursive traversal, strict evaluation deadlines, and circuit-breaking latency quarantines for OpenFGA 1.5 ReBAC authorization queries. Prevents unbounded graph walk memory exhaustion and cascading denial-of-service induced by cyclic tuple structures and deep transitive expansions.

#security#openfga#rebac#authorization#zero-trust#circuit-breaker#dos-mitigation
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Synced Passkey Attestation & Step-Up Transaction Binding

Enforces strict W3C WebAuthn Level 3 cryptographic verification, distinguishing hardware-bound FIDO2 devices from multi-device synced passkeys via credential backup state checks. Mandates short-lived, transaction-bound cryptographic challenges during step-up re-authentication to prevent session hijacking and adversary-in-the-middle (AiTM) proxy replay attacks.

#security#webauthn#fido2#passkeys#aitm-mitigation#cryptography#session-security
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO Passkey Signal API Real-Time Revocation & Multi-Device Sync Guardrail

Eliminates phantom credential windows between Relying Parties (RP) and Passkey providers by synchronizing credential deletion, user updates, and device trust states in real time. Mandates atomic revocation lookups during assertion verification and outbound propagation via WebAuthn Signal API and Shared Signals and Events (CAEP/SSF).

#security#webauthn#fido2#passkeys#signal-api#zero-trust#caep
ACTIVE INVARIANTsecurity
View Rule Spec

Model Context Protocol (MCP) Least-Privilege Capability & Egress Filtration

Enforces strict input validation, capability confinement, and zero-trust outbound egress filtering for all Model Context Protocol (MCP) tool registrations. Mitigates indirect prompt injection, data exfiltration, and SSRF attacks by running tool execution routines in isolated sandboxes with domain-pinned network capabilities. Guarantees that untrusted context cannot dynamically influence destination endpoints, file system access boundaries, or credential dispatch.

#security#mcp#prompt-injection#ssrf#sandboxing#egress-filtering
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Webview Capability ACL Scoping and Least-Privilege Origin Isolation

Enforces strict origin-scoped Access Control List (ACL) manifests and fine-grained capability definitions across all Tauri 2.0 window contexts. Prohibits global wildcards or default-allow capability sets to prevent arbitrary native OS privilege escalation and remote code execution from compromised renderers.

#security#tauri-v2#capabilities#acl#origin-isolation#sandboxing
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Enforced Device-Bound Session Credentials (DBSC) Invariant

Enforces strict implementation of Device-Bound Session Credentials (DBSC) by binding HTTP sessions to client-side hardware security modules (TPM or Secure Enclave). Eliminates infostealer malware attack vectors by mandating cryptographic proof-of-possession, ephemeral challenge verification, and short-lived cookie lifetimes on all session refresh operations.

#security#dbsc#cryptography#session-management#zero-trust#hardware-binding
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium Tetragon eBPF In-Kernel Syscall Enforcement and Breakout Prevention

Mandates deterministic, synchronous eBPF kernel-level enforcement via Cilium Tetragon TracingPolicy CRDs to intercept and neutralize container breakout and namespace pivot syscalls (setns, unshare, pivot_root) before kernel state mutations occur. Prohibits relying on passive, asynchronous userspace audit monitoring that triggers after privilege escalation has already executed.

#security#cilium#tetragon#ebpf#kubernetes#kernel-hardening#container-escape
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum Hybrid ML-KEM TLS 1.3 Edge Termination Guardrail

Enforces mandatory hybrid post-quantum key exchange (X25519MLKEM768 / X25519Kyber768) and strict TLS 1.3 termination at enterprise ingress boundaries. Preempts 'Harvest Now, Decrypt Later' (HNDL) adversarial decryption attacks while guaranteeing fallback resilience and zero-overhead handshake latency.

#security#cryptography#post-quantum#ml-kem#tls-1-3#fips-203#edge-ingress
ACTIVE INVARIANTsecurity
View Rule Spec

In-Kernel eBPF LSM Container Syscall Whitelist & Namespace Containment

Mandates deterministic, zero-trust container syscall whitelisting enforced strictly via eBPF Linux Security Module (LSM) hooks bound to cgroupv2 hierarchies. Eliminates Time-of-Check to Time-of-Use (TOCTOU) exploits and container namespace escapes by executing sub-millisecond, synchronous kernel-level authorization checks before execution traverses isolation boundaries. Replaces reactive, post-execution userspace auditing with pre-execution in-kernel denial via negative errno returns.

#security#ebpf#lsm#containers#kernel#cgroupv2
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Consistency Token Propagation in Distributed Event Streams

Enforces deterministic read-after-write consistency for Relationship-Based Access Control (ReBAC) checks within distributed event-driven architectures. Mandates that OpenFGA write operations extract and propagate consistency tokens (Zanzibar zookies) through event metadata, requiring downstream asynchronous consumers to pass these tokens into subsequent authorization checks. This eradicates authorization race conditions and security bypasses caused by replication lag and out-of-order event consumption.

#security#rebac#openfga#authorization#distributed-systems#kafka
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium Tetragon Kernel-Level Process Lineage and Namespace Containment Guardrail

Enforces strict eBPF-driven runtime verification of process parentage and Linux namespace boundaries via Cilium Tetragon TracingPolicies. Immediately terminates zero-day breakout attempts—such as unauthorized sys_setns, sys_unshare, and mount namespace tampering—directly in kernel space via SIGKILL before transition execution. Guarantees that container boundary escapes cannot succeed even if container isolation primitives or local capabilities are compromised.

#security#cilium#tetragon#ebpf#containers#kubernetes#zero-day
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Hardware-Bound Symmetric Key Derivation Standard

Enforces strict implementation standards for WebAuthn Level 3 Pseudo-Random Function (PRF) extension to derive hardware-bound symmetric encryption keys directly from FIDO2/passkey authenticators. Guarantees that sensitive application data cannot be decrypted from exfiltrated memory or stolen browser tokens without active physical presence and explicit hardware token interaction. Mandates secondary key derivation via HKDF with strict domain separation before any derived secret touches application memory.

#security#webauthn#prf-extension#fido2#webcrypto#zero-trust#passkeys
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 RFC 9449 DPoP Proof and Nonce Replay Verification Invariant

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) at resource and authorization servers to prevent token theft and replay attacks. Mandates strict cryptographic verification of the ephemeral public key, HTTP method and URI bindings, access token hash (ath) validation, server-directed nonce rotation, and distributed jti replay prevention.

#security#oauth2#dpop#rfc9449#jwt#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Envoy Gateway Wasm OCI Dynamic Module Sandbox & Cryptographic Verification

Enforces strict memory isolation, resource ceilings, and cryptographic supply-chain verification for dynamic WebAssembly (Wasm) filters loaded from OCI registries into Envoy Gateway data planes. Prevents noisy-neighbor OOM host crashes and remote code execution by requiring Cosign/Notary v2 digest pinning and explicit V8/Wasmtime linear memory constraints before filter initialization.

#security#envoy-gateway#wasm#oci#sandboxing#supply-chain
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Zanzibar Distributed Cache Invalidation & Consistency Guardrail

Enforces strict causal consistency and atomic edge PDP cache invalidation during OpenFGA relationship tuple mutations. Prohibits heuristic TTL-based authorization caching for mutation-sensitive paths to eliminate stale read windows and privilege escalation vulnerabilities across distributed clusters.

#security#openfga#zanzibar#authorization#distributed-systems#cache-invalidation
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Streaming Boundary Guardrail

Enforces strict isolation of dynamic runtime contexts from static prerender shells in Next.js 15 Partial Prerendering (PPR) architectures. Prevents dynamic request-time APIs (cookies, headers, searchParams, and uncached data fetches) from de-optimizing prerendered HTML shells into full dynamic request rendering or leaking request-bound state across concurrent streams.

#frontend#nextjs#ppr#react-server-components#streaming#suspense
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF TC Ingress Zero-Trust SPIFFE Identity Verification & Session Offload

Enforces pre-userspace kernel verification of mutual TLS (mTLS) session state and SPIFFE ID mapping directly at the Traffic Control (TC) ingress hook. Prevents unauthorized packets from traversing socket buffers into userspace sidecars (e.g., Envoy) by dropping unauthenticated traffic with BPF_DROP and caching validated SPIFFE Subject Alternative Names (SANs) in locked BPF map entries.

#security#ebpf#tc-ingress#spiffe#zero-trust#kernel#linux
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6 Cycle-Safe Contextual Tuple Traversal and Depth Bounding

Enforces strict bounded graph traversal and cycle prevention when evaluating OpenFGA 1.6 relationship checks with contextual tuples. Prevents recursive graph lookups, contextual tuple thrashing, and denial-of-service (DoS) latency spikes caused by circular graph hierarchies in high-concurrency ReBAC environments.

#security#openfga#rebac#authorization#zero-trust#graph-traversal
ACTIVE INVARIANTsecurity
View Rule Spec

FAPI 2.0 DPoP Nonce Replay Prevention and Asymmetric Token Binding

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) and FAPI 2.0 security profile invariants across OAuth 2.0 token issuance and resource access. Prevents token replay, credential theft, and man-in-the-middle attacks by mandating cryptographic key-binding of access tokens via the 'cnf.jkt' thumbprint claim and strictly validating server-supplied single-use nonces with jitter-bounded clock drift.

#security#fapi2#dpop#rfc9449#oauth2#jwt#cryptography#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Component Taint Boundary & Secret Isolation Standard

Enforces compiler-level isolation of sensitive credentials, tenant metadata, and database records across React Server Component (RSC) serialization boundaries. Mandates the registration of taint primitives to block inadvertent transmission of server-only secrets to client component trees or Flight payload serializations.

#frontend#react-19#rsc#taint-api#security#nextjs#tenant-isolation
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Boundary & Suspense Micro-Segmentation Standard

Enforces strict structural boundaries between static pre-rendered shells and streaming dynamic micro-segments under Next.js 15 Partial Prerendering (PPR). Prevents dynamic runtime access (cookies, headers, searchParams, and uncached fetches) from leaking past React Suspense barriers, preserving instant edge delivery and preventing unhandled waterfall suspensions under high-concurrency loads.

#frontend#nextjs#react#partial-prerendering#suspense#streaming#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware Passkey PRF Extension Client-Side E2EE and Zero-Knowledge Key Derivation

Enforces strict client-side cryptographic invariants when deriving zero-knowledge symmetric keys from WebAuthn Pseudorandom Function (PRF) authenticator extensions. Mandates secondary HKDF key expansion with domain-separated salts, prevents raw PRF output exposure, and forbids any network transmission or unencrypted persistence of derived keying material.

#security#webauthn#prf-extension#zero-knowledge#cryptography#web-crypto-api#passkeys
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Contextual Tuples Evaluation Guardrail

Mandates that dynamic runtime attributes and transient environmental conditions are passed exclusively as evaluated contextual tuples or condition context during OpenFGA check evaluations. Strictly prohibits writing transient, request-bound authorization state to persistent tuple databases to eliminate privilege leaks, race conditions, and tuple store pollution.

#security#openfga#authorization#zanzibar#contextual-tuples#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Anchored Zero-Knowledge Vault Encryption via WebAuthn PRF Extension

Enforces zero-knowledge client cryptographic vault encryption anchored directly to hardware-backed FIDO2 authenticators via the WebAuthn PRF (Pseudo-Random Function) extension. Requires non-extractable CryptoKey handles derived via HKDF domain separation and strictly prohibits transmitting PRF outputs, master derivation seeds, or plaintext vault encryption keys to any remote server.

#security#webauthn#prf-extension#cryptography#zero-knowledge#passkeys
ACTIVE INVARIANTsecurity
View Rule Spec

React 19 Server Component Cryptographic Taint & Secret Exfiltration Guardrail

Enforces compiler-level taint checking using experimental_taintUniqueValue and taintObjectReference across all internal data-access boundaries. This prevents accidental serialization and exfiltration of sensitive backend credentials, cryptographic keys, and PII across React Server Component (RSC) serialization boundaries into Client Component bundles. Any data access layer entity containing sensitive identifiers or secrets must be explicitly marked as tainted before processing.

#security#react-19#rsc#taint-analysis#nextjs#data-exfiltration#secret-management
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF XDP Kernel-Level SPIFFE/mTLS Handshake Validation Standard

Enforces strict bounds checking, bounded state machine parsing, and pinned kernel map lookups when offloading zero-trust SPIFFE/mTLS connection admission to eBPF XDP hooks. Precludes unbounded packet parsing, non-atomic map lookups, and unvalidated identity assertions that compromise the kernel network driver layer.

#security#ebpf#xdp#spiffe#mtls#kernel#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Dynamic I/O & Distributed Cache Invalidation Invariant

Enforces strict boundaries between cached computation and dynamic runtime I/O in Next.js 15 with dynamicIO enabled. Mandates deterministic, hierarchical cache tags and isolates mutation-sensitive reads via explicit dynamic boundaries to prevent distributed stale read cascades and cache stampedes across edge regions.

#frontend#nextjs#react#cache-invalidation#dynamic-io#edge-computing
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional UI RP Isolation & Tenant Boundary Invariant

Mandates strict Relying Party ID (rpId) and clientDataJSON origin isolation for WebAuthn Conditional Mediation autofill across federated multi-tenant architectures. Prevents cross-subdomain passkey harvesting, ambient tenant credential leakage, and origin spoofing by cryptographically pinning tenant context to WebAuthn challenge generation and assertion verification.

#security#webauthn#passkeys#conditional-ui#multi-tenant#fido2
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF Tetragon Real-Time Kernel Syscall Enforcement Standard

Enforces synchronous in-kernel interception and termination of anomalous container syscalls via eBPF Tetragon TracingPolicies before privilege escalation or container escape payloads execute. Prohibits asynchronous, out-of-band audit-only monitoring in perimeter-critical workloads by mandating Sigkill or Override action primitives tied directly to namespace and cgroup boundaries. Guarantees zero-overhead enforcement directly within the kprobe/tracepoint execution path without userspace round-trip delays.

#security#ebpf#tetragon#kubernetes#runtime-security#cgroup-isolation
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral X.509 SVID Dynamic In-Memory Auto-Rotation Standard

Enforces dynamic consumption of SPIFFE X.509 SVIDs directly from SPIRE Workload API domain sockets without persisting secrets to disk or caching stale TLS contexts. Requires streaming Workload API listeners and dynamic TLS certificate reloading to guarantee uninterrupted mutual TLS during sub-hour identity rotation across heterogeneous multi-cloud topologies.

#security#spiffe#spire#zero-trust#mtls#x509-svid#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Contextual Tuple Mutation Boundary & Read-After-Write Consistency Standard

Enforces strict causal read-after-write consistency and transactional boundaries when mutating and evaluating OpenFGA relationship tuples. Mitigates authorization cache-drift, stale read replication lag, and window-of-exposure vulnerabilities in distributed zero-trust systems by requiring contextual tuple validation and client-side consistency token chaining during concurrent authorization checks.

#security#openfga#authorization#rebac#consistency-token#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9420 MLS Atomic Epoch Ratchet Commit & State Persistence Guardrail

Enforces strict atomicity and monotonic ordering during RFC 9420 MLS Epoch Commit processing to prevent forward-secrecy loss and state desynchronization. Out-of-order concurrent commits must be serialized with optimistic concurrency checks, and epoch state transitions (ratchet tree, group context, and epoch secrets) must commit in an isolated transaction. Superseded ratchet secrets and ephemeral keys must be zeroized immediately upon commit confirmation.

#security#cryptography#mls#rfc-9420#forward-secrecy#concurrency#storage
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic OpenFGA Contextual Tuple Evaluation and Real-Time Invalidation

Enforces deterministic cryptographic cache key hashing and real-time event-driven cache invalidation for OpenFGA ReBAC graph evaluations. Prevents stale authorization privilege retention and cache poisoning by strictly binding contextual tuple snapshots, quantized temporal attributes, and transactional write invalidations to graph check operations.

#security#openfga#rebac#authorization#cache-invalidation#redis
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum ML-KEM/X25519 Hybrid TLS 1.3 Key Exchange Enforcement

Enforces mandatory hybrid post-quantum key exchange (FIPS 203 ML-KEM-768 combined with X25519) on all enterprise TLS 1.3 ingress terminations to defeat Harvest Now, Decrypt Later (HNDL) attacks. Disallows legacy TLS 1.2, prohibits classical-only key-exchange groups in secure profiles, and strictly mandates PQ-hybrid group preference ordering across API gateway listeners.

#security#cryptography#tls13#post-quantum#ml-kem#hndl#ingress
ACTIVE INVARIANTsecurity
View Rule Spec

Kernel-Attested Dynamic X.509 SVID Lifecycle and In-Memory Rotation Standard

Enforces strict workload microsegmentation and cryptographic identity binding by streaming dynamic, short-lived X.509 SVIDs via local SPIFFE Workload API Unix Domain Sockets. Prohibits static long-lived credentials, disk caching of private keys, and manual TLS context restarts by requiring asynchronous in-memory keypair rotations upon Workload API updates.

#security#spiffe#spire#mTLS#zero-trust#cryptography#microsegmentation
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Transitive Userset Graph Depth Traversal and Cycle Mitigation Standard

Enforces bounded recursion depth limits and deterministic cycle detection across transitive relational usersets in OpenFGA authorization checks. Mitigates stack exhaustion, exponential state explosion, and denial-of-service vectors caused by self-referential or deeply nested tuple-to-userset relations.

#security#openfga#rebac#authorization#dos-prevention#graph-traversal
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF Tetragon In-Kernel Syscall Quarantine & Namespace Isolation Standard

Mandates deterministic, in-kernel enforcement using Tetragon TracingPolicy resources with synchronous Sigkill actions rather than asynchronous userspace alert pipelines. Eliminates time-of-check to time-of-use (TOCTOU) race conditions during container escapes, privilege escalations, and unauthorized namespace traversals.

#security#ebpf#tetragon#kubernetes#kernel#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 RFC 9396 Rich Authorization Requests (RAR) Step-Up Enforcement

High-value and state-mutating API operations must reject coarse static OAuth 2.0 scopes and enforce RFC 9396 Rich Authorization Requests (RAR). The Resource Server must cryptographically validate authorization_details against the exact incoming transactional payload to prevent parameter tampering, authorization bypass, and cross-transaction token replay.

#security#oauth2#rfc9396#rar#step-up-auth#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Streaming Hole Boundary Isolation

Enforces strict boundary isolation between static prerender shells and dynamic streaming holes under Next.js 15 Partial Prerendering (PPR). Mandates that dynamic data access (cookies, headers, searchParams, and uncached dynamic fetches) resides exclusively inside isolated React Suspense boundaries with deterministic, static-safe fallbacks to prevent edge-cache poisoning or de-opting the static layout shell.

#frontend#nextjs#partial-prerendering#react-server-components#streaming#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Bounded Graph Traversal Depth and Contextual Cache Invalidation for OpenFGA Zanzibar

Enforces strict limits on authorization graph traversal depth, mandatory context timeouts, and atomic contextual cache invalidation in OpenFGA Zanzibar implementations. Deeply nested group-of-groups hierarchies and transitive relationship queries can trigger catastrophic cascade latencies, resource exhaustion, and stale authorization decisions without bound resolution parameters. All check operations must configure explicit query depth limits, propagate distributed trace deadlines, and use deterministic tuple-versioned cache eviction keys.

#security#openfga#zanzibar#authorization#rebac#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Ephemeral OIDC Keyless Attestation & SLSA v1.0 Invariant Verification

Enforces zero-static-secret supply chain security by mandating ephemeral OpenID Connect (OIDC) identity tokens for artifact signing via Fulcio and Rekor transparency logging. Prohibits persistent cryptographic signing keys in CI/CD environments and enforces SLSA v1.0 in-toto provenance attestation verification before deployment.

#security#sigstore#slsa-v1.0#oidc#supply-chain-security#keyless-signing#rekor
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Extension Zero-Knowledge Key Derivation Standard

Enforces strict cryptographic hygiene and zero-knowledge boundaries when deriving hardware-backed symmetric encryption keys using the WebAuthn PRF (Pseudo-Random Function) extension. Requires non-extractable CryptoKey derivation via HKDF domain separation, client-side isolation preventing PRF leak to relaying parties, and deterministic fallback validation.

#security#webauthn#prf#passkeys#e2ee#cryptography#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Ephemeral OIDC Keyless Signing and SLSA Level 3 Provenance Verification

Mandates ambient OIDC federation with Sigstore Fulcio and Rekor transparency logging to eliminate long-lived cryptographic private keys across CI/CD build pipelines. Enforces automated generation and admission verification of SLSA Level 3 in-toto attestations tied to verifiable workload identities (issuer and subject) rather than static credentials.

#security#sigstore#cosign#slsa#supply-chain#oidc#provenance
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Dynamic Scope De-escalation Boundary

Enforces strict compile-time and runtime isolation between static prerendered HTML shells and dynamic streaming holes in Next.js 15. Prevents credential, session token, and tenant identity leakage into edge-cached static artifacts by guaranteeing that dynamic functions (cookies, headers, searchParams, and dynamic data access) execute exclusively within explicit Suspense boundaries.

#nextjs#react-server-components#partial-prerendering#security#cache-poisoning
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral Workload Attestation & Socket Lease Standard

Enforces kernel-level cryptographic zero-trust workload identities through the SPIFFE Workload API over Unix Domain Sockets. Mandates ephemeral sub-hour X.509 SVID dynamic in-memory rotation, peer credential validation, and strictly prohibits static disk-mounted long-lived credentials.

#security#zero-trust#spiffe#spire#mtls#x509-svid
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium eBPF Host-Routing Tail-Call sk_buff Context Preservation and Telemetry Invariant

Enforces strict control buffer (cb[]) alignment and security identity preservation across eBPF BPF-to-BPF tail calls in Cilium host-routing and L7 proxy redirect paths. Eliminates policy bypass and silent packet drops caused by unanchored skb metadata shifts and unhandled tail-call dispatch exhaustion. Ensures full telemetry synchronization and verifier-compliant pointer re-validation across execution boundaries.

#security#cilium#ebpf#networking#kernel#tail-calls
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Edge Cache Invariant Standard

Enforces strict isolation between static prerendered HTML shells and dynamic stream chunks under Next.js 15 Partial Prerendering (PPR). Mandates explicit Suspense boundaries around all dynamic context (cookies, headers, searchParams, and uncached data fetches) to prevent edge cache poisoning and cross-session identity leakage.

#frontend#nextjs#ppr#edge-cache#security#suspense#react-server-components
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Hardware-Bound Envelope Encryption Standard

Mandates zero-trust client-side envelope encryption rooted in hardware authenticators using the WebAuthn PRF (Pseudo-Random Function) extension. Prohibits transmission or persistence of raw PRF bytes, unencrypted Data Encryption Keys (DEKs), or plaintext payloads to remote APIs. Requires strict HKDF derivation of Key Encryption Keys (KEKs) and cryptographically fresh per-record AES-256-GCM nonce and key generation.

#security#webauthn#prf-extension#envelope-encryption#zero-trust#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral SVID Attestation & Zero-Static-Secret Invariant

Enforces short-lived mTLS X.509 SVID dynamic retrieval and in-memory rotation via the SPIFFE Workload API over Unix Domain Sockets. Prohibits static cloud credentials, persistent certificate disk writes, and manual TLS context instantiation that bypasses cryptographic platform attestation.

#security#spiffe#spire#zero-trust#mtls#x509-svid#attestation
ACTIVE INVARIANTbackend
View Rule Spec

Temporal Durable Workflow Deterministic State Replay Sanitization

Enforces strict determinism across Temporal durable workflow functions by eliminating native non-deterministic runtime calls. Workflows are event-sourced state machines that replay historical event logs; any divergence introduced by unseeded entropy, unmanaged system clocks, or direct I/O execution will trigger NonDeterministicWorkflowPolicy errors and break workflow execution invariants.

#backend#temporal#distributed-systems#event-sourcing#orchestration#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Cryptographic Origin, rpId, and Hash Cross-Checking Standard

Enforces strict server-side cryptographic verification of WebAuthn Level 3 clientDataJSON and authenticatorData structures. Mandates canonical origin matching, rpIdHash validation over multi-tenant top-level domains, and exact clientDataHash integrity checks to eradicate adversary-in-the-middle (AiTM) proxy interception and replay phishing attacks.

#security#webauthn#passkeys#fido2#cryptography#authentication#multi-tenant
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Keyless Artifact Attestation and Rekor Transparency Verification Standard

Enforces keyless artifact attestation by binding build container images and binary release assets directly to ephemeral OpenID Connect (OIDC) identities issued by Fulcio and recorded in Rekor public transparency logs. Eliminates high-risk long-lived signing keys and static credentials from CI/CD runners, requiring all admission gates and downstream orchestrators to verify cryptographic SAN provenance and inclusion proofs against root TUF metadata.

#security#sigstore#cosign#oidc#slsa#supply-chain#containers
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 DPoP (RFC 9449) Ephemeral Key & Nonce Synchronization Boundary

Enforces strict RFC 9449 Demonstrating Proof-of-Possession (DPoP) standards across client application layers to eliminate token-theft and replay vulnerabilities. Mandates non-extractable WebCrypto asymmetric keys, canonicalized proof claims, and atomic single-retry nonce synchronization boundaries.

#security#oauth2#dpop#rfc9449#cryptography#webcrypto
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Async Request API Resolution Boundaries and Streaming Invariants

Next.js 15 transitions dynamic request contexts (cookies, headers, params, and searchParams) to asynchronous Promises to enable Dynamic I/O and Partial Prerendering (PPR). Eagerly awaiting these APIs at layout or page root scopes triggers premature dynamic bailouts and collapses downstream streaming boundaries into cascading server-side waterfalls.

#nextjs#next15#react19#dynamic-io#server-components#ppr#streaming
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Zanzibar Hierarchical ReBAC Cyclic Evaluation & Recursion Guardrails

Enforces strict recursion depth bounding, cyclic relation validation, and context-propagated cycle detection across OpenFGA/Zanzibar ReBAC authorization evaluations. Prevents unbounded graph traversals, distributed stack exhaustion, and Denial of Service (DoS) attacks caused by mutually nested relations or unconstrained transitive closure evaluations.

#security#openfga#zanzibar#rebac#authorization#cycle-detection#graph-traversal
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Device-Bound Step-Up Credential Invariant

Enforces cryptographic and structural validation that rejects multi-device synced passkeys for high-risk transactions. Requires hardware-bound authenticators by strictly inspecting the Backup State (BS) and Backup Eligibility (BE) flags alongside explicit Authenticator Attachment requirements during WebAuthn assertion verification.

#security#webauthn#fido2#passkeys#step-up-auth#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF Tetragon Process Lineage Invariants & Binary Tamper Prevention

Enforces kernel-level execution namespace invariants via eBPF Tetragon TracingPolicies to prevent unauthorized runtime binary mutations and container escapes. Mandates synchronous in-kernel termination (Sigkill) on namespace traversal, fileless payload execution (memfd_create), and unexpected process lineage forks prior to userspace execution.

#security#ebpf#tetragon#runtime-security#kubernetes#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce Dynamic SPIFFE/SPIRE x509-SVID Attestation & Ephemeral Rotation

Enforces cryptographic workload identity in distributed multi-cloud service meshes using SPIFFE Workload API streams instead of static credentials. Demands zero filesystem-cached secret retention, sub-hour x509-SVID validity lifecycles, and in-memory non-disruptive TLS handshake context refreshment via dynamic watchers.

#security#spiffe#spire#zero-trust#mtls#x509-svid#service-mesh
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Dynamic mTLS Workload Attestation and Hot-Reload Invariant

Enforces cryptographically verifiable, ephemeral microservice identity via the SPIRE Workload API Unix Domain Socket, eradicating all static API tokens and long-lived X.509 certificates. Mandates continuous streaming subscription to X.509 SVID rotations and in-memory dynamic TLS context reloading without process restarts or connection disruption.

#security#spiffe#spire#mtls#zero-trust#identity
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory ML-KEM-768 Hybrid Key Exchange on Edge TLS 1.3 Ingress

Enforces quantum-resistant hybrid X25519MLKEM768 (FIPS 203) key encapsulation on all external edge ingress and reverse proxy TLS 1.3 terminations. Prevents Harvest-Now-Decrypt-Later (HNDL) attacks by state adversaries seeking to record and retrospectively decipher encrypted enterprise communication using Cryptanalytically Relevant Quantum Computers (CRQCs).

#security#post-quantum#fips-203#ml-kem#tls-1.3#cryptography#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 PPR Deterministic Dynamic Hole Boundary Standard

Enforces strict physical boundaries between static build-time shells and deferred dynamic execution contexts under React 19 Partial Prerendering (PPR). Prevents dynamic I/O leakage into static prerender passes, eliminates client-side Cumulative Layout Shift (CLS) via mandatory skeleton geometry preservation, and prohibits nested streaming waterfalls.

#frontend#react-19#nextjs#ppr#suspense#performance
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Component Model Capability Sandboxing Standard

Enforces strict capability-based security and zero ambient authority for third-party WebAssembly components executed under WASI 0.2 runtimes. Host linkers and WIT definitions must explicitly withhold POSIX primitives (filesystem, raw sockets, environment variables, clocks) by default, requiring fine-grained, tenant-isolated capabilities to be injected selectively.

#security#wasm#wasi-02#component-model#sandboxing#rust#wasmtime
ACTIVE INVARIANTsecurity
View Rule Spec

Continuous Access Evaluation Profile (CAEP) Real-Time Revocation Invariant

Enforces asynchronous Security Event Token (SET) processing (RFC 8935/8936) across distributed microservices to instantaneously invalidate sessions and security principals upon credential revocation or risk change. Eliminates window-of-vulnerability states caused by purely reliant, stateless JWT expiration timeouts. Guarantees idempotency, replay protection, and distributed revocation propagation across cache and active session tiers.

#security#caep#sse#oidc#jwt#zero-trust#session-revocation
ACTIVE INVARIANTbackend
View Rule Spec

Temporal SDK Deterministic Workflow Sandboxing & State Replay Invariants

Temporal workflows compute state through deterministic event-sourcing replay; any deviation between execution passes results in a catastrophic NonDeterministicWorkflowError. This standard enforces strict isolation against ambient system clocks, unsandboxed asynchronous timers, random number generation, and external I/O operations inside workflow logic.

#backend#temporal#event-sourcing#distributed-systems#determinism#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

ML-KEM (FIPS 203) Hybrid Post-Quantum TLS 1.3 Key Exchange Enforcement

Enforces post-quantum hybrid key encapsulation (ML-KEM-768 combined with classical X25519) on TLS 1.3 edge ingress endpoints to eliminate store-now-decrypt-later (SNDL) threats. Edge gateways must mandate TLS 1.3 minimums, prioritize X25519MLKEM768 groups, and prohibit classical-only handshakes for clients that advertise post-quantum capabilities.

#security#cryptography#pqc#fips-203#ml-kem#tls-1.3#ingress
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral X.509 SVID Continuous Attestation and Rotation Standard

Enforces zero-trust workload authentication using SPIFFE/SPIRE Unix Domain Socket (UDS) kernel attestation without static secrets. Mandates in-memory dynamic SVID rotation watchers and explicit peer SPIFFE ID validation, prohibiting disk persistence and static secret fallbacks.

#security#spiffe#spire#zero-trust#mtls#x509-svid#identity
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Capability Attenuation and Guest Memory Sandboxing Standard

Enforces strict capability-based access control and memory isolation for multi-tenant dynamic guest plugins executed via WASI 0.2 and the WebAssembly Component Model. Mandates explicit attenuation of ambient system resources (filesystem, sockets, clocks, random, environment variables) through deterministic host contexts and denies direct pointer leaks across the canonical ABI boundary. Guarantees linear memory encapsulation, deterministic resource budgeting, and prevention of multi-tenant cross-contamination.

#security#wasm#wasi-0-2#component-model#wasmtime#sandboxing#multi-tenancy
ACTIVE INVARIANTsecurity
View Rule Spec

SPIRE Dynamic Attestation Sub-Hour X.509 Ephemeral Rotation Boundary

Enforces sub-hour lifetime boundaries for SPIRE/SPIFFE X.509-SVIDs through dynamic kernel-level workload attestation. Workloads must consume ephemeral certificates via active SPIFFE Workload API streams or dynamic memory reloaders, strictly prohibiting static disk credentials, long-lived cert caching, or process restarts during leaf rotation.

#security#spiffe#spire#zero-trust#mtls#x509#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory DPoP Proof-Key Binding for Passkey Conditional UI Sessions

Enforces strict cryptographic binding between WebAuthn Passkey Conditional UI assertions and ephemeral, non-extractable client-side DPoP (RFC 9449) key pairs. Eliminates enterprise token theft, session hijacking, and adversary-in-the-middle (AiTM) proxying by ensuring access tokens cannot be issued as bearer tokens or replayed outside the initiating browser context.

#security#passkeys#webauthn#dpop#oauth2#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 DPoP Asymmetric Token Binding & Anti-Replay Guardrail

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) at application and microservice boundaries to cryptographically bind access tokens to client-held private keys. Prevents token replay, credential theft via log leakage, and unauthorized proxying by requiring strict verification of the dpop+jwt proof header, HTTP target binding (htm/htu), access token hash (ath), and nonces.

#security#rfc9449#dpop#oauth2#zero-trust#jwt#token-binding
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Dynamic mTLS Workload Identity Attestation Guardrail

Eliminates long-lived static credentials, baked-in certificates, and persistent tokens across hybrid cloud services by enforcing dynamic workload attestation via the local SPIRE Agent Workload API. Demands zero-trust mutual TLS (mTLS) with automated short-lived X.509 SVID rotation and deterministic SPIFFE ID authorization at kernel-attested process boundaries.

#security#spiffe#spire#mtls#zero-trust#identity-attestation#pki
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Client-Side Zero-Knowledge Cryptographic Key Derivation Guardrail

Enforces strict client-side zero-knowledge architectural standards for deriving symmetric cryptographic keys via the WebAuthn Pseudo-Random Function (PRF) extension (HMAC-secret). Prevents leakage of raw PRF outputs, mandates constant salt isolation, enforces subkey derivation using HKDF with quantum-resistant key lengths (AES-256-GCM / XChaCha20-Poly1305), and ensures hardware secrets never transit to relying party backend servers.

#security#webauthn#prf-extension#zero-knowledge#hkdf#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Cosign Keyless Attestation and SLSA Level 3 Admission Invariant

Enforces admission-time cryptographic verification of short-lived OIDC identities, Rekor transparency log entries, and SLSA Level 3 build provenance for all containerized workloads. Blocks execution of untrusted, unverified, or tampered artifacts by validating that image digests match immutable cryptographic signatures anchored in the Fulcio root of trust prior to Kubernetes workload scheduling.

#security#sigstore#cosign#slsa-provenance#kubernetes#kyverno#supply-chain
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF Tetragon Real-Time In-Kernel Namespace Escape Interception and Kill Enforcement

Defines and mandates zero-tolerance TracingPolicy CRDs within Tetragon to detect and synchronously terminate container escape attempts in kernel-space before privilege-escalated syscall execution completes. Ensures synchronous SIGKILL enforcement on unauthorized namespace manipulation (setns, unshare, pivot_root) and mount namespace breakouts across production Kubernetes worker nodes.

#security#ebpf#tetragon#kubernetes#container-breakout#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Request-Scoped Contextual Tuple Memory and Cardinality Sandboxing

Enforces strict cardinality bounding, payload memory budgets, and timeout sandboxing on request-scoped contextual tuples during OpenFGA check operations. Failure to sandbox ephemeral tuples exposes authorization nodes to heap exhaustion, algorithmic complexity attacks, and denial of service via recursive graph traversals.

#security#openfga#authorization#rebac#dos-prevention#sandboxing
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware Device-Bound FIDO2 Attestation & Synced Passkey Rejection Guardrail

Enforces hardware-backed, device-bound WebAuthn credentials for zero-trust administrative control planes by cryptographically validating attestation statement certificates and AAGUIDs against the FIDO Alliance Metadata Service. Rejects multi-device synced passkeys by validating authenticator data flags (backup eligibility and backup state) and mandating direct attestation during credential registration.

#security#webauthn#fido2#zero-trust#attestation#cryptography#passkeys
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Modular Schema Cycle-Termination and Recursion-Budget Guardrail

Enforces strict recursion-depth budgets, memoized graph evaluation checks, and acyclic invariant compilation on modular OpenFGA schemas and client-side graph traversals. Protects authorization engines against ReDoS-style denial-of-service vulnerabilities caused by self-referential relations, mutual group nestings, or trans-module tuple cycles. Guarantees deterministic evaluation bounds across distributed Zanzibar-like authorization deployments.

#security#openfga#authorization#rebac#graph-algorithms#dos-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

Capacitor 7 Hardware-Backed Key Attestation and Session Binding Standard

Binds mobile JWT refresh sessions to hardware-backed cryptographic keys generated inside the Apple Secure Enclave or Android StrongBox/TEE Keystore. Mandates client-side Demonstrating Proof of Possession (DPoP) or challenge-response assertion signing inside isolated hardware, rendering exfiltrated refresh tokens mathematically unusable by adversaries.

#security#capacitor-7#secure-enclave#dpop#jwt#key-attestation#ios#android
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Component Model Zero-Trust Linear Memory Sandbox Isolation

Enforces strict zero-trust compute isolation for third-party pluggable extensions running inside the host runtime via the WebAssembly Component Model and WASI 0.2 (Preview 2). Mandates explicit capability-oriented interface imports, strict fuel metering, epoch-based execution interruption, and disallows raw linear memory sharing or unmediated host syscall leaks across the canonical ABI boundary.

#security#webassembly#wasm-component-model#wasi-0.2#sandboxing#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 Sender-Constrained DPoP Proof & Key-Rotation Enforcement

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) at the HTTP client and resource server boundary to prevent token theft and replay attacks. Requires ephemeral, asymmetric hardware-backed or WebCrypto key pairs rotated per session or risk threshold, binding every access and refresh token to a cryptographic key thumbprint (jkt).

#security#oauth2.1#dpop#cryptography#rfc9449#jwt
ACTIVE INVARIANTsecurity
View Rule Spec

Non-Blocking WASM OpenFGA Batch Evaluation Pipeline Standard

Enforces non-blocking, batched fine-grained authorization lookups within Envoy Proxy WASM filters interfacing with OpenFGA. Eliminates L7 worker event loop stalling and ephemeral socket depletion by channeling concurrent check tuples through unified gRPC/HTTP/2 multiplexed streams over local Envoy cluster sockets using asynchronous dispatch hooks rather than inline synchronous or unbounded discrete subrequests.

#security#envoy#wasm#openfga#authorization#performance
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Sub-10ms Batch Authorization and Ephemeral Context Pattern

Enforces high-throughput ReBAC evaluation patterns using OpenFGA by prohibiting iterative sequential checks and ephemeral write operations. Mandates client-side batching (`batchCheck`), contextual tuple injection, and strict fail-closed fallbacks to resolve complex relationship graph traversals within a sub-10ms latency budget.

#security#openfga#rebac#authorization#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Keyless OIDC Attestation & SLSA v1.0 Provenance Verification

Enforces cryptographically verifiable, keyless container signing and SLSA v1.0 provenance attestation across CI/CD and deployment admission gates. Prevents software supply-chain poisoning by requiring ephemeral Fulcio certificates bound to OIDC workload identities, Rekor transparency log inclusion proofs, and immutable image digest pinning.

#security#sigstore#cosign#slsa-provenance#supply-chain#oidc#containers
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Client-Side Key Derivation via WebAuthn PRF Extension

Standardizes client-side symmetric key derivation using the WebAuthn Pseudo-Random Function (PRF) extension (`eval` / `evalByCredential`). Mandates strict tenant-isolated HKDF chaining, in-memory isolation of derived root secrets, and zero transmission of derived keys or raw PRF outputs across transport layers.

#security#webauthn#prf-extension#cryptography#hkdf#zero-knowledge
ACTIVE INVARIANTsecurity
View Rule Spec

In-Toto v1.0 & CycloneDX 1.6 Cryptographic Build Reproducibility Verification

Enforces strict bit-for-bit determinism validation across independent isolated build workers before publishing compiled artifacts to registries. Requires mutual cross-verification of CycloneDX 1.6 Cryptographic Bill of Materials (CBOM/SBOM) digests against signed in-toto v1.0 attestation envelopes containing hardware-rooted enclave measurements.

#security#supply-chain#in-toto#cyclonedx#reproducible-builds#attestation#dsse
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Boundary Static Shell Isolation and Layout Shift Prevention

Enforces deterministic boundaries between edge-cacheable static shells and streamed dynamic subtrees in Next.js 15 Partial Prerendering (PPR). Guarantees sub-50ms TTFB by strictly isolating runtime dynamic operations (cookies, headers, searchParams, and uncached data) inside Suspense boundaries. Mandates dimensionally stable skeleton fallbacks to prevent Cumulative Layout Shift (CLS) during client-side hydration stalls.

#frontend#nextjs#nextjs-15#ppr#react-suspense#performance#web-vitals
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA ReBAC Causal Consistency & Tuple Transactional Invalidation Standard

Enforces strict causal ordering and read-after-write consistency between relational database transactions and OpenFGA relationship tuple mutations. Eliminates privilege-escalation and authorization bypass race conditions by prohibiting fire-and-forget tuple updates, stale authorization cache reads, and unsequenced check operations. Mandates the transactional outbox pattern or dual-phase commit coordination with consistent token propagation across all ReBAC evaluations.

#security#openfga#rebac#authorization#concurrency#distributed-systems#outbox-pattern
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 DPoP Sender-Constrained Token Attestation & Ephemeral Proof Validation

Mandates end-to-end cryptographic binding of OAuth 2.0 access and refresh tokens to client-held private keys via RFC 9449 DPoP proofs. Eliminates bearer token theft, exfiltration, and replay attacks by enforcing asymmetric key attestation, access token hash (ath) binding, HTTP method/URI parity, and strict single-use jti validation. Prohibits fallback to unconstrained bearer tokens and prevents DPoP proof caching across distinct HTTP requests.

#security#oauth2#dpop#rfc9449#sender-constrained#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Hybrid Post-Quantum TLS (ML-KEM / X25519MLKEM768) Zero-Trust Invariant

Enforces mandatory hybrid post-quantum key encapsulation mechanisms (ML-KEM / X25519MLKEM768) across all internal ingress, east-west microservices, and mTLS connections. Mitigates 'Harvest Now, Decrypt Later' (HNDL) adversarial captures by banning legacy classical-only key exchange groups (such as standalone P-256 or non-hybrid X25519) and requiring TLS 1.3 with strict hybrid post-quantum cryptographic suites.

#security#cryptography#post-quantum#ml-kem#tls-1-3#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce OAuth 2.1 RFC 9449 Demonstrating Proof-of-Possession (DPoP) Token Binding

Mandates asymmetric cryptographic proof-of-possession (DPoP) verification on all incoming OAuth 2.1 access and refresh token flows. Prevents token replay and exfiltration attacks by strictly enforcing JWK thumbprint binding (cnf.jkt), access token hashing (ath), HTTP method/URI binding (htm/htu), and server-provided nonce validation.

#security#oauth2#dpop#rfc9449#sender-constrained-tokens#jwt#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Taint Object API Boundary Enforcement for RSC Serialization

Enforces mandatory registration of cryptographic keys, raw database records, and PII using React 19's experimental_taintObjectReference and experimental_taintUniqueValue APIs. Prevents unintentional serialization of server-side secrets across the Server-to-Client Component boundary within React Server Component (RSC) Flight streams.

#frontend#react-19#rsc#taint-api#security#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 OAuth 2.0 DPoP Token Binding for Single Page Applications and BFFs

Enforces sender-constraining of OAuth 2.0 tokens via RFC 9449 Demonstrating Proof-of-Possession (DPoP) across client runtimes and Backend-For-Frontend (BFF) proxies. Every outbound API call and token exchange must cryptographically bind access and refresh tokens to an ephemeral, non-extractable client key pair using Web Crypto API. Exfiltrated tokens become completely inert against replay attacks on third-party origins.

#security#oauth2#dpop#rfc9449#cryptography#zero-trust#spa
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6 Contextual Tuple Bounded Resolution & Graph Invariant Guardrail

Enforces strict bounds, relation whitelisting, and cycle-safe ingestion on dynamic OpenFGA contextual tuples during authorization checks. Prevents unbounded graph traversals, traversal-induced denial of service (DoS), and latency degradation to guarantee deterministic sub-10ms p99 ReBAC resolutions.

#security#openfga#rebac#authorization#performance#dos-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 Backup State Assertion & Device-Bound Token Enforcement

Enforces strict discrimination between multi-device synced passkeys and hardware-bound passkeys using WebAuthn Level 3 AuthenticatorData Backup Eligibility (BE) and Backup State (BS) flags. Prevents privilege escalation and session exportability on high-assurance operations (e.g., step-up authentication, cryptographic key authorization, admin actions) by cryptographically guaranteeing credentials cannot leave their initial physical Secure Element or FIPS-validated enclave.

#security#webauthn#fido2#passkeys#authentication#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory TLS 1.3 Hybrid Post-Quantum Key Exchange (X25519MLKEM768)

Enforces TLS 1.3 hybrid post-quantum key exchange using X25519 combined with FIPS 203 ML-KEM-768 (X25519MLKEM768 / codepoint 0x11ec) across all enterprise ingress and inter-service mesh gateways. Eliminates vulnerability to 'Harvest Now, Decrypt Later' (HNDL) adversary campaigns while retaining classical Elliptic Curve Diffie-Hellman guarantees and graceful fallback to pure X25519/SecP256r1 for non-PQC clients.

#security#tls-1-3#post-quantum-cryptography#fips-203#ml-kem#ingress
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering Dynamic Micro-Suspense and Fallback Isolation Standard

Enforces strict structural boundaries between the static prerender shell and runtime dynamic streams under Next.js 15 Partial Prerendering (PPR). Guarantees that dynamic request contexts, asynchronous headers, and unstable data reads are sealed inside isolated React Suspense boundaries with zero-dependency static fallbacks, preventing static shell deopt and server-side request starvation under high concurrent traffic.

#nextjs#nextjs-15#react-19#ppr#suspense#streaming#performance
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Compiler Interior Reference Mutation and Memoization Graph Integrity Guardrail

Enforces strict interior reference immutability and deterministic pure functional transformations across complex client-side state trees. Eliminates post-render interior mutations and leaking aliases that shatter React 19's automatically synthesized memoization blocks ($_memoize) and trigger catastrophic de-optimizations or cascading re-renders.

#frontend#react-19#react-compiler#immutability#typescript#memoization
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 DPoP Hardware-Bound Ephemeral Key Rotation Standard

Enforces cryptographic binding of OAuth 2.1 access and refresh tokens to non-exportable, hardware-enclave-backed asymmetric keys per RFC 9449. Mandates strict verification of DPoP proof claims (htm, htu, jti, iat, ath, nonce) and zero-trust key rotation intervals to neutralize token exfiltration and replay attacks.

#security#oauth2#rfc9449#dpop#cryptography#hardware-security-module#enclave
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum ML-KEM-768 & X25519 Hybrid Key Exchange Invariant for TLS 1.3

Enforces ML-KEM-768 combined with X25519 hybrid key encapsulation (X25519MLKEM768) across all ingress controllers, internal service-to-service communication, and egress clients. Restricts protocols strictly to TLS 1.3 to guarantee forward secrecy against 'Harvest Now, Decrypt Later' (HNDL) adversaries, mitigating quantum-enabled retrospective cryptanalysis without compromising latency.

#security#cryptography#tls#post-quantum#ml-kem#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral Workload Attestation and Dynamic SVID Standard

Enforces zero-trust multi-cloud identity verification by requiring workloads to obtain ephemeral X.509 and JWT SVIDs dynamically via the local SPIFFE Workload API Unix Domain Socket. Forbids the storage, mounting, or passing of long-lived cloud credentials, static API tokens, or hardcoded private keys. Mandates automated cert rotation and SPIFFE ID SAN validation for all cross-cluster and cross-cloud transport channels.

#security#spiffe#spire#zero-trust#mtls#cloud-security#attestation
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Passkey PRF Cryptographic Seed Invariants for Zero-Knowledge Vaults

Enforces strict cryptographic handling and memory safety invariants when deriving client-side Zero-Knowledge encryption keys via WebAuthn Pseudo-Random Function (PRF) extensions. Mandates domain-separated key derivation (HKDF), strict buffer zeroization of raw PRF outputs, and explicit assertions against authenticator extension omission.

#security#webauthn#passkeys#prf-extension#zero-knowledge#cryptography#hkdf
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Cosign Keyless Artifact Attestation and SLSA Level 3 Invariants

Enforces immutable cryptographic provenance and SLSA Level 3 build attestation verification for all OCI container images prior to deployment. Prohibits deployment via mutable image tags and mandates verification of keyless Fulcio certificates and Rekor transparency log entries against trusted OIDC identity bounds.

#security#sigstore#cosign#slsa-level-3#supply-chain#container-security#provenance
ACTIVE INVARIANTfrontend
View Rule Spec

Vite 6 Environment API Strict Cross-Runtime Module Isolation Guardrail

Enforces architectural boundary isolation across heterogeneous runtime environments (browser, node, workerd, edge) using the Vite 6 Environment API. Prevents cross-contamination of runtime-specific module graphs, accidental leaking of Node/Edge primitives into browser bundles, and leaky module resolution during unified multi-target SSR builds.

#vite6#environment-api#module-isolation#ssr#edge-runtime#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 RFC 9449 DPoP Cryptographic Token Binding & Nonce Enforcement

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) at the API gateway layer to prevent credential theft and replay attacks. Access tokens must be cryptographically bound via thumbprint (jkt) to ephemeral asymmetric key pairs, validated against incoming DPoP proof JWTs, and subject to strict single-use server nonce cycling.

#security#oauth2#dpop#rfc9449#api-gateway#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Attested SPIFFE/SPIRE SDS Invariant for Envoy Workload Identity

Mandates that Envoy proxies dynamically consume cryptographic identities exclusively via the Secret Discovery Service (SDS) backed by a local TPM/vTPM-attested SPIRE Agent Unix Domain Socket. Prohibits static TLS mounts, long-lived secrets, and non-hardware node attestations across multi-cluster service meshes. Enforces continuous wire-speed X.509 SVID rotation and exact SPIFFE ID Trust Domain SAN validation.

#security#spiffe#spire#envoy#tpm#sds#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Taint API & RSC Boundary Data Leakage Prevention

Enforces deterministic data masking and memory-level boundary protection using React 19's experimental Taint APIs (experimental_taintObjectReference and experimental_taintUniqueValue). Prevents cryptographic secrets, authentication tokens, internal tenant identifiers, and unmasked PII from leaking across the React Server Component (RSC) serialization boundary into client bundles.

#frontend#react-19#rsc#nextjs#security#taint-api#data-leakage
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Capability-Based Sandbox Isolation and Resource Attenuation

Enforces strict zero-ambient-authority capability derivation and deterministic resource attenuation for untrusted tenant guest components in WASI 0.2 edge runtimes. Mandates explicit capability binding, virtualized network/filesystem handles, strict epoch-based interruption, and dedicated per-tenant resource tables to mathematically prevent cross-tenant escape and resource exhaustion.

#wasi#webassembly#component-model#security#zero-trust#edge-runtime#wasmtime
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Keyless Ephemeral Workload Identity Attestation and Verification Standard

Enforces zero-trust supply chain validation by mandating keyless, short-lived OIDC workload identity attestation via Sigstore (Fulcio and Rekor) instead of static long-lived private keys. Requires strict verification of cryptographic transparency log inclusion proofs (SETs) and cryptographic binding of ephemeral X.509 certificates to immutable CI/CD workload identity claims.

#security#sigstore#software-supply-chain#attestation#oidc#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Streaming Abort Boundary and Circuit-Breaker Invariant

Enforces deterministic client-side fallback rendering and downstream microservice circuit-breaking when Partial Prerendering (PPR) dynamic stream holes exceed strict time-to-first-byte (TTFB) or streaming budget deadlines. Guarantees that suspended dynamic server components abort stalled upstream network requests using cooperative AbortController signals, preventing resource starvation and edge worker execution lockups.

#nextjs#nextjs-15#ppr#react-server-components#streaming#circuit-breaker#resilience
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Multi-WebView IPC Capability Scoping & Manifest Isolation Standard

Enforces strict window-level and webview-level IPC permission scoping within Tauri 2.0 capability manifests to eliminate privilege escalation vectors across multi-window architectures. Restricts IPC commands, plugins, and remote URL access to explicit window identifiers and cryptographically verified contexts rather than shared or wildcard execution envelopes.

#security#tauri-2.0#ipc#rust#capabilities#multi-window#sandboxing
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Ephemeral Wasm Sandboxing & Memory Zeroization Standard

Mandates that raw cryptographic material derived via the WebAuthn PRF (Pseudo-Random Function) extension must immediately be ingested into an isolated, linear WebAssembly memory sandbox for key derivation and symmetric operations. Prohibits retaining raw PRF outputs or derived key material within the garbage-collected JavaScript heap, global state, or browser storage engines. Requires deterministic zeroization of linear Wasm memory immediately upon completion of cryptographic cycles to neutralize DOM-based memory scraping and XSS exfiltration.

#security#webauthn#prf-extension#wasm#cryptography#memory-isolation#zeroization
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server-to-Client Tainted Reference Serialization Boundary

Enforces strict cryptographic and object-level poisoning using React 19's taintObjectReference and taintUniqueValue APIs across all Server Component data fetchers. Prevents catastrophic security leakage of API secrets, database credentials, and raw cryptographic keys through the React Server Component (RSC) Flight serialization protocol to client bundles.

#react-19#rsc#nextjs#security#serialization#taint-api
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Device-Bound Attestation vs Synced-Passkey Enforcement Invariant

Enforces strict validation of authenticator attachment, AAGUID metadata, and authenticator data flags at the Relying Party (RP) layer during credential registration and step-up authentication. Prevents multi-device synced credentials (such as iCloud Keychain or Google Password Manager passkeys) from satisfying high-assurance authorization gates requiring hardware-bound FIDO2 security keys (YubiKey, Titan).

#security#webauthn#fido2#passkeys#authentication#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF XDP Hardware-Offloaded SYN Flood Mitigation Standard

Enforces deterministic drop and SYN-cookie generation directly at the NIC driver/offload XDP layer to eliminate kernel sk_buff allocation overhead under volumetric SYN floods. Prevents control-plane saturation and memory starvation by executing strict pointer-bounds validation, incremental L3/L4 checksum recalculation, and line-rate packet drops before traffic ascends into the Linux network subsystem.

#security#ebpf#xdp#ddos-mitigation#kernel#networking#c
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 RFC 8705 Mutual-TLS Sender-Constrained Token Verification

Mandates strict verification of sender-constrained access tokens bound to client X.509 certificates as specified in RFC 8705. Resource servers must extract the active mutual TLS client certificate, compute its SHA-256 DER digest (x5t#S256), and perform a constant-time comparison against the token confirmation claim (cnf). Replay attacks and exfiltrated tokens must be rejected unconditionally if the certificate thumbprint does not match the active TLS session.

#security#oauth2#rfc8705#mtls#jwt#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6+ Distributed ReBAC Read-After-Write Consistency & Sub-Millisecond Latency Guardrail

Enforces strict read-after-write authorization invariants across distributed cell architectures using OpenFGA 1.6+. Prevents the Zanzibar 'New Enemy Problem' by guaranteeing monotonic consistency during permission mutations while preserving sub-millisecond edge check latencies via selective consistency levels and contextual tuples.

#security#openfga#rebac#zanzibar#distributed-systems#authorization
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 & React 19 Taint Object API Serialization Boundary Guardrail

Enforces strict boundary isolation of sensitive server-side secrets, raw database models, and PII from React Server Component (RSC) serialization boundaries using React 19's experimental_taintObjectReference and experimental_taintUniqueValue APIs. Prevents accidental transmission of credentials, authentication tokens, and sensitive record fields to client bundles.

#nextjs#react-19#rsc#taint-api#security#pii#data-protection
ACTIVE INVARIANTbackend
View Rule Spec

Temporal Durable Execution Determinism & Replay Verification Standard

Enforces strict workflow determinism invariants, backward-compatible migration patterns using workflow.patched(), and automated history replay verification in CI/CD. Eliminates NonDeterministicWorkflowPolicy errors, replay divergence, and state corruption across distributed asynchronous workers undergoing rolling deployments.

#backend#temporal#distributed-systems#state-machines#event-sourcing#determinism#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Enforce React 19 Experimental Taint API for Boundary Serialization Safety

Enforces deterministic data boundary protection in React 19 Server Components using experimental_taintObjectReference and experimental_taintUniqueValue. Guarantees that raw cryptographic secrets, database tokens, and sensitive PII records cannot be serialized across the Server-to-Client Component boundary by throwing runtime errors during the React Flight serialization pass.

#frontend#react-19#nextjs#server-components#rsc#security#taint-api
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Hardware Key Derivation & Zero-Exposure Cryptographic Isolation

Enforces hardware-bound client-side key derivation via the WebAuthn Level 3 PRF (Pseudo-Random Function) extension. Requires immediate zeroization of intermediate derivation buffers, non-extractable CryptoKey constraints in SubtleCrypto, and strict isolation preventing raw symmetric secrets from leaking to auth servers or browser memory heaps.

#security#webauthn#prf-extension#cryptography#webcrypto#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.8 Contextual Tuples and Concurrent Evaluation Standard

Enforces strict atomicity and freshness in OpenFGA 1.8 authorization checks by mandating ephemeral contextual tuples over long-lived transactional storage. Eliminates distributed cache stampedes and authorization races during high-velocity evaluations through deterministic request-scoped deduplication and bounded concurrency pools.

#security#openfga#authorization#fine-grained-auth#concurrency
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Zanzibar Consistency Token (zed_token) Evaluation Invariant

Enforces snapshot consistency token propagation or HIGHER_CONSISTENCY evaluation on all OpenFGA checks following state mutations. Eliminates read-after-write replication lag vulnerabilities such as stale authorization evaluations and the Zanzibar 'New Enemy' security flaw.

#security#openfga#zanzibar#authorization#distributed-consistency#access-control
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Hole Isolation and Suspense Boundary Standard

Enforces strict component-level dynamic hole boundaries in Next.js 15 Partial Prerendering (PPR) architectures. Dynamic execution contexts (cookies, headers, searchParams, and uncached data fetches) must be strictly isolated inside dedicated async leaf components wrapped by explicit React Suspense boundaries with layout-stable fallbacks. Prevents static shell de-opt, cascading waterfalls, and TTFB degradation in enterprise storefronts.

#frontend#nextjs#nextjs-15#react-server-components#ppr#performance#suspense
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Temporal Grant Lifecycle and Distributed ReBAC Eviction Guardrail

Guarantees deterministic authorization state synchronization across distributed OpenFGA check nodes during short-lived and temporal relationship evaluations. Mandates the use of CEL-based conditional tuples with server-enforced monotonic timestamps, dynamic contextual tuple evaluation, and Zanzibar consistency tokens to eliminate stale authorization hits post-expiration.

#security#openfga#rebac#authorization#temporal-grants#cache-invalidation
ACTIVE INVARIANTsecurity
View Rule Spec

PQC ML-KEM TLS 1.3 Hybrid Key Exchange Handshake Fragmentation and Buffer Protection

Enforces strict TCP socket buffer sizing, MSS-aligned fragmentation handling, and bounded reassembly memory limits during TLS 1.3 hybrid post-quantum key exchanges (e.g., X25519MLKEM768). Mitigates packet dropouts and Slowloris-style denial-of-service vectors caused by enlarged post-quantum KeyShare extension payloads crossing MTU thresholds.

#security#pqc#ml-kem#tls1.3#crypto#networking
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Zero-Knowledge Client-Side AEAD Envelope Encryption for WebAuthn LargeBlob Storage

Passkey LargeBlob storage synchronizes opaque binary payloads across multi-device credential ecosystems (e.g., Apple iCloud Keychain, Google Password Manager), inherently exposing unencrypted data to synchronization providers. All data committed to WebAuthn LargeBlob must undergo client-side zero-knowledge envelope encryption using authenticated symmetric ciphers (AES-256-GCM) with distinct ephemeral Data Encryption Keys (DEK) wrapped by a hardened Key Encryption Key (KEK) derived independently of the passkey provider.

#webauthn#passkeys#largeblob#cryptography#envelope-encryption#aead#zero-knowledge
ACTIVE INVARIANTsecurity
View Rule Spec

BPF-LSM In-Kernel Capability Guardrails and Synchronous Mediation Invariant

Enforces synchronous, in-kernel security mediation at Linux Security Module (LSM) hooks to block container privilege escalation and capability abuses before syscall completion. Eliminates Time-of-Check to Time-of-Use (TOCTOU) race conditions and user-space context-switching penalties by asserting immediate -EPERM enforcement in kernel space.

#security#ebpf#bpf-lsm#linux-security-module#containers#privilege-escalation
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Passkey Conditional Mediation Rate-Fencing & Assertion Isolation

Enforces strict server-side rate-fencing, atomic challenge invalidation, and origin-bound assertion validation for WebAuthn autofill/conditional UI requests. Mitigates automated cross-device credential enumeration, passkey credential stuffing, and replay attacks on ambient authentication flows. Guarantees that ephemeral conditional challenges cannot be recycled across sessions or elevated into modal authentication contexts.

#security#webauthn#passkeys#fido2#rate-limiting#conditional-mediation
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF Socket-Level Service Mesh Proxy Bypass Guardrail

Enforces unconditional kernel-level socket mediation using eBPF cgroup hooks (sock_addr and sock_ops) across container network namespaces. Guarantees that all ingress and egress TCP traffic strictly traverses the local Envoy/ambient zero-trust proxy, neutralizing lateral bypass attacks via raw sockets, modified iptables rules, or netns manipulation.

#security#ebpf#service-mesh#envoy#zero-trust#kernel#cgroup
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Hardware-Backed Deterministic Client Key Derivation Invariant

Enforces strict zero-knowledge end-to-end data encryption at rest in client-side persistence layers by anchoring root key derivation to hardware-backed FIDO2/WebAuthn PRF (Pseudo-Random Function) authenticator extensions. Mandates fail-closed semantics, HKDF-SHA-256 context separation, in-memory ephemeral key handling, and zero network transmission of derived secret material.

#security#webauthn#prf-extension#cryptography#zero-knowledge#hkdf#indexeddb
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Cache Isolation and Dynamic Slot Boundary Enforcement

Enforces strict physical boundaries between static prerendered layout shells and dynamic streaming holes in Next.js 15 Partial Prerendering (PPR). Mandates the encapsulation of dynamic runtime data access (headers, cookies, searchParams, and un-cached I/O) within dedicated React Suspense boundaries to prevent layout cache de-opt, CDN edge cache thrashing, and critical PII leakage via static shell baking.

#frontend#nextjs#react#partial-prerendering#edge-cache#security
ACTIVE INVARIANTfrontend
View Rule Spec

Angular 19 Zoneless Signals & Deterministic Change Detection Guardrail

Enforces strict zoneless architecture in Angular 19 by removing Zone.js runtime monkey-patching in favor of explicit reactive signals and microtask scheduling. Prevents silent UI update failures caused by untracked mutable class properties modified during asynchronous events. Mandates the use of Signal primitives, resource APIs, and RxJS-to-Signal bridges across all presentation and state layers.

#frontend#angular#angular-19#zoneless#signals#change-detection#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Zero-Knowledge Client-Side Key Derivation Standard

Enforces strict client-side evaluation of WebAuthn Pseudo-Random Function (PRF) extension outputs and secure derivation of non-extractable symmetric encryption keys via Web Crypto HKDF. Guarantees that raw PRF outputs, intermediate salts, and derived plaintext keys never egress beyond ephemeral browser memory or traverse server boundaries, preserving end-to-end zero-knowledge confidentiality.

#security#webauthn#prf-extension#zero-knowledge#webcrypto#hkdf
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Cosign SLSA Level 3 Ephemeral Keyless Attestation & Admission Guardrail

Enforces cryptographically verifiable provenance and container integrity via Sigstore Cosign utilizing ephemeral OIDC workload identities (Fulcio, Rekor). Mandates cluster-wide Kubernetes admission control (Kyverno/Policy Controller) to reject any container image lacking verifiable SLSA Level 3 provenance attestations and signed SBOMs prior to pod execution.

#security#sigstore#cosign#slsa-level-3#kubernetes#supply-chain#kyverno
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Traversal Depth and Cycle Quotas for OpenFGA 1.8 ReBAC

Enforces deterministic graph traversal ceilings, strict contextual tuple limits, and cycle-breaking invariants across OpenFGA 1.8 relationship-based access control (ReBAC) implementations. Prevents unbounded graph expansion attacks, recursive amplification denial-of-service, and resource exhaustion during Check, ListObjects, and Expand evaluation pipelines.

#security#openfga#rebac#authorization#dos-prevention#graph-depth
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 Demonstrating Proof-of-Possession (DPoP) & Server-Nonce Invariants

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) token binding across all client and resource server interactions. Ensures access and refresh tokens are cryptographically sender-constrained using non-exportable asymmetric keypairs and mandates automated retry semantics with strict server-nonce verification to mitigate replay and exfiltration vectors.

#security#oauth2#oidc#dpop#cryptography#jwt#rfc9449
ACTIVE INVARIANTsecurity
View Rule Spec

Passkey Conditional Mediation Cross-Origin Downgrade Fencing & RP Binding Invariant

Enforces cryptographic and architectural fencing for WebAuthn autofill (conditional mediation) flows to prevent relying-party origin reflection vulnerabilities. Verifies that the clientDataJSON origin and authenticatorData rpIdHash match immutable, cryptographically sealed whitelists rather than trusting incoming HTTP headers or permissive cross-origin delegations.

#security#webauthn#fido2#passkeys#conditional-mediation#origin-fencing
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Recursive Contextual Tuple Evaluation Bound and Cycle Guard

Enforces strict validation, cycle detection, and traversal depth limits on contextual tuples passed during runtime OpenFGA Check and ListObjects operations. Unbounded or cyclic relationship-based access control (ReBAC) evaluations through dynamic contextual tuples induce catastrophic resource exhaustion and denial-of-service across the authorization pipeline.

#security#openfga#rebac#dos-prevention#graph-traversal
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 Conditional Mediation Fallback and Cryptographic Attestation Verification

Enforces strict zero-trust validation of WebAuthn clientDataJSON, authenticatorData flags (UP/UV), and cryptographic attestation statements during registration and assertion. Mandates clean AbortController orchestration for conditional mediation (passkey autofill) to prevent UI lockouts and race conditions during modal fallbacks.

#security#webauthn#passkeys#cryptography#fido2#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

OpenID CAEP/SSF Real-Time Session Revocation Mesh Standard

Enforces push-based OpenID Shared Signals and Events (SSF) and Continuous Access Evaluation Profile (CAEP) real-time session invalidation across multi-tenant distributed services. Prevents relying on vulnerable unrevokable stateless JWTs or latency-prohibitive synchronous introspection polling by mandating cryptographically verified Security Event Token (SET) ingestion into local sub-millisecond revocation stores.

#security#caep#ssf#openid#jwt#session-revocation#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Consistency Boundary: Generation-Aware Invalidation and Bounded Graph Traversal

Enforces strict snapshot consistency tokens (Zookies/LST), atomic cache invalidation boundaries, and bounded cycle-pruning traversals during OpenFGA relationship-based access evaluations. Eliminates security windows where stale access grants persist post-revocation and prevents authorization engine denial-of-service from cyclic group-nesting graphs under concurrent mutations.

#security#openfga#rebac#authorization#cache-invalidation#graph-algorithms
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Hardware-Bound Zero-Knowledge Vault Decryption Guardrail

Enforces deterministic derivation of symmetric vault encryption keys via the WebAuthn PRF (Pseudo-Random Function) extension while maintaining strict zero-knowledge architecture. Mandates that raw PRF outputs are immediately imported into non-extractable WebCrypto keys via HKDF and never serialized, persisted, or transmitted to any server.

#security#webauthn#prf-extension#zero-knowledge#cryptography#webcrypto
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Hole Isolation and Static Shell Guardrail

Next.js 15 Partial Prerendering (PPR) combines static shell prerendering with streamed dynamic holes. Un-cached dynamic APIs (e.g., cookies(), headers(), searchParams, or uncached fetches) invoked outside of explicit React Suspense boundaries poison the prerender phase and de-opt the entire route into full dynamic SSR, triggering cascading edge stalls and invalidating CDN cache strategies.

#frontend#nextjs#react#ppr#performance#edge#caching
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce WebAuthn Level 3 Hardware-Bound Attestation and Replay Prevention

Enforces strict W3C WebAuthn Level 3 server-side validation invariants, mandating hardware-bound device attestation (FIDO2/WebAuthn), non-exportable authenticator attachment, and cryptographic replay defense. Guarantees immutable validation of clientDataJSON origin, single-use atomic challenges, strictly monotonic sign counters, and user-verification (UV) flags to completely neutralize session hijacking and credential stuffing vectors.

#security#webauthn#fido2#passkeys#authentication#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Kernel-Attested SPIFFE/SPIRE Workload Identity and Dynamic mTLS Invariant

Mandates the complete elimination of static infrastructure secrets and disk-mounted private keys in favor of short-lived, ephemeral X.509 SVIDs sourced via the SPIFFE Workload API. SPIRE agents bind identities directly to kernel-attested process primitives (UID, GID, cgroups, container IDs), requiring dynamic in-memory credential rotation and explicit SPIFFE ID SAN validation for all zero-trust service communication.

#security#spiffe#spire#zero-trust#mtls#workload-identity#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Data Tainting & Serialization Boundary Isolation

Enforces strict isolation of sensitive server-side state, user PII, and credentials using React 19 taint APIs (experimental_taintUniqueValue and experimental_taintObjectReference). Prevents accidental exposure of raw database models, cryptographic keys, and private tokens through Server-to-Client Component serialization boundaries.

#frontend#react-19#rsc#security#taint-api#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Zanzibar Consistency Token Propagation Standard

Enforces deterministic read-after-write consistency in distributed OpenFGA zero-trust authorization checks. Prevents authorization bypass and stale denial anomalies by capturing write continuation/checkpoint tokens and propagating them across distributed microservice RPC boundaries to guarantee evaluation against post-mutation authorization snapshots.

#security#openfga#zanzibar#authorization#distributed-systems#concurrency
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Conditional Mediation Auto-Upgrade & Transactional Challenge Binding

Enforces strict WebAuthn Level 3 specifications for conditional UI auto-upgrade and cryptographically binds passkey assertion challenges to high-risk transactional session state. Mitigates AitM (Adversary-in-the-Middle) relay attacks during step-up re-authentication by disallowing cached server challenges, mandating clientDataJSON hash verification against atomic transaction contexts, and enforcing userVerification: 'required'.

#security#webauthn-l3#passkeys#fido2#session-step-up#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 DPoP Proof-of-Possession and Ephemeral Nonce-Binding Standard

Enforces strict RFC 9449 compliance for Demonstrating Proof-of-Possession (DPoP) across all single-page applications and API consumers. Mandates that non-extractable CryptoKey pairs bound to Web Crypto IndexedDB generate single-use signed DPoP proofs for every mutating and token-exchange request, strictly managing server-supplied DPoP nonces with automatic replay-retry loops. Eliminates bearer token exfiltration risks by cryptographically coupling the access token and request context to asymmetric hardware/browser-isolated keys.

#security#oauth2#dpop#rfc9449#webcrypto#tokens
ACTIVE INVARIANTsecurity
View Rule Spec

Automated Sub-Hour SPIFFE/SPIRE X.509 SVID Dynamic Workload Identity Rotation

Workloads across heterogeneous cloud meshes must eliminate all static long-lived credentials by continuously leasing short-lived X.509 SVIDs from the SPIFFE Workload API over a secure UNIX domain socket. Applications and mTLS transport layers must implement in-memory dynamic keypair hot-reloading via persistent streaming watchers, strictly binding maximum SVID lifetime to under 60 minutes. Storing SVID private keys on persistent non-volatile disks, bypassing the SPIFFE Workload API, or caching TLS contexts without automated rotation violates zero-trust isolation invariants.

#security#spiffe#spire#zero-trust#mtls#workload-identity#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

AMD SEV-SNP Cryptographic Attestation and Key Release Gatekeeper

Mandates strict cryptographic verification of AMD SEV-SNP attestation reports prior to releasing tenant master encryption keys to ephemeral enclaves. Requires end-to-end validation of the AMD VCEK certificate chain back to the AMD Root Key (ARK), strict verification of launch measurements against signed golden baselines, and cryptographic binding of an ephemeral session key to REPORT_DATA to prevent relay attacks.

#security#confidential-computing#sev-snp#attestation#cryptography#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Boundary Isolation Invariant

Enforces strict boundary encapsulation between static CDN pre-rendered shells and dynamic React Server Components (RSC) micro-streams. Prevents dynamic request accessors (headers, cookies, searchParams, uncached fetch calls) from leaking into root execution contexts, which collapses the static prerender shell into full dynamic SSR and introduces cascading client-side waterfalls.

#frontend#nextjs#react-server-components#partial-prerendering#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce Granular Capability-Based IPC Permissions in Tauri 2.0

Tauri 2.0 replaces the legacy monolithic allowlist with a capability-driven access control model for IPC commands. Every frontend-to-Rust command, plugin capability, and filesystem/network scope must be explicitly mapped to designated windows and domains through scoped capability files, eliminating the risk of arbitrary command injection and remote code execution.

#security#tauri#ipc#rust#capabilities#authorization
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Extension Zero-Knowledge Client-Side Key Derivation

Enforces strict zero-knowledge client-side field-level encryption using WebAuthn Level 3 PRF (Pseudo-Random Function) extensions. Raw PRF outputs and derived symmetric encryption keys must remain strictly within volatile client memory and never be transmitted to, cached on, or regenerated by backend services. Cryptographic operations must consume Web Crypto HKDF and AES-GCM primitives with distinct salt-keyed credential lookups.

#security#webauthn#cryptography#prf-extension#zero-knowledge#aes-gcm
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Contextual Tuples Zero-Retention Boundary Standard

Enforces strict isolation between persistent relation tuples and dynamic runtime authorization claims. Engineers must supply temporal, environmental, or session-scoped attributes exclusively via OpenFGA in-memory contextual tuples during graph traversal rather than writing ephemeral state to the persistent tuple store.

#security#openfga#authorization#rebac#zero-trust#contextual-tuples
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6 Contextual Tuple Temporal Invariant and Evaluation Partitioning

Mandates absolute segregation between persistent graph authorization tuples and ephemeral, request-scoped contextual tuples within OpenFGA 1.6+ evaluation paths. Enforces strictly bounded contextual tuple payloads and temporal condition partitioning to guarantee sub-millisecond evaluation without store cache degradation or unbounded cycle traversal.

#security#openfga#rebac#authorization#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

BPF-LSM Kernel-Level Cryptographic Binary Hash Enforcement Standard

Enforces immutable container security by intercepting binary execution at the kernel LSM layer (bprm_check_security). Guarantees synchronous integrity validation via cryptographic digests before process execution, strictly preventing TOCTOU races, unapproved binaries, and container drift.

#ebpf#bpf-lsm#kernel-security#zero-trust#containers#integrity
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore In-Toto SLSA Level 3 Attestation Verification at Kubernetes Admission Boundary

Enforces strict zero-trust deployment gates at the Kubernetes admission boundary by verifying Sigstore In-Toto SLSA Level 3 provenance attestations. Images must resolve to immutable digests with validated Fulcio keyless OIDC identity claims, Rekor transparency log proofs, and builder workflow predicates before workloads are scheduled.

#security#sigstore#in-toto#slsa-level-3#kubernetes-admission#zero-trust#supply-chain
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.8 ReBAC Ephemeral Contextual Tuple Guardrail

Enforces deterministic, zero-leakage relationship-based access control (ReBAC) across distributed microservice meshes using OpenFGA 1.8. Mandates that dynamic request attributes and transient authorization relations are supplied strictly via contextual tuples and CEL condition contexts rather than persistent database writes. Guarantees sub-millisecond check latency while preventing stale privilege escalation across service boundaries.

#security#openfga#rebac#authorization#contextual-tuples#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Server Action Distributed Edge Origin Attestation Invariant

Next.js 15 Server Actions mandate strict runtime Host, X-Forwarded-Host, and Origin header attestation to eliminate state-mutating request injection behind distributed CDNs and multi-tenant edge proxies. Relying on default host validation without explicit origin allowlisting permits cross-origin invocations and host-poisoning attacks across split-edge architectures.

#frontend#nextjs#security#server-actions#edge-computing#csrf
ACTIVE INVARIANTsecurity
View Rule Spec

Zero-Knowledge Envelope Key Derivation & Wrapping via WebAuthn PRF Extension

Enforces cryptographically isolated client-side envelope decryption derived directly from hardware passkey authenticators via the WebAuthn PRF (Pseudo-Random Function) extension. Prohibits server-side master key escrow, prevents raw PRF output usage, and mandates HKDF-SHA256 domain-separated key stretching with authenticated DEK wrapping and immediate memory zeroing.

#security#webauthn#prf-extension#zero-knowledge#cryptography#envelope-encryption
ACTIVE INVARIANTfrontend
View Rule Spec

Vite 6 Environment API Module Graph and Runtime Isolation Standard

Enforces strict isolation across Vite 6 environments (client, ssr, edge, and worker) via discrete module graphs, distinct resolution conditions, and environment-scoped plugin hooks. Eliminates cross-runtime contamination, Node polyfill leakage into browser bundles, and module cache poisoning in isomorphic enterprise applications.

#vite#vite-6#environment-api#module-graph#bundler#ssr#typescript
ACTIVE INVARIANTbackend
View Rule Spec

Postgres 17 Streaming Vacuum & Proactive XID Horizon Management

Enforces strict Transaction ID (XID) horizon tracking, adaptive per-table freeze limits, and Postgres 17 radix-tree vacuum buffer controls for high-throughput append-only workloads. Eliminates catastrophic stop-the-world anti-wraparound vacuum spikes by decoupling freeze cycles from generic autovacuum defaults and utilizing streaming memory management.

#backend#postgresql#postgres-17#database-performance#vacuum#xid-wraparound#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

Cosign Keyless OIDC Identity Verification and SLSA Provenance Gate

Enforces non-repudiable container build provenance verification at the admission controller stage without managing long-lived signing keys. Validates short-lived Fulcio certificates issued via OIDC Workload Identity against immutable Rekor transparency log entries and evaluates cryptographic SLSA Level 3 attestations before permitting deployment execution.

#security#sigstore#cosign#slsa#kubernetes#admission-control#supply-chain
ACTIVE INVARIANTsecurity
View Rule Spec

Zero-Knowledge Hardware-Bound Key Derivation via WebAuthn PRF Extension

Enforces cryptographic invariants when deriving client-side End-to-End Encryption (E2EE) root keys from WebAuthn Pseudo-Random Function (PRF) extension outputs (HMAC-secret). Mandates zero-knowledge isolation ensuring neither PRF salt inputs, intermediate PRF outputs, nor derived key encryption keys (KEKs) leak across network boundaries or unmanaged volatile memory buffers.

#security#webauthn#prf-extension#e2ee#cryptography#zero-knowledge
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Cosign Ephemeral OIDC Keyless Attestation in Hermetic CI

Mandates the use of Sigstore Cosign keyless signing via ambient OIDC identity providers and ephemeral X.509 Fulcio certificates for all containerized build artifacts. Prohibits static long-lived signing keys in CI runner secrets, enforcing cryptographic provenance verification against Rekor transparency logs using immutable SHA256 image digests.

#security#sigstore#cosign#supply-chain#oidc#containers#ci-cd
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Extension Zero-Knowledge Master Key Derivation Standard

Enforces strict client-side derivation of zero-knowledge symmetric master keys using the WebAuthn Pseudo-Random Function (PRF) extension. Mandates that PRF output bytes never cross the network boundary to Relying Party (RP) servers, requires HKDF domain separation for secondary key expansion, and enforces non-extractable WebCrypto key representations.

#security#webauthn#prf-extension#zero-knowledge#cryptography#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Webview Scoped IPC Capability & Origin Isolation Standard

Enforces strict capability-based access control and origin isolation for Tauri 2.0 IPC bridges. Host-level Rust commands and native plugin APIs must be locked down to verified local origins with zero-trust capability files, preventing Remote Code Execution (RCE) via untrusted web assets or compromised remote origins.

#security#tauri-2#ipc#capabilities#remote-code-execution
ACTIVE INVARIANTfrontend
View Rule Spec

Deterministic Action Queuing & Rollback Idempotency in React 19 Optimistic Mutations

Enforces deterministic action sequencing, monotonic state reconciliation, and transactional rollback semantics during concurrent React 19 Server Action execution. Prevents UI tearing, state drift, and race-conditioned stale overwrites during rapid asynchronous user interactions by mandating native useOptimistic and useActionState primitives wrapped inside concurrent transitions.

#frontend#react-19#server-actions#optimistic-ui#concurrency#typescript
ACTIVE INVARIANTbackend
View Rule Spec

Drizzle ORM Zero-Downtime Dual-Write Schema Evolution Guardrail

Enforces the expand-and-contract pattern for Drizzle ORM schema modifications in high-concurrency 24/7 OLTP environments. Strictly prevents atomic in-place column renames, type mutations, and immediate column drops that cause downtime across phased application fleet rollouts. Mandates explicit multi-phase dual-writing, non-destructive migration sequences, and type-safe schema fallback readers.

#backend#drizzle-orm#zero-downtime#database-migrations#typescript#postgresql#oltp
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Device-Bound Attestation and Step-Up Downgrade Prevention Standard

Enforces strict validation of authenticator attestation flags, authenticator data bitmasks (UV, UP, BE, BS), and cryptographic step-up challenges during WebAuthn ceremonies. Neutralizes passkey downgrade attacks, cross-device sync relays, and unauthorized silent authentication by cryptographically binding sessions exclusively to hardware-backed authenticators when high-assurance operations are requested.

#security#webauthn#fido2#passkeys#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF LSM Sandboxed Container Privilege Escalation Invariant

Enforces mandatory kernel-level verification via eBPF LSM hooks to intercept and block unauthorized container privilege escalation, namespace breakouts, and capability elevations before syscall dispatch. Prevents Time-of-Check to Time-of-Use (TOCTOU) race conditions by validating caller cgroup credentials directly inside kernel memory structures rather than relying on reactive userspace tracepoint audits. Guarantees that unprivileged container tasks cannot invoke setuid transitions or acquire ambient capabilities regardless of runtime configuration misconfigurations.

#security#ebpf#lsm#containers#kernel#privilege-escalation#sandbox
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE TPM 2.0 Hardware-Rooted Workload Attestation Standard

Enforces cryptographic workload identity issuance bound to bare-metal TPM 2.0 secure enclaves via SPIFFE/SPIRE node and workload attestation. Eliminates static long-lived IAM tokens, secrets files, and ambient cloud credentials by requiring short-lived X.509 SVIDs rooted in measured boot Platform Configuration Registers (PCRs).

#security#spiffe#spire#tpm2#zero-trust#attestation#hardware-security
ACTIVE INVARIANTsecurity
View Rule Spec

AMD SEV-SNP Confidential Containers In-Enclave Attestation Invariant

Guarantees tenant isolation and zero-trust memory encryption for sensitive AI inference microservices running in untrusted multi-tenant clouds. Enforces in-enclave hardware attestation report acquisition directly via /dev/sev-guest, cryptographic binding of ephemeral public keys within REPORT_DATA, and strict verification of the AMD Key Distribution Service (KDS) VCEK certificate chain before unsealing model weights or processing customer payloads.

#security#confidential-computing#amd-sev-snp#attestation#zero-trust#ai-inference
ACTIVE INVARIANTfrontend
View Rule Spec

Vite 6 Environment API Multi-Runtime Module Graph & Context Isolation

Enforces strict isolation across Vite 6 execution environments (browser, Node.js SSR, and Edge runtimes) using the Environment API. Guarantees zero cross-contamination of module instances, transform caches, and environment variables across heterogeneous execution targets during universal development and bundling.

#vite#vite-6#environment-api#ssr#edge#module-graph#bundler#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Traversal Depth Bounding and Cycle Rejection for OpenFGA Zanzibar Engines

Enforces strict limits on graph traversal depth, contextual tuple cardinality, and cycle detection during distributed Zanzibar relationship evaluations. Eliminates exponential expansion and goroutine/thread starvation to guarantee sub-5ms P99 authorization latencies.

#security#openfga#zanzibar#rebac#authorization#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Backed WebAuthn PRF Deterministic Key Derivation & Zero-Knowledge Enclaves

Enforces strict cryptographic patterns for WebAuthn Pseudo-Random Function (PRF) extension key derivation in client-side zero-knowledge enclaves. Mandates ephemeral HKDF expansion from authenticator outputs, strict separation of credential IDs, and prohibits storing, transmitting, or caching unmasked derived symmetric master keys.

#security#webauthn#prf-extension#cryptography#zero-knowledge#hkdf
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory ML-KEM-768 Hybrid TLS 1.3 Ingress Key Exchange

Enforces post-quantum hybrid key encapsulation (X25519MLKEM768) on all perimeter ingress points and external API terminations. Neutralizes Harvest-Now-Decrypt-Later (HNDL) threats by guaranteeing TLS 1.3 key exchanges combine classical ECDH security with lattice-based ML-KEM-768 (FIPS 203) resistance.

#security#pqc#tls13#ml-kem#cryptography#ingress
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 RSC Taint Boundary & Cryptographic Secret Protection

Enforces compiler- and runtime-level data tainting via React 19 experimental_taintUniqueValue and experimental_taintObjectReference across the Data Access Layer (DAL). Guarantees that cryptographic keys, authentication tokens, and raw entity models containing sensitive fields cannot be serialized into React Server Component (RSC) flight payloads or leaked to client bundles.

#frontend#react-19#nextjs#rsc#security#data-tainting#server-components
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Relationship Tuple Cache Coherence and TOCTOU Mitigation Standard

Enforces strict cache coherence and consistency token invariants across OpenFGA/Zanzibar relationship graph evaluations. Prevents time-of-check to time-of-use (TOCTOU) authorization bypass vulnerabilities by eliminating naive client-side TTL caching and mandating write-through invalidation or read-at-least-as-fresh-as snapshot tokens.

#security#openfga#authorization#zanzibar#caching#toctou#access-control
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Hardware-Bound User Verification and Cryptographic Challenge Step-Up Guardrail

Enforces cryptographic re-attestation and explicit user verification (UV) before high-privilege mutations to mitigate unauthorized actions from cloud-synced or cloned multi-device credentials. High-risk operations must mandate fresh server-side ephemeral challenges and reject any assertion lacking strict hardware-level user verification and action payload binding.

#security#webauthn#passkeys#step-up-authentication#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

SLSA v1.0 Provenance Attestation with Sigstore Keyless Ephemeral Signing

Enforces non-forgeable SLSA v1.0 Level 3 build provenance for container artifacts using Sigstore keyless ephemeral signing via Fulcio OIDC federation and Rekor transparency logs. Prevents compromised CI/CD runners, unauthorized build modifications, and unverifiable binary delivery by guaranteeing cryptographic non-repudiation and immutable digest pinning. Mandates that verification occurs before ingestion and runtime admission via cryptographically enforced identity claims rather than ambient trust.

#security#slsa-v1#sigstore#cosign#supply-chain#provenance
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 Passkey Device-Bound Attestation and Conditional Mediation Verification

Enforces strict validation of WebAuthn Level 3 device-bound passkeys to mitigate unauthorized sync and credential-phishing attacks. Mandates server-side cryptographic verification of authenticator data flags (User Presence, User Verification, Backup State, Backup Eligibility) and requires client-side conditional UI mediation checks backed by AbortSignal lifecycle management.

#security#webauthn#passkeys#fido2#cryptography#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory SPIFFE/SPIRE Ephemeral SVID Streaming and Zero-Static-Secret Federation

Enforces dynamic Workload Identity consumption exclusively through the SPIFFE/SPIRE Workload API UNIX domain socket, requiring active rotation stream listeners for ephemeral X.509 and JWT SVIDs. Forbids static long-lived credentials, persisting ephemeral private keys to disk, and bypasses of trust-domain federation boundaries. Mandates exact SPIFFE ID validation on all authenticated peer connections.

#security#spiffe#spire#zero-trust#mtls#iam-federation
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Client-Side Router Cache Stale-Time Governance

Next.js 15 changes the default Router Cache staleTimes to 0 seconds for dynamic renders, yet misconfigurations in Link prefetching, unstable cache revalidation, and route-segment configs can re-introduce silent cache persistence or trigger severe server thrashing. This standard strictly governs client-side router cache invalidation, fetch revalidation flags, and explicit staleTimes in next.config.js to eliminate mutated state desynchronization across client navigations.

#frontend#nextjs#router-cache#caching#react-server-components
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA ReBAC Graph Traversal & Sub-10ms Latency Bound Guardrail

Enforces deterministic sub-10ms relation tuple resolution and cycle-detection limits to eliminate authorization latency spikes across deeply nested multi-tenant graphs. Prevents unbounded recursive schema evaluation, guarantees client-side timeouts with fail-closed semantics, and mandates contextual tuple hydration over arbitrary runtime graph hops.

#security#rebac#openfga#authorization#graph-traversal#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Kernel-Level Syscall Provenance and Namespace Escape Enforcement via Tetragon

Enforces deterministic, in-kernel syscall authorization using Tetragon TracingPolicies backed by BPF LSM hooks rather than userspace audit loops or post-execution telemetry. Prevents binary execution hijacking, unauthorized binary execs, and mount namespace breakout attacks synchronously before userspace processes can pivot within Kubernetes nodes.

#security#ebpf#tetragon#lsm#kubernetes#linux-kernel#runtime-security
ACTIVE INVARIANTsecurity
View Rule Spec

Bounded Contextual Tuple Evaluation and Graph Fan-Out Guardrail for OpenFGA

Enforces strict bounds, validation, and recursion limits on dynamic contextual tuples passed to OpenFGA Check requests. Unbounded contextual tuple injection exposes fine-grained authorization graphs to algorithmic complexity exhaustion, cyclic traversals, and tail-latency degradation. This rule mandates explicit cardinality caps, relation whitelisting, and evaluation timeouts on all dynamic authorization paths.

#security#openfga#authorization#rebac#dos-prevention#rate-limiting
ACTIVE INVARIANTfrontend
View Rule Spec

Mandatory React 19 RSC Server Taint Boundary and Secret Isolation

Enforces strict isolation of server-only secrets, cryptographic material, and raw database models using React 19's Server Taint APIs (taintObjectReference, taintUniqueValue) alongside explicit Data Transfer Object (DTO) projection. Prevents accidental serialization of sensitive backend credentials and internal domain models into React Server Component (RSC) streaming Flight protocol payloads sent to the client browser.

#frontend#react-19#rsc#security#server-taint#nextjs#flight-protocol
ACTIVE INVARIANTbackend
View Rule Spec

Temporal Workflow Deterministic Replay & Patch-Fencing Standard

Enforces strict determinism constraints and explicit event-history patch fencing for distributed state workflows. Prevents non-deterministic workflow execution corruption, deadlocks, and worker crashes caused by modifying active replay execution graphs without proper Temporal SDK patch primitives.

#backend#temporal#event-sourcing#distributed-systems#orchestration#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 RFC 9449 DPoP Token-Binding and Replay-Fencing Guardrail

Enforces asymmetric sender-constrained token binding and non-replayable proof validation per RFC 9449 (Demonstrating Proof-of-Possession). Mandates cryptographic validation of client ephemeral public keys, HTTP method/URI containment, access token hash (ath) binding, and distributed nonce/jti replay caching to eliminate bearer token exfiltration risks.

#security#oauth2#dpop#rfc-9449#jwt#zero-trust#api-security
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Sigstore Keyless OIDC Attestation & SLSA v1.0 Provenance Verification

Enforces strict admission-time cryptographic verification of container images using Sigstore keyless signatures and SLSA provenance attestations. Rejects long-lived static keys in favor of ephemeral Fulcio X.509 certificates verified against Rekor transparency logs with pinned OIDC issuer and subject SANs.

#security#supply-chain#sigstore#slsa#admission-controller#cosign#rekor
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF BPF-LSM Inode Digest Provenance Enforcement for Container Executables

Enforces kernel-level execution authorization via the BPF-LSM bprm_check_security hook by verifying immutable cryptographic inode digests against container cgroup manifests. Blocks unauthenticated binary execution, runtime drift, and fileless memory injection before process address spaces are allocated, eliminating the race conditions and user-space overhead of ptrace or auditd.

#security#ebpf#bpf-lsm#containers#zero-trust#kernel
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Graph Traversal Cycle Detection and Depth Ceilings

Enforces strict recursion depth ceilings and memoized visited-path sets during OpenFGA relational tuple expansion and check operations. Prevents Denial of Service (DoS), catastrophic algorithmic complexity (O(N^k)), and recursive stack overflow vulnerabilities caused by self-referential or cyclic relational hierarchies (e.g., recursive team-in-team or nested group-membership graphs).

#security#openfga#authorization#cycle-detection#graph-traversal#dos-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9396 OAuth Rich Authorization Requests (RAR) Cryptographic & Schema Verification Guardrail

Enforces strict schema validation, deterministic transaction matching, and cryptographic sender-constraint binding on RFC 9396 'authorization_details' vectors. Prevents privilege-widening attacks in complex API handshakes where coarse scopes bypass fine-grained authorization constraints.

#security#oauth2#rfc9396#rich-authorization-requests#zero-trust#jwt
ACTIVE INVARIANTsecurity
View Rule Spec

Passkey Conditional UI Step-Up Authentication Boundary Enforcement

Enforces a strict cryptographic and architectural boundary between WebAuthn Conditional UI (autofill mediation) used for ambient session establishment and active, user-verified re-authentication for sensitive actions. Passive autofill ceremonies must never satisfy elevated administrative authorization states; step-up flows must mandate explicit hardware-attested user verification (UV) with fresh cryptographic challenges and short-lived, transaction-bound tokens.

#security#webauthn#passkeys#authentication#fido2
ACTIVE INVARIANTsecurity
View Rule Spec

Strict WebAuthn Backup Eligibility and Attestation Boundary Enforcement

Enforces cryptographic and authenticator data verification bounds to block synchronized (multi-device) credentials on privileged administration pathways. Mandates parsing and validating the raw authenticator data byte flags, specifically asserting that Backup Eligibility (BE) and Backup State (BS) are disabled, paired with direct attestation validation. Prevents unauthorized cloud key-sync exfiltration across consumer ecosystem boundaries in zero-trust administrative planes.

#security#webauthn#fido2#passkeys#zero-trust#authentication#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OCI 1.1 In-Toto Cosign Attestation Inline Admission Standard

Enforces inline cryptographic validation of In-Toto Software Bill of Materials (SBOM) and SLSA provenance attestations via OCI 1.1 Referrers prior to container execution. Rejects any workload referencing mutable tags, unverified cryptographic signatures, missing transparency log inclusions, or non-compliant predicate schemas.

#security#oci#cosign#in-toto#admission-controller#sbom#slsa
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 after() Post-Response Execution and Serverless Task Drain Standard

Next.js 15 introduces 'after()' to schedule asynchronous microtasks that execute reliably after a streaming or buffered response completes. Failing to use 'after()' in serverless runtimes results in either dropped background execution due to container freezing or artificial response latency from blocking unneeded awaits in the critical response path.

#frontend#nextjs#nextjs-15#after#serverless#async-microtasks#server-actions#route-handlers
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Passkey Origin & Relying Party Cryptographic Binding Standard

Enforces strict, cryptographically verified origin and Relying Party (RP) ID validation on WebAuthn Level 3 authentication assertions to defeat Adversary-in-the-Middle (AitM) reverse-proxy session hijacking. Mandates canonical origin whitelisting over dynamic header reflection, explicit verification of the clientDataJSON crossOrigin member, and strict validation of authenticatorData rpIdHash and flags.

#security#webauthn#passkeys#fido2#authentication#aitm-defense#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Envoy Gateway 1.2 ExtAuthz Fail-Closed Ingress Isolation Standard

Mandates fail-closed semantics coupled with strict circuit breaking, sub-second timeouts, and outlier detection on external authorization (ExtAuthz) backends in Envoy Gateway 1.2. Prevents unauthorized request bypass and ingress latency cascades that exhaust worker thread pools during centralized IdP brownouts.

#security#envoy-gateway#ext-authz#circuit-breaking#zero-trust#kubernetes
ACTIVE INVARIANTsecurity
View Rule Spec

Atomic Evaluation of Contextual Tuples in OpenFGA Boundaries

Enforces strict isolation and atomicity for ephemeral authorization states by mandating that request-scoped context attributes are passed solely via contextual tuples within a single Check or ListObjects evaluation cycle. Prevents split-brain authorization anomalies, race conditions, and persistent relationship contamination caused by writing temporary tuples to the OpenFGA datastore.

#security#openfga#authorization#rebac#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Experimental React Taint Object Boundary Enforcement

Enforces strict boundary isolation using React's experimental taint APIs in Next.js 15 to prevent raw database records, ORM entities, and cryptographic keys from serializing into React Server Component (RSC) flight payloads. Guarantees that any server-only object or sensitive token inadvertently passed to a Client Component triggers an immediate execution halt.

#frontend#nextjs#react19#security#rsc#server-components
ACTIVE INVARIANTsecurity
View Rule Spec

Zero-Latency eBPF Namespace Transition Quarantine via Tetragon TracingPolicy

Mandates in-kernel synchronous SIGKILL enforcement via Cilium Tetragon TracingPolicies on unauthorized setns and unshare syscall transitions. Eliminates user-space detection latency by terminating unauthorized PID and mount namespace boundary escapes directly within the eBPF probe context before syscall completion.

#security#tetragon#ebpf#kubernetes#runtime-security#container-escape#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral X.509 SVID Attestation Lifecycle Standard

Enforces sub-one-hour ephemeral X.509 SVID lifecycles and continuous kernel-level attestation via the local SPIRE Workload API over UNIX domain sockets. Guarantees that cryptographic private keys remain in-memory only and that dynamic TLS configurations automatically rotate identities prior to expiry to eliminate exfiltration windows and lateral movement.

#security#spiffe#spire#zero-trust#mtls#x509#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium eBPF Socket-Level FQDN Egress Filtering and DNS Handshake Invariant

Enforces strict FQDN-based egress access policies at the Linux kernel socket layer using Cilium eBPF before any TCP SYN packets or UDP frames egress the host. Mandates that all application network requests transit a kernel-intercepted DNS proxy cache with strict TTL tracking, completely mitigating blind IP-based egress bypasses and out-of-band data exfiltration.

#security#cilium#ebpf#kubernetes#network-policy#egress-filtering
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation & Synced Passkey Assertion Invariants

Enforces strict cryptographic verification for WebAuthn conditional mediation (autofill) and multi-device synced passkeys. Mandates server-side cryptographic challenge generation, single-use binding to secure HTTP-only sessions, multi-device backup state evaluation, and absolute prohibition of zero-trust signature counter checks for synced credentials.

#security#webauthn#passkeys#cryptography#conditional-mediation#fido2
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Kernel-Level Tetragon Process & Namespace Socket Boundary Enforcement

Enforces synchronous kernel-level process and namespace boundary invariants using Cilium Tetragon TracingPolicies inside hardened distroless container environments. Mandates in-kernel sigkill termination on unlisted binary execve invocations and restricts AF_INET/AF_PACKET socket creation within targeted container namespaces to eliminate zero-day escapes and lateral movement.

#security#ebpf#tetragon#kubernetes#distroless#runtime-security
ACTIVE INVARIANTsecurity
View Rule Spec

Depth-Bounded Cycle-Safe ReBAC Contextual Tuple Graph Resolution

Enforces bounded graph evaluation and input sanitization for Zanzibar-style ReBAC systems when resolving contextual authorization tuples. Prevents algorithmic complexity denial-of-service (ReDoS/Graph DoS) and evaluation deadlocks caused by unbounded recursion, user-injected cyclic dependencies, and missing traversal deadlines.

#security#openfga#rebac#zanzibar#authorization#dos-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Short-Lived X.509 SVID Sub-Hour Rotation Standard

Eliminates static ambient credentials by mandating dynamic, sub-15-minute X.509 SVID lifecycles driven by SPIRE Workload API streams. Enforces non-disruptive, in-memory TLS certificate updates using dynamic SNI/cert callbacks without process restarts, static filesystem writes, or cached TLS contexts.

#security#spiffe#spire#mtls#zero-trust#pki
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Async Request API Boundary Enforcement

Next.js 15 Partial Prerendering couples static shell delivery with dynamic streaming. Awaiting dynamic request APIs (cookies, headers, connection, or unresolved searchParams) in root page components or layouts destroys the static pre-rendered shell and collapses the route into full dynamic SSR. Dynamic accessor invocation must be strictly isolated to leaf Server Components wrapped in explicit Suspense boundaries.

#frontend#nextjs#react19#partial-prerendering#server-components#performance
ACTIVE INVARIANTsecurity
View Rule Spec

FAPI 2.0 Security Profile with DPoP Key-Bound Token Enforcement

Enforces FAPI 2.0 Security Profile compliance by mandating Demonstrating Proof-of-Possession (DPoP) key-binding (RFC 9449) on all outbound client credentials and inbound resource server validations. Disallows raw Bearer token schemes across microservice perimeters to neutralize token exfiltration and replay attacks at Layer 7.

#security#fapi-2#dpop#oauth2#oidc#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Passkey WebAuthn RP ID Sandboxing and Tenant-Scoped Conditional Mediation

Enforces strict dynamic Relying Party ID (RP ID) scoping and origin isolation in multi-tenant WebAuthn deployments. Prevents cross-tenant credential autocomplete pollution and account collisions during conditional mediation passkey ceremonies by prohibiting broad apex-domain relaxation.

#security#webauthn#passkeys#multi-tenant#conditional-mediation#fido2
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 after() Lifecycle Standard for Non-Blocking Post-Response Tasks

Next.js 15 introduces after() to coordinate secondary tasks that must execute only after the response stream is finalized without inflating TTFB. Un-awaited floating promises in serverless runtimes lead to frozen lambdas and dropped tasks, while awaiting background tasks directly degrades response latency.

#frontend#nextjs#nextjs-15#after#server-actions#performance#serverless
ACTIVE INVARIANTsecurity
View Rule Spec

Passkey Sync-Provider Downgrade & Cryptographic Recovery Invariant

Enforces strict cryptographic step-up verification when WebAuthn credentials transition between multi-device synchronized states and unmanaged single-device states. Prevents account takeovers caused by credential cloning, sync-provider desynchronization, and unauthorized recovery downgrades by validating authenticator backup flags and requiring dual-rooted verification before binding changes.

#security#webauthn#fido2#passkeys#authentication#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce Zero-Static-Secret In-Kernel SPIFFE/SPIRE Workload Identity Projection

Workloads must eliminate all static API tokens and long-lived cloud credentials by deriving cryptographically verifiable identities directly from ephemeral X.509 SVIDs projected into the runtime via kernel-managed CSI volume mounts or Unix domain sockets. Client architectures must continuously hot-reload projected credentials without pod restarts and strictly validate peer SPIFFE IDs against expected trust domains. Any fallback to static environment secrets, Kubernetes Secrets for auth tokens, or unrotated mTLS certificates breaks zero-trust non-repudiation invariants.

#security#spiffe#spire#zero-trust#mtls#csi-driver#identity
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Zero-Knowledge Key Derivation and Lifecycle Invariant

Enforces deterministic, zero-knowledge symmetric key derivation using the WebAuthn Level 3 PRF (Pseudo-Random Function) extension. Derived raw secret material MUST be processed via HKDF with domain-separated contexts, marked non-extractable, zeroized in volatile memory, and NEVER transmitted across network boundaries or stored in persistent client-side storage.

#security#webauthn#cryptography#prf-extension#zero-knowledge#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 Demonstrating Proof-of-Possession (DPoP) Invariant Enforcement

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) standards across public edge API gateways and client SDKs. Mandates cryptographic thumbprint binding of access and refresh tokens to client-generated ephemeral asymmetric keypairs (ES256/Ed25519) to eliminate token interception, exfiltration, and cross-origin replay attacks.

#security#oauth21#dpop#rfc9449#cryptography#zero-trust#edge-gateway
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Depth Limits and Cycle Hardening for OpenFGA Authorization Graphs

Enforces strict recursion depth boundaries, contextual cycle dampening, and deterministic query timeouts for OpenFGA graph authorization calls. Prevents algorithmic complexity Denial-of-Service (ReDoS/Graph-DoS) caused by circular relations, deeply nested groups, or unconstrained userset traversals during Check, Expand, and ListObjects evaluations.

#security#openfga#authorization#fine-grained-auth#dos-prevention#rebac
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Dynamic Contextual Tuple Evaluation & Cache Invalidation Invariant

Enforces strict consistency and isolation between durable authorization tuples and transient request attributes in OpenFGA/Zanzibar architectures. Guarantees sub-millisecond evaluation latency without stale-permission vulnerabilities under high-throughput writes by binding cached access decisions to deterministic cryptographic context digests and change-data-capture (CDC) invalidation watermarks.

#security#openfga#zanzibar#authorization#cache-invalidation#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Synced Passkey Step-Up Verification and Hardware Attestation Guardrail

Enforces cryptographic step-up verification and high-assurance hardware attestation for privileged tenant operations when passkeys are synchronized across consumer clouds. Distinguishes multi-device credentials (synced passkeys with BE=1, BS=1) from device-bound security keys (single-device credentials) by inspecting authenticator data flags and attestation roots.

#security#webauthn#fido2#passkeys#attestation#zero-trust#multi-tenancy
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Async Dynamic Request Context Resolution and Streaming Isolation Guardrail

Next.js 15 transforms all dynamic request APIs (`cookies()`, `headers()`, `params`, `searchParams`) into asynchronous operations to enforce strict isolation during concurrent React Server Component (RSC) streaming. Synchronous access or unawaited deferred context extraction causes request-scope contamination, hydration mismatches, and severe security vulnerabilities where concurrent streaming requests bleed tenant or authentication state.

#frontend#nextjs#react-server-components#rsc#concurrency#security
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Hardware-Backed Symmetric Key Derivation Guardrail

Enforces hardware-backed zero-knowledge credential derivation using WebAuthn Level 3 PRF (Pseudo-Random Function) extension for client-side encrypted database synchronization. Mandates using constant-time cryptographic operations, HKDF key stretching with ephemeral salts, zero-allocation memory zeroing, and strict validation of authenticator PRF outputs prior to master key reconstruction.

#security#webauthn#prf-extension#zero-knowledge#cryptography#e2ee
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE In-Memory X.509-SVID Non-Disruptive Rotation Guardrail

Enforces non-disruptive, zero-trust mTLS credential rotation driven directly by the SPIFFE Workload API over UNIX Domain Sockets. Prohibits process restarts, socket re-binding, and disk-bound certificate reads, requiring atomic in-memory TLS context swaps to eliminate race conditions and dropped active connections during aggressive ephemeral SVID rotations.

#security#spiffe#spire#mtls#zero-trust#tls-rotation
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Transitive Relation Cycle-Detection and Traversal Circuit-Breaker Standard

Enforces deterministic recursion termination, hop-budget bounding, and cycle-detection circuit breakers across OpenFGA authorization checks and client-side graph traversals. Protects authorization engines and distributed query layers from algorithmic complexity denial-of-service (ReDoS/Graph DoS) caused by circular group memberships or unbounded transitive relationship expansion.

#security#openfga#authorization#circuit-breaker#cycle-detection#graph-dos
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Granular IPC Command Capability & Scope ACL Invariant

Enforces strict least-privilege capability manifests and explicit argument-scoping ACLs for all Tauri 2.0 webview-to-Rust IPC boundaries. Prohibits global wildcards, un-scoped filesystem paths, and unrestricted shell execution permissions across all capability definition files.

#security#tauri-v2#rust#ipc#acl#capabilities
ACTIVE INVARIANTsecurity
View Rule Spec

Zero-Knowledge Hardware-Bound Key Derivation via WebAuthn PRF Extension

Enforces cryptographic invariants when deriving deterministic symmetric encryption keys via the WebAuthn Pseudo-Random Function (PRF) extension (HMAC-secret). The host application must maintain absolute zero-knowledge guarantees: raw PRF outputs and derived symmetric keys must never be exposed to server-side telemetry or transmission, and must pass through HKDF with cryptographically distinct salts and info parameters before AES-GCM envelope encryption.

#security#webauthn#prf-extension#zero-knowledge#hkdf#aes-gcm#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server cache() Request Lifespan & State Leakage Guardrail

Enforces deterministic, request-scoped memoization boundaries for React 19's server-side cache() utility across React Server Component (RSC) execution graphs. Prevents cross-request state leakage, memory bloat, and stale data propagation caused by persistent module-level closures or unmemoized asynchronous dispatch. Mandates referential equality discipline and pure functional boundaries when deriving data within server environments.

#react19#rsc#cache#server-components#nextjs#concurrency
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6 Contextual Tuple Temporal Invariant and Ephemeral Attribute Enforcement

Enforces that short-lived permissions, time-bound delegations, and dynamic environment context are evaluated ephemerally via OpenFGA 1.6 contextual tuples and CEL-conditioned context objects. Eliminates authorization staleness, race conditions, and tuple pollution caused by persisting ephemeral state directly into durable ReBAC storage.

#security#openfga#rebac#authorization#temporal-access#contextual-tuples
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Dynamic SVID Attestation & Ephemeral mTLS Enforcement

Mandates non-blocking runtime integration with the SPIFFE Workload API via local Unix Domain Socket (UDS) to dynamically stream short-lived X.509 SVIDs and SPIFFE trust bundles. Prohibits mounting static certificates, private keys, or long-lived credentials into workload filesystems. Enforces automated, in-memory rotation of mTLS contexts and strict SPIFFE ID SAN validation on all inter-service communications.

#security#spiffe#spire#zero-trust#mtls#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Contextual Tuple Graph Traversal & Cycle Guardrail

Enforces pre-flight Directed Acyclic Graph (DAG) cycle detection, strict contextual tuple cardinality limits, and deterministic traversal timeouts for OpenFGA ReBAC evaluation. Prevents catastrophic recursive graph explosion, CPU exhaustion, and multi-tenant denial of service during dynamic contextual permission checks.

#security#openfga#rebac#authorization#graph-traversal#dos-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Passkey Cryptographic Origin & Nonce Assertion Invariant

Defends against real-time adversary-in-the-middle (AiTM) reverse proxy phishing and replay attacks by enforcing cryptographic clientDataJSON origin validation and atomic single-use nonce consumption. WebAuthn assertions must strictly validate the fully-qualified canonical origin, rely on atomic get-and-delete challenge storage, and enforce user verification invariants.

#security#webauthn#fido2#passkeys#cryptography#phishing-defense#session-security
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 DPoP Ephemeral Proof Nonce-Clamping and Replay Prevention Guardrail

Enforces strict RFC 9449 Demonstrating Proof-of-Possession (DPoP) verification at the API gateway layer. Eliminates distributed token replay attacks by mandating cryptographic thumbprint binding, single-use proof-token jti deduplication via distributed cache, tight clock-skew clamping (max ±5 seconds), and strict ath/htm/htu claims validation.

#security#dpop#rfc9449#oauth2#jwt#zero-trust#replay-attack
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 8693 Token Exchange: Mandatory Audience Downscoping & Actor Verification

Enforces deterministic token downscoping and explicit actor verification via RFC 8693 OAuth 2.0 Token Exchange during east-west service calls. Prevents cross-service privilege escalation, delegation pivot vulnerabilities, and ambient credential pass-through by restricting audience scope and anchoring delegation chains.

#security#oauth2#rfc8693#token-exchange#zero-trust#jwt
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Anchored PRF Extension Zero-Knowledge Key Derivation Guardrail

Enforces strict cryptographic guarantees when evaluating WebAuthn Pseudo-Random Function (PRF) extensions for client-side zero-knowledge encryption. Guarantees that raw PRF outputs undergo non-extractable HKDF-SHA256 stretching, input salts remain cryptographically isolated and static per-domain, and raw symmetric key material never leaks through network payloads or persistent browser storage.

#security#webauthn#prf-extension#zero-knowledge#cryptography#hkdf#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Component Model Link-Time Capability Isolation and Sandboxing

WASI 0.2 mandates strict capability-based security where guest WebAssembly components have zero ambient access to host resources by default. Host runtimes executing untrusted multi-tenant plugins must explicitly instantiate isolated capability contexts (WasiCtx), denying ambient host network, filesystem, and environment inheritance at link time. Sandboxes must only bind least-privilege virtualized capabilities or stubbed interfaces through explicit Linker contracts.

#security#wasi#webassembly#component-model#sandboxing#rust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA ReBAC Transactional Outbox & Invalidation Barrier

Enforces dual-write prevention and cache-invalidation barriers when mutating domain entities alongside OpenFGA relationship tuples. Mandates that OpenFGA tuple updates and local read-cache evictions execute strictly via transactional outbox or Change Data Capture (CDC) pipelines to prevent stale authorization decisions and 'new enemy' security vulnerabilities.

#security#openfga#rebac#authorization#zanzibar#cache-invalidation#transactional-outbox
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 WebAuthn PRF Hardware-Bound Key Derivation Standard

Mandates cryptographically sound implementation of WebAuthn Pseudo-Random Function (PRF) extension for client-side zero-knowledge encryption key derivation. Prohibits direct usage of raw PRF outputs as symmetric keys, enforces mandatory biometric/PIN user verification ('required'), and guarantees domain-separated HKDF expansion with ephemeral memory zeroization.

#security#webauthn#fido2#prf-extension#zero-knowledge#hkdf#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Linux Cgroup v2 Kernel Workload Attestation Guardrail

Enforces kernel-level Cgroup v2 workload attestation across SPIRE agents and SPIFFE workload API endpoints, eliminating time-of-check to time-of-use (TOCTOU) and PID recycling race conditions inherent in naive Unix domain socket SO_PEERCRED lookups. Mandates the use of the unified cgroup v2 hierarchy, 64-bit cgroup ID verification via kernel file handles, and process start-time validation to prevent container workload impersonation.

#security#spiffe#spire#cgroups-v2#workload-identity#zero-trust#linux-kernel
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium eBPF Socket-Layer Acceleration & Cryptographic Mutual Identity Guardrail

Enforces strict cryptographic pod-to-pod identity authentication via Cilium Network Policies decoupled from data-path forwarding, utilizing Linux eBPF sockops programs for socket-level short-circuiting. Eliminates unauthenticated label-only trust models and sidecar proxy CPU/latency overhead by mandating control-plane mutual handshake validation with socket-layer kernel redirection.

#security#cilium#ebpf#zero-trust#kubernetes#spire#networking
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Zero-Knowledge Key Derivation & Enclave Isolation Standard

Enforces hardware-bound client-side symmetric key derivation via the WebAuthn Pseudo-Random Function (PRF) extension for end-to-end encrypted vaults. Guarantees that derived cryptographic secrets and PRF outputs never leave the client enclave, remain non-extractable within the Web Cryptography API, and are never transmitted to application servers or persisted to unencrypted client storage.

#security#webauthn#prf-extension#zero-knowledge#webcrypto#e2ee
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Dynamic Contextual Tuple Ingestion Boundary Validation & Anti-Escalation Guardrail

Restricts ephemeral, request-time contextual authorization tuples to strictly typed, allowlisted, non-escalatable claim schemas. Ingesting untrusted or weakly validated client claims directly into OpenFGA contextual tuples allows adversaries to inject arbitrary relation edges (such as owner or admin) and bypass zero-trust access boundaries.

#security#openfga#authorization#rebac#zero-trust#privilege-escalation#zod
ACTIVE INVARIANTbackend
View Rule Spec

Temporal Durable Workflow Determinism and History Drift Invariant

Enforces strict static execution-path determinism and version-gated branching within Temporal workflows. Prevents fatal NonDeterministicWorkflowError panics and corrupted event-history replay states during hot deployments of long-running executions.

#backend#temporal#event-sourcing#durable-execution#deterministic-replay#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

ML-KEM-768 Hybrid TLS 1.3 Downgrade Protection Invariant

Enforces post-quantum hybrid key exchange (X25519MLKEM768 / SecP256r1MLKEM768) over TLS 1.3 to permanently neutralize Harvest-Now-Decrypt-Later (HNDL) threats. Strictly proscribes unauthenticated fallback mechanisms, legacy TLS protocols (<1.3), and classical-only ECDHE groups in cryptographic configurations.

#security#cryptography#tls#post-quantum#ml-kem#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Node.js 22 Native Capability Permission Model and I/O Boundary Guardrail

Enforces Node.js 22 native runtime permission flags and programmatic capability checks to restrict filesystem I/O, child process spawning, worker creation, and native addon execution. This invariant prevents compromised third-party dependencies from accessing sensitive credentials, spawning rogue binaries, or exfiltrating data without requiring container or OS-level virtualization. All I/O interfaces must implement explicit capability pre-flight checks and operate under the least-privilege permission model.

#security#nodejs#permission-model#supply-chain#least-privilege#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Components Cache Signal Invalidation Standard

Enforces strict AbortSignal wiring, cryptographic cache tagging, and deterministic revalidation semantics across async data boundaries in React 19 Server Component hierarchies. Prevents orphaned server-side rendering promises and stale hydration mismatches by coupling cache lifetime directly to request lifecycle signals and cryptographically signed tags.

#frontend#react-19#rsc#nextjs#cache-invalidation#abort-signal
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Synced Passkey Device-Binding and Attestation Guardrail

Enforces strict WebAuthn Level 3 cryptographic validation for passkey registration and authentication. Mandates explicit inspection of AuthenticatorData flags (Backup Eligibility, Backup State, User Verification), Device Public Key (DPK) extensions, and exact origin binding to neutralize credential-sync hijacking and multi-device replay attacks.

#security#webauthn#passkeys#fido2#attestation#device-binding
ACTIVE INVARIANTsecurity
View Rule Spec

Postgres 17 RLS Cryptographic Session Claims Injection Standard

Enforces cryptographically verified JWT session claims injected directly into transaction-scoped PostgreSQL session variables using SET LOCAL. Mandates strict isolation within explicit transaction blocks to eliminate cross-request tenant leakage and prevent tenant privilege escalation in Row-Level Security (RLS) policies.

#security#postgresql#rls#jwt#multi-tenancy#transactions
ACTIVE INVARIANTsecurity
View Rule Spec

Next.js 15 Server Action Dynamic Host & Cryptographic Origin Attestation Invariant

Next.js 15 Server Actions accept POST dispatches that can become vulnerable to host header poisoning and cross-origin attacks in multi-domain or reverse-proxy topologies if origin validation is unshielded. This rule mandates strict origin verification, forward-header attestation against canonical domain registries, and defense-in-depth runtime assertions using timing-safe comparisons.

#nextjs15#server-actions#csrf#origin-shielding#security#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Istio Ambient ztunnel eBPF L4-to-L7 Waypoint Cryptographic Identity Transition Standard

Enforces strict peer identity preservation and cryptographic attestation during transparent Layer-4 ztunnel eBPF redirections to Layer-7 Envoy Waypoint proxies. Prevents identity spoofing, dropped HBONE context, and TCP RST connection resets during cross-node mTLS renegotiation. Ensures authorization policies evaluate downstream SPIFFE SAN identities rather than intermediate node-level ztunnel proxy credentials.

#security#istio#ambient-mesh#ztunnel#ebpf#spiffe#mtls#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 RFC 9449 DPoP Sender-Constrained Nonce Rotation and Replay Prevention

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) bindings with dynamic server-issued nonce rotation and atomic jti replay caching across all mutating endpoints. Prevents bearer token exfiltration and distributed replay attacks by sender-constraining access tokens to client ephemeral asymmetric key pairs.

#security#oauth2#dpop#rfc9449#cryptography#zero-trust#jwt
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional UI & Cryptographic Origin-Binding Invariant

Enforces strict WebAuthn Conditional Mediation (passkey autofill) on client interfaces alongside deterministic, immutable origin and Relying Party (RP) ID validation on the server. Guarantees that passkey assertions are cryptographically bound to the canonical, server-configured origin, neutralizing real-time reverse-proxy phishing (AitM) and spoofed domain vectors.

#security#webauthn#passkeys#fido2#phishing-resistance#origin-binding#aitm
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Hybrid ML-KEM/X25519 Key Encapsulation for Edge TLS Ingress

Mandates dual-mode hybrid post-quantum key encapsulation (X25519MLKEM768 / X25519Kyber768Draft00) across all ingress edge load balancers, TLS termination proxies, and internal microservice mesh boundaries. This neutralizes 'harvest-now, decrypt-later' (HNDL) adversarial vectors while preserving classical FIPS/RFC-compliant cryptographic fallback security. Any TLS listener configured solely with classical elliptic curves or RSA key transport violates edge transport policy.

#security#cryptography#tls13#post-quantum#ml-kem#x25519#infrastructure
ACTIVE INVARIANTsecurity
View Rule Spec

OpenID CAEP Real-Time Token Revocation and SET Invalidation Standard

Enforces strict cryptographic verification, tenant-isolated routing, and deterministic replay mitigation for OpenID Continuous Access Evaluation Profile (CAEP) Security Event Tokens (SETs). Guarantees that token revocations and device posture updates are validated against verified issuer JWKS and propagated to distributed token caches within sub-second latencies.

#security#openid-connect#caep#sse#zero-trust#token-revocation#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation AbortSignal Chaining & Atomic Cancellation Standard

Enforces atomic cancellation cascades and dedicated AbortController state machines for WebAuthn conditional mediation (passkey autofill) requests. Prevents InvalidStateError browser locks, credential prompt hijacking, and token desynchronization during active UI re-renders or transitions to modal authentication ceremonies.

#security#webauthn#passkeys#abort-controller#concurrency#browser-apis
ACTIVE INVARIANTsecurity
View Rule Spec

Envoy Gateway 1.2 ExtAuthz Monotonic Budgeting and Fail-Closed Boundary

Mandates strict fail-closed authorization posture and monotonic deadline budgeting for External Authorization (ExtAuthz) filters in Envoy Gateway 1.2. Prevents worker thread saturation, denial-of-service, and unauthorized bypass by enforcing explicit request timeouts, connection pool circuit breaking, and failOpen=false invariants.

#security#envoy-gateway#ext-authz#zero-trust#circuit-breaking#dos-prevention
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Hole Isolation and Edge Stampede Barrier

Enforces strict isolation between static pre-rendered shells and dynamic asynchronous streaming holes under Next.js 15 Partial Prerendering (PPR). Mandates boundary encapsulation using React Suspense with deduped, cached dynamic loaders to prevent blocking Time to First Byte (TTFB) at distributed edge points of presence (POPs). Eliminates thundering-herd cache stampedes across edge workers during traffic spikes by coupling React cache() with stale-while-revalidate data primitives.

#nextjs#react-19#partial-prerendering#edge-computing#concurrency#caching
ACTIVE INVARIANTsecurity
View Rule Spec

Zero-Knowledge Hardware-Derived Cryptographic Keys via WebAuthn PRF Extension

Enforces strict client-side symmetric key derivation from hardware authenticators using the WebAuthn Pseudo-Random Function (PRF) extension (HMAC-secret). Raw derived keys, PRF evaluation outputs, and unencrypted key materials must never be transmitted to the application server or persisted in non-ephemeral storage, maintaining absolute zero-knowledge privacy.

#security#webauthn#prf-extension#cryptography#zero-knowledge#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

Cedar Engine Compile-Time Policy Slicing and In-Memory Evaluation Fence

Enforces deterministic, sub-millisecond Cedar authorization decisions by mandating static compile-time policy slicing and a strict zero-network evaluation fence. Prohibits in-band network fetches, uncompiled schema validations, and dynamic policy discovery within the critical evaluation loop.

#security#cedar#authorization#zero-trust#performance#abac
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Hardware-Anchored Symmetric Key Derivation Protocol

Enforces strict cryptographic hygiene when using the WebAuthn Level 3 PRF (Pseudo-Random Function) extension for zero-knowledge client-side encryption. Requires non-extractable Web Crypto API key handles, domain-separated HKDF salt inputs, resilient extension capability checks, and explicit volatile memory zeroization to prevent key exfiltration via DOM XSS.

#security#webauthn#prf-extension#passkeys#web-crypto#zero-knowledge
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE X.509-SVID Proactive Two-Thirds Lifetime Renewal Invariant

Enforces deterministic certificate rotation scheduling before the two-thirds (2/3) validity boundary of short-lived X.509 SVIDs expires. Prohibits lazy or reactive attestation lookups to prevent synchronous TLS handshake failures and connection severance across high-throughput service meshes. Guarantees non-blocking in-memory TLS context hot-reloading backed by jittered background attestation routines.

#security#spiffe#spire#mtls#zero-trust#certificate-lifecycle
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory WebAuthn Signal API Synchronization for Revoked Passkey Lifecycle State

Enforces synchronous and distributed broadcast of passkey revocation events via the WebAuthn Signal API (PublicKeyCredential.signalUnknownCredential and signalAllAcceptedCredentials). When a credential is deleted or revoked at an identity provider or relying party, client-side autofill caches and peer relying parties must update their credential stores immediately to eliminate autofill presentation and replay of invalid credentials during Conditional UI flows.

#security#webauthn#passkeys#conditional-ui#signal-api#fido2
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Modular Authorization Model Compilation and Cycle Detection Standard

Enforces strict static graph cycle detection and validation during the compilation phase of OpenFGA modular authorization models. Prevents unconstrained recursive relation expansion (such as nested group hierarchies or cross-module tuple-to-userset cycles) that trigger evaluation engine timeouts, Denial of Service (DoS), or runaway latency in production Check calls.

#security#openfga#authorization#rebac#graph-algorithms#cycle-detection#modular-schemas
ACTIVE INVARIANTsecurity
View Rule Spec

AMD SEV-SNP Remote Attestation & Secretless Workload Bootstrapping

Enforces strict validation of AMD SEV-SNP cryptographic hardware attestation before provisioning secrets or granting workload identities. Guarantees measurement integrity against golden digests, validates the AMD VCEK certificate chain against the AMD Root Key, binds report data to fresh ephemeral session keys, and strictly rejects debug-enabled or outdated TCB states.

#security#confidential-computing#amd-sev-snp#remote-attestation#zero-trust#secretless
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Boundary Isolation Contract

Enforces strict isolation between static pre-rendered HTML shells and dynamic React 19 streaming slots within Next.js 15 PPR architectures. Prevents accidental dynamic context leakage that causes entire page trees to de-optimize to dynamic SSR and trigger cascading hydration bailouts under high concurrency. Mandates explicit React Suspense boundaries around all dynamic I/O primitives including headers(), cookies(), and uncached fetch invocations.

#frontend#nextjs#react-19#ppr#performance#streaming
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Distributed Tuple Invalidation Consensus Standard

Enforces deterministic authorization consistency across distributed edge workers by binding OpenFGA relationship tuple mutations to transactional Change-Data-Capture (CDC) invalidation streams. Guarantees zero-staleness authorization evaluations by requiring cryptographic or monotonic sequence-token fencing on edge-cached check decisions, eliminating the 'New Enemy' stale privilege elevation window.

#security#openfga#fine-grained-authorization#distributed-cache#cdc#zanzibar
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Bound WebAuthn Step-Up Protocol with Secure Enclave Attestation & Backup Flag Enforcement

Enforces non-exportable, hardware-attested platform credentials (Secure Enclave, TPM, StrongBox) for high-risk transactional boundaries. Rejects multi-device synced passkeys by cryptographically validating WebAuthn authenticator data Backup Eligibility (BE) and Backup State (BS) flags alongside cryptographic root-of-trust hardware attestation.

#security#webauthn#fido2#passkeys#secure-enclave#step-up-auth#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 Cross-Origin RP ID Top-Level Assertion Isolation Policy

Enforces strict top-level browsing context isolation and relying party ID (RP ID) verification in accordance with WebAuthn Level 3 specifications. Mandates explicit Permissions-Policy directives to block unauthorized cross-origin iframe credential assertions and guarantees cryptographically enforced origin binding during server-side verification.

#security#webauthn#fido2#rp-id#permissions-policy#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Contextual Tuple Canonicalization and Depth-Budget Guardrail

Enforces pre-evaluation canonicalization, cycle detection, and strict depth-budget limits on user-supplied OpenFGA contextual tuples. Prevents algorithmic complexity Denial-of-Service (DoS) and infinite graph traversal attacks in Relationship-Based Access Control (ReBAC) engines by rejecting non-canonical identifiers and contextual relationship loops before invoking the authorization engine.

#security#openfga#rebac#authorization#dos-prevention#graph-algorithms
ACTIVE INVARIANTfrontend
View Rule Spec

Module Federation 2.0 Dynamic Remote Integrity & Shared Dependency Guardrail

Enforces cryptographic manifest validation, subresource integrity (SRI), and strict semver singleton resolution when dynamically loading Module Federation 2.0 remotes across heterogeneous CDNs. Prevents supply-chain remote hijacking and dual-instantiation runtime crashes in shared runtime singletons like React, React-DOM, and state managers. Mandates centralized federation runtime plugins for dynamic URL ingestion and error boundary fallbacks.

#frontend#module-federation#micro-frontends#security#subresource-integrity#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum ML-KEM TLS 1.3 Hybrid Key Encapsulation Ingress Enforcement

Enforces strict post-quantum hybrid key encapsulation (specifically ML-KEM / FIPS 203 combinations such as X25519MLKEM768) on TLS 1.3 ingress boundaries. Prevents Store-Now-Decrypt-Later (SNDL) passive interception of enterprise traffic by rejecting non-quantum-resistant handshakes and enforcing cryptographic agility invariants across network listeners.

#security#post-quantum#ml-kem#tls-1-3#cryptography#sndl-defense
ACTIVE INVARIANTsecurity
View Rule Spec

WICG Device Bound Session Credentials (DBSC) Hardware PoP and Anti-Replay Guardrail

Protects authentication sessions against infostealer malware by binding session cookies directly to TPM or Secure Enclave hardware keys via WICG Device Bound Session Credentials (DBSC). Mandates server-side validation of client challenge signatures, cryptographic nonce freshness, and strict session invalidation upon proof-of-possession mismatch to prevent downgrade and token-replay attacks.

#security#dbsc#wicg#hardware-attestation#session-management#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Deterministic TanStack Query v5 Offline Mutation Queuing and Optimistic Rollback

Enforces strict mutation context snapshotting, deterministic rollback chains, and queue-aware cache invalidations in TanStack Query v5 during offline replay. Prevents client-state tearing and phantom cache overwrites when synchronizing persisted mutation queues against eventually consistent backend services. Ensures optimistic updates preserve immutable snapshots and cancel in-flight queries before mutating the QueryClient cache.

#frontend#tanstack-query#react-query#offline-first#optimistic-ui#state-management#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Module Federation 2.0 Dynamic Remote ABI Versioning and Singleton Integrity Guardrail

Enforces strict singleton resolution and explicit ABI runtime contract negotiation across Module Federation 2.0 dynamic remotes. Eliminates catastrophic cross-container failures caused by multiple shared instance initialization (e.g., React contexts, design systems, state managers) and semantic contract drift across independently deployed micro-frontends.

#frontend#module-federation#micro-frontends#typescript#architecture#runtime-safety
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Zanzibar Cyclic Graph Traversal & Contextual Tuple Invariant

Enforces strict bounds, cycle detection, and contextual tuple sanitization for OpenFGA relationship-based access control (ReBAC) evaluations. Prevents algorithmic denial-of-service (Graph DoS) and unbounded recursive expansion attacks triggered by deep or circular relationship graphs.

#security#openfga#zanzibar#rebac#dos-mitigation#graph-traversal
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum TLS 1.3 ML-KEM Hybrid Key Exchange Downgrade Mitigation Guardrail

Enforces strict post-quantum hybrid key encapsulation (ML-KEM with classical curves such as X25519MLKEM768) across all enterprise edge ingress configurations and client TLS stacks. Eliminates retrospective decryption risks ('Harvest Now, Decrypt Later') by categorically prohibiting classical-only key exchange fallbacks and enforcing TLS 1.3 minimum protocol versions. Implements continuous cryptographic telemetry to audit and abort handshakes negotiating downgraded curves.

#security#cryptography#post-quantum#ml-kem#tls-1.3#zero-trust#hndl-mitigation
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Actions Idempotency Key & Optimistic Subtree Replay Standard

Enforces client-generated idempotency keys and deterministic optimistic subtree reconciliation for React 19 Server Actions. Guarantees deduplicated backend execution during edge network retransmissions and eliminates optimistic UI layout shifts or dropped state transitions during server reconciliation.

#frontend#react19#server-actions#optimistic-ui#idempotency#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

BPF-LSM Dynamic Container Capability Fencing & Syscall Mediation Standard

Mandates in-kernel eBPF LSM mediation hooks over static seccomp profiles to enforce dynamic, phase-aware capability fencing and syscall authorization for containerized workloads. Tracks container cgroups to enforce strict phase transitions directly in kernel memory, eliminating TOCTOU race conditions and neutralizing privilege-escalation vectors at runtime.

#security#ebpf#bpf-lsm#containers#kernel#privilege-escalation
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE In-Memory X.509 SVID Continuous Rotation Fence

Mandates dynamic, memory-only consumption of sub-hour ephemeral X.509 SVIDs via the SPIFFE Workload API Unix Domain Socket (UDS). Prohibits writing private keys or certificates to persistent storage, preventing credential leakage in zero-trust mesh architectures. Enforces real-time TLS SecureContext hot-swapping without connection termination or process restarts.

#security#spiffe#spire#zero-trust#mtls#x509#svid
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Graph Evaluation Depth and Cyclic Tuple Resolution Boundary

Zanzibar-style authorization models are susceptible to algorithmic Denial of Service (DoS) and stack exhaustion via deeply nested group hierarchies or self-referential cyclic relationship tuples. This rule enforces deterministic graph evaluation bounds through strict max-depth traversal budgets, cycle detection caches, and contextual check timeouts at both model definition and client evaluation layers.

#security#openfga#authorization#zanzibar#dos-prevention#graph-algorithms
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Hybrid Cross-Device Ephemeral Nonce & Session-Binding Replay Guardrail

Mandates cryptographic binding, atomic single-use consumption, and strict ephemeral rotation (TTL <= 60s) for FIDO hybrid cross-device authentication sessions. Enforces zero-trust QR payload generation tied directly to the initiator's TLS-bound session to neutralize MITM relay attacks and stale credential harvesting.

#security#webauthn#passkeys#fido2#mitm-prevention#replay-protection
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Client-Side Zero-Knowledge Storage Invariant

Enforces zero-knowledge local storage encryption derived via WebAuthn PRF (Pseudo-Random Function) extension hardware seeds. Mandates transient in-memory derivation, strict domain separation via HKDF, total prevention of PRF output leakage to backend servers, and non-extractable CryptoKey management.

#security#webauthn#prf-extension#zero-knowledge#web-crypto#e2ee
ACTIVE INVARIANTsecurity
View Rule Spec

FedCM Enterprise Identity Isolation and Origin Guardrail

Enforces strict browser-mediated Federated Credential Management (FedCM) protocols across enterprise Relying Parties (RP) and Identity Providers (IdP). Eliminates fallback reliance on degraded third-party storage access or silent iframe redirect chains by anchoring cross-origin session initialization to validated FedCM manifest trust boundaries and explicit user-mediated credential assertions.

#security#fedcm#identity#authentication#browser-security#oauth2#oidc
ACTIVE INVARIANTsecurity
View Rule Spec

W3C Device Bound Session Credentials (DBSC) Hardware-Enforced Cryptographic Rotation Invariant

Enforces strict server-side validation and lifecycle management of W3C Device Bound Session Credentials (DBSC) to neutralize infostealer-driven cookie hijacking. Binds short-lived session cookies to hardware-backed TPM or Secure Enclave asymmetric keypairs per origin via cryptographic challenge-response rotations. Mandates verification of single-use challenge nonces and proof-of-possession signatures before refreshing or honoring session states.

#security#dbsc#cryptography#infostealer-prevention#session-management#w3c
ACTIVE INVARIANTsecurity
View Rule Spec

Wasmtime Capability-Based Component Model Zero-Trust Isolation Standard

Enforces deterministic capability-based security across all WebAssembly Component Model runtimes using Wasmtime. Untrusted guest extensions are strictly isolated from ambient POSIX capabilities, host filesystems, environment variables, and raw sockets through explicitly mediated WASI 0.2 interfaces and rigid resource limits.

#security#wasmtime#wasm#wasi#component-model#sandboxing#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum Cryptography (ML-KEM/Kyber) TLS 1.3 Mandate

Enforces post-quantum hybrid key exchange (ML-KEM/Kyber with classical elliptic curves) on all TLS 1.3 ingress and egress communication channels. Defends against 'Harvest Now, Decrypt Later' (HNDL) adversarial operations targeting enterprise APIs and data-in-transit boundaries. Disallows legacy TLS protocols (< 1.3) and classical-only key agreement configurations across all perimeter endpoints.

#security#cryptography#tls#post-quantum#kyber#ml-kem#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

SLSA Build Level 3 In-Toto & Sigstore Cosign Provenance Verification Gate

Mandates cryptographic verification of hermetic build provenance (SLSA Build Level 3) using in-toto attestations and Sigstore Cosign keyless signatures prior to deploying workloads to container runtimes. Guarantees that production images originate strictly from authorized, tamper-evident CI/CD pipelines with immutable Rekor transparency log proofs, preventing runner poisoning and unauthorized binary deployment.

#security#slsa-l3#sigstore#cosign#in-toto#supply-chain-security#admission-controller#rekor
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO Device-Bound Session Credentials (DBSC) Hardware Token Invariant

Enforces cryptographic binding of HTTP session credentials to client-side hardware keystores (TPM 2.0 or Apple Secure Enclave) according to the W3C/IETF Device-Bound Session Credentials (DBSC) specification. Eliminates infostealer malware extraction and adversary-in-the-middle session hijacking by issuing ultra short-lived transactional cookies that can only be refreshed via hardware-signed proof-of-possession challenges.

#security#dbsc#fido#tpm#session-hijacking#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Kernel-Witnessed Hermetic Build Provenance & In-Toto v1.0 Attestation Guardrail

Enforces non-falsifiable SLSA v1.0 provenance generation via continuous kernel-level build tracing (eBPF/auditd). Mandates that in-toto build attestations derive directly from verified kernel syscall trees (process lineage, file I/O, network socket isolation) rather than unauthenticated user-space build scripts or ambient environment variables.

#security#slsa-v1#in-toto#ebpf#supply-chain#provenance#hermetic-builds
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce Hybrid Post-Quantum TLS 1.3 ML-KEM/X25519 Ingress Negotiation

Shields enterprise communications against harvest-now, decrypt-later (HNDL) attacks by enforcing dual-key encapsulation mechanisms at cloud edge terminators. Ingress listeners must prioritize hybrid ML-KEM-768 with classical X25519 key exchange over TLS 1.3 while deprecating pure classical ephemeral curves without PQ encapsulation.

#security#post-quantum#cryptography#tls13#ml-kem#x25519#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic eBPF LSM Socket Bind and Connect Zero-Trust Boundary Standard

Enforces kernel-level egress and ingress network isolation using eBPF Linux Security Module (LSM) hooks without reliance on sidecar proxy redirection. Mandates deterministic container cgroup identification, safe BTF CO-RE socket dereferencing, dual-stack IPv4/IPv6 normalization, and fail-closed evaluation within socket lifecycle entry points.

#security#ebpf#lsm#kernel#zero-trust#cgroups#co-re
ACTIVE INVARIANTfrontend
View Rule Spec

Vite 6 Module Federation Isolated Dependency Singleton Standard

Enforces strict singleton configuration and shared dependency isolation across Vite 6 federated remotes and hosts using modern Module Federation. Prevents dual-engine runtime collisions, broken React Context trees, invalid hook invocations, and desynchronized state stores caused by unconstrained ESM bundle resolution.

#frontend#vite6#module-federation#micro-frontends#singleton#react
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 Device Public Key (DPK) Hardware-Bound Attestation Invariant

Enforces cryptographic binding of WebAuthn passkey assertion ceremonies to physical endpoint hardware state using the W3C devicePubKey extension and TPM/Secure Enclave attestation. Prevents enterprise compromise from synced passkey exfiltration across unmanaged personal devices by validating hardware-rooted device identity on every authentication ceremony.

#security#webauthn#fido2#device-public-key#tpm#passkeys#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 RFC 9449 DPoP Cryptographic Token Binding Invariant

Enforces strict implementation of OAuth 2.0 Demonstrating Proof-of-Possession (DPoP, RFC 9449) across authorization servers and resource servers. Eliminates credential exfiltration vulnerabilities by cryptographically binding access and refresh tokens to client-held ephemeral asymmetric keys, strictly verifying the ath hash, htm method, htu URI, and jwk thumbprint matching the token's cnf.jkt claim.

#security#oauth2#dpop#rfc9449#cryptography#jwt#sender-constrained
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Client-Side Zero-Knowledge Symmetric Key Derivation Standard

Enforces strict client-side evaluation of WebAuthn Pseudo-Random Function (PRF) extension inputs to derive deterministic symmetric encryption keys directly within client memory. Mandates that raw PRF outputs and derived key material are never exposed to the authentication backend, ensuring hardware-bound zero-knowledge encryption guarantees.

#security#webauthn#prf#zero-knowledge#web-crypto#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

FAPI 2.0 Sender-Constrained mTLS Certificate-Bound Token Enforcement

Enforces FAPI 2.0 Security Profile and RFC 8705 sender-constrained token invariants by cryptographically binding access tokens to the client TLS certificate. Mandates that resource servers reject requests where the SHA-256 thumbprint of the presented client certificate fails to match the token's confirmation claim ('cnf.x5t#S256').

#security#fapi2#oauth2#mtls#rfc8705#sender-constrained#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Dynamic I/O Async Request Context Unwrapping Invariant

Under Next.js 15's Dynamic I/O execution model, request-bound contexts (`cookies()`, `headers()`, `params`, `searchParams`) yield asynchronous promises that must be consumed through granular boundaries. Unconditional top-level awaiting or premature promise unwrapping in layout or page shells blocks prerender waterfalls, invalidates Partial Prerendering (PPR), and triggers cross-request data pollution. Strict leaf-node unwrapping wrapped in explicit React Suspense boundaries is mandated to preserve static pre-generation guarantees.

#frontend#nextjs#react-server-components#dynamic-io#partial-prerendering
ACTIVE INVARIANTsecurity
View Rule Spec

W3C FedCM Assertion Sandboxing & Anti-Tracking Guardrail

Enforces strict origin isolation, cryptographic nonce binding, and deterministic timing protections when interacting with the W3C Federated Credential Management (FedCM) API. Eliminates silent cross-site timing deanonymization while maintaining Enterprise SSO session continuity without fallback to third-party or partitioned cookies.

#security#fedcm#identity#authentication#oidc#privacy#web-crypto
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic-Static Boundary Quarantine & Context Isolation

Enforces strict isolation between edge-cached static shells and runtime dynamic segments under Next.js 15 Partial Prerendering (PPR). Prevents request-bound primitives like cookies, headers, and authentication claims from leaking into statically prerendered ASTs, and ensures dynamic data holes are strictly enclosed within explicit React Suspense boundaries.

#frontend#nextjs#react-server-components#partial-prerendering#security
ACTIVE INVARIANTsecurity
View Rule Spec

Mandating RFC 9449 Demonstrating Proof-of-Possession (DPoP) Cryptographic Binding

RFC 9449 DPoP tethers OAuth 2.0 access and refresh tokens to an ephemeral, client-held asymmetric key pair, rendering exfiltrated bearer tokens unusable without the private key. Resource servers and OAuth clients must strictly validate the DPoP proof header (`typ: dpop+jwt`), bound thumbprint (`jkt`), HTTP method, URI target (`htu`/`htm`), and anti-replay nonces (`jti` and server-issued nonces).

#security#oauth2#rfc9449#dpop#jwt#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce Sigstore Cosign Keyless OIDC Container Attestations & Transparency Log Verification

Eliminates long-lived CI/CD cryptographic private keys by enforcing ephemeral Fulcio-issued x509 certificate signing anchored in the Rekor transparency log. Mandates Kubernetes admission controllers verify the immutable OIDC issuer, Subject Alternative Name (SAN), Rekor inclusion proof, and in-toto provenance attestations before pod scheduling.

#security#sigstore#cosign#kubernetes#supply-chain#admission-controller#rekor#fulcio
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Zero-Knowledge Client Key Derivation Standard

Enforces strict client-side evaluation and non-extractable isolation of deterministic cryptographic keys derived via the WebAuthn PRF (Pseudo-Random Function) extension. Guarantees that authenticator-derived seeds, intermediate outputs, and derived encryption keys never leak into relying party network payloads, DOM storage, or extractable memory contexts.

#security#webauthn#prf#zero-knowledge#cryptography#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Contextual Tuple Cryptographic TTL and Replay Guardrail

Mandates that all contextual tuples injected into OpenFGA Check and ListObjects queries originate from cryptographically verified ephemeral grants with strict time-to-live (TTL) bounds and replay verification. Prevents privilege escalation and persistent authorization bypasses caused by passing arbitrary, stale, or replayed dynamic authorization tuples directly into OpenFGA evaluation pipelines.

#security#openfga#authorization#rebac#zero-trust#ttl#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Recursive Tuple Evaluation Budget & Traversal Depth Invariant

Deeply nested authorization graphs and cyclic relation tuples can trigger unbounded recursive tree traversals during OpenFGA evaluation, precipitating CPU starvation and cascading denial-of-service vulnerabilities. Systems must strictly enforce relationship traversal depth ceilings, resolve-node evaluation limits, and bounded contextual tuple arrays across both server runtime configurations and client SDK call sites.

#security#openfga#rebac#authorization#dos-prevention#graph-traversal
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium Tetragon BPF-LSM Synchronous Container Escape Mitigation Standard

Enforces synchronous kernel-level process termination using Tetragon TracingPolicies backed by BPF-LSM hooks whenever unauthorized namespace manipulation syscalls (e.g., setns, unshare) are invoked. Replaces asynchronous userspace audit-and-kill pipelines with in-kernel SIGKILL enforcement executed prior to namespace context swapping.

#security#ebpf#cilium-tetragon#bpf-lsm#container-security#kubernetes
ACTIVE INVARIANTsecurity
View Rule Spec

W3C Device Bound Session Credentials (DBSC) Hardware-Bound Attestation Guardrail

Enforces W3C Device Bound Session Credentials (DBSC) to bind HTTP sessions to platform hardware security modules (Apple Secure Enclave, Windows TPM, Android StrongBox). Neutralizes session cookie exfiltration (infostealers, AiTM proxies) by requiring cryptographic proof-of-possession (PoP) signatures for session establishment, sensitive operations, and cookie refresh cycles. Rejects any session renewal or high-privilege action that relies purely on bearer cookies without verifying asymmetric hardware key signatures and nonce freshness.

#security#dbsc#tpm#secure-enclave#session-hijacking#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

IETF SD-JWT Key Binding Nonce & Digest Replay Prevention Guardrail

Verifiers processing IETF SD-JWT presentations must enforce strict validation of Key Binding JWTs (KB-JWT), matching the presentation's sd_hash against the serialized SD-JWT disclosures and verifying a high-entropy, verifier-generated nonce via atomic single-use consumption. Failing to enforce ephemeral nonce lifecycle semantics exposes claim-level cryptographic digests to cross-verifier correlation attacks and replay forgery.

#security#sd-jwt#decentralized-identity#replay-prevention#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Zanzibar Relation Cycle & Depth Fencing Standard

Enforces strict traversal-depth caps and non-reentrant visited-set circuit breakers across recursive Zanzibar relationship graph evaluations. Prevents catastrophic denial of service (DoS), infinite cycle loops, and thread starvation in authorization checks across nested organizational and resource hierarchies. Guarantees deterministic, sub-millisecond access evaluation bounds through defensive client-side fences and OpenFGA query resolution ceilings.

#security#openfga#authorization#zanzibar#rebac#graph-theory
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Dynamic IPC Capability Canonical Path Resolution

Enforces strict canonical path resolution and cryptographically verified runtime scope enforcement for Tauri 2.0 IPC invocations involving filesystem access. Eliminates symlink-based path traversal and Time-of-Check to Time-of-Use (TOCTOU) exploits by validating fully resolved, real canonical paths against authorized capability scopes on the Rust backend prior to executing any file I/O operations.

#security#tauri-2#ipc#path-traversal#symlinks#rust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Bound Device-State Verification & Downgrade Prevention

Enforces strict server-side validation of WebAuthn authenticator data bitwise flags (User Presence, User Verification, Backup State) during step-up and high-assurance transactions. Prohibits silent downgrade or exception-driven fallback to phishing-susceptible legacy factors (e.g., SMS OTP, standard TOTP) once a bound credential has been enrolled.

#security#webauthn#fido2#passkeys#authentication#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA CDC Eventual Consistency Barrier & Contextual Fencing

Enforces transactional fencing tokens and contextual tuple injection during authorization checks in distributed CQRS architectures. Prevents stale authorization exploits and unauthorized window execution caused by Change Data Capture (CDC) replication lag between the write model and OpenFGA tuple stores.

#security#openfga#authorization#cqrs#cdc#distributed-systems#consistency
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Hybrid Transport Cross-Device BLE Proximity and Channel-Binding Guardrail

Enforces strict proximity and cryptographic channel-binding verification for WebAuthn hybrid transport (caBLE / QR code cross-device flows). Defeats hybrid Adversary-in-the-Middle (AitM) phishing proxies by validating authenticator data flags, immutable RP ID hashes, ephemeral session key bindings, and transport-layer attestation boundaries.

#security#webauthn#passkeys#hybrid-transport#cable#fido2#anti-phishing
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Extension Zero-Knowledge Client Key Derivation Standard

Mandates strict zero-knowledge client-side key derivation from WebAuthn PRF (pseudo-random function) extension outputs. Enforces fail-closed validation for non-supporting authenticators, memory zeroization of raw PRF output buffers, non-extractable WebCrypto key imports, and explicit exclusion of cryptographic derivation artifacts from relying party network payloads.

#security#webauthn#prf-extension#zero-knowledge#cryptography#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

Tetragon eBPF Call-Stack Syscall Anomaly Guardrail

Enforces strict eBPF TracingPolicy definitions in Cilium Tetragon to validate userspace and kernel call stacks prior to authorizing execve and execveat syscalls. Detects and neutralizes ROP/JOP payloads, reflective code loading, and container breakouts by terminating processes executing syscalls outside verified text segments or inside writable memory ranges.

#security#ebpf#tetragon#kubernetes#runtime-security#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional UI Authenticator Binding Attestation Standard

Mandates cryptographic binding of WebAuthn Conditional UI assertions to origin-scoped, ephemeral device trust sessions. Prevents cross-context assertion replay, credential relaying, and passkey autofill session fixation by enforcing strictly consumed nonces, exact origin validation, and mandatory user verification.

#security#webauthn#passkeys#authentication#conditional-ui#fido2
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Hole Isolation and Request Context Boundary Guardrail

Enforces strict physical boundary separation between static prerender shells and dynamic streaming holes under Next.js 15 Partial Prerendering (PPR). Prevents dynamic APIs such as cookies(), headers(), and authenticated session resolution from de-optimizing static prerender shells or leaking request-scoped identity artifacts into globally cached assets.

#nextjs#nextjs15#ppr#react-server-components#suspense#security#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

Strict Origin and RP ID Cryptographic Binding for WebAuthn Conditional UI

Enforces strict canonical Origin and Relying Party Identifier (RP ID) validation during passkey authentication, specifically under WebAuthn Conditional UI (autofill) flows. Mandates that server-side ceremony verifiers evaluate cryptographically bound client data against hardcoded or strictly allowlisted canonical origins rather than dynamic Host/Origin HTTP request headers, mitigating reverse-proxy interception and MitM credential harvesting.

#security#webauthn#fido2#passkeys#authentication#mitm-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium eBPF Kernel mTLS Decoupling with SPIFFE Pod Attestation Standard

Enforces cryptographic mTLS handshake decoupling into node-level Cilium agents using kernel-space eBPF redirection while maintaining cryptographic zero-trust identity via SPIRE/SPIFFE attestation. Eliminates vulnerable user-space sidecar proxies and private key leakage by delegating authentication verification to the kernel-attested node infrastructure.

#security#cilium#ebpf#spiffe#spire#mtls#zero-trust#kubernetes
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Real-Time OpenFGA Contextual Tuple Graph Resolution at Gateway

Enforces real-time Relationship-Based Access Control (ReBAC) authorization checks via OpenFGA at the API gateway layer to eliminate stale JWT claims and privilege escalation windows. Mandates the dynamic injection of ephemeral request attributes as contextual tuples into OpenFGA check evaluations rather than relying on cached, static token scopes or mutable client state.

#security#openfga#rebac#authorization#zero-trust#api-gateway
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce WebAuthn PRF Zero-Knowledge Key Derivation and Conditional Mediation Hygiene

Enforces zero-knowledge client-side encryption architectures utilizing WebAuthn Pseudo-Random Function (PRF) extensions and Conditional Mediation. Guarantees that authenticator-derived symmetric roots are never exposed to the server, never persisted unencrypted in local storage, and strictly isolated as non-extractable cryptographic keys.

#security#webauthn#passkeys#prf-extension#zero-knowledge#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 RSC Taint Boundary Enforcement for Secrets and Sensitive Domain Entities

Enforces strict runtime serialization barriers across the React Server Component (RSC) boundary using React 19's taint APIs to prevent credentials, secrets, and raw database entities from crossing into Client Components. Mandates immediate tainting of sensitive values and object references at the data-access layer alongside explicit Data Transfer Object (DTO) projections. Eliminates accidental exposure through prop spreading, implicit serialization, or Server Action returns.

#frontend#react-19#rsc#taint-api#security#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce TLS 1.3 Hybrid Post-Quantum ML-KEM Key Encapsulation

Enforces hybrid classical and post-quantum key encapsulation (X25519MLKEM768 / SecP256r1MLKEM768) across all TLS 1.3 edge terminators, reverse proxies, and microservice clients. Defends ingress and egress channels against 'Harvest Now, Decrypt Later' (HNDL) adversarial vectors by disallowing pure classical elliptic curve key exchanges and mandating modern cryptographic library configurations.

#security#tls#cryptography#post-quantum#ml-kem#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Hardware-Isolated Key Derivation and Memory Sanitization Standard

Enforces strict hardware-isolated key derivation and ephemeral memory zeroization for WebAuthn Level 3 Pseudo-Random Function (PRF) extension implementations. Guarantees that derived symmetric keys remain non-extractable in WebCrypto SubtleCrypto boundaries, zero-knowledge domain separation salts are cryptographically robust, and ephemeral assertion buffers are wiped immediately to prevent memory scraping.

#security#webauthn#prf#passkeys#webcrypto#zero-knowledge#hardware-security
ACTIVE INVARIANTsecurity
View Rule Spec

Cosign Ephemeral Keyless Attestation and OIDC Identity Pinning

Enforces strict cryptographic verification of short-lived Fulcio X.509 certificates and Rekor transparency log entries for all container images and software artifacts. Prevents supply chain spoofing by mandating exact matches on the Subject Alternative Name (SAN) certificate identity and OIDC issuer URL, forbidding unpinned or static key-based verification.

#security#sigstore#cosign#supply-chain#attestation#rekor#fulcio
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Zero-Knowledge Hardware Key Derivation Standard

Enforces client-side zero-knowledge encryption using WebAuthn Level 3 Pseudo-Random Function (PRF) extension outputs (HMAC-SHA-256) combined with HKDF for symmetric key derivation. Guarantees that raw PRF outputs and derived symmetric encryption keys never traverse network boundaries, remain strictly scoped to hardware authenticator bounds, and use ephemeral salt challenges to prevent replay and key-reuse vulnerabilities.

#security#webauthn#prf-extension#zero-knowledge#cryptography#hkdf#aes-gcm
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 DPoP Nonce Validation & Ephemeral Proof Replay Fence

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) binding across OAuth 2.1 authorization servers and resource servers. Mandates strict cryptographic verification of the public key thumbprint (jkt), proof replay neutralization via distributed atomic single-use JTI fences, explicit HTTP method and normalized URI binding, and cryptographic server-nonce rotation.

#security#oauth2#dpop#rfc9449#replay-prevention#zero-trust#distributed-systems
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Static Shell Isolation & Dynamic Boundary Guardrail

Enforces strict encapsulation of dynamic runtime primitives (cookies(), headers(), searchParams) within dedicated React Suspense boundaries when targeting Next.js 15 Partial Prerendering (PPR). Guarantees that root layouts and marketing chrome are compiled to immutable static HTML at the edge, eliminating runtime cache de-optimization and route-level dynamic bailout.

#frontend#nextjs#react-19#partial-prerendering#suspense#edge-cache#web-vitals
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Microsegmentation X.509 SVID Auto-Rotation Standard

Enforces sub-hour automated cryptographic identity rotation for containerized services across multi-cloud meshes via the SPIFFE Workload API. Eliminates long-lived TLS certificates and static credentials by mandating streaming in-memory mTLS credential renewal without process restarts or disk-persisted private keys.

#security#spiffe#spire#mtls#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

FedCM & Passkey Conditional Mediation Replay Defense via Distributed Atomic Nonce Ring Buffers

Enforces mandatory single-use cryptographic nonce validation within clientDataJSON for Federated Credential Management (FedCM) and Passkey Conditional UI flows. Requires server-side verification to atomically consume assertion nonces against a distributed TTL-bounded ring buffer (e.g., Redis atomics) to definitively prevent cross-origin relay and replay attacks during silent browser identity assertions.

#security#webauthn#passkeys#fedcm#replay-prevention#distributed-systems#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Atomic Conditional Tuple Mutation and Consistency Standard

Enforces atomic batch execution and strict consistency preferences for OpenFGA relationship tuple mutations involving conditional grants. Eliminates privilege escalation windows, lockouts, and authorization leaks during high-concurrency ReBAC lifecycle transitions across distributed decision points.

#security#openfga#rebac#authorization#distributed-systems#concurrency
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 WebAuthn Canonical Origin & Discovery Attestation Invariant

Enforces cryptographic and exact validation of clientDataJSON origin strings against immutable server-side discovery manifests and canonical RP origin sets during FIDO2/WebAuthn ceremonies. Prevents adversary-in-the-middle (AiTM) reverse-proxy phishing and credential relay attacks by eliminating dynamic host header derivations, loose regexes, and unverified multi-tenant origin reflections.

#security#webauthn#fido2#passkeys#aitm-mitigation#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Dynamic Hole Boundary Isolation

Enforces strict React Suspense encapsulation and dynamic context isolation for Next.js 15 Partial Prerendering (PPR) routes. Prevents dynamic APIs (cookies, headers, uncached fetches) from escaping leaf boundaries and deoptimizing the pre-rendered static shell into blocking dynamic server rendering.

#nextjs#nextjs-15#ppr#react-suspense#streaming#web-performance
ACTIVE INVARIANTsecurity
View Rule Spec

OpenTelemetry Baggage PII Redaction & Byte-Budget Envelope Standard

Enforces strict payload byte-budget caps and automated PII/credential sanitization on OpenTelemetry W3C Baggage entries. Unrestricted baggage propagation induces downstream HTTP 431 Request Header Fields Too Large outages via header amplification and leaks sensitive data across service trust boundaries.

#security#opentelemetry#observability#distributed-tracing#pii-masking#dos-prevention
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Action Idempotency Key Guardrail

Enforces deterministic deduplication of state mutations across React 19 Server Actions interacting with optimistic UI transitions. Unmanaged optimistic rollbacks and automatic form resubmissions cause duplicate side-effects (e.g., double billing, duplicate records) across asynchronous network boundaries. All mutating Server Actions MUST require and validate client-generated UUIDv7 or cryptographic idempotency keys cached in a distributed transactional store.

#frontend#react-19#server-actions#idempotency#nextjs#distributed-transactions
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Zero-Knowledge Client-Side Key Derivation Standard

Enforces strict client-side key derivation using the WebAuthn Pseudo-Random Function (PRF) extension (HMAC-secret) to derive hardware-bound symmetric encryption keys directly within the client sandbox. Prohibits transmission of PRF raw outputs, unhashed inputs, or derived master keys to remote backends, maintaining strict zero-knowledge security guarantees against server-side credential escrow vulnerabilities.

#security#webauthn#prf#zero-knowledge#cryptography#passkeys#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Real-Time Contextual Tuple Evaluation and Read-Amplification Invariant

Enforces deterministic, sub-millisecond relationship authorization decisions by leveraging ephemeral OpenFGA contextual tuples at check time rather than persisting transient state to datastores. Mitigates recursive graph read amplification and database write churn while enforcing strict bounds on contextual tuple payload size.

#security#openfga#authorization#rebac#zanzibar#latency-optimization
ACTIVE INVARIANTsecurity
View Rule Spec

W3C Device Bound Session Credentials (DBSC) TPM/Enclave Invariant Standard

Enforces strict server-side validation and client-side lifecycle management for W3C Device Bound Session Credentials (DBSC). Protects against session hijacking, adversary-in-the-middle (AitM) attacks, and malware infostealer cookie exfiltration by cryptographically binding HTTP session cookies to a public key anchored in the device's hardware security module (TPM or Apple Secure Enclave). Requires rigorous verification of session challenge-response JWT proofs, short-lived cookie lifetimes, and atomic session termination upon signature or challenge mismatch.

#security#dbsc#cryptography#authentication#tpm#secure-enclave
ACTIVE INVARIANTsecurity
View Rule Spec

Short-Lived SPIFFE X.509 SVID Attestation and In-Memory Rotation Gate

Eliminates static secrets and long-lived credentials by enforcing dynamic, sub-minute X.509 SVID identity issuance through the SPIRE Workload API. Mandates stream-backed in-memory TLS context rotation over local UNIX domain sockets with strict SPIFFE ID SAN validation, explicitly barring certificate caching to persistent disk storage.

#security#spiffe#spire#zero-trust#mtls#x509#microsegmentation
ACTIVE INVARIANTsecurity
View Rule Spec

FedCM Multi-IdP Disconnect & Auto-Reauth Token Boundary Enforcement

Enforces cryptographically bound nonces, explicit IdentityCredential.disconnect invocations upon session revocation, and strict mediation policy controls across Multi-IdP FedCM flows. Prevents cross-account token fixation, unauthenticated auto-reauth bypasses, and cross-site tracking across federated identity boundaries.

#security#fedcm#identity#authentication#web-crypto#oauth-oidc
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Rekor In-Toto Attestation & Ephemeral OIDC Verification Standard

Mandates strict cryptographic provenance verification of keyless Sigstore signatures, Rekor transparency log inclusion proofs, and In-Toto attestations before container image admission. Validates short-lived Fulcio X.509 certificates against sub-second ephemeral OIDC claims to prevent supply-chain spoofing, compromised long-lived credentials, and admission of unverified container digests.

#security#sigstore#rekor#cosign#in-toto#supply-chain#kubernetes-admission#oidc
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Component Cryptographic & Credential Taint Boundary Invariants

Enforces strict cryptographic and identity isolation by utilizing React 19's experimental taint APIs alongside server-only boundary declarations. Prevents accidental serialization of raw user records, API keys, and sensitive tokens across the React Server Components (RSC) Flight protocol payload boundary to client components. Mandates explicit data projection patterns to sanitize all payloads traversing the server-client boundary.

#frontend#react19#rsc#security#taint-api#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Cryptographic Verification for Ephemeral OpenFGA Contextual Tuples

Enforces asymmetric Ed25519 or HMAC-SHA256 signature verification on all client-provided contextual tuples before passing them to OpenFGA check evaluations. Unsigned or arbitrary contextual claims allow untrusted clients to synthesize ad-hoc relationship assertions (e.g., dynamic roles, tenant elevation) and bypass fine-grained access control boundaries.

#security#openfga#authorization#cryptography#zero-trust#ed25519
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF LSM bprm_creds_for_exec Ephemeral Binary Lockdown

Intercepts kernel bprm_creds_for_exec hooks via eBPF Linux Security Modules (LSM) to enforce immutable execution boundaries within zero-trust distroless containers. Prevents post-exploitation arbitrary binary execution, fileless payload spawning via memfd_create, and runtime process drift by enforcing cryptographic hash verification or strict cgroup-pinned execution allowlists in ring 0. Enforces immediate kernel-level denial with -EPERM and zero-allocation ringbuffer telemetry before process credential transitions finalize.

#security#ebpf#lsm#kernel#zero-trust#container-hardening
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Linearizable ReBAC Evaluation & Contextual Cache Invalidation

Guarantees linearizable relationship-based access control (ReBAC) evaluations across distributed caches without introducing read-after-write authorization race conditions. Mandates strict consistency fences, contextual tuple propagation on in-flight mutations, and deterministic cache invalidation boundaries.

#security#openfga#rebac#zanzibar#cache-consistency#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Capability-Based WASI 0.2 Sandboxing for Multi-Tenant Runtimes

Enforces strict capability-based isolation for WASI 0.2 (Preview 2) Component Model runtimes embedded in multi-tenant services. Mandates zero ambient authority inheritance by forbidding default host filesystem, socket, and stdio bindings, requiring isolated per-tenant WasiCtx instances with explicit resource table quotas, fuel limits, and epoch interruption.

#security#wasm#wasi-preview-2#wasmtime#sandboxing#multi-tenant
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Hybrid Transport Cross-Device Relay and Session-Pinning Guardrail

Enforces cryptographic client-data verification and ephemeral session-binding invariants during WebAuthn cross-device (hybrid/caBLE) authentication. Prevents adversary-in-the-middle (AiTM) QR-code passkey relay attacks by mandating strict origin pinning, server-side challenge-to-session tying, and crossOrigin flag validation.

#security#webauthn#passkeys#fido2#hybrid-transport#relay-defense#origin-binding
ACTIVE INVARIANTsecurity
View Rule Spec

OpenID Federation 1.0 Trust Chain Dynamic Resolution and Proof-of-Possession

Enforces dynamic, cryptographic trust verification for cross-domain identity assertions using OpenID Federation 1.0 trust chains, strictly eliminating long-lived, static OAuth client secrets across multi-cloud meshes. Requires recursive cryptographic validation of signed Entity Statements up to an explicitly pinned Trust Anchor, paired with ephemeral asymmetric Proof-of-Possession (PoP) DPoP/mTLS key-binding.

#security#oauth2#openid-federation#trust-chain#proof-of-possession#jwt#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional UI Mediation and Replay-Resistant Challenge Standard

Enforces cryptographic replay resistance and atomic invalidation for WebAuthn autofill (Conditional Mediation) flows. Prevents credential stuffing, passkey enumeration, and token replay attacks by strictly binding autofill credentials to single-use, server-anchored ephemeral challenges tied to an authenticated session state.

#security#webauthn#fido2#passkeys#replay-attack#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Modular Schema Migration and Staged Dual-Model Deployment Invariant

Enforces backward-compatible Relationship-Based Access Control (ReBAC) evaluations across distributed OpenFGA topologies during modular schema evolution. Prohibits in-place relation deprecation and immediate default authorization model re-pointing without dual-writing tuples and executing staged shadow-evaluation phases. Eliminates transient authorization denial-of-service, split-brain graph resolution, and privilege escalation during asynchronous multi-region cutovers.

#security#openfga#rebac#authorization#schema-migrations#distributed-systems
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Streaming Shell & Dynamic Context Isolation Invariant

Enforces strict structural boundaries between static CDN-cacheable shells and dynamic user-context suspense holes under Next.js 15 Partial Prerendering (PPR). Prevents dynamic request APIs (cookies, headers, authentication session tokens) from bubbling up to the static prerender phase, eliminating edge cache poisoning and authentication context leaks.

#nextjs#nextjs-15#partial-prerendering#ppr#react-19#security#caching#edge
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Graph Traversal Budgeting and Deadlock Prevention Standard

Enforces strict upper bounds on OpenFGA graph expansion depth, query budgets, and contextual tuple payloads during real-time authorization checks. Eliminates recursive relationship exhaustion and cascading distributed database deadlocks across high-throughput check pipelines by mandating deterministic timeouts, concurrency bounding, and pre-evaluated contextual assertions.

#security#openfga#authorization#distributed-systems#concurrency
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Component Model Capability Isolation Standard

Enforces strict principle-of-least-privilege capability passing for WASI 0.2 dynamic tenant plugins via Wasmtime/Wasm-tools runtime bindings. Mandates virtualized in-memory root filesystems without host directory passthroughs, explicit outbound HTTP authority delegation, and complete isolation of clocks, environment variables, and pre-opened descriptor handles.

#security#webassembly#wasi-02#component-model#sandboxing#rust#wasmtime
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 Passkey Conditional UI DOM Overlay Isolation and Mediation Standard

Enforces strict DOM Shadow Boundary isolation and explicit cryptographic mediation for WebAuthn Conditional Mediation (`navigator.credentials.get` with conditional mediation). Mitigates passkey autofill hijacking, credential exfiltration via third-party DOM scripts, and clickjacking overlay attacks on WebAuthn-enabled input elements.

#security#fido2#webauthn#passkeys#dom-isolation#clickjacking#shadow-dom
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Async Request Context Unwrapping and Request-Scope Isolation

Next.js 15 converts dynamic server APIs (cookies, headers, params, and searchParams) into asynchronous promises to optimize edge rendering and Partial Prerendering (PPR). Accessing these APIs synchronously or leaking request context into module-scoped variables causes cross-request data contamination and race conditions in concurrent runtimes.

#frontend#nextjs#react-server-components#edge-runtime#concurrency#security
ACTIVE INVARIANTfrontend
View Rule Spec

Deterministic Search Param Validation & SSR Hydration Boundaries in TanStack Router v1

Mandates explicit runtime schema validation with bidirectional coercion (via Zod or Valibot) for all TanStack Router v1 route search parameters. Guarantees deterministic server-side serialization and client-side hydration by requiring fallback boundaries and `.catch()` defaults to prevent React SSR hydration mismatches and unhandled route crashes from malformed query strings.

#frontend#tanstack-router#ssr#hydration#zod#valibot#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Distributed Cache Invalidation and Read-After-Write Consistency Standard

Enforces strict read-after-write consistency across globally distributed OpenFGA evaluation caches by requiring transactional tuple mutations to emit monotonic epoch sequence barriers. Prevents stale authorization grants and unauthorized access propagation when distributed sidecar engines or evaluation caches evaluate relationships immediately after grant or revoke operations.

#security#openfga#authorization#distributed-systems#cache-invalidation#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum TLS 1.3 ML-KEM (Kyber) Hybrid Key Exchange Edge Invariant

Enforces mandatory dual classical and post-quantum hybrid key encapsulation (X25519MLKEM768 or X25519Kyber768Draft00) across all public-facing reverse proxies and edge ingress endpoints. Mitigates Store-Now-Decrypt-Later (SNDL) attacks by guaranteeing TLS 1.3 sessions are protected against future cryptanalytically relevant quantum computers while maintaining backward compatibility with legacy clients.

#security#cryptography#tls13#ml-kem#kyber#post-quantum#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Hardware-Bound Attestation and Enterprise Backup Flag Enforcement in WebAuthn Registration

Enforces strict Level 3 cryptographic hardware-bound attestation verification and authenticator data flag validation during WebAuthn passkey registration. Prohibits multi-device syncable credentials on corporate boundaries by asserting direct attestation trust roots via FIDO Metadata Service (MDS3) and strictly rejecting registrations with the Authenticator Backup Eligibility (BE) flag enabled. Guarantees non-exportable, hardware-isolated credential enrollment across zero-trust enterprise surfaces.

#security#webauthn#fido2#passkeys#cryptography#zero-trust#attestation
ACTIVE INVARIANTsecurity
View Rule Spec

OpenID Shared Signals and Events (CAEP/SSE) Ingress Revocation Standard

Enforces deterministic, sub-second token invalidation propagation and distributed session teardown across decoupled microservice perimeters upon receiving OpenID Continuous Access Evaluation Profile (CAEP) and Shared Signals and Events (SSE) webhook triggers. Mandates non-blocking cryptographic verification of Security Event Tokens (SETs), transactional cache denylisting with bounded TTLs, and cluster-wide revocation broadcasts via synchronized pub/sub backplanes. Prohibits lazy polling architectures and unauthenticated webhook endpoints that allow compromised credentials to remain valid within downstream services.

#security#caep#openid-sse#jwt-revocation#zero-trust#distributed-systems#microservices
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Granular IPC Capability & Scoped Permission Contract

Enforces strict compile-time remote procedure call capability binding and path/process scoping in Tauri 2.0. Eliminates arbitrary command execution, directory traversal, and unauthorized system access resulting from compromised or injected WebView scripts.

#security#tauri#rust#ipc#capabilities#least-privilege
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 DPoP Ephemeral Asymmetric Key-Bound Token Rotation Standard

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) across all microservice client interactions and ingress gateways. Every outbound request must cryptographically bind access and refresh tokens to an ephemeral, client-held asymmetric key pair with single-use nonce tracking and strict thumbprint confirmation (`cnf.jkt`). This strictly eliminates bearer token exfiltration, cross-service relay, and replay attacks.

#security#oauth2#rfc9449#dpop#cryptography#zero-trust#microservices
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF LSM Kernel-Boundary Container Breakout and Host Namespace Tampering Guardrail

Enforces synchronous, kernel-boundary authorization using eBPF Linux Security Module (LSM) hooks to block container breakout, host namespace tampering, and privilege escalation attempts before syscall commitment. Prohibits vulnerable tracepoint/kprobe-based non-blocking inspection and mandates CO-RE (Compile Once – Run Everywhere) namespace comparison with zero-allocation ring-buffer security auditing.

#security#ebpf#lsm#containers#linux-kernel#co-re#bpf-lsm
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Deterministic Zero-Knowledge Symmetric Key Derivation Guardrails

Enforces strict client-side isolation and standard-compliant key derivation when using the WebAuthn PRF (Pseudo-Random Function) extension. Ensures zero-knowledge client-side encryption by guaranteeing raw authenticator PRF outputs are never transmitted to relying parties and are rigorously expanded via HKDF into non-extractable Web Crypto keys.

#security#webauthn#prf-extension#zero-knowledge#hkdf#web-crypto#e2ee
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 RFC 9449 DPoP Cryptographic Proof-of-Possession Token Binding Standard

Enforces strict implementation of OAuth 2.0/2.1 Demonstrating Proof-of-Possession (DPoP) at the Application Layer (RFC 9449). Eliminates bearer token exfiltration and replay attacks by binding tokens to asymmetric client public key thumbprints and validating ephemeral request signatures against normalized URIs, HTTP methods, server nonces, and single-use JTI identifiers.

#security#oauth2#dpop#cryptography#jwt#rfc9449#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 Rich Authorization Requests (RFC 9396) Fine-Grained Assertion Guardrail

Eliminates privilege escalation and confused deputy vulnerabilities by replacing coarse OAuth 2.0 scopes with RFC 9396 Rich Authorization Requests (RAR). Mandates cryptographically sender-constrained access token verification with explicit, transactional equality and threshold validation between API request parameters and token authorization_details payloads.

#security#oauth2.1#rfc9396#rar#authorization#zero-trust#fintech
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium eBPF Identity-Aware WireGuard Transparent Mesh Encryption Standard

Enforces deterministic, kernel-space WireGuard encryption integrated with Cilium eBPF dynamic security identities across the cluster mesh. Eliminates user-space proxy encapsulation overhead and prevents IP spoofing by binding cryptographic keys to numeric Cilium identities and dropping unencrypted bypass traffic in the eBPF datapath.

#security#cilium#ebpf#wireguard#kubernetes#mesh-encryption#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum ML-KEM-768 Hybrid TLS 1.3 Handshake Enforcement

Enforces post-quantum hybrid key encapsulation (X25519MLKEM768 / SecP256r1MLKEM768) as mandatory supported groups across all enterprise TLS 1.3 client agents and server termination listeners. Mitigates harvest-now-decrypt-later (HNDL) cryptographic attacks by rejecting classical-only ephemeral key exchanges on high-assurance zero-trust mesh ingress and egress paths. Mandates deterministic configuration of FIPS 203 ML-KEM-768 hybrid groups with strict fallback prevention.

#security#post-quantum#fips-203#ml-kem-768#tls13#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Recursive Traversal Memoization & Cycle Guardrail

Enforces strict cycle detection, visited-set tracking, max-depth boundaries, and memoization for custom OpenFGA and ReBAC graph traversal evaluations. Prevents thread exhaustion, stack overflows, and algorithmic denial-of-service (DoS) caused by circular group memberships, nested relation sets, and combinatorial graph path explosions.

#security#openfga#rebac#authorization#cycle-detection#memoization#dos-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Conditional Mediation Cross-Origin Boundary Standard

Enforces strict cryptographic origin binding and Permission-Policy verification for WebAuthn Level 3 conditional UI mediation embedded in cross-origin frames. Mandates server-side validation of clientDataJSON crossOrigin and topOrigin attributes alongside deterministic AbortController lifecycle management to eliminate credential harvesting and autofill mediation races.

#security#webauthn#passkeys#conditional-ui#cross-origin#fido2
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Graph Evaluation Budget, Depth Limiting, and Cycle-Detection Standard

Unbounded recursive relation evaluation in fine-grained authorization (ReBAC) graphs induces algorithmic denial-of-service, goroutine/thread starvation, and cascading microservice failures. This standard mandates explicit evaluation budgets, hard relation traversal depth limits, visited-node cycle detection invariants, and deterministic context deadline timeouts across all OpenFGA client dispatchers and schema models.

#security#openfga#rebac#authorization#dos-prevention#graph-algorithms
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Hardware Key Derivation and Zero-Knowledge Storage Standard

Enforces cryptographic invariants when deriving client-side zero-knowledge encryption keys via the WebAuthn PRF (Pseudo-Random Function) extension. Requires non-extractable WebCrypto handles, HKDF domain separation, strict authenticator capability validation, and explicit zeroing of raw PRF output to prevent hardware-backed secrets from leaking to networks or storage.

#security#webauthn#prf-extension#zero-knowledge#cryptography#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

SLSA Build L3 Hermetic Provenance Attestation via Ephemeral OIDC Identity

Enforces isolated, bit-for-bit reproducible artifact builds and non-forgeable provenance attestation anchored in ephemeral OIDC workload identities (e.g., Sigstore Fulcio, GitHub Actions OIDC). Prevents supply-chain compromise by eliminating static signing keys and segregating the build execution environment from provenance generation and signing.

#security#slsa#supply-chain#provenance#oidc#cosign#sigstore
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Taint Object API Data-Boundary Leakage Guardrail

Enforces deterministic data-boundary isolation using React and Next.js 15 Taint APIs (`experimental_taintObjectReference` and `experimental_taintUniqueValue`) across all Data Access Layers (DAL). Programmatically prevents raw ORM entities, cryptographic secrets, and internal identifiers from crossing the Server Component serialization barrier into client RSC Flight payloads.

#frontend#nextjs#react-server-components#taint-api#security#data-access-layer
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium Tetragon eBPF Synchronous Namespace Escape & Syscall Boundary Enforcement

Enforces kernel-level syscall boundary validation via Cilium Tetragon TracingPolicy resources to prevent container breakouts. Intercepts privileged namespace transitions such as sys_enter_setns, sys_enter_unshare, and sys_enter_pivot_root directly in kernel space, issuing synchronous Sigkill actions before host namespaces are compromised. Guarantees deterministic runtime containment by eliminating the latency gap inherent to user-space audit daemons.

#security#tetragon#ebpf#cilium#container-security#kubernetes#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 RFC 9207 Issuer Identification and Multi-IdP Mix-Up Defense

Enforces strict OAuth 2.1 and RFC 9207 Authorization Server Issuer Identification across federated identity clients to neutralize multi-IdP authorization mix-up attacks. Authorization callback handlers MUST validate that the returned 'iss' parameter identically matches the expected issuer anchored to the initiated transaction state before dispatching code exchange requests. Any response with a missing or mismatched issuer MUST be rejected immediately to prevent credential forwarding to attacker-controlled endpoints.

#security#oauth2#rfc9207#authentication#zero-trust#identity-federation
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 PRF Hardware-Bound Symmetric Key Derivation Standards

Enforces deterministic, zero-knowledge client-side encryption key derivation using the W3C WebAuthn Level 3 Pseudo-Random Function (PRF) extension. Mandates HKDF domain separation, strict 32-byte PRF salt validation, explicit hardware PRF support verification, and secure memory zeroization of raw PRF secrets.

#security#webauthn#prf-extension#zero-knowledge#cryptography#hkdf#passkeys
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Temporal Saga Barrier for OpenFGA Authorization Tuples

Prohibits direct, uncoordinated dual-writes between primary application datastores and OpenFGA relationship-based access control (ReBAC) stores. Enforces deterministic Temporal sagas with idempotent tuple synchronization, explicit compensation boundaries, and transactional outbox guarantees to eliminate authorization drift windows.

#security#openfga#temporal#rebac#authorization#saga-pattern#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory User Verification (UV) and Challenge Freshness in WebAuthn Step-Up Re-Authentication

Enforces strict User Verification (UV) flags and tight challenge freshness windows on WebAuthn assertion ceremonies for high-privilege operations. Prevents credential misuse and silent step-up bypasses on multi-device synced passkeys where platform autofill might satisfy User Presence (UP) without explicit biometric or PIN verification.

#security#webauthn#passkeys#fido2#step-up-auth#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.8 Transactional CDC Outbox & Check Evaluation Consistency

Enforces zero authorization drift between relational domain models and OpenFGA 1.8 relationship tuples by eliminating dual-writes across microservices. Mandates that all tuple mutations occur atomically within the primary database transaction via a transactional outbox table streamed to OpenFGA via CDC (Change Data Capture) log tailing, while pairing read-after-write checks with contextual tuples or HIGHEST_CONSISTENCY evaluation parameters.

#security#openfga#authorization#cdc#outbox-pattern#distributed-systems#rebac
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF LSM Container Runtime Immutability and Executable Drift Enforcement

Enforces strict runtime immutability and blocks container binary drift directly in the Linux kernel using Linux Security Module (LSM) eBPF probes. Intercepts file execution, memory mappings, and namespace-scoped process transitions to guarantee W^X violations (PROT_WRITE | PROT_EXEC) and untrusted fileless executions (e.g., memfd_create) are dropped before reaching userspace.

#security#ebpf#lsm#kernel#container-security#runtime-immutability
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 DPoP Ephemeral Nonce and Cryptographic Key-Binding Invariant

Enforces strict RFC 9449 Demonstrating Proof-of-Possession (DPoP) at zero-trust edge boundaries and microservice gateways. Mandates cryptographic thumbprint binding (jkt) between asymmetric client key pairs and access tokens, alongside distributed ephemeral nonce verification to eliminate token replay and exfiltration vectors.

#security#oauth2#dpop#rfc9449#zero-trust#cryptography#jwt
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Cosign Keyless Ephemeral Certificate Admission Control Standard

Enforces cryptographically verifiable, OIDC-bound ephemeral provenance signatures and immutable digest pinning on all container workloads before runtime orchestration. Mandates verifying Fulcio root-of-trust, Rekor transparency log proof of inclusion, and exact workload identity (SAN issuer and subject) within admission webhook pipelines before permitting pod scheduling.

#security#kubernetes#sigstore#cosign#admission-control#supply-chain#container-security
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Taint API & Server Component Memory Isolation Standard

Enforces strict boundaries around cryptographic secrets, raw database entity models, and sensitive environment variables to prevent accidental serialization into React Server Component (RSC) Flight payload streams. Mandates the use of experimental_taintObjectReference and experimental_taintUniqueValue alongside Data Transfer Object (DTO) projection patterns at all boundary seams.

#frontend#react-19#rsc#nextjs#security#taint-api
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Zero-Knowledge Hardware Key Derivation Invariant

Enforces strict cryptographic domain separation, zero-knowledge isolation, and memory sanitization when using the WebAuthn Pseudo-Random Function (PRF) extension. Guarantees that raw PRF outputs and derived symmetric encryption keys never leave volatile client memory, are never transmitted to relying party servers, and undergo mandatory HKDF expansion.

#security#webauthn#prf-extension#zero-knowledge#cryptography#hkdf#client-side-encryption
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF-LSM Cgroup-Scoped Dynamic Syscall Barrier and Privilege Escalation Invariant

Enforces immutable kernel-level Linux Security Module (LSM) attachment directly scoped to container cgroups using BPF LSM programs. Dynamically detects and terminates unauthorized runtime capability acquisitions, namespace transitions (such as setns or pivot_root), and anomalous syscall sequencing before the operation commits to kernel state. Prohibits reliance on passive tracepoints or static seccomp profiles for active container breakout prevention.

#security#ebpf#lsm#cgroups#container-hardening#linux-kernel#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Components Experimental Taint API Boundary Enforcement

Enforces strict runtime serialization boundaries using React 19's experimental taint APIs (experimental_taintObjectReference and experimental_taintUniqueValue) alongside 'server-only' package barriers. Prevents accidental leakage of cryptographic secrets, tokens, PII, and full database entity models into React Server Component (RSC) Flight streams transmitted to the client.

#frontend#react-19#nextjs#security#rsc#taint-api
ACTIVE INVARIANTsecurity
View Rule Spec

TLS 1.3 Encrypted Client Hello (ECH) Split-Mode Ingress Enforcement

Enforces strict TLS 1.3 Encrypted Client Hello (ECH) ingress policies to prevent plaintext Server Name Indication (SNI) leakage across transit networks. Mandates split-mode client-facing termination with DNS-over-HTTPS (DoH) HTTPS RR (RFC 9460) validation, rejecting insecure unencrypted SNI fallback.

#security#tls-1-3#ech#sni-privacy#edge-gateway#dns-over-https
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce Sigstore Keyless Ephemeral Attestation & Rekor Transparency Admission

Validates short-lived Fulcio X.509 code signing certificates and Rekor transparency log inclusion proofs at Kubernetes admission time. Mandates strict Subject Alternative Name (SAN) regex matching, trusted root TUF distribution anchor pinning, and cryptographic offline verification before admitting any container workload.

#security#sigstore#admission-controller#cosign#supply-chain#kubernetes
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic IO Boundary Quarantine Invariant

Enforces strict isolation of dynamic asynchronous operations, headers, cookies, and un-cached fetch calls within dedicated React Suspense boundaries under Next.js 15 Partial Prerendering (PPR) and experimental dynamicIO. Guarantees that dynamic runtime data fetching never de-optimizes the enclosing static layout shell into dynamic-render mode or causes unhandled microtask rejections during static export passes.

#frontend#nextjs#react19#partial-prerendering#dynamic-io#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Zero-Knowledge Hardware-Bound Key Derivation via WebAuthn PRF Extension

Enforces strict cryptographic boundaries when deriving symmetric encryption keys using the WebAuthn Pseudo-Random Function (PRF) extension (HMAC-secret). Raw PRF outputs must be treated as volatile cryptographic material, fed immediately into an HKDF pipeline to produce ephemeral CryptoKey instances, and zeroized in memory to prevent credential and key leakage.

#security#webauthn#prf-extension#cryptography#hkdf#zero-knowledge#fido2
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA CDC-Driven Real-Time Contextual Tuple Invalidation

Maintains sub-millisecond authorization correctness across distributed application caches by binding Change Data Capture (CDC) mutation streams directly to transactional OpenFGA tuple writes and local cache invalidation pipelines. Prevents authorization bypass and stale privilege windows by enforcing transactional outbox patterns with strict monotonic sequence tracking for contextual tuple eviction.

#security#openfga#authorization#cdc#cache-invalidation#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Real-Time CDC Authorization Cache Coherence Standard

Enforces sub-millisecond distributed cache invalidation for OpenFGA check evaluations via PostgreSQL Logical Decoding (CDC) or Debezium outbox streams. Guarantees that transactional relation-tuple mutations publish strongly-ordered invalidation events, preventing authorization read-after-write privilege desynchronization vulnerabilities.

#security#openfga#cdc#cache-coherence#authorization#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Conditional Mediation & Passkey Autofill Sanitization

Enforces strict isolation, challenge lifecycle management, and AbortController synchronization during WebAuthn Level 3 Conditional UI mediation. Mitigates credential hijacking, replay vulnerabilities, and race conditions between autofill requests, modal biometric prompts, and hostile embedded webview contexts.

#security#webauthn#passkeys#authentication#conditional-mediation
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce FIDO2 Enterprise Attestation and Cryptographic AAGUID Verification

Enforces cryptographic verification of FIDO2 Authenticator Attestation GUIDs (AAGUID) and enterprise attestation statements during WebAuthn registration. Mandates that server-side registration handlers parse verified authenticator data, match the AAGUID against a strict corporate hardware allowlist (such as FIPS 140-2/3 Level 2+ security keys), and reject consumer software passkeys or unverified roots of trust. Prevents zero-trust perimeter bypass caused by accepting unverified or consumer-synced authenticators.

#security#webauthn#fido2#zero-trust#enterprise-attestation#fips-140-2
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 8693 Token Exchange: Mandatory Audience and Scope Attenuation at Inter-Service Hops

Enforces cryptographic audience, scope, and lifetime downscoping at every distributed microservice boundary using RFC 8693 OAuth 2.0 Token Exchange. Prevents lateral ambient authority and confused deputy vulnerabilities by strictly forbidding the propagation of unmodified upstream bearer tokens across service hops.

#security#oauth2#rfc8693#zero-trust#jwt#microservices
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Real-Time Tuple Revocation & Deterministic Cache Invalidation

Enforces deterministic, instantaneous cache and materialized read-model invalidation upon OpenFGA relationship tuple deletion or privilege downgrade. Prevents authorization decision lag and Time-of-Check to Time-of-Use (TOCTOU) privilege lingering by mandating atomic outbox emission, distributed cache purge, and strict consistency preferences.

#security#openfga#authorization#cache-invalidation#zero-trust#rebac
ACTIVE INVARIANTsecurity
View Rule Spec

Passkey FIDO2 Hybrid Transport Origin Binding & Proximity Relay Defense

Enforces strict origin binding, cryptographic proximity assertions, and client data verification on WebAuthn cross-device (hybrid/caBLE) authentication ceremonies. Prevents Man-in-the-Middle (MitM) credential relay attacks where a remote attacker tricks a victim into authorizing a malicious session using QR code or cross-device flows. Mandates verification of the clientDataJSON origin, top-origin bindings, session-bound challenges, and hybrid transport flags on the relying party backend.

#security#passkeys#fido2#webauthn#hybrid-transport#mitm-defense#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation with RFC 9449 DPoP Cryptographic Token Binding

Enforces immutable cryptographic binding between WebAuthn conditional mediation (passkey autofill) assertions and RFC 9449 Demonstrating Proof-of-Possession (DPoP) key pairs. Eliminates bearer token replay, session fixation, and adversary-in-the-middle (AiTM) hijacking by anchoring issued session tokens to an ephemeral, client-held private key thumbprint (jkt) verified on every downstream request.

#security#webauthn#fido2#dpop#rfc9449#passkeys#authentication#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF-LSM Kernel Security Hook Ephemeral PID Reuse Verification Standard

Enforces deterministic zero-trust container workload identity verification within eBPF-LSM security hooks by anchoring access decisions to immutable cgroupv2 inode lineage rather than ephemeral host PIDs. Ephemeral process identifiers are subject to high-frequency kernel recycling and PID collision race conditions under heavy fork/exec churn. eBPF programs and user-space control planes MUST resolve identity via bpf_get_current_cgroup_id() combined with kernel task start-time tracking to prevent unauthorized admission.

#security#ebpf#lsm#linux-kernel#zero-trust#cgroupv2#systems-programming
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 PRF Ephemeral Key Zeroization and Memory Invariant Standard

Enforces deterministic, instant memory zeroization of raw WebAuthn PRF (Pseudo-Random Function) extension outputs and derived symmetric encryption keys. Eliminates retention of plaintext key material in browser heap allocations to mitigate memory dump exfiltration, heap inspection, and side-channel extraction.

#security#webauthn#prf-extension#zeroization#web-crypto#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 DPoP Ephemeral Proof Replay Window & Distributed Nonce Bound

Enforces strict RFC 9449 Demonstrating Proof-of-Possession (DPoP) verification standards across distributed microservices. Mandates sub-second clock drift validation, cryptographically bound HTTP request context (htm, htu, ath), and distributed atomic single-use nonce/jti verification via storage-layer race-condition-safe primitives to guarantee zero-replay tolerance of ephemeral proof tokens.

#security#oauth2#rfc9449#dpop#zero-trust#distributed-systems
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Dynamic I/O Async Request Context Boundary Standard

Enforces strict structural isolation between prerendered layout/component trees and Next.js 15 asynchronous dynamic request primitives (cookies, headers, dynamic route params, searchParams). Prevents dynamic de-opt waterfalls, cross-request cache pollution, and build-time dynamic server usage exceptions under the Dynamic I/O compiler.

#frontend#nextjs#react-server-components#dynamic-io#caching#performance
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Contextual Tuple Horizon Enforcement

Enforces zero-staleness dynamic authorization decisions by restricting high-churn, transient attributes (such as break-glass elevation, device posture, and session-scoped geo/IP conditions) to in-memory contextual tuples during OpenFGA Check operations. Prohibits persisting ephemeral authorization state to durable tuple storage, preventing tuple store bloat, cross-region replication lag, and window-of-exposure race conditions.

#security#openfga#authorization#fine-grained-access-control#zanzibar#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum ML-KEM-768 TLS 1.3 Handshake Enforcement Invariant

Enforces hybrid post-quantum key encapsulation mechanisms (X25519MLKEM768 or SecP256r1MLKEM768) exclusively over TLS 1.3 on all edge reverse proxies and ingress controllers. Eliminates classical-only key exchange fallback pathways to guarantee immunity against harvest-now-decrypt-later (HNDL) cryptographic attacks across internal and external microservice meshes.

#security#cryptography#tls-1.3#post-quantum#ml-kem#zero-trust#reverse-proxy
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Static-Dynamic Isolation Guardrail

Enforces strict isolation boundaries between pre-rendered static shells and dynamic asynchronous streaming holes under Next.js 15 Partial Prerendering. Prevents dynamic bailout cascade where accessing dynamic functions (cookies, headers, searchParams, uncached I/O) outside explicit Suspense boundaries de-optimizes static pre-renders into full SSR or triggers micro-hydration mismatches.

#frontend#nextjs#react19#partial-prerendering#hydration#suspense#performance
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA CDC-Driven Eventual ReBAC Cache Invalidation Standard

Eliminates authorization drift and stale permission evaluations by strictly forbidding direct dual-writes to OpenFGA and authorization caches during application requests. Enforces an atomic transactional outbox pattern paired with Change Data Capture (CDC) streaming to synchronize relational tuple mutations, OpenFGA writes, and distributed ReBAC cache evictions deterministically.

#security#openfga#rebac#cdc#outbox-pattern#authorization#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

FAPI 2.0 DPoP Sender-Constrained Nonce Refresh Boundary & Anti-Replay Guardrail

Enforces FAPI 2.0 and RFC 9449 Demonstrating Proof-of-Possession (DPoP) cryptographic sender-constraining and atomic nonce renegotiation across distributed microservices. Mandates single-attempt nonce boundary retry semantics, fresh cryptographically secure JTI generation on every retry, SHA-256 access token hash (ath) binding, and distributed JTI replay defense under clock skew.

#security#fapi2#oauth2#dpop#sender-constraining#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Real-Time Contextual Tuple ReBAC Evaluation Barrier

Enforces strict segregation between persistent graph-store tuples and dynamic request-time attributes using OpenFGA contextual tuples and CEL context evaluation. Prevents tuple store pollution, race conditions, stale authorization state leaks, and latency degradation by evaluating ephemeral claims strictly in-memory during check requests.

#security#openfga#rebac#authorization#zero-trust#contextual-tuples
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Device-Bound Session Assertion (DBA) Re-Authentication Invariant

Cryptographically enforces adversary-in-the-middle (AiTM) session hijacking mitigation by binding continuous refresh-token rotations to hardware-backed platform authenticator assertions. Refresh token exchanges must require a fresh, server-issued cryptographic challenge signed by the registered WebAuthn credential keypair, strictly validating origin, RP ID, and signature counters before issuing subsequent credentials.

#security#webauthn#dbsa#fido2#session-management#aitm-mitigation#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Ephemeral X.509 SVID Non-Disruptive Zero-Trust Dynamic Rotation Guardrail

Enforces hot-reloading of SPIFFE X.509 SVID certificates streamed via the SPIRE Workload API into running TLS listeners and client pools without restarting TCP transports. Guarantees that sub-hour ephemeral identities rotate atomically in-memory using dynamic TLS context callbacks while existing sessions drain naturally and subsequent handshakes adopt newly issued credentials. Prevents transient connection resets, handshake timeouts, and expired certificate outages across hybrid multi-cloud service meshes.

#security#spiffe#spire#zero-trust#mtls#tls#x509#rotation
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Components Streaming Serialization Resiliency Standard

Enforces deterministic error handling and serialization boundaries across deep React Server Component (RSC) trees. Guarantees that unhandled promise rejections and non-serializable payload failures yield stable React Suspense/Error Boundary fallback chunks rather than terminating the HTTP chunked transfer-encoding stream mid-flight. Eliminates connection resets, malformed RSC payload wire states, and silent client-side hydration crashes in streaming environments.

#frontend#react-19#rsc#streaming#suspense#serialization#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

Continuous Access Evaluation Protocol (CAEP) Sub-Second Session Revocation Standard

Enforces real-time push-based session invalidation and Continuous Access Evaluation Protocol (CAEP) Security Event Token (SET) processing across federated microservices. Mandates sub-millisecond local eviction cache lookups and cryptographically verified JWS SET ingestion to eliminate the revocation latency of stateless JWTs without relying on polling.

#security#caep#sse#jwt-revocation#zero-trust#openid-shared-signals
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Attested SPIFFE/SPIRE Workload Identity & Cross-Domain Federation Standard

Enforces short-lived, hardware-rooted (TPM 2.0 / platform attestation) X.509 SVID credentials obtained dynamically via the local SPIRE Workload API. Strictly prohibits static long-lived cross-cluster API keys, shared secrets, and unrotated credentials in multi-cloud mesh architectures.

#security#spiffe#spire#zero-trust#cryptography#mtls#tpm
ACTIVE INVARIANTsecurity
View Rule Spec

Hybrid Post-Quantum TLS 1.3 Key Exchange (X25519MLKEM768) and Strict Downgrade Defense

Mandates quantum-resilient hybrid key encapsulation mechanisms (X25519MLKEM768 / X25519Kyber768Draft00) across all ingress reverse proxies, load balancers, and external service runtimes to thwart 'harvest-now-decrypt-later' (HNDL) vectors. Explicitly disallows fallback to classical-only key exchanges (pure ECDHE/DHE) or legacy TLS versions (< TLS 1.3) on external trust boundaries. Enforces runtime verification of negotiated cipher suites and group allocations.

#security#cryptography#post-quantum#tls1.3#ml-kem#kyber#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Components Taint Boundary and Secret Leakage Prevention

Enforces static and runtime serialization boundaries in React 19 Server Components using experimental_taintObjectReference and experimental_taintUniqueValue. Guarantees that server-only entities, database records, and environment secrets cannot be serialized across the React Server Components (RSC) payload boundary into Client Component trees.

#frontend#react-19#rsc#security#nextjs#taint-api
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Component Model Capability Attenuation and Descriptor Confinement

Enforces strict principle-of-least-privilege capability attenuation for untrusted third-party WebAssembly components running under WASI 0.2. Mandates explicit preopened directory sub-tree isolation, read-only descriptor constraints, and complete denial or deterministic proxying of raw socket network capabilities to prevent ambient authority leakage and host compromise.

#security#wasm#wasi-0-2#component-model#sandbox#wasmtime#capability-security
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 after() Async Execution Quarantine and Error Isolation

Ensures background tasks scheduled via Next.js 15's after() cannot cause uncaught exceptions, exceed serverless execution timeouts, or leak resources across requests. Mandates deterministic timeouts, error isolation boundaries, and decoupled telemetry sinks so that deferred post-response work never destabilizes runtime workers.

#frontend#nextjs#nextjs-15#async#after#serverless#runtime-safety
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Device-Bound Attestation and Step-Up Escalation Guardrail

Enforces cryptographic verification of WebAuthn attestation statements, authenticator data flags (BE/BS), and AAGUIDs against the FIDO Metadata Service (MDS) during registration and step-up flows. Prevents synced multi-device passkeys from masquerading as hardware-isolated, non-exportable security keys on high-risk transaction escalation boundaries.

#security#webauthn#fido2#passkeys#attestation#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Keyless Cryptographic Attestation and SLSA Level 3 Admission Invariant

Enforces pre-deployment verification of SLSA Level 3 provenance, Rekor transparency log inclusion, and keyless Fulcio OIDC cryptographic identity attestations across all container images and serverless artifacts. Artifacts lacking validated in-toto cryptographic supply-chain envelopes or relying on static long-lived signing keys are rejected prior to pipeline promotion or cluster admission.

#security#sigstore#cosign#slsa-provenance#in-toto#supply-chain-security#rekor#fulcio
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Extension Zero-Knowledge Key Derivation Standard

Enforces hardware-bound cryptographic key derivation using the WebAuthn Pseudo-Random Function (PRF) extension (hmac-secret) for zero-knowledge client-side encryption. Mandates strict salt uniqueness per domain context, HKDF sub-key expansion, deterministic client-side credential verification, and explicit rejection of insecure fallbacks when hardware-backed PRF fails or is unsupported.

#security#webauthn#prf-extension#zero-knowledge#cryptography#hkdf#passkeys
ACTIVE INVARIANTsecurity
View Rule Spec

Linux Landlock LSM Container Runtime Confinement Standard

Enforces unprivileged, kernel-level filesystem and network sandboxing for microservices and ephemeral workloads using the Linux Landlock LSM. Mandates setting PR_SET_NO_NEW_PRIVS and applying Landlock access rights before dispatching untrusted or user-supplied execution logic. Guarantees isolation without requiring root permissions or CAP_SYS_ADMIN capabilities.

#security#linux#landlock#lsm#sandboxing#container-security#defense-in-depth
ACTIVE INVARIANTsecurity
View Rule Spec

W3C FedCM IdP Partitioned Cookie and Silent Token Exchange Guardrail

Enforces strict origin validation, Sec-Fetch-Dest verification, CHIPS-compliant partitioned cookie attributes, and constant-time responses on FedCM IdP endpoints under complete third-party cookie deprecation. Prevents cross-site timing side-channels, unauthorized account probing, and silent federated token exfiltration across untrusted Relying Parties.

#security#fedcm#identity#chips#timing-attacks#privacy-sandbox
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Components Flight Stream Taint-Checking and Boundary Sanitization

Enforces strict payload boundary sanitization and React 19 taint-checking primitives to prevent server-only data and credentials from leaking into the React Flight serialization stream. Requires all database records and secret tokens to be explicitly tainted upon acquisition and converted to explicit Data Transfer Objects (DTOs) before crossing RSC-to-Client component boundaries.

#frontend#react-19#rsc#taint-api#flight-stream#security#nextjs
ACTIVE INVARIANTmobile
View Rule Spec

Tauri 2.0 IPC Reentrancy Prevention & Bounded Ring-Buffer Bridge Invariant

Enforces non-reentrant, backpressure-managed IPC streaming between Tauri 2.0 native Rust cores and mobile webview runtimes. Prevents webview main-thread starvation and IPC message-loop deadlocks by mandating bounded ring buffers, batched channel-based telemetry, and prohibiting synchronous reentrant invoke calls within event handlers.

#mobile#tauri-2#ipc#rust#ring-buffer#concurrency#react
ACTIVE INVARIANTsecurity
View Rule Spec

W3C VC Bitstring Status List v1.0 Privacy & Revocation Invariant

Enforces strict compliance with the W3C Bitstring Status List v1.0 specification for privacy-preserving credential revocation. Mandates cryptographic verification of the status list credential, constant-time bitstring decompression and index resolution, aggressive caching with TTLs, and zero credential-specific tracking queries to prevent issuer correlation attacks.

#security#verifiable-credentials#w3c#cryptography#did#status-list-2021#bitstring
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Hole Cache Poisoning Guardrail

Enforces strict boundary isolation between static shell generation and dynamic streaming holes in Next.js 15 Partial Prerendering (PPR). Prevents accidental evaluation and exposure of session identifiers, authorization tokens, or personalized tenant data inside statically prerendered shells and shared CDN edge caches.

#frontend#nextjs#react#ppr#cache-poisoning#security#app-router
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Causal Consistency Token Propagation Guardrail

Enforces strict causal consistency across microservice boundaries by propagating OpenFGA transaction tokens (continuation tokens/consistency tokens) through RPC metadata. Prevents distributed authorization race conditions where immediate read-after-write operations hit read replicas before permission tuples replicate.

#security#openfga#authorization#distributed-systems#grpc#consistency
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 WebAuthn Hybrid Transport Cross-Device Relay Defense

Enforces strict origin-bound assertion verification, atomic single-use challenge consumption, and hybrid transport validation in WebAuthn servers. Defeats proximity-spoofed cross-device relay attacks (caBLE / QR-code phishing) by validating exact canonical origins, denying cross-origin iframe context, and enforcing short-lived hybrid challenge lifetimes.

#security#webauthn#fido2#passkeys#hybrid-transport#cable#anti-phishing
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Dynamic Hole Boundary Isolation

Enforces strict isolation of dynamic runtime APIs (`cookies()`, `headers()`, `searchParams`, and un-cached data sources) inside dedicated React Suspense boundaries. Prevents unintended static shell de-optimizations where accessing dynamic functions at the route root converts the entire route into a dynamic runtime SSR request, negating PPR benefits.

#nextjs#nextjs-15#react-server-components#ppr#suspense#performance
ACTIVE INVARIANTbackend
View Rule Spec

Drizzle ORM Prepared Statement Connection-Lease Pinning in Transaction-Pooled Postgres

Enforces strict connection-lease lifecycle bounds on Drizzle ORM prepared statements when operating behind transaction-mode connection poolers like PgBouncer or Supabase Pooler. Prevents fatal PostgreSQL exceptions (error codes 42P05 'prepared statement already exists' and 26000 'prepared statement does not exist') and eliminates deallocation thrashing caused by leaking named statement handles across ephemeral physical connections.

#backend#drizzle-orm#postgresql#pgbouncer#database-pooling#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 DPoP (RFC 9449) Cryptographic Proof & Dynamic Nonce Lease Enforcement

Enforces strict RFC 9449 Demonstrating Proof-of-Possession (DPoP) invariants by binding tokens to non-extractable client asymmetric key pairs. Mandates dynamic server-issued nonce rotation, single-use proof generation with cryptographically secure jti tracking, and mandatory access token hash (ath) verification to eliminate token replay and exfiltration.

#security#oauth2#dpop#rfc9449#cryptography#tokens
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Keyless OIDC Attestation & Ephemeral Certificate Verification Guardrail

Enforces strict admission-time cryptographic verification of Sigstore bundles for container images and build artifacts. Mandates exact OIDC Subject Alternative Name (SAN) regex matching, Fulcio OIDC issuer validation, and Rekor transparency log inclusion proof verification to guarantee signatures occurred during the ephemeral certificate validity window.

#security#sigstore#supply-chain#cosign#oidc#admission-controller
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Boundary & Static Shell Leak Guard

Enforces strict physical separation between statically prerendered edge shells and dynamically streamed SSR holes under Next.js 15 Partial Prerendering (PPR). Guarantees that request-bound dynamic APIs (cookies, headers, searchParams) and authenticated user state are encapsulated strictly within React Suspense boundaries, preventing auth session leaks into edge caches or dynamic bailout crashes.

#nextjs#nextjs-15#partial-prerendering#react-server-components#security#cache-isolation
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Strict Origin Binding & Single-Use Challenge Lifecycle

Enforces cryptographically bound origin verification, strict RP ID matching, and atomic single-use challenge expiration for WebAuthn Level 3 Conditional UI (autofill) flows. Mitigates asynchronous replay attacks and credential forwarding across origins by mandating sub-minute TTLs, atomic challenge consumption, and topOrigin validation in nested contexts.

#security#webauthn#passkeys#fido2#authentication#conditional-ui#replay-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 DPoP (RFC 9449) Gateway Proof Replay Defense & Distributed Nonce Invariants

Enforces cryptographic verification of RFC 9449 Demonstrating Proof-of-Possession (DPoP) proof tokens at edge API gateways, binding requests to client public keys and token hash (ath). Mandates distributed, atomic single-use tracking of proof identifiers (jti) and low-latency server-generated nonces to guarantee strict replay defense across clustered gateway instances.

#security#oauth2#rfc9449#dpop#api-gateway#replay-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

Transactional CDC-Driven ReBAC Cache Invalidation Standard

Enforces deterministic, transactional log-driven cache invalidation across distributed edge Policy Decision Points (PDPs) during OpenFGA relationship tuple mutations. Eliminates authorization latency skew and the window of vulnerability inherent in dual-write caching by binding edge cache freshness directly to database write-ahead logs (WAL). Guarantees immediate revocation propagation and prevents stale authorization decisions across globally distributed edge nodes.

#security#rebac#openfga#cdc#distributed-systems#edge-cache
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation Ephemeral Challenge Session-Binding Standard

Enforces strict cryptographic binding between WebAuthn conditional mediation (autofill) authentication challenges and ephemeral, single-use pre-session nonces. Prevents passkey assertion replay, cross-tab challenge hijacking, and session fixation vulnerabilities during passive credential autofill flows.

#security#webauthn#passkeys#session-management#cryptography#conditional-mediation
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Hole Decoupling and Static Shell Isolation

Enforces strict isolation of dynamic runtime APIs (cookies, headers, connection, dynamic fetch) within Suspense-bounded leaf components under Next.js 15 Partial Prerendering (PPR). Prevents dynamic context evaluation from bubbling up to layout shells, guaranteeing instant static shell delivery and resilient micro-hole streaming.

#frontend#nextjs#nextjs-15#partial-prerendering#react-suspense#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory PQC Hybrid ML-KEM-768/X25519 TLS 1.3 Key Encapsulation Guardrail

Enforces post-quantum hybrid key encapsulation (X25519MLKEM768 / SecP256r1MLKEM768) on all public ingress termination points and API gateways to neutralize 'Harvest Now, Decrypt Later' (HNDL) adversary campaigns. Requires strict TLS 1.3 minimum versions, explicit quantum-safe elliptic curve and KEM preferences, and rejection of legacy cipher negotiation suites.

#security#pqc#tls-1-3#cryptography#ml-kem#x25519
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Salted Client Assertion & Device-Bound Token Invariant

Enforces hardware-backed session binding using WebAuthn Level 3 Pseudo-Random Function (PRF) extension outputs to derive symmetric cryptographic keys directly on the client. Prevents session hijacking, stolen cookie replay, and token exfiltration by requiring all authenticated application requests to carry an ephemeral assertion signed by keys derived from authenticator-evaluated salts.

#security#webauthn#prf-extension#zero-trust#cryptography#session-security
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Dynamic X.509 SVID Sub-Hourly mTLS Rotation Invariant

Enforces non-disruptive, dynamic rotation of short-lived SPIFFE X.509 SVIDs over sub-hourly TTL cycles via the SPIFFE Workload API. Mandates hot-swapping in-memory TLS SecureContext instances and trust bundles without terminating active TCP connections or restarting workload processes across heterogeneous cloud boundaries.

#security#spiffe#spire#mtls#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Distributed ReBAC Edge Cache Invalidation & Consistency Boundary

Enforces strict transactional consistency tokens and atomic cache invalidation semantics for OpenFGA relationship-based access control evaluations deployed at edge nodes. Eliminates stale authorization window vulnerabilities (the Zanzibar 'New Enemy' problem) by prohibiting unversioned TTL-only caching and requiring snapshot epoch validation across distributed evaluation points.

#security#openfga#rebac#zanzibar#edge-computing#cache-invalidation
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Extension Zero-Knowledge Envelope Encryption Standard

Mandates that client-side zero-knowledge encryption powered by the WebAuthn PRF extension derives cryptographic keys strictly in-memory using HKDF with domain separation. Prohibits transmission of raw PRF outputs or derived Key Encryption Keys (KEKs) to remote servers and requires strict envelope encryption via ephemeral Data Encryption Keys (DEKs).

#security#webauthn#prf-extension#zero-knowledge#envelope-encryption#passkeys#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

SPIRE Workload Attestation and Cryptographic Credential Attenuation for Ephemeral AI Agents

Enforces short-lived, cryptographically attested X.509-SVID identities for autonomously spawned LLM agent processes via SPIRE. Mandates dynamic capability attenuation at the agent-workload boundary, strictly preventing parent process token inheritance and enduring ambient authority.

#security#spire#svid#zero-trust#ai-agents#workload-attestation
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn LargeBlob Hardware-Bound Secret Partitioning & Exhaustion Guardrail

Enforces AEAD encryption, strict byte budget allocation, and versioned envelope partitioning for WebAuthn largeBlob extension payloads. Prevents silent authenticator storage exhaustion, cross-tenant key corruption, and unauthenticated secret exfiltration from client memory.

#webauthn#fido2#largeblob#cryptography#security#passkeys
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF Tetragon Anonymous Memory Execution (memfd_create) Enforcement

Enforces kernel-level interception via Cilium Tetragon TracingPolicies to detect and terminate fileless binary execution originating from anonymous memory descriptors. Prohibits unchecked combinations of memfd_create, fexecve, and execveat at the kernel boundary to prevent in-memory malware delivery within containerized workloads.

#ebpf#tetragon#security#linux-kernel#fileless-malware#container-security#kubernetes
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Modular Schema Cyclic AST Depth and Recursion Guardrail

Enforces static AST cycle detection and strict recursion depth bounds on modular OpenFGA authorization schemas and contextual tuple expansions. Prevents authorization engine exhaustion and Denial-of-Service (DoS) attacks caused by mutually referential tuple-to-userset relations across cross-module graph traversals.

#security#openfga#authorization#fga#dos-prevention#ast-analysis
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2/WebAuthn Assertion Revocation & Real-Time Ephemeral Epoch Barrier

Enforces real-time cryptographic revocation validation and stateful epoch barrier checks for all FIDO2/WebAuthn authentication assertions. Prevents ghost session creation and unauthorized lateral access originating from orphaned multi-device synced passkeys on deprovisioned, lost, or compromised client devices.

#security#webauthn#fido2#passkeys#authentication#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Cryptographic Server Action Replay Prevention & Idempotency Pipeline

Enforces an atomic, distributed idempotency pipeline for all state-mutating Next.js 15 Server Actions. Guarantees exactly-once execution semantics across network retries, browser re-submissions, and double-clicks by binding cryptographic payload digests and distributed lock caches to authenticated caller sessions.

#frontend#nextjs#server-actions#idempotency#redis#distributed-systems#security
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce WebAuthn Level 3 PRF Extension for Zero-Knowledge E2EE Key Derivation

Mandates client-side deterministic cryptographic key derivation via the WebAuthn Level 3 Pseudo-Random Function (PRF) extension for end-to-end encryption. Guarantees that neither raw authenticator PRF outputs nor derived encryption master keys are ever transmitted to Relying Parties (IdPs) or stored in unmanaged persistent client storage.

#security#webauthn#prf-extension#e2ee#cryptography#zero-knowledge
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Transactional Check-Before-Write Monotonic Consistency Guardrail

Enforces atomic transactional binding between OpenFGA authorization checks and state mutations using monotonic generation fencing tokens. Eliminates Time-of-Check to Time-of-Use (TOCTOU) authorization race conditions caused by asynchronous tuple revocation during concurrent writes.

#security#openfga#authorization#concurrency#toctou#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 DPoP Ephemeral Asymmetric Key Binding Invariant

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) across all client authentication flows and distributed API gateway verifiers. Requires access and refresh tokens to be cryptographically bound to ephemeral client-generated asymmetric key pairs via JWK thumbprints (cnf.jkt), eliminating token exfiltration and replay attacks across untrusted network perimeters.

#security#oauth2#dpop#jwt#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Wasmtime WASI 0.2 Capability Virtualization and Tenant Sandbox Enforcement

Enforces strict capability-based security boundaries for untrusted tenant WASM modules running under WASI 0.2 (Preview 2) in Wasmtime hosts. Prohibits ambient system access by requiring explicit virtualization of filesystem directories, scoped network socket socket-bind/connect policies, monotonic clock allowances, and mandatory memory and fuel limits. Ensures no raw host file descriptors, ambient networking, or unbound execution run inside multi-tenant worker pools.

#security#wasmtime#wasi#wasm#sandboxing#capability-security#multi-tenancy
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Backed WebAuthn PRF Zero-Knowledge Key Derivation Standard

Enforces deterministic, client-side symmetric key derivation strictly via the WebAuthn Level 3 PRF (Pseudo-Random Function) extension for zero-knowledge end-to-end encryption. Prohibits insecure software fallbacks, client-side disk persistence of derived root secrets, and transmission of hardware-derived entropy to remote servers.

#security#webauthn#prf#cryptography#zero-knowledge#e2ee#fido2
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Distributed ReBAC Bounded Consistency Token Propagation

Enforces bounded read-after-write consistency for OpenFGA ReBAC checks across geo-distributed services. Prevents authorization bypass and stale permission errors (such as immediate 403 Forbidden regressions following grant mutations) without degrading cluster performance via blanket synchronous read-locks on primary databases.

#security#openfga#rebac#consistency-tokens#distributed-systems#authorization
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering Dynamic Boundary Isolation

Guarantees that static shell emission remains decoupled from dynamic I/O operations under Partial Prerendering (PPR). Prevents dynamic execution contexts (cookies, headers, searchParams, uncached data) from leaking into root page/layout components, ensuring immediate TTFB delivery of pre-rendered shells while dynamic content streams in isolation.

#frontend#nextjs#react-19#partial-prerendering#performance#suspense
ACTIVE INVARIANTsecurity
View Rule Spec

Cosign Keyless OIDC Container Verification Admission Gate

Enforces cryptographic supply-chain integrity at the Kubernetes admission boundary by verifying container signatures using short-lived Fulcio certificates tied to OIDC workload identity and Rekor transparency logs. Requires immutable sha256 image digests and strictly asserts OIDC issuer and subject SANs while rejecting static long-lived keys and unsigned digests.

#security#kubernetes#sigstore#cosign#admission-control#supply-chain
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Scoped IPC Capability and Isolated Webview Bridge Security

Enforces least-privilege IPC execution boundaries between webviews and the Rust core runtime in Tauri 2.0 applications. Mandates explicit compile-time capability files, granular permission scopes, and strict payload validation to prevent remote code execution from malicious webview injections or compromised dependencies.

#security#tauri-2#ipc#capability-security#rust#desktop-security
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Conditional Relationship Tuple & Transaction Isolation Standard

Enforces atomic batch mutations and deterministic conditional evaluation for OpenFGA authorization tuples. Prevents transient privilege escalation, authorization bypass, and Time-of-Check to Time-of-Use (TOCTOU) exploits caused by eventual consistency lag and non-atomic state synchronization between primary persistence layers and the Fine-Grained Authorization engine.

#security#openfga#authorization#distributed-systems#concurrency#rbac#rebac
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Outbox CDC Transactional Consistency Guardrail

Enforces atomic synchronization between primary relational data stores and OpenFGA authorization relationship tuples using the Transactional Outbox Pattern and Change Data Capture (CDC). Prohibits direct, dual-write invocations to the OpenFGA API within application business logic to prevent state drift, orphaned permissions, and security bypasses during network partitions or transaction rollbacks.

#security#openfga#authorization#cdc#transactional-outbox#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Device-Bound Step-Up Attestation & Synced-Passkey Differentiation Standard

Enforces strict cryptographic verification of WebAuthn authenticator flags and client extensions to differentiate multi-device synced passkeys from enterprise hardware-bound security keys during privileged step-up operations. Mandates inspection of Backup Eligibility (BE), Backup State (BS), and device-bound public key extensions to prevent synced credential impersonation across security tiers.

#security#webauthn#fido2#passkeys#cryptography#zero-trust#step-up-auth
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional UI Device-Bound Assertion & Relay Protection Standard

Enforces origin-bound, hardware-backed cryptographic validation for WebAuthn Conditional UI (autofill) ceremonies to neutralize passkey relay attacks and session spoofing. Mandates cryptographically random server challenges bound to ephemeral sessions, mandatory User Verification and User Presence flag checks, validation of non-exportable hardware flags, and deterministic AbortController lifecycle management.

#security#webauthn#passkeys#fido2#conditional-ui#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 0.6 Ephemeral Context Isolation & Cache Invalidation Invariant

Enforces strict separation between persistent relationship graphs and ephemeral contextual claims in OpenFGA 0.6 architectures. Prevents algorithmic denial-of-service (DoS) and cache thrashing at Policy Decision Points (PDPs) by bounding contextual tuple sets and avoiding persistent store pollution.

#security#openfga#rebac#authorization#caching#latency
ACTIVE INVARIANTfrontend
View Rule Spec

Strict AbortController Signal Cancellation in Svelte 5 Runes Async Effects

Enforces synchronous cleanup contract adherence and mandatory AbortController propagation inside Svelte 5 $effect and $effect.pre rune boundaries. Prevents stale closure race conditions, out-of-order state mutations, and orphaned async microtasks when reactive dependencies cycle rapidly.

#frontend#svelte5#runes#effects#concurrency#abort-controller#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Extension Zero-Knowledge Key Derivation Invariant

Enforces strict cryptographic domain separation and client-side isolation when deriving symmetric keys via the WebAuthn PRF (pseudo-random function) extension. Guarantees that raw PRF outputs and derived symmetric encryption keys are non-extractable, zeroized immediately after initialization, and never exfiltrated to application backends, session storage, or telemetry streams.

#security#webauthn#prf-extension#cryptography#zero-knowledge#web-crypto-api
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional UI Isolation and Cryptographic Step-Up Invariant

Enforces strict cryptographic and contextual isolation between passive Conditional UI passkey autofill assertions and active step-up re-authentication ceremonies. Prevents session fixation, cross-context assertion replay, and downgrade attacks by mandating ephemeral transaction-bound challenges, explicit mediation, and compulsory User Verification (UV) flags for all privileged mutations.

#security#webauthn#fido2#passkeys#authentication#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF Tetragon Synchronous In-Kernel Container Boundary and Privilege Escalation Enforcement

Enforces synchronous in-kernel memory and boundary access controls using Cilium Tetragon TracingPolicy CRDs to preemptively block namespace-escape, kernel tampering, and unauthorized credential mutation. Replaces asynchronous post-exploit audit telemetry with deterministic in-kernel signal dispatch (SIGKILL) on forbidden system call invocations and kernel function entries. Mandates zero-trust namespace isolation by binding strict kprobe, tracepoint, and LSM hooks directly to container execution contexts.

#security#ebpf#tetragon#kubernetes#lsm#runtime-security
ACTIVE INVARIANTdevops
View Rule Spec

Deterministic W3C Trace Context Propagation in Asynchronous Kafka Consumer Batch Loops

Mandates strict extraction, scoping, and propagation of W3C Trace Context across high-throughput Kafka batch event loops. Prevents async context pollution and cross-partition trace fragmentation by requiring per-message contextual isolation and explicit span links for aggregate processing spans.

#devops#opentelemetry#kafka#tracing#distributed-systems#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Compiler Auto-Memoization: Ref Mutation and Render-Phase Invariant Guardrail

Enforces strict compliance with React 19 Compiler memoization heuristics by prohibiting reads and writes to ref.current during client component render execution. Guarantees deterministic auto-memoization graphs and eliminates cache corruption caused by untracked mutable escapes outside React's reactive flow.

#react#react-19#react-compiler#memoization#hooks#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.8 Contextual Tuple Ingestion and Reactive Graph Invalidation Protocol

Enforces deterministic, sub-millisecond Zanzibar-style authorization checks by combining request-scoped contextual tuples with reactive Redis cache bust protocols. Guarantees that ephemeral attributes (e.g., dynamic IP ranges, temporary access delegations, multi-tenant session contexts) are evaluated on the fly without database persistence, while persistent relational state changes trigger atomic cache invalidations across affected graph lineages.

#security#openfga#zanzibar#authorization#caching#fine-grained-access-control
ACTIVE INVARIANTsecurity
View Rule Spec

Strict RP ID and Origin Cross-Binding Guardrail for WebAuthn Conditional Mediation

Enforces cryptographic and structural validation of Relying Party ID (rpId) and clientDataJSON origin during WebAuthn conditional mediation (autofill). Eliminates cross-origin credential harvesting, subdomain credential confusion, and federated origin spoofing by requiring explicit origin allowlisting and canonical RP ID matching on server-side assertion verification.

#security#webauthn#fido2#passkeys#authentication#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Component Tainted Value Boundary Enforcement

Enforces compiler- and runtime-verified data boundary invariants in React 19 and Next.js App Router applications using experimental_taintObjectReference and experimental_taintUniqueValue. Guarantees that raw data-access objects, secrets, and database records containing sensitive customer domain models cannot cross the React Server Component serialization boundary to the client. Mandates explicit Data Transfer Object (DTO) mapping and immediate tainting at the Data Access Layer (DAL).

#frontend#react-19#nextjs#server-components#rsc#security#taint-api
ACTIVE INVARIANTsecurity
View Rule Spec

Passkey W3C Signal API Credential Invalidation Standard

Mandates client- and server-side compliance with the W3C WebAuthn Signal API specification (`signalUnknownCredential` and `signalAllAcceptedCredentials`) upon passkey deletion, lifecycle revocation, or unrecognized assertion encounters. Prevents ghost passkeys and replay authentication attempts on de-provisioned hardware across distributed authenticator sync fabrics such as Apple iCloud Keychain, Google Password Manager, and third-party credential managers.

#security#webauthn#passkeys#fido2#w3c-signal-api#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF LSM In-Kernel Real-Time Capability Fence for Container Isolation

Enforces synchronous, in-kernel privilege fencing via eBPF Linux Security Module (LSM) hooks to prevent container breakouts and unauthorized capability transitions. Eliminates Time-of-Check to Time-of-Use (TOCTOU) race conditions and user-space daemon latency by resolving security decisions entirely within kernel space before execution.

#security#ebpf#lsm#kernel#containers#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 RFC 9449 DPoP Replay Window and JWK Thumbprint Binding Guardrail

Enforces strict RFC 9449 Demonstrating Proof-of-Possession (DPoP) verification across all protected endpoints. Mandates cryptographic binding of access tokens to client ephemeral key thumbprints (jkt), strict replay protection with nonce rotation and bounded jitter windows, and verification of HTTP method and URI claims (htm, htu) to eradicate token export and cross-endpoint relay attacks.

#security#oauth21#dpop#rfc9449#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Passkey WebAuthn Conditional UI Credential Mediation & Session Isolation Guardrail

Enforces strict lifecycle management, AbortController cancellation, challenge scoping, and userHandle validation for WebAuthn Conditional UI requests. Prevents autofill phishing, cross-origin ambient credential hijacking, and concurrent session collision by separating ambient autofill mediation from explicit platform and cross-device authentication flows.

#security#webauthn#passkeys#conditional-ui#fido2#session-management
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Backed PRF Client-Side Zero-Knowledge Key Derivation

Enforces strict WebAuthn Level 3 Pseudo-Random Function (PRF) extension invariants for local cryptographic key derivation. Guarantees that hardware-bound secrets evaluated via CTAP2 HMAC-secret remain isolated within client-side WebCrypto enclaves and are never transmitted to relying parties or stored extractably.

#security#webauthn#cryptography#prf-extension#zero-knowledge#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Dynamic SVID Ephemeral Rotation and Connection Draining Invariant

Enforces zero-downtime mTLS identity rotation via SPIFFE Workload API by requiring dynamic TLS context swapping and non-destructive connection draining. Systems must hot-swap X509-SVIDs and trust bundles atomically without dropping in-flight multiplexed HTTP/2 or gRPC streams or closing active sockets. Abrupt listener recreation or synchronous socket drops during SVID updates violate zero-trust availability guarantees.

#security#spiffe#spire#mtls#zero-trust#http2#connection-draining
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF TC Ingress Rate-Fencing for L7 Distributed Denial-of-Wallet (DDoW) Prevention

Enforces pre-socket drop semantics at the Linux Traffic Control (TC) clsact qdisc layer using eBPF maps to terminate unauthenticated, replay-heavy, or abusive LLM/serverless API traffic before TCP handshakes and user-space allocations occur. Protects downstream token generation and pay-per-execution cloud billing pipelines from algorithmic economic exhaustion attacks.

#security#ebpf#networking#ddos#rate-limiting#finops#infrastructure
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.8+ Snapshot Token Read-After-Write Causality Guardrail

Mandates strict capture, propagation, and consumption of OpenFGA snapshot consistency tokens across distributed write-to-check boundaries. Eliminates authorization race conditions caused by database read-replica lag where authorization checks falsely deny legitimate requests immediately following tuple writes.

#security#openfga#authorization#distributed-systems#causal-consistency
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral SVID Dual-Buffer Zero-Downtime Rotation Guardrail

Enforces dual-buffer active/standby X.509 SVID rotation to eliminate transient TLS handshake failures in zero-trust mesh topologies. Guarantees atomic certificate context swapping when ephemeral SVIDs enter their rotation window (>= 50% TTL elapsed) without terminating active sockets or dropping incoming client handshakes. Mandates that cryptographic material updates never mutate existing TLS contexts in-place during in-flight handshakes.

#security#spiffe#spire#zero-trust#mtls#svid#certificate-rotation
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Extension Hardware-Bound Symmetric Key Derivation Contract

Enforces strict end-to-end zero-knowledge client-side symmetric key derivation using the WebAuthn Level 3 Pseudo-Random Function (PRF) extension (HMAC-secret). Mandates that PRF seed outputs never traverse the network, persistent storage, or telemetry streams, and requires continuous salt isolation, ephemeral memory hygiene, and constant-time key derivation via HKDF.

#security#webauthn#prf-extension#zero-knowledge#cryptography#hkdf#web-crypto
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Graph Traversal Depth and Dynamic Cycle Quarantine Standard

Enforces strict Directed Acyclic Graph (DAG) invariants, traversal depth constraints, and real-time cycle detection for OpenFGA Relationship-Based Access Control (RebAC). Prevents authorization denial-of-service (DoS) and guarantees sub-millisecond evaluation bounds by intercepting cyclical tuple writes and binding check resolution budgets.

#security#openfga#rebac#authorization#graph-traversal#dos-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Contextual Tuple Cryptographic Signature Attestation

Enforces that all ephemeral contextual tuples passed into real-time OpenFGA check evaluations carry verifiable asymmetric cryptographic signatures or tamper-evident claims issued by authorized upstream identity providers or trusted internal token brokers. Prevents caller-side privilege escalation and permission spoofing caused by unvalidated client-supplied tuples dynamically injected into evaluation trees.

#security#openfga#authorization#cryptography#zero-trust#jwt
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF Tetragon Dynamic LSM Capability Escape Enforcement & Synchronous Termination

Enforces synchronous in-kernel detection and immediate process termination via eBPF Tetragon TracingPolicies hooked into raw Linux Security Module (LSM) boundaries. Prevents container escape vectors and privilege escalations by blocking unprivileged-to-privileged namespace transitions before kernel capability handoff executes.

#security#ebpf#tetragon#lsm#container-escape#kubernetes
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Cross-Device Hybrid Transport Ephemeral Binding and Replay Prevention

Mandates cryptographically bound ephemeral session identifiers, atomic challenge consumption, and strict origin/cross-origin validation during FIDO2/WebAuthn hybrid transport (caBLE) flows. Prevents QR-code phishing, cross-origin assertion forwarding, and race-condition replay attacks across disparate client contexts.

#security#webauthn#fido2#passkeys#hybrid-transport#replay-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Syncable Passkey Authenticator-Bound Attestation Standard

Enforces strict WebAuthn Level 3 cryptographic verification semantics for both hardware-bound and multi-device syncable passkeys. Mandates atomic single-use challenge consumption, exact clientDataHash reconstruction, bitwise authenticatorData flag validation (UP, UV, BE, BS), and transport-aware replay protection.

#security#webauthn#passkeys#cryptography#fido2#authentication#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Component Model Capability-Oriented Sandboxing Invariant

Enforces strict capability-oriented security for WASI 0.2 (Preview 2) component hosts executing untrusted guest extensions. Forbids ambient authority by disallowing direct network socket binding, host filesystem preopens, and unfiltered host I/O, requiring explicit virtualized resource linkers and strict store memory limiters.

#security#wasi#wasm#component-model#wasmtime#sandboxing
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA ReBAC Cryptographic Snapshot Isolation and Consistency Barrier Guardrail

Enforces strict cryptographic snapshot tokenization and read-after-write consistency barriers when evaluating OpenFGA authorization checks. Eliminates time-of-check to time-of-use (TOCTOU) authorization vulnerabilities caused by replication lag, stale graph evaluation, and contextual tuple spoofing during distributed transactions.

#security#openfga#rebac#authorization#toctou#snapshot-isolation#zanzibar
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Salted Client-Side Envelope Encryption Invariant

Enforces strict zero-knowledge envelope encryption invariants utilizing WebAuthn Level 3 Pseudo-Random Function (PRF) extension outputs combined with cryptographically secure application-specific salts. Guarantees deterministic, hardware-backed Root Key derivation exclusively within client memory, forbidding raw key transport, unauthenticated HKDF derivations, and server-side key custody.

#security#webauthn#prf-extension#envelope-encryption#zero-knowledge#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6 Deterministic Graph Traversal Depth and Cycle Ceiling Enforcement

Enforces deterministic boundaries on OpenFGA authorization graph traversals to prevent algorithmic denial-of-service (Graph-DoS) from unbounded recursive relations and cyclic group hierarchies. Mandates schema-level cycle guards, bounded resolution node caps, contextual tuple limits, and fail-closed timeout policies across all Check and ListObjects query paths.

#security#openfga#authorization#graph-dos#zanzibar#access-control
ACTIVE INVARIANTsecurity
View Rule Spec

W3C DBSC Hardware-Bound Session Credential Verification

Enforces strict W3C Device Bound Session Credentials (DBSC) protocol semantics to eradicate token theft and session hijacking. Requires edge and identity layers to bind short-lived session cookies directly to client TPM or Secure Enclave asymmetric key pairs, validating hardware-signed challenge-response proofs on session renewal and mutating authorization state.

#security#dbsc#session-management#cryptography#zero-trust#tpm
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn LargeBlob Hardware-Attested Deterministic Session Storage

Enforces hardware-bound session bootstrapping via the FIDO2 WebAuthn largeBlob extension. Mandates cryptographic verification, fail-closed authenticator support checks, and strict prohibition of plaintext credential caching in vulnerable storage layers such as localStorage or unencrypted IndexedDB.

#security#webauthn#fido2#cryptography#session-management#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Modular Model Migration & Semantic Versioning Invariant

Mandates deterministic, zero-downtime phased schema transitions for OpenFGA modular authorization models across distributed micro-domains. Enforces semantic versioning, strict Expand-Contract tuple migration pipelines, and explicit authorization_model_id pinning during live evaluations to prevent authorization bypass or denial-of-service during schema cutovers.

#security#rebac#openfga#authorization#schema-migration#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation AbortController Lifecycle Standard

Enforces deterministic cancellation and resource cleanup for ambient WebAuthn Conditional UI (autofill) credential requests. Prevents DOMException InvalidStateError collisions, UI thread deadlocks, and race conditions when users switch from autofill to explicit modal authentication flows or navigate away.

#security#webauthn#passkeys#abort-controller#conditional-ui#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

OpenID Shared Signals and Events (SSE) CAEP Sub-Second Revocation Guardrail

Enforces deterministic, replay-resistant processing of Continuous Access Evaluation Profile (CAEP) and Shared Signals and Events (SSE) Security Event Tokens (SET). Mandates asynchronous push/pull SET ingestion, cryptographic verification via transmitter metadata, distributed low-latency revocation broadcasts (e.g., Redis Pub/Sub / Kafka), and local in-memory token cache purging across federated microservices within sub-second SLAs.

#security#oidc#caep#shared-signals#zero-trust#token-revocation#jwt
ACTIVE INVARIANTsecurity
View Rule Spec

Confidential Enclave Hardware Attestation and Measurement Verification Gate

Cryptographically validates AMD SEV-SNP or Intel TDX hardware attestation evidence against vendor roots of trust and immutable workload launch measurements prior to provisioning production secrets. Mandates strict freshness nonce verification and ephemeral key-binding (ReportData) to prevent replay attacks and rogue pod impersonation.

#security#confidential-computing#sev-snp#intel-tdx#attestation#zero-trust#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Dynamic Boundary and Fallback Isolation

Mandates strict boundary encapsulation and pure static fallbacks for dynamic operations in Next.js 15 Partial Prerendering (PPR) routes. Prevents dynamic API calls like cookies(), headers(), and uncached I/O from bailing out static shell prerendering and de-optimizing edge cache hit ratios.

#nextjs#nextjs-15#ppr#react-server-components#suspense#edge-caching#performance
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 Related Origin Requests (ROR) Cross-Platform Isolation Guardrails

Enforces strict cryptographic origin binding and bidirectional verification for WebAuthn Related Origin Requests (ROR) across federated web origins and native mobile applications. Mandates mutual verification via canonical manifests (/.well-known/webauthn, assetlinks.json, apple-app-site-association) with zero tolerance for origin relaxation, preventing subdomain credential hijacking in federated architectures.

#security#fido2#webauthn#related-origin-requests#ror#app-isolation
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Temporal Relationship Tuple Lifecycle and Eviction Invariant

Enforces strict CEL conditional time-to-live (TTL) validation and automated tombstone eviction on time-bound OpenFGA authorization tuples. Eliminates privilege creep and unbounded graph degradation by mandating server-authoritative context evaluation at check time alongside active background compaction.

#security#openfga#rebac#authorization#temporal-tuples#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 DPoP Client Key-Pair Binding and Distributed Nonce Synchronization

Enforces cryptographically bound DPoP (RFC 9449) proof generation and automatic reactive nonce synchronization across all HTTP client requests. Guarantees that bearer tokens are bound to client-managed asymmetric key pairs and resilient against 'use_dpop_nonce' rejections across distributed multi-region edge gateways. Eliminates token replay vulnerabilities and thundering herd race conditions during concurrent nonce rotation.

#security#oauth2#dpop#rfc9449#cryptography#distributed-systems
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Build-Time Dynamic Server-Only Module Leak Guardrail

Enforces strict static isolation between Next.js 15 Server Component runtimes and client hydration manifests to prevent inadvertent bundling of secrets, DB clients, and native bindings. Mandates build-time fail-closed poison pills ('server-only') and structural module boundary isolation to eliminate client-side credential exposure and hydration bloat.

#frontend#nextjs#react-server-components#security#turbopack#server-only
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Extension Deterministic Cryptographic Boundary Standard

Enforces strict cryptographic domain separation and ephemeral memory isolation when deriving client-side keys via the WebAuthn Pseudo-Random Function (PRF) extension. Raw PRF outputs must strictly serve as Input Keying Material (IKM) to an authenticated HKDF pipeline and must never be used directly as symmetric ciphers or persisted to unencrypted client storage.

#security#webauthn#prf-extension#zero-knowledge#hkdf#e2ee#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

BPF LSM Inode Execution Gatekeeper & VFS Boundary Standard

Mandates authoritative VFS kernel-space mediation using BPF LSM hooks and immutable inode metadata matching rather than mutable string-based dentry heuristics. Enforces zero-trust execution boundaries by validating container mount namespace IDs, filesystem device numbers, and immutable inode identifiers prior to binary interpreter and ELF payload dispatch.

#security#ebpf#lsm#kernel#containers#vfs
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Request-Scope Boundary Isolation and Dynamic Bailout Prevention

Next.js 15 Partial Prerendering (PPR) combines static shell pre-generation with dynamic streaming within the same route. Request-scoped Dynamic APIs (e.g., cookies(), headers(), searchParams, connection()) must be isolated strictly inside dedicated leaf Server Components wrapped in React Suspense boundaries to prevent cascading dynamic bailouts that collapse the static prerender shell into full runtime SSR.

#frontend#nextjs#nextjs-15#ppr#react-server-components#suspense
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF LSM Tetragon Synchronous Kernel-Space Namespace Escape Containment

Enforces in-kernel synchronous interception and termination of unauthorized container namespace crossings, capability gains, and privilege escalations using Cilium Tetragon and eBPF LSM hooks. Mandates proactive SIGKILL enforcement at the kernel level to eliminate asynchronous userspace audit bypasses and race conditions during container escapes.

#security#ebpf#tetragon#lsm#linux-kernel#container-security#kubernetes
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.8 Contextual Tuple Invalidation via Postgres CDC Guardrail

Enforces deterministic consistency between PostgreSQL relationship mutations and OpenFGA 1.8 checks by eliminating the replication-lag authorization window. Mandates that in-flight or uncommitted transactional state must be evaluated using OpenFGA Contextual Tuples derived from transactional Outbox CDC events until Postgres write-ahead log (WAL) streams guarantee monotonic OpenFGA tuple persistence.

#security#openfga#authorization#cdc#postgres#debezium
ACTIVE INVARIANTsecurity
View Rule Spec

PQC Hybrid TLS 1.3 ML-KEM Key Exchange Hardening & MTU Fragmentation Prevention

Enforces quantum-safe hybrid key exchange (X25519MLKEM768) across TLS 1.3 ingresses while strictly mitigating MTU fragmentation and eliminating insecure client-side fallback loops. Prevents Harvest-Now-Decrypt-Later (HNDL) vector exposure and middlebox TCP blackholing by enforcing deterministic group preference and cryptographic downgrade protection.

#security#tls-1-3#pqc#ml-kem#cryptography#zero-trust#mtu
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Hardware-Backed UV and Device-Bound Attestation Step-Up Standard

Mandates cryptographic validation of WebAuthn authenticator data flags, specifically verifying User Verification (UV=1) and device-bound credential constraints (backup eligibility flags BE=0, BS=0) before authorizing high-entropy, privileged, or financial transactions. Prohibits trusting client-asserted verification status, unverified authenticator counters, or multi-device synced passkeys when strict hardware isolation and enterprise non-repudiation are required.

#security#webauthn#fido2#passkeys#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral SVID Rotation & In-Memory Reload Invariant

Enforces sub-hour X.509 SVID lifecycles paired with non-blocking, atomic TLS configuration hot-reloads to eliminate connection stalls in zero-trust mesh architectures. Workloads must consume the SPIFFE Workload API stream and dynamically swap active TLS SecureContext instances in memory without dropping in-flight connections or requiring process restarts. Static certificate loading or blocking read/write locks during SVID rotation are strictly prohibited.

#security#spiffe#spire#mtls#zero-trust#tls-rotation
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Async Request Scope & Multi-Tenant Cache Isolation Guardrail

Enforces strict boundary isolation between Next.js 15 asynchronous dynamic request APIs (await cookies(), await headers(), searchParams) and shared data caching mechanisms (unstable_cache, Data Cache, shared CDN edge layers). Prevents critical cross-tenant data poisoning and authorization bypasses caused by persisting tenant-scoped or user-scoped data into shared cache partitions.

#nextjs#nextjs-15#cache-poisoning#multi-tenancy#server-components#app-router
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 Multi-Tenant Subdomain RP ID Partitioning & Digital Asset Link Standard

Enforces strict partitioning of WebAuthn Relying Party IDs (RP ID) in multi-tenant enterprise architectures and mandates explicit origin-to-RP ID binding via WebAuthn Level 3 Digital Asset Links (/.well-known/webauthn). Prohibits fallback to apex eTLD+1 domains across shared tenant subdomains to prevent cross-tenant credential harvesting and passkey relay vulnerabilities.

#security#webauthn#passkeys#multi-tenant#subdomain-takeover#digital-asset-links
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn LargeBlob Hardware-Bound Vault Security Standard

Enforces zero-knowledge cryptographic persistence by binding user symmetric encryption keys strictly to platform authenticator hardware storage via WebAuthn Level 3 largeBlob extensions. Prohibits non-hardware fallbacks, unverified extension negotiation, and plaintext key persistence across client runtime memory.

#security#webauthn#cryptography#zero-knowledge#fido2#largeblob
ACTIVE INVARIANTsecurity
View Rule Spec

ML-KEM Hybrid TLS 1.3 Post-Quantum Key Exchange Enforcement

Enforces dual-key post-quantum hybrid key encapsulation (X25519MLKEM768 / FIPS 203) across all public edge ingress terminations and reverse proxies. Prevents Store-Now-Decrypt-Later (SNDL) exploitation by guaranteeing that quantum-capable adversaries cannot retroactively decrypt captured external sessions once cryptographically relevant quantum computers (CRQC) emerge.

#security#tls-1.3#post-quantum-cryptography#ml-kem#fips-203#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Bounded Graph Traversal & Cycle-Detection Depth Invariant

Protects distributed authorization engines against catastrophic query latency spikes, resource exhaustion, and Denial of Service (DoS) caused by circular or unbounded nested group expansions. Mandates deterministic max-depth limits, visited-set cycle detection, and strict timeouts for all relationship tuple lookups and custom graph expansions. Enforces validation guards in both application-layer tuple ingestion pipelines and custom authorization middleware.

#security#openfga#authorization#graph-traversal#rebac#dos-prevention
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Components Cryptographic Object Taint Boundary Standard

Enforces strict cryptographic serialization boundaries across React 19 Server Components using experimental_taintObjectReference and experimental_taintUniqueValue primitives. Guarantees that raw data layer entities, credentials, and PII are structurally blocked from crossing RSC serialization boundaries into client bundles. Prevents silent data exfiltration by failing fast during RSC payload streaming if tainted memory references or scalar values are referenced in client props.

#frontend#react-19#rsc#taint-api#security#zero-leakage#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum Cryptography (PQC) ML-KEM Hybrid TLS 1.3 Ingress Standard

Enforces post-quantum hybrid key encapsulation mechanisms (specifically X25519MLKEM768 / X25519Kyber768Draft00) and strict TLS 1.3 across all edge ingress listeners, API gateways, and microservice reverse proxies. Mitigates 'harvest now, decrypt later' (HNDL) attacks by rejecting pre-TLS 1.3 handshakes and preventing silent negotiation downgrade to classical-only key exchange groups.

#security#cryptography#pqc#ml-kem#tls1.3#zero-trust#infrastructure
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium Tetragon eBPF Runtime Capability Escalation and Container Escape Prevention Standard

Enforces deterministic, kernel-level eBPF TracingPolicy definitions with active SIGKILL overrides to block runtime privilege escalation, namespace pivots, and unauthorized kernel credential modification. Mandates that telemetry monitors commit_creds, setns, and cap_capable syscalls and kernel functions with explicit capability masks and in-kernel automated termination.

#security#cilium#tetragon#ebpf#kubernetes#runtime-security#container-escape
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Cryptographically Bound Salt Rotation and HKDF Isolation

Enforces cryptographically bound, context-specific salt rotation when deriving client-side symmetric encryption keys using the WebAuthn PRF (Pseudo-Random Function) extension. Prevents cross-service replay, credential correlation across multi-device passkey synchronizations, and dictionary attacks by requiring client-side HKDF domain separation with authenticated user and credential context.

#security#webauthn#prf-extension#cryptography#hkdf#passkeys
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Relationship Lease & Cryptographic TTL Verification Standard

Mandates that all temporary access entitlements in OpenFGA are modeled as conditional relationship tuples evaluated against cryptographically verified timestamps. Prevents authorization bypass caused by distributed storage replication lag where deleted tuples remain queryable in read replicas.

#security#openfga#authorization#distributed-systems#ttl#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 RAR Sender-Constrained Cryptographic Proof Binding

Enforces sender-constrained cryptographic proof binding (via RFC 9449 DPoP or RFC 8705 mTLS) on all OAuth 2.1 Rich Authorization Requests (RFC 9396). Guarantees that fine-grained authorization details are cryptographically coupled to the client's asymmetric key thumbprint and canonicalized payload hash to eliminate token replay, privilege escalation, and transaction substitution attacks.

#security#oauth2#rar#dpop#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Grant Fencing via Dynamic Contextual Tuples

Prohibits static persistent relation writes for short-lived or time-bounded authorizations in OpenFGA storage engines. Mandates that transient, emergency, or session-scoped grants are validated just-in-time (JIT) using cryptographically signed claims and injected dynamically as ephemeral contextual tuples during check evaluation.

#security#openfga#authorization#fine-grained-access-control#jwt#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 after() Background Task Boundary and Execution Timeout Guardrail

Governs the usage of the Next.js 15 after() API within Server Components, Server Actions, and Route Handlers. Mandates strict execution timeouts, comprehensive error isolation, and cancellation semantics to prevent unhandled promise rejections, stalled serverless microVM teardowns, and zombie telemetry tasks.

#nextjs#nextjs-15#after#serverless#background-tasks#telemetry#concurrency
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Fine-Grained Dynamic IPC Scope and Capability ACL Enforcement

Enforces Tauri 2.0 multi-window and multi-webview isolation via explicit compile-time capability manifests, dynamic path scopes, and context-bound IPC command permissions. Prevents privilege escalation and unauthorized native OS primitive access by eliminating global wildcard capabilities and validating window/webview callers during runtime execution.

#security#tauri-2#ipc#capabilities#acl#rust#least-privilege
ACTIVE INVARIANTbackend
View Rule Spec

Bun 1.2 Explicit Resource Management Disposable Database Pool Invariant

Enforces deterministic reclamation of acquired database connections and transactions using TC39 Explicit Resource Management (`using` and `await using` declarations) in Bun 1.2+. Guarantees that connection handles and transactional locks are disposed of synchronously or asynchronously upon scope exit, completely eliminating socket starvation and connection pool exhaustion caused by unhandled rejections, early returns, or uncaught exceptions.

#backend#bun#typescript#database#resource-management#sql
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Micro-Segment Streaming and Timeout Invariants

Next.js 15 Partial Prerendering (PPR) requires that dynamic micro-segments inside statically prerendered shells are isolated in discrete Suspense boundaries with bounded AbortSignal timeouts. Unbounded dynamic data fetching inside dynamic streaming holes exhausts edge worker concurrency, blocks stream completion, and degrades client perceived latency under downstream latency spikes. All dynamic holes must enforce deterministic fallback states when downstream dependencies breach strict latency budgets.

#frontend#nextjs#nextjs-15#ppr#react-server-components#streaming#performance
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 Cryptographic Origin-Bound Assertion & Monotonic Verification Standard

Enforces strict WebAuthn Level 3 server-side validation invariants for passkey registration and authentication ceremonies. Mandates precise clientDataJSON origin/RP ID matching, monotonic sign-count inspection to detect cloned authenticators, user verification enforcement, and complete sandboxing against cross-origin iframe token-relay attacks.

#security#webauthn#passkeys#fido2#cryptography#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

SLSA Level 3 Ephemeral OIDC Container Attestation Invariant

Enforces non-falsifiable, cryptographically signed SLSA Level 3 provenance attestations generated via ephemeral OpenID Connect (OIDC) workload identity federation. Eliminates long-lived CI/CD signing keys and prevents artifact deployment promotion without strictly validated in-toto provenance statements anchored in a tamper-evident transparency log.

#security#slsa-level-3#sigstore#cosign#oidc#supply-chain-security#container-security
ACTIVE INVARIANTmobile
View Rule Spec

Capacitor 7 Predictive Back Gesture Navigation Decoupling Invariant

Enforces strict transactional synchronization between native Android 15 OnBackInvokedCallback animations and the hybrid WebView routing state machine. Prevents deadlocked transitions, history desynchronization, and blank screen rendering caused by asynchronous bridge latency during predictive back gestures in Capacitor 7 applications.

#mobile#capacitor#android15#predictive-back#routing#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Per-Origin Dynamic IPC Capability Scoping Standard

Enforces granular, cryptographically attested per-origin capability configurations and command masking in Tauri 2.0. Replaces legacy global plugin allowlists with strictly scoped window and webview capabilities to prevent Remote Code Execution (RCE) via compromised DOM contexts or subresource injection.

#tauri-2#security#ipc#least-privilege#capabilities
ACTIVE INVARIANTsecurity
View Rule Spec

Zero-Knowledge Hardware-Bound Key Derivation via WebAuthn PRF Extension

Enforces strict cryptographic boundaries when deriving symmetric client-side encryption keys from WebAuthn Pseudo-Random Function (PRF) extension outputs (HMAC-secret). Raw PRF outputs must never be persisted in browser storage, transmitted across network boundaries, or held long-term in JavaScript heap memory, requiring ephemeral Web Crypto HKDF derivation into non-extractable CryptoKeys.

#security#webauthn#prf-extension#webcrypto#zero-knowledge#hkdf#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Post-Quantum Hybrid TLS 1.3 ML-KEM-768 Negotiation and Downgrade Defense

Enforces strict client-to-edge cryptographic negotiation invariants combining X25519 with ML-KEM-768 (X25519MLKEM768) over TLS 1.3 to mitigate Store-Now-Decrypt-Later (SNDL) adversary strategies. Mandates deterministic aborts on cryptographic downgrade attempts, disallows non-hybrid key exchange fallbacks in designated zero-trust zones, and requires strict verification of negotiated supported_groups extensions.

#security#tls13#post-quantum#ml-kem#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Cross-Window IPC Capability Partitioning Standard

Enforces strict origin and window-label binding for all Tauri 2.0 IPC commands within multi-webview architectures. Prevents privilege escalation and cross-context contamination by restricting sensitive Rust backend commands through isolated capability definitions and cryptographic webview labeling instead of wildcard window bindings.

#security#tauri-2#ipc-security#capability-partitioning#principle-of-least-privilege
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional UI Ephemeral Challenge Ledger and Replay Barrier

WebAuthn Conditional Mediation (passkey autofill) initiates asynchronous, prolonged authentication ceremonies that expose relying parties to challenge replay, token exhaustion, and enumeration attacks. To prevent cross-session assertion replays, all challenges issued for conditional UI must be bound to an ephemeral server session, tracked in an atomic single-use ledger, and irreversibly consumed immediately upon receipt before cryptographic verification begins.

#security#webauthn#passkeys#authentication#cryptography#fido2
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional UI Passkey Replay & Cross-Session Injection Guardrail

Enforces single-use ephemeral challenge lifecycle management, atomic consumption, and strict session-to-challenge binding for WebAuthn Conditional Mediation ceremonies. Mitigates passkey autofill replay attacks, cross-session UI injection, and assertion race conditions across browser tabs.

#security#webauthn#passkeys#conditional-ui#fido2#session-binding
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Component Model Capability-Based File System Sandboxing

Enforces strict compile-time and runtime POSIX capability boundaries to isolate untrusted third-party edge micro-plugins in serverless runtimes. Prohibits ambient host filesystem access and bypasses of wasi:filesystem/preopens by demanding explicit descriptor token passing and virtual directory mapping with least-privilege capability flags (read/write separation, append-only, symlink denial). Ensures untrusted guest components cannot escape directory scopes via path traversal or ambient POSIX handles.

#security#wasi-02#webassembly#sandboxing#component-model#posix-isolation#edge-computing
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Consistency Token Propagation and Read-After-Write Pinning

Enforces strict propagation and validation of OpenFGA consistency tokens across distributed microservice boundaries. Eliminates Zanzibar 'New Enemy' stale-cache authorization races by mandating that write responses return a token or monotonic timestamp and downstream authorization checks evaluate against at least that snapshot state. Mitigates authorization bypasses where revoked permissions remain active during replication lag.

#security#openfga#authorization#zanzibar#consistency-token#race-conditions
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium Tetragon eBPF LSM Process Inode Attestation Standard

Enforces cryptographically signed binary provenance and strict inode attestation at the Linux Security Module (LSM) hook layer using Cilium Tetragon. Intercepts process initialization during bprm_check_security before memory mapping or execution occurs, deterministically killing unverified binaries to eliminate TOCTOU race conditions.

#security#ebpf#tetragon#lsm#binary-provenance#runtime-defense#kernel-security
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.8 Contextual Tuple Depth and Cycle Guardrail

Enforces strict structural constraints, acyclicity validation, and execution budgets on OpenFGA 1.8 contextual tuples and relationship queries. Prevents unbounded graph traversal, catastrophic algorithmic complexity, and goroutine/stack exhaustion in multi-tenant authorization evaluations.

#security#openfga#rebac#authorization#graph-traversal#dos-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Deterministic Key Derivation and Zeroization Invariant

Enforces strict memory zeroization and non-extractable cryptographic key lifecycles when using the WebAuthn PRF (pseudo-random function) extension for zero-knowledge client decryption. Guarantees that raw hardware-derived PRF seeds and intermediate key material are wiped from typed array buffers in finally blocks to prevent heap memory dump extraction.

#security#webauthn#prf#zeroization#cryptography#zero-knowledge
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Shell Fallback Boundary & Static Shell Isolation

Next.js 15 Partial Prerendering (PPR) combines static build-time shell delivery with dynamic HTTP streaming. Any request-bound dynamic API (such as cookies(), headers(), dynamic route parameters, or un-cached data fetching) accessed outside an explicit React Suspense boundary causes the static shell to block, destroying initial Byte-to-First-Chunk streaming guarantees. This standard mandates strict boundary encapsulation for all dynamic operations.

#frontend#nextjs#nextjs-15#ppr#react-suspense#streaming#performance
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 DPoP (RFC 9449) Cryptographic Proof & Nonce Rotation Enforcement

Mandates client-side asymmetric key-binding for all egress token and resource server requests in accordance with RFC 9449 (DPoP). Enforces strict single-use JTI proof generation, URI/method canonicalization, public-only JWK header exposure, and automatic RFC 9449 Section 4.3 DPoP-Nonce challenge retries to neutralize token theft and replay attacks.

#security#oauth2#rfc9449#dpop#cryptography#jwt#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral X.509 SVID Zero-Trust Rotation Boundary

Enforces short-lived mTLS X.509 SVID (SPIFFE Verifiable Identity Document) rotation via the SPIFFE Workload API with sub-hour validity windows. Strictly forbids static certificate persistence, long-lived trust bundles, or indefinite TLS context caching, ensuring fail-closed mutual authentication on SVID stream exhaustion.

#security#spiffe#spire#mtls#zero-trust#x509#svid
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Dynamic X.509 SVID Rotation Lease Floor and Jitter Barrier

Enforces deterministic lease renewal barriers and dynamic randomized jitter algorithms for ultra-short-lived SPIFFE/SPIRE X.509 SVIDs across high-density service meshes. Prevents concurrent thundering herd renewal spikes against the SPIRE Workload API and eliminates premature connection drops during in-flight mTLS handshakes. Mandates minimum grace period lease floors so workloads retain valid cryptographic credentials until active connections fully cycle.

#security#spiffe#spire#mtls#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF XDP Line-Rate Stateful DDoS Quarantine and Pre-SKB Shedding

Enforces pre-allocation packet filtering directly in the network driver RX ring buffer via eBPF XDP (eXpress Data Path). Eliminates Linux kernel socket buffer (sk_buff) allocation overhead and ksoftirqd CPU starvation under high-throughput Layer-4 amplification floods by tracking state inside LRU per-CPU maps and shedding malicious flows with XDP_DROP before kernel stack ingress.

#security#ebpf#xdp#ddos-mitigation#kernel#networking#c
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 ClientDataJSON Origin Binding & Related Origin Validation

Enforces strict canonical origin binding verification on deserialized WebAuthn Level 3 clientDataJSON payloads in federated multi-tenant edge architectures. Precludes sub-origin relay, cross-tenant impersonation, and conditional UI credential leakage by enforcing strict exact-match origin validation, scheme/port verification, and Related Origin Requests (ROR) explicit allowlisting across reverse-proxy layers.

#security#webauthn#fido2#passkeys#authentication#edge-computing
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Distributed Cache Invalidation and Consistency Invariant

Enforces synchronous distributed edge cache invalidation and explicit consistency levels during OpenFGA tuple mutations. Prevents authorization Time-of-Check to Time-of-Use (TOCTOU) race conditions where revoked access privileges persist in distributed edge caches or stale Zanzibar read replicas.

#security#openfga#authorization#distributed-cache#toctou#zanzibar#redis
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Graph Cycle and Query Depth Boundary Standard

Mandates deterministic traversal depth ceilings, memoized path-cycle detection, and strict schema-level relation constraints across OpenFGA Zanzibar evaluations. Prevents adversarial tuple loop injection, recursive expansion cascades, and thread exhaustion across distributed authorization engines.

#security#openfga#rebac#authorization#zanzibar#dos-prevention#graph-algorithms
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Hybrid ML-KEM-768/X25519 Key Encapsulation on Edge Ingress

Enforces a strict cryptographic invariant requiring all public edge ingress points and reverse proxies to mandate hybrid ML-KEM-768/X25519 (X25519MLKEM768) TLS 1.3 key exchange groups. This mitigates 'harvest-now-decrypt-later' (HNDL) quantum threats against high-value transactional flows by terminating legacy non-hybrid handshakes unconditionally on sensitive ingress pathways.

#security#post-quantum-cryptography#ml-kem#x25519#tls13#ingress#hndl
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Consistency Token Propagation Barrier for Distributed Edge Mutation Guardrails

Enforces strict read-after-write authorization consistency across distributed edge microservices interacting with OpenFGA or Google Zanzibar implementations. Mandates extracting, validating, and propagating the `consistency_token` (Zookiez/continuation token) across asynchronous message buses and edge boundaries before executing state mutations or subsequent access evaluations. Prevents the New Enemy Problem and stale authorization cache vulnerabilities in multi-region deployments.

#security#openfga#zanzibar#authorization#distributed-systems#consistency-token
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Backed Device-Bound Passkey Attestation Enforcement for Zero-Trust Boundaries

Enforces direct hardware-backed attestation and strict inspection of AuthenticatorData flags during WebAuthn credential registration. Prevents cloud-synchronized credentials (iCloud Keychain, Google Password Manager) from accessing zero-trust administrative perimeters by verifying physical device-bound roots of trust against certified FIDO Metadata Service (MDS3) roots.

#security#webauthn#fido2#passkeys#zero-trust#attestation#fips-140
ACTIVE INVARIANTsecurity
View Rule Spec

OpenID SSE-CAEP Real-Time Revocation and Continuous Access Enforcement

Enforces deterministic sub-second session and token invalidation across distributed architectures by ingesting OpenID Continuous Access Evaluation Profile (CAEP) and Shared Signals and Events (SSE) Security Event Tokens (SETs, RFC 8417). Prohibits relying purely on passive JWT time-to-live (TTL) expiration for authorization state when credential compromise or revocation events occur.

#security#openid#caep#sse#jwt-revocation#zero-trust#session-invalidation
ACTIVE INVARIANTsecurity
View Rule Spec

CSP Level 3 Dynamic Nonce Propagation in Chunked Streaming SSR

Enforces cryptographic nonce generation per HTTP request and continuous injection into both HTTP response headers and chunked HTML streaming boundaries. Prevents Cross-Site Scripting (XSS) bypasses and React/Next.js hydration mismatches caused by static nonce reuse or out-of-order asynchronous chunk rendering without proper nonce binding.

#security#csp-level-3#streaming-ssr#xss-prevention#react-hydration#nextjs
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Compiler Strict Structural Immutability Guardrail

The React 19 Compiler relies on strict structural immutability across component render passes to synthesize fine-grained auto-memoization blocks and safe reactive scopes. Mutating props, hook returns, or intermediate state in-place violates the compiler's escape analysis assumptions, silently de-optimizing the memoization graph and inducing tearing or stale render cycles. All state transitions, array operations, and prop transforms must strictly adhere to functional updates, pure transformations, or non-destructive copying primitives.

#frontend#react19#react-compiler#immutability#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Dynamic X.509 SVID Workload Identity & Multi-Cloud Federation Guardrail

Enforces dynamic, short-lived X.509 SVID issuance and automated rotation via the SPIFFE Workload API over a secure Unix Domain Socket (UDS). Prohibits long-lived static API tokens, disk-persisted credentials, and manual CA synchronization across heterogeneous multi-cloud Kubernetes clusters by mandating in-memory rotation and cryptographically verified SPIFFE Trust Domain Federation.

#security#spiffe#spire#zero-trust#kubernetes#mutual-tls#svid
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 after() Async Context Lifecycle Isolation & Bounded Execution

Mandates that all post-response asynchronous side-effects in Next.js 15 Route Handlers and Server Actions use `after()` with deterministic timeout bounds and explicit error containment. Prevents frozen unhandled promises, container memory leaks, and runaway serverless compute billing caused by naked detached tasks.

#frontend#nextjs#serverless#after#async-lifecycle#performance
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 DPoP (RFC 9449) Asymmetric Key Binding and Nonce Validation Boundary

Enforces strict Demonstrating Proof-of-Possession (DPoP, RFC 9449) cryptographic verification across Backend-for-Frontend (BFF) layers and downstream service hops. Prevents token replay and demotion attacks by mandating verification of ephemeral public keys (`jwk`), access token binding (`ath`), method/URI matching (`htm`/`htu`), and stateful server-issued nonces (`DPoP-Nonce`).

#security#oauth2#dpop#rfc9449#cryptography#zero-trust#bff
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Contextual Tuple Graph Recursion and Depth Limiter

Enforces strict structural validation, depth bounding, and cycle detection on ad-hoc contextual tuples passed to OpenFGA Check and ListObjects operations. Unbounded or cyclic contextual tuples allow malicious actors to induce catastrophic ReBAC graph expansion, thread starvation, and service-level denial of service via adversarial graph structures.

#security#openfga#rebac#authorization#dos-prevention#graph-traversal
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.8 Contextual Tuple Traversal Depth & Cycle Guardrail

Enforces strict boundaries, cycle prevention, and volume capping on OpenFGA contextual tuples to prevent catastrophic graph traversals during Zanzibar authorization checks. Unbounded dynamic tuple injection leads to distributed denial of service, memory exhaustion, and breached sub-millisecond evaluation SLOs. Mandates deterministic graph evaluation constraints before dispatching runtime checks.

#security#openfga#zanzibar#authorization#graph-traversal#rate-limiting
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF LSM Kernel-Boundary Containment for Unauthorized User Namespace Transitions

Enforces synchronous kernel-boundary interception of unauthorized user namespace transitions and capability escalations via eBPF LSM hooks before credential structures are mutated. Prohibits reliance on post-hoc userspace auditing or asynchronous seccomp notifications for container isolation guarantees. Guarantees that any transition across user namespace boundaries targeting the initial root namespace (init_user_ns) is synchronously denied with -EPERM.

#security#ebpf#lsm#namespaces#containment#linux-kernel
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Async Request Context Boundary & Unhandled Promise Isolation

Enforces deterministic resolution and strict boundary isolation for Next.js 15 asynchronous request APIs (cookies, headers, params, and searchParams). Prevents dynamic AsyncLocalStorage context detachment, worker thread deadlocks, and unhandled promise rejections caused by floating promises crossing request lifecycle boundaries.

#frontend#nextjs#react-server-components#concurrency#async-local-storage#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 RFC 9449 DPoP Ephemeral Nonce & Asymmetric Thumbprint Binding Guardrail

Mandates strict RFC 9449 Demonstrating Proof-of-Possession (DPoP) verification across all zero-trust resource servers, requiring cryptographic binding between the client's public key thumbprint (jkt) and the access token confirmation claim. Enforces stateful or cryptographically signed ephemeral server nonces with single-use replay protection and strict access token hash (ath) integrity checks on all RPC and HTTP endpoints.

#security#oauth21#dpop#rfc9449#zero-trust#cryptography#jwk
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Contextual Tuples Anti-Pollution Guardrail

Enforces that temporal, session-bound, and dynamic authorization assertions are supplied strictly as contextual tuples during OpenFGA evaluation queries rather than persisted to the tuple store. This prevents high-velocity database bloat, changelog table exhaustion, and critical privilege-retention vulnerabilities caused by orphaned revocation writes.

#security#openfga#authorization#fine-grained-access-control#contextual-tuples
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Fallback Boundary Quarantine

Mandates strict architectural quarantine for dynamic component trees under Next.js 15 Partial Prerendering (PPR). Prevents dynamic API calls (headers, cookies, connection, and uncached data fetching) from poisoning prerendered static edge shells during prefetch and initial render passes.

#frontend#nextjs#nextjs-15#ppr#suspense#edge-cache#streaming
ACTIVE INVARIANTsecurity
View Rule Spec

TLS 1.3 ML-KEM Post-Quantum Hybrid Key Exchange Downgrade Guardrail

Enforces strict cryptographic abort invariants on edge ingress and reverse proxy layers when an active intermediary or configuration flaw attempts to downgrade ML-KEM hybrid key encapsulation. Edge termination services must reject classical-only key agreement whenever the client advertises post-quantum hybrid capabilities (e.g., X25519MLKEM768), preventing 'store now, decrypt later' exploits facilitated by silent handshake downgrades.

#security#tls-1-3#ml-kem#post-quantum#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

AuthZEN PEP-to-PDP Signed Dynamic Context Envelope Propagation

Mandates that all dynamic contextual authorization payloads transmitted between Policy Enforcement Points (PEPs) and Policy Decision Points (PDPs) across microservice boundaries are encapsulated within cryptographically signed, immutable envelopes. Prevents PDP cache poisoning, context tampering, and Time-of-Check to Time-of-Use (TOCTOU) authorization drift by enforcing asymmetric JWS/PASETO validation and deterministic context-hash cache derivation.

#security#authzen#authorization#pep#pdp#cryptography#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Distributed Cache Stampede Mutex Invariant

Enforces distributed atomic locking with soft-lease mechanics across multi-region serverless runtimes during Next.js 15 Incremental Cache revalidation. Prevents catastrophic thundering herd database collapse by ensuring exactly one worker recomputes expired cache keys while concurrent serverless invocations serve soft-stale payloads.

#frontend#nextjs#caching#serverless#distributed-systems#redis
ACTIVE INVARIANTsecurity
View Rule Spec

Mandate Strict FIDO2 MDS3 Root-of-Trust Attestation for Device-Bound Enterprise Passkeys

Enforces cryptographic authenticator attestation certificate chain validation against trusted FIDO Alliance Metadata Service (MDS) roots during WebAuthn enrollment. Rejects unvalidated attestation formats, software-backed credentials, and untrusted AAGUIDs to prevent unauthorized multi-device passkeys in zero-trust architectures.

#security#webauthn#fido2#passkeys#attestation#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Recursion and Cycle Boundary Enforcement for OpenFGA ReBAC Graphs

Enforces strict recursion depth limits, graph cycle detection, and compute budgets during relationship-based access control (ReBAC) graph resolution in OpenFGA. Prevents compute exhaustion and denial-of-service attacks caused by cyclic tuple insertions or deeply nested transitive relationship expansions.

#security#openfga#rebac#zanzibar#graph-security#dos-prevention
ACTIVE INVARIANTfrontend
View Rule Spec

Mandatory Suspense Encapsulation for Next.js 15 Dynamic IO and PPR

Enforces that any uncached runtime data access, dynamic APIs (headers, cookies, searchParams), or uncached database operations under Next.js 15 dynamicIO/Partial Prerendering (PPR) are encapsulated within dedicated, isolated React Suspense boundaries. Prevents runtime de-optimization cascades where an uncached operation at a page or root layout level bubbles up and forces an entire static shell into dynamic runtime execution.

#frontend#nextjs#react19#dynamic-io#ppr#suspense#server-components
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Traversal Depth and Cycle Governance for OpenFGA Contextual Tuples

Enforces strict recursion depth bounding and deterministic cycle memoization during real-time OpenFGA and Zanzibar authorization checks. Prevents stack exhaustion, authorization service denial-of-service (DoS), and unbounded RPC fan-out caused by circular or deeply nested contextual relationships. Mandates fail-closed semantics and visited-node state tracking across all graph traversal boundaries.

#security#openfga#zanzibar#authorization#graph-traversal#dos-prevention
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Actions Cascading AbortController Propagation Standard

Enforces deterministic client-to-server cancellation signal propagation across distributed React 19 Server Action boundaries. Prevents orphan execution threads, database connection exhaustion, and non-deterministic state mutations when users navigate away or unmount pending UI transitions.

#frontend#react-19#server-actions#abort-controller#async-cancellation#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 Demonstrating Proof-of-Possession (DPoP) Invariant Enforcement

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) asymmetric key-binding invariants across OAuth 2.0 client requests and resource server validations. Mandates client-side ephemeral cryptographic key generation, strict non-exportable storage, exact HTTP request-bound proof generation (htm, htu, jti, ath), and server-side replay prevention with nonce coordination.

#security#oauth2#rfc9449#dpop#jwt#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 PRF Ephemeral Key-Derivation and Memory Fencing Standard

Enforces strict zero-knowledge cryptographic boundaries for WebAuthn Level 3 Pseudo-Random Function (PRF) extension implementations. Mandates non-extractable client-side HKDF derivation, proactive buffer zeroization, and strictly prohibits the exfiltration or persistent storage of raw PRF seed material and derived symmetric wrapping keys.

#security#webauthn#prf-extension#webcrypto#zero-knowledge#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Monotonic Consistency Token Propagation and Verification Invariant

Enforces deterministic capture, propagation, and validation of OpenFGA consistency tokens across distributed services and client sessions. Prevents critical authorization bypasses and privilege leaks resulting from read-after-write replication lag on read replicas during permission revocation or mutation.

#security#openfga#authorization#zanzibar#consistency-tokens#distributed-systems#cache-invalidation
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Hardware-Bound Attestation and Authenticator Attachment Validation for Enterprise Passkeys

Enforces strict FIDO2/WebAuthn Level 3 enterprise attestation verification, requiring direct or enterprise attestation statements and hardware authenticator flags. Prevents the enrollment and assertion of multi-device synchronized passkeys (e.g., iCloud Keychain, Google Password Manager) for administrative and zero-trust tiers by cryptographically validating AAGUID against an approved enterprise hardware registry and verifying the backup eligibility (BE) and backup state (BS) credential flags.

#security#webauthn#fido2#passkeys#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

ML-KEM Hybrid TLS 1.3 Post-Quantum Forward Secrecy & Downgrade Prevention

Enforces hybrid classical and post-quantum lattice key exchange (X25519MLKEM768/SecP256r1MLKEM768) within TLS 1.3 architectures to mitigate Store-Now-Decrypt-Later (SNDL) harvesting. Prevents active MitM cipher downgrade attacks by establishing mandatory post-quantum group constraints and verifying negotiated key encapsulation mechanisms post-handshake.

#security#tls13#post-quantum#ml-kem#cryptography#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Shell Isolation and Zero-Waterfall Streaming Guardrail

Next.js 15 Partial Prerendering (PPR) requires strict architectural isolation between prerendered static layout shells and dynamic server streams. Awaiting dynamic runtime data (headers, cookies, searchParams, or uncached database calls) at the layout or root page level blocks static shell extraction and degrades edge TTFB beyond the 50ms threshold. All dynamic asynchronous operations must be encapsulated inside distinct leaf server components wrapped in explicit React Suspense boundaries.

#frontend#nextjs#react#ppr#streaming#performance
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA ReBAC Contextual Tuple Resolution & Write-Consistency Standard

Mandates deterministic, zero-staleness authorization guarantees across distributed transactions using OpenFGA. Enforces contextual tuple injection for in-flight state mutations and strict consistency configurations to prevent authorization bypasses caused by asynchronous replication lag.

#security#openfga#rebac#authorization#distributed-systems#zanzibar
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 Enterprise Device-Bound Passkey Attestation and Anti-Sync Invariant

Enforces strict hardware-bound WebAuthn Level 3 credentials for enterprise access by cryptographically verifying authenticator data flags and attestation statements. Explicitly rejects multi-device synced passkeys (iCloud Keychain, Google Password Manager) by verifying Backup Eligibility (BE=0) and Backup State (BS=0) alongside enterprise AAGUID allowlists.

#security#webauthn#fido2#passkeys#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Rooted Platform Attestation Validation for SPIRE SVID Issuance

Enforces hardware-rooted cryptographic measurement validation (TPM 2.0 PCR quotes or AWS Nitro Enclave attestation documents) prior to issuing SPIFFE Verifiable Identity Documents (SVIDs). Prevents identity spoofing and lateral movement across multi-tenant cloud fabrics by ensuring workload identity issuance is cryptographically bound to verified platform firmware, boot sequences, and enclave enclave-held hashes.

#security#spire#spiffe#confidential-computing#tpm2#nitro-enclaves#attestation#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Dynamic I/O Async Request Context Isolation Standard

Enforces strict isolation boundaries around Next.js 15 asynchronous dynamic request APIs (cookies, headers, connection, searchParams) under Dynamic I/O. Prevents dynamic contagion across static React Server Component (RSC) trees by mandating leaf-level isolation, Suspense encapsulation, and explicit boundary containment.

#nextjs#nextjs-15#react-server-components#dynamic-io#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium Tetragon In-Kernel Namespace Escape and Privilege Escalation Enforcement Barrier

Enforces synchronous, in-kernel containment of unauthorized namespace transitions and privilege escalations using Cilium Tetragon eBPF LSM and tracepoint hooks. Guarantees zero userspace round-trip latency by executing SIGKILL or override actions directly in the kernel ring before container breakouts complete. Prohibits asynchronous userspace detection loops that fail to prevent TOCTOU exploitation during setns, unshare, or commit_creds invocations.

#security#ebpf#cilium-tetragon#lsm#container-security#kubernetes
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 DPoP (RFC 9449) Distributed Nonce Synchronization and Asymmetric Binding Guardrail

Enforces strict asymmetric proof-of-possession verification and atomic single-use nonce synchronization across distributed gateway nodes. Prevents cross-cluster token replay, signature-stripping, and JWK thumbprint mismatch vulnerabilities under zero-trust perimeters.

#security#oauth2#dpop#rfc9449#zero-trust#jwt#redis
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Graph Traversal Max-Depth and Cycle-Breaking Guardrail

Enforces strict recursion depth constraints, pre-commit cycle detection, and bounded latency barriers during OpenFGA relationship tuple resolution. Prevents algorithmic denial-of-service (DoS) and thread exhaustion caused by cyclic or deeply nested relationship graphs during authorization checks.

#security#openfga#authorization#fine-grained-auth#graph-algorithms#dos-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Relationship-Based Access Control Traversal Circuit Breaker

Enforces strict resolution depth invariants, cyclic graph detection, and sub-graph memoization on OpenFGA Check and Expand operations. Prevents graph traversal denial-of-service (Graph DoS) and cascading latency blow-ups caused by unbounded recursive relation trees and unvetted contextual tuples.

#security#openfga#rebac#authorization#circuit-breaker#dos-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

FastAPI Pydantic v2 Zero-Copy Deserialization and Memory Sandbox Standard

Enforces strict streaming payload size limits, recursion depth boundaries, and explicit pydantic-core unmarshaling constraints for edge-facing API gateways. This prevents memory exhaustion, stack overflow micro-DoS, and catastrophic CPU pinning from malformed or deeply nested JSON payloads during Rust-to-Python boundary transitions.

#security#fastapi#pydantic-v2#pydantic-core#dos-prevention#api-gateway
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Contextual Tuple Graph Traversal Bounded-Depth & Tenant Barrier Invariant

Enforces strict tenant boundary isolation and deterministic graph evaluation horizons during Relationship-Based Access Control (ReBAC) evaluations with OpenFGA. Prevents arbitrary cyclic contextual tuple injection, unbounded graph resolution denial-of-service, and cross-tenant privilege escalation (New Enemy problem).

#security#rebac#openfga#authorization#multi-tenancy#denial-of-service
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF BPF-LSM Container Binary Execution and Memory Protection Guardrail

Restricts executable memory mapping calls (`mprotect`, `mmap`) and process executions (`bprm_check_security`) at the kernel LSM layer to immutable, verified container rootfs mounts. Hardens runtime workloads against fileless ELF injection (memfd_create), arbitrary reverse shells, and untrusted shared-object loading by validating inode backing and namespace cgroup identifiers in kernel space.

#security#ebpf#lsm#containers#linux-kernel#runtime-security
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6+ Tuple-To-Userset Graph Cycle and Depth Limit Invariant

Deeply nested ReBAC relationship evaluations over tuple-to-userset (TTU) chains must enforce strict acyclic invariants and deterministic graph traversal boundaries. Failure to validate DAG properties at tuple ingestion and unconstrained recursive evaluations lead to CPU exhaustion, authorization timeouts, and Denial-of-Service (DoS) in critical path authorization checks. Systems must enforce proactive cycle prevention at mutation time and explicit bounded depth guardrails during evaluation.

#security#openfga#rebac#authorization#graph-algorithms#cycle-detection
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 MDS3 AAGUID Hardware-Class Whitelist Enforcement Guardrail

Enterprise authentication workflows must enforce direct attestation and validate the Authenticator Attestation GUID (AAGUID) against FIDO Alliance Metadata Service v3 (MDS3). The registration pipeline must cryptographically reject synced multi-device passkeys (all-zero AAGUIDs or uncertified software authenticators) and require certified hardware security keys matching an enterprise trust list with acceptable FIDO certification levels (e.g., FIDO_CERTIFIED_L2 or higher).

#security#webauthn#fido2#mds3#aaguid#passkeys#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Dynamic Hole Cache Fence

Enforces strict tenant isolation and credential segregation within Next.js 15 Partial Prerendering (PPR) architectures. Prevents cross-request session poisoning and unintended build-time evaluation of per-user identity contexts by fencing dynamic user data within Suspense boundaries wrapped in dynamic request boundaries. Guarantees that static shell segments remain context-agnostic, while tenant-specific, cookie-dependent, or header-dependent payloads execute exclusively inside deferred dynamic streaming holes.

#frontend#nextjs#partial-prerendering#ppr#multi-tenant#security#suspense#caching
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral X.509 SVID Federation and In-Memory Attestation Standard

Enforces dynamic workload identity attestation via local SPIFFE Workload API over Unix Domain Sockets (UDS) bound to container cgroups. Prohibits persisting X.509 SVIDs or private keys to durable storage and mandates automated in-memory rotation before cryptographic expiration. Forbids fallback to static, long-lived cloud credentials across heterogeneous trust domains.

#security#spiffe#spire#zero-trust#mtls#x509#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Action Idempotency-Key Deterministic Transport Standard

Enforces deterministic client-generated idempotency tokens across React 19 Server Action transitions and form submissions to prevent duplicate database writes under automated network retries and double-submit scenarios. Requires pairing React 19 useActionState/useTransition with client-side UUID generation persisted across failed or in-flight attempts, validated and cached on the server via atomic distributed locks before mutation execution.

#frontend#react-19#server-actions#idempotency#distributed-systems#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 RFC 9449 DPoP Ephemeral Nonce Fencing & Replay Defense

Enforces strict Demonstrating Proof-of-Possession (DPoP) verification across zero-trust API boundaries according to RFC 9449. Mandates server-side ephemeral nonce generation, cryptographic binding of the access token hash (ath), HTTP method (htm), URI (htu), and single-use nonce validation to neutralize token exfiltration and replay attacks.

#security#oauth2#dpop#zero-trust#cryptography#rfc9449
ACTIVE INVARIANTsecurity
View Rule Spec

Confidential Containers (CoCo) Hardware-Rooted vTPM Attestation Identity Binding Standard

Enforces hardware-rooted remote attestation using virtual Trusted Platform Module (vTPM) quotes before releasing decryption keys or mounting storage volumes in Confidential Containers (CoCo). Prevents untrusted hypervisors, compromised host kernels, and multi-tenant host operators from snooping plaintext proprietary model weights and confidential tenant data in physical DRAM.

#security#coco#vtpm#confidential-computing#attestation#kbs#tpm2
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Async Request APIs & Dynamic PPR Boundary Guardrail

Next.js 15 enforces asynchronous access for runtime dynamic inputs (cookies, headers, params, and searchParams) to decouple prerendered static shells from dynamic request execution. Synchronously accessing these APIs or awaiting them directly at the root page/layout level without Suspense isolation causes unhandled promise rejections, breaks Partial Prerendering (PPR), and triggers silent de-optimization of static routes into full-page on-demand SSR.

#frontend#nextjs#nextjs-15#react-server-components#partial-prerendering#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Passkey AAGUID Cryptographic Hardware Step-Up Escalation Standard

Mandates cryptographic differentiation between synced multi-device passkeys and device-bound hardware authenticators (e.g., FIDO2/WebAuthn hardware tokens) to gate high-risk operations. Validates Authenticator Attestation Globally Unique Identifiers (AAGUID) against trusted FIDO Metadata Service (MDS) data and verifies authenticator flags (rejecting backup-eligible credentials) during step-up challenges.

#security#webauthn#fido2#passkeys#aaguid#step-up-authentication#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Component Model Capability-Based Sandbox Boundary Standard

Enforces strict capability-based security boundaries for multi-tenant microservices compiled into WASI 0.2 (Preview 2) WebAssembly components. Precludes ambient authority by restricting host bindings exclusively to explicit WebAssembly Interface Type (WIT) interfaces (e.g., `wasi:http/outgoing-handler`, `wasi:filesystem/preopens`) without granting broad POSIX or unchecked host-level capabilities. Prevents untrusted guest code execution from compromising host infrastructure via unconstrained directory traversal, socket creation, or unmediated environment variable access.

#security#wasm#wasi-0.2#component-model#sandboxing#wit#multi-tenancy
ACTIVE INVARIANTsecurity
View Rule Spec

Atomic Distributed Revocation and Invalidation Sync for WebAuthn Conditional Mediation

Enforces atomic distributed revocation and epoch validation across synchronized cloud passkeys to prevent stale client authenticator states from completing WebAuthn conditional mediation (autofill). Eliminates authorization bypasses where locally cached passkeys generate valid cryptographically signed assertions against recently revoked or deregistered server credentials.

#security#webauthn#passkeys#authentication#fido2#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Graph Traversal Cycle and Depth Guardrails

Enforces strict bounded graph traversal, pre-write directed acyclic graph (DAG) cycle validation, and timeout-constrained contexts across OpenFGA authorization engines. Protects fine-grained authorization resolvers against algorithmic denial-of-service (DoS) and memory exhaustion caused by deeply nested or cyclical relationship tuples.

#security#openfga#rebac#graph-dos#authorization#cycle-detection
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Actions Idempotency Key Pipeline & Deduplication Invariant

Enforces an atomic idempotency key pipeline across React 19 Server Actions, useActionState, and optimistic UI updates. Guarantees that network drops, rapid-fire user submissions, and automatic transport retries never trigger duplicate writes, unauthorized double-billing, or corrupted transactional state.

#frontend#react-19#server-actions#idempotency#distributed-systems#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Hybrid Transport Attestation and Proximity Validation

Enforces strict validation of WebAuthn Level 3 hybrid transport (caBLE) parameters and authenticators during passkey registration and cross-device assertions. Prevents cross-device passkey relay attacks and adversary-in-the-middle (AiTM) exploitation by cryptographically binding origin, RP ID, client data hash, and proximity-bound hybrid transport hints at identity verification boundaries.

#security#webauthn#passkeys#fido2#hybrid-transport#aitm-prevention#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Postgres 17 RLS Leakproof Function Isolation & Security Invoker Views

Enforces strict isolation of row-level security (RLS) predicates against timing side-channels and query-planner predicate reordering in Postgres 17. Mandates the use of 'security_invoker = true' on multi-tenant views and prohibits marking non-hardened or error-throwing functions as LEAKPROOF to prevent unauthorized row existence oracle leaks.

#security#postgres-17#row-level-security#multi-tenancy#side-channel-mitigation
ACTIVE INVARIANTbackend
View Rule Spec

Bun 1.2 TC39 Explicit Resource Management (Symbol.asyncDispose) FD Boundary

Enforces strict utilization of TC39 Explicit Resource Management via 'using' and 'await using' declarations across Bun 1.2+ runtime boundaries. Eliminates file descriptor (FD) and OS handle leakage across high-throughput Bun TCP sockets, FileSink streams, and bun:sqlite database handles during unhandled exceptions and early return flows.

#backend#bun#typescript#sqlite#networking#resource-management
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Relationship Tuple Recursion and Hop-Limit Boundary Guardrail

Enforces strict pre-write cycle detection, depth-bounding heuristics, and fail-closed resolution boundaries on fine-grained authorization graphs. Transitive relation expansions (e.g., nested groups, parent-child hierarchies) without bounded hop limits expose the authorization engine to algorithmic complexity attacks, memory exhaustion, and denial-of-service during Check and Expand API resolutions.

#security#openfga#authorization#graph-dos#zanzibar
ACTIVE INVARIANTsecurity
View Rule Spec

Passkey AAL3 Hardware Enclave Attestation & Non-Exportability Invariant

Enforces strict NIST SP 800-63B Authenticator Assurance Level 3 (AAL3) compliance in WebAuthn registration ceremonies. Rejects unmanaged multi-device synced passkeys by requiring direct cryptographic attestation verification, FIDO Metadata Service (MDS3) root-of-trust anchoring, FIDO Level 2+ certification validation, and strict enforcement of single-device non-exportability flags.

#security#webauthn#fido2#passkeys#aal3#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Zero-Knowledge Key Derivation & Ephemeral Memory Isolation

Enforces architectural isolation boundaries for symmetric keys derived via WebAuthn PRF (Pseudo-Random Function) extensions. Requires non-exportable WebCrypto keys, immediate manual buffer zeroization in scoped execution blocks, and strict prevention of key persistence across DOM storage, global state, and network layers.

#security#webauthn#prf-extension#webcrypto#zero-knowledge#memory-isolation
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral SVID Dual-Active Overlap Rotation Invariant

Mandates dual-active overlapping validity windows when consuming ephemeral X.509 SVIDs from SPIRE Workload APIs. Enforces asynchronous TLS certificate hot-reloading with graceful in-flight handshake drain periods, eliminating TCP RST spikes and TLS handshake failures during sub-hour credential rotations.

#security#spiffe#spire#mtls#tls-rotation#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Contextual Tuples Boundary Standard

Enforces a strict boundary between durable relationship graph state and ephemeral check-time context in OpenFGA. Runtime authorization claims—such as session validity, step-up MFA, dynamic geofencing, and break-glass elevation—must strictly be evaluated as contextual tuples or condition parameters during check evaluation, never written directly to the persistent tuple store.

#security#openfga#rebac#zero-trust#authorization#access-control
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Synced Passkey Hardware Attestation Step-Up Standard

Enforces mandatory hardware-bound FIDO2 token verification invariants for high-risk operations when multi-device synced passkeys are detected. Inspects authenticatorData flags (Backup Eligibility and Backup State) and requires step-up authentication using FIDO Alliance MDS-certified, non-exportable hardware security keys.

#security#webauthn#fido2#passkeys#attestation#step-up-auth
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF LSM Kernel-Enforced Socket Egress Boundary Invariant

Mandates deterministic, zero-drift egress enforcement directly in the Linux Security Module (LSM) hookpoints via eBPF. Bypasses userspace proxy latency and race conditions by intercepting socket connection requests synchronously in kernel space before TCP SYN dispatch.

#security#ebpf#lsm#kernel#cgroup#network-security
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Related Origin Requests (RORS) Isolation and Cryptographic Origin Binding

Enforces strict origin validation and Related Origin Requests (RORS) manifest verification across federated micro-frontends and multi-tenant subdomains. Prevents cross-origin credential theft, assertion relay, and phishing escalations by cryptographically asserting origin constraints against authoritative well-known manifests.

#security#webauthn#fido2#rors#micro-frontends#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Contextual Tuple Graph Traversal and Latency Bounds Guardrail

Enforces deterministic computational and memory bounds on OpenFGA dynamic contextual tuples during Check and Expand evaluations. Prevents algorithmic complexity denial-of-service (ReDoS/GraphDoS) and p99 latency degradation by capping contextual tuple cardinality, depth, and payload size to guarantee sub-10ms authorization response times.

#security#openfga#rebac#authorization#performance#dos-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce WebAuthn Device-Bound Enterprise Attestation & Sync Segregation

Enforces strict segregation between multi-device synced passkeys and device-bound hardware credentials for Tier-0 administrative operations. Mandates verification of the WebAuthn authenticatorData backup flags (BE/BS), explicit AAGUID enterprise allowlisting, and cryptographic attestation signature validation to prevent synched credentials from satisfying high-privilege access tiers.

#security#webauthn#fido2#passkeys#attestation#tier-0#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore v3 Keyless OIDC Ephemeral Certificate Rekor Inclusion Verification

Production admission controllers and deployment pipelines must verify cryptographically provable transparency log (Rekor) inclusion proofs (SET/inclusion promise and Merkle audit path) for Fulcio-issued ephemeral X.509 certificates. Verification must confirm SAN OIDC claims and certificate validity windows alongside Rekor integrated time rather than relying solely on leaf certificate X.509 signature validity.

#security#sigstore#rekor#supply-chain#cosign#oidc#fulcio
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 / WebAuthn Synced Passkey Attestation and Step-Up Invariant

Enforces cryptographic discrimination between multi-device synced credentials (passkeys) and hardware-bound tokens (e.g., YubiKeys) during registration and authentication. Systems must inspect authenticator data flags (BE/BS) and attestation statement formats to enforce hardware-bound credentials for step-up authentication during high-risk transactional workflows.

#security#webauthn#fido2#passkeys#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Multi-WebView ACL Capability Isolation Standard

Enforces strict zero-trust capability scoping and cryptographic boundary separation across heterogeneous WebViews in Tauri 2.0. Prevents cross-origin privilege escalation and malicious native command access by isolating permissions to discrete window and webview labels.

#security#tauri-2#acl#ipc#multi-webview#rust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation & Passkey Signal API Revocation Guardrail

Enforces strict synchronization between WebAuthn Conditional Mediation (autofill) UI lifecycles and the Passkey Signal API (PublicKeyCredential.signal*). Mandates that client autofill abort controllers are deterministically aborted and re-instantiated upon credential invalidation or hardware revocation events, preventing compromised credentials from persisting in active browser autofill caches.

#security#webauthn#fido2#passkeys#signal-api#conditional-mediation#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Distributed Graph Cyclic Expansion Fencing and Traversal Bounding

Deeply nested multi-tenant Relationship-Based Access Control (ReBAC) models risk unbounded recursive graph expansions and cyclic traversals during authorization evaluations. This rule enforces strict traversal depth ceilings, deterministic cycle fencers, propagation deadlines, and edge-budgeting to prevent thread starvation, high-cardinality latency amplification, and authorization DoS vectors.

#security#openfga#rebac#authorization#graph-traversal#dos-mitigation#circuit-breaker
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum ML-KEM-768 Hybrid TLS 1.3 Key Encapsulation and MTU Guardrail

Mandates the deployment of post-quantum hybrid key encapsulation (X25519MLKEM768) for TLS 1.3 across all internal and ingress service mesh communication to defeat Harvest-Now-Decrypt-Later (HNDL) adversaries. Enforces deterministic Path MTU (PMTU) discovery, TCP MSS clamping, and TLS record fragmentation controls to prevent silent middlebox packet drops caused by enlarged post-quantum key exchange payloads.

#security#post-quantum#ml-kem#tls-1.3#zero-trust#service-mesh#network-resilience
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Contextual Tuple Graph Traversal Depth and Cycle Guardrail

Enforces pre-flight cycle detection, strict cardinality caps, and traversal depth limits on contextual tuples injected during runtime OpenFGA relationship-based access control (ReBAC) evaluations. Prevents Denial of Service (DoS) and algorithmic complexity exhaustion caused by deeply nested or cyclical graph expansions in check and list-objects queries. Mandates client-side structural validation before passing dynamic authorization contexts to the OpenFGA storage engine.

#security#rebac#openfga#authorization#graph-dos
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 DPoP (RFC 9449) Hardware Enclave Assertion & Distributed Nonce Sync Standard

Mandates RFC 9449 Demonstrating Proof-of-Possession (DPoP) bound to non-exportable hardware-enclave keys across distributed edge architectures. Enforces server-side stateless cryptographic nonce generation, distributed replay prevention, strict HTTP method/URI verification, and access token hash (ath) validation. Eliminates token interception vulnerabilities, cross-region replay attacks, and asymmetric key extraction risks.

#security#oauth2#dpop#rfc9449#cryptography#zero-trust#edge-computing
ACTIVE INVARIANTmobile
View Rule Spec

Capacitor 7 Native IPC Bridge Structured Serialization Boundary

Enforces strict runtime schema validation and structured byte buffer handling across the Capacitor 7 WebView-to-native IPC bridge. Eliminates cross-origin bridge exploitation, bridge injection vectors, and prototype pollution by enforcing zero-copy binary streaming and strict origin and payload validation at the native dispatcher boundary.

#mobile#capacitor-7#ipc-bridge#security#serialization#typescript
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Fallback Boundary Invariant

Enforces strict isolation of dynamic Server Components inside explicit React Suspense boundaries when Partial Prerendering (PPR) is enabled. Calling runtime dynamic APIs (cookies, headers, searchParams, un-cached data queries) outside a Suspense boundary de-optimizes the entire prerendered shell into blocking dynamic SSR, introducing waterfall cascades and hydration mismatches.

#frontend#nextjs#react-19#ppr#suspense#streaming#performance
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Compiler Deterministic Memoization Closure Invariant Guardrail

Guarantees React 19 compiler auto-memoization stability by prohibiting non-serializable closure mutations, post-render object leakage, and impure closure escapes. Violating these invariants forces the compiler to invalidate reactive dependency memoization slots, triggering cascading subtree de-optimizations and uncontrolled re-renders.

#frontend#react19#react-compiler#memoization#closure-invariants#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation Cross-Origin Challenge Binding Guardrail

Enforces cryptographic binding between WebAuthn conditional mediation (passkey autofill) challenges, transient browser nonces, and TLS channel/session tokens to neutralize cross-origin relay and session replay attacks. Mandates strict RP ID validation, cryptographically random challenge-to-session association in isolated cache layers, and clientDataJSON origin/type parity checking during public key credential assertion verification.

#security#webauthn#fido2#passkeys#authentication#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Client-Side Cryptographic Vault Isolation for WebAuthn largeBlob Payloads

Enforces mandatory client-side authenticated envelope encryption (AEAD) for all payloads destined for the WebAuthn largeBlob extension. Modern passkeys replicate across third-party cloud synchronization fabrics (e.g., Apple iCloud Keychain, Google Password Manager), exposing raw blob data to vendor infrastructure unless shielded by zero-knowledge client-side encryption. All reads and writes must cryptographically bind the relying party identity and credential ID to the encrypted envelope.

#security#webauthn#passkeys#largeblob#cryptography#zero-knowledge
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory In-Kernel Binary Digest Verification via BPF-LSM bprm_creds_for_exec

Enforces synchronous cryptographic integrity verification of executable binaries inside the kernel before container process execution. BPF-LSM hooks on bprm_creds_for_exec must query kernel IMA digests via bpf_ima_inode_hash or bpf_ima_file_hash and reject unmeasured or untrusted binaries with -EPERM to eliminate TOCTOU execution windows.

#security#ebpf#bpf-lsm#ima#container-runtime#linux-kernel
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation Origin Fencing & Iframe Sandbox Invariants

Enforces strict origin validation, cross-origin isolation fencing, and explicit iframe permission delegation policies during conditional WebAuthn passkey autofill. Prevents credential theft, UI redressing, and clickjacking attacks across multi-tenant micro-frontends and embedded SaaS portals by mandating ancestor checks and explicit credential-delegation permissions.

#security#webauthn#passkeys#iframe-sandboxing#conditional-mediation#browser-security
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Recursive Relation Traversal Depth Ceiling & Cycle Prevention

Enforces deterministic depth ceilings, cycle detection, and strict contextual tuple validation across Zanzibar-style OpenFGA relation models and query clients. Unbounded graph expansions across transitive relations (such as nested group memberships or hierarchical folders) allow malicious or degenerate multi-tenant graphs to trigger exponential fan-out, backend memory exhaustion, and distributed denial-of-service cascades.

#security#openfga#zanzibar#authorization#rebac#graph-traversal#dos-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Enterprise Attestation and Origin Boundary Enforcement

Mandates strict enterprise hardware attestation, AAGUID allowlisting, and cryptographic origin verification for high-privilege WebAuthn credentials. Prevents multi-device credential synchronization (passkey leaks) across personal consumer clouds by rejecting credentials with active backup eligibility flags during registration.

#security#webauthn#fido2#passkeys#enterprise-attestation#origin-validation
ACTIVE INVARIANTsecurity
View Rule Spec

OpenTelemetry W3C Trace Context Zero-Retention PII Redaction Standard

Enforces deterministic, automated sanitization and cryptographically keyed tokenization of sensitive payload attributes within OpenTelemetry context envelopes and W3C trace propagation headers. Guarantees that personal identifiable information (PII), credentials, and regulated data are redacted in-memory before spans and baggage egress trust boundaries.

#security#opentelemetry#w3c-trace-context#pii-redaction#zero-retention#compliance
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Client-Side Symmetric Key Derivation via WebAuthn PRF Extension

Enforces zero-trust deterministic client-side symmetric key derivation using the WebAuthn PRF (Pseudo-Random Function) extension. Guarantees that raw authenticator-derived entropy is domain-separated via HKDF, ingested immediately into non-extractable Web Crypto handles, memory-zeroed, and never leaked to untrusted storage or network boundaries.

#security#webauthn#prf-extension#subtlecrypto#client-side-encryption#zero-knowledge
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Modular Composition Cycle Detection & Traversal Depth Guardrail

Enforces static acyclic graph (DAG) verification and bounded expansion depth across modular OpenFGA authorization schemas prior to compilation or ingestion. Prevents cross-module cyclic relation references and transitive tuple_to_userset loops that trigger denial-of-service or stack exhaustion in authorization evaluation engines.

#security#openfga#authorization#graph-algorithms#modular-models#rebac
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn LargeBlob Extension Client-Side Encrypted Session Anchor Standard

Governs the storage, retrieval, and cryptographic envelope lifecycle of hardware-attested, client-side encryption roots using the WebAuthn largeBlob extension. Mandates authenticated symmetric encryption (AES-256-GCM or ChaCha20-Poly1305) with ephemeral, derived keys before persisting session state or credentials to the authenticator, guaranteeing zero-knowledge offline authentication states resistant to device-level snooping and cross-origin leakage.

#security#webauthn#largeblob#cryptography#zero-knowledge#passkeys
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Ephemeral OIDC Workload Identity & SLSA Level 3 Provenance Invariant

Mandates keyless, short-lived OIDC-backed Fulcio certificates and Rekor transparency log entries for all containerized build artifacts emitted from isolated CI/CD workflows. Prohibits static long-lived private keys, service account secrets, and unverified build provenance in favor of non-forgeable SLSA Level 3 predicate generation. Guarantees immutable supply chain traceability from source commit SHA to container digest without secret leakage risks.

#security#sigstore#slsa-level-3#oidc#cosign#supply-chain-security
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 Sender-Constrained DPoP Nonce-Bound Token Replay Protection

Mandates RFC 9449 Demonstrating Proof-of-Possession (DPoP) with dynamic server-nonce verification for OAuth 2.1 tokens across web and mobile clients. Prevents token theft and replay attacks arising from client-side XSS by cryptographically binding access tokens to non-extractable client-side asymmetric key pairs. Forbids standard ambient bearer tokens in high-assurance boundary interfaces.

#security#oauth2#dpop#rfc9449#webcrypto#anti-replay#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 Enterprise Attestation and Hardware-Bound AAGUID Enforcement

Enforces strict cryptographic guarantees against multi-device cloud-synced passkeys on high-privilege IAM scopes. Mandates direct or enterprise WebAuthn attestation verification, explicit FIDO Alliance Metadata Service (MDS3) AAGUID allowlisting, and verification that credential backup eligibility (BE) and backup state (BS) flags are strictly zero. Guarantees that only physical, non-exportable hardware authenticators (e.g., YubiKey, Google Titan) can access enterprise-tier administrative operations.

#security#webauthn#fido2#passkeys#iam#attestation#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Hardware-Bound Zero-Knowledge Key Derivation

Enforces strict cryptographic invariants for WebAuthn Level 3 PRF (Pseudo-Random Function) extension usage to derive symmetric encryption keys directly within authenticator hardware. Guarantees client-side zero-knowledge execution by isolating salt inputs and ephemeral outputs, mandating HKDF expansion into non-exportable CryptoKey objects, and immediately zeroizing transient memory buffers.

#security#webauthn#prf-extension#fido2#webcrypto#zero-knowledge
ACTIVE INVARIANTsecurity
View Rule Spec

AMD SEV-SNP Confidential Container Remote Attestation & Secret Provisioning Standard

Defines strict cryptographic verification invariants for AMD Secure Encrypted Virtualization-Secure Nested Paging (SEV-SNP) attestation reports prior to injecting secrets into multi-tenant cloud containers. Mandates verification of the hardware-backed VCEK certificate chain against AMD KDS root of trust, validation of measurement digests (LAUNCH_MEASUREMENT), non-renegotiable fresh nonce binding, and enforcement of minimum Trusted Computing Base (TCB) versions. Prevents man-in-the-middle attacks, hypervisor impersonation, and stale measurement replays in zero-trust confidential compute environments.

#security#confidential-computing#amd-sev-snp#remote-attestation#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore SLSA Level 3 Keyless Ephemeral Provenance & Attestation Invariant

Enforces non-forgeable, cryptographic supply chain provenance for all microservice artifacts utilizing Sigstore keyless signing backed by Fulcio ephemeral certificates and Rekor transparency log entries. Eliminates persistent private signing keys from CI/CD environments, ensuring all attestations are bound to authenticated OIDC workload identities and satisfy SLSA Level 3 requirements. Requires build-time attestation generation and strict admission-time digest-bound verification.

#security#sigstore#slsa-level-3#keyless-signing#cosign#supply-chain#oidc
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Shell-Stream Cache Boundary and Header Isolation

Enforces deterministic boundaries between the static prerender shell and runtime streaming chunks under Next.js 15 Partial Prerendering (PPR). Prevents dynamic execution leakage into the prerender phase and prohibits ambient dynamic read contamination across React Suspense boundaries, eliminating cache stampedes and sensitive credential/header exposure in CDN-cached shells.

#frontend#nextjs#react#partial-prerendering#caching#security
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Contextual Tuple Cycle Detection and Depth Fencing for OpenFGA ReBAC

ReBAC evaluations utilizing dynamic contextual tuples are vulnerable to graph cycle exploitation and unbounded recursive traversal loops that exhaust engine resources. Systems MUST enforce client-side directed acyclic graph (DAG) cycle detection and deterministic depth fencing before dispatching authorization checks to OpenFGA. This invariant guarantees sub-millisecond p99 authorization latencies and shields identity infrastructure from algorithmic complexity denial-of-service (DoS) attacks.

#security#openfga#rebac#authorization#cycle-detection#graph-depth
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Hardware-Rooted aTLS Quote Verification for Confidential Containers

Enforces hardware-rooted AMD SEV-SNP and Intel TDX attestation quote validation prior to provisioning secrets to Confidential Containers (CoCo). Prohibits provisioning production credentials over standard mTLS without binding ephemeral TLS public keys to cryptographic enclave report data. Guarantees that untrusted host hypervisors cannot intercept or forge enclave identity.

#security#confidential-computing#atls#sev-snp#tdx#key-broker-service#attestation
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF TC Ingress/Egress Pod-Identity Cryptographic Tagging and In-Kernel Microsegmentation

Mandates verified kernel-level tenant identity injection and boundary validation at the Traffic Control (TC) layer via eBPF. Forbids unauthenticated IP-to-identity mappings and missing verifier bounds checks on custom encapsulation headers, ensuring line-rate lateral movement isolation without userspace proxy latency.

#security#ebpf#networking#traffic-control#microsegmentation#kernel#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn LargeBlob Authenticated Encryption Verification Standard

Enforces client-side Authenticated Encryption with Associated Data (AEAD) envelope verification and strict payload size bounding for WebAuthn LargeBlob extensions. Prevents credential-state tampering, ciphertext malleability, and memory-exhaustion attacks across multi-tenant or shared hardware authenticators by binding the credential ID to the AEAD Additional Authenticated Data (AAD).

#security#webauthn#cryptography#aead#largeblob#fido2
ACTIVE INVARIANTsecurity
View Rule Spec

W3C Baggage Header Zero-Trust Boundary Sanitization and Cryptographic Validation Standard

Mandates strict ingress boundary redaction, allowlist enforcement, and HMAC cryptographic signing for W3C distributed baggage headers across multi-tenant security boundaries. Prevents untrusted external context injection, tenant spoofing, and privilege escalation via unverified OpenTelemetry propagation propagation context.

#security#opentelemetry#distributed-tracing#w3c-baggage#zero-trust#multi-tenant#api-gateway
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Streaming Cache Isolation Barrier

Enforces a strict architectural barrier between the pre-rendered static shell and runtime streaming Suspense boundaries in Next.js 15 PPR. Prevents dynamic request APIs and volatile cache tags from leaking into the pre-rendered shell, eliminating cache thrashing and route de-optimization.

#frontend#nextjs#nextjs-15#ppr#react-server-components#streaming#caching
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA ReBAC Graph Traversal Fan-Out and Resolution Depth Boundary

Enforces strict bounds on OpenFGA authorization graph traversal depth, contextual tuple payload size, and evaluation concurrency. Prevents Zanzibar-style algorithmic Denial of Service (DoS), thread starvation, and latency spikes caused by unbounded transitive relationship expansion and recursive contextual tuple evaluations.

#openfga#rebac#zanzibar#security#authorization#latency
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Canonical ABI Component Sandboxing and Resource Protocol

Enforces strict shared-nothing linear memory isolation, capability-based descriptor confinement, and deterministic resource deallocation for untrusted multi-tenant WASI 0.2 components. Guarantees host-guest boundary integrity by prohibiting raw memory aliasing across the Canonical ABI and enforcing explicit resource drop lifecycles. Prevents memory leaks, use-after-free, and capability leaks in multi-tenant WebAssembly runtime hosts.

#security#wasm#wasi#canonical-abi#sandboxing#memory-isolation
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Contextual Tuples Dynamic Evaluation Boundary

Mandates that ephemeral, request-scoped, and high-churn attributes are injected exclusively via contextual tuples during the OpenFGA check call rather than written to persistent relational Zanzibar storage. Persisting transient state induces severe write amplification, cache invalidation storms, and race conditions that breach sub-millisecond authorization SLOs. Enforces an immutable architectural boundary separating persistent relationship graphs from runtime dynamic context.

#security#openfga#zanzibar#authorization#rebac#abac
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Component Model Gas-Metered Sandbox Execution Invariant

Mandates strict per-invocation instruction fuel metering, memory bounds enforcement, and capability-scoped host interfaces for untrusted tenant plugins using the WASI 0.2 Component Model. Prevents denial-of-service vectors, infinite execution loops, and guest heap exhaustion in high-throughput backend services by isolating linear memory and binding execution to deterministic gas limits.

#security#wasm#wasi#component-model#wasmtime#sandboxing#fuel-metering
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce WebAuthn PRF Deterministic Key Derivation and Client-Side Zero-Knowledge Isolation

Enforces hardware-backed deterministic symmetric key derivation via the WebAuthn Pseudo-Random Function (PRF) extension for client-side zero-knowledge vaults. Guarantees 32-byte input salt bounds, HKDF domain separation, ephemeral in-memory handling, and non-extractable Web Crypto keys without transmitting PRF secrets across the wire.

#security#webauthn#prf-extension#zero-knowledge#cryptography#webcrypto#hkdf
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF LSM Invariant Enforcement for User Namespace Credential Transitions and Ambient Capability Bounds

Enforces kernel-level eBPF Linux Security Module (LSM) verification on credential preparation and namespace creation hooks to prevent unprivileged user namespace escalation. Prohibits ambient capability acquisition, unverified UID/GID namespace mappings, and unauthorized credential transformations in rootless execution contexts. Blocks privilege inheritance exploits across nested user namespace boundaries before execution context commits.

#security#ebpf#lsm#linux-kernel#user-namespaces#capabilities#containers
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Async Request Context and Streaming Isolation Standard

Next.js 15 converts synchronous request APIs (cookies, headers, params, searchParams) to asynchronous Promises. Awaiting dynamic request context at root layouts or page components blocks Partial Prerendering (PPR), forces the entire component tree into dynamic SSR, and creates catastrophic initial streaming waterfalls.

#frontend#nextjs#react-server-components#partial-prerendering#performance#streaming
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum Cryptography Hybrid ML-KEM-768 TLS 1.3 Handshake Enforcement

Enforces mandatory Post-Quantum Cryptography (PQC) hybrid key encapsulation (ML-KEM-768 combined with classical ECDH) across all internal microservice mTLS and ingress connections. Disallows pure classical key exchange (such as standalone X25519 or NIST P-256) and TLS versions prior to 1.3 to neutralize Harvest-Now-Decrypt-Later (HNDL) attacks by quantum-capable adversaries.

#security#cryptography#pqc#tls1.3#ml-kem#mtls#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6 Multi-Region Cryptographic Check Linearization & Snapshot Invariance

Mandates monotonic cryptographic check linearization and explicit consistency modes in OpenFGA 1.6 distributed graph evaluations. Prohibits stale snapshot traversal during cross-region tuple mutation propagation to eliminate authorization race conditions (the 'New Enemy Problem') across tenant boundaries.

#security#openfga#rebac#linearizability#distributed-consistency#toctou
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Scoped IPC Buffer Deserialization & Native Capability Guardrail

Enforces strict bounds checking, memory allocation limits, and capability-scoped access controls on all IPC binary payloads entering Tauri 2.0 Rust commands from webviews. Prevents remote code execution, unauthenticated arbitrary memory access, and host privilege escalation resulting from unbounded deserialization of raw byte buffers. Guarantees full compliance with Tauri 2.0 permission sets and capability scoping invariants.

#security#tauri#ipc#rust#memory-safety#capabilities
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 OAuth DPoP Sender-Constrained Token Rotation & Verification Invariant

Enforces strict RFC 9449 Demonstrating Proof-of-Possession (DPoP) verification across all microservice boundaries and edge ingress proxies. Mandates cryptographic thumbprint binding (`jkt`) in access tokens, asymmetric ephemeral key signature verification, strict HTTP method/URI claims matching, and distributed nonce-based replay prevention.

#security#oauth2#rfc9449#dpop#cryptography#zero-trust#jwt
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum ML-KEM Hybrid TLS 1.3 Edge Invariant

Mandates that all external edge ingress termination points, reverse proxies, and edge gateways enforce TLS 1.3 with post-quantum hybrid key exchange (X25519+ML-KEM-768). This invariant eliminates Harvest Now, Decrypt Later (HNDL) exposure by ensuring ephemeral session keys cannot be decrypted retroactively by Cryptanalytically Relevant Quantum Computers (CRQCs). Classical-only key exchange groups (pure X25519, secp256r1, secp384r1) and protocols prior to TLS 1.3 are strictly forbidden on perimeter interfaces.

#security#post-quantum#ml-kem#tls1.3#ingress#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Origin Lockout & Top-Level Context Enforcement Standard

Enforces cryptographic origin validation and strict Relying Party ID (RP-ID) verification against raw clientDataJSON on the authentication server, coupled with strict Permissions-Policy iframe exclusion. Prevents reverse-proxy Adversary-in-the-Middle (AitM) phishing frameworks from capturing or relaying passkey ceremonies across spoofed or sub-framed origins.

#security#webauthn#fido2#passkeys#phishing-defense#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 DPoP Edge Nonce Replay-Proof Synchronization Boundary

Enforces sub-millisecond distributed nonce validation and cryptographic binding verification for sender-constrained OAuth 2.0 DPoP access tokens across multi-region stateless edge gateways. Mandates atomic consumption, single-use guarantees, and high-entropy sliding-window nonce generation to completely prevent replay attacks across globally replicated datastores.

#security#oauth2#rfc9449#dpop#edge-computing#distributed-systems#crypto
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral SVID Non-Blocking Rotation and Overlap Margin Standard

Enforces proactive, asynchronous rotation of X.509 SVIDs prior to cryptographic expiry using deterministic grace overlap margins. Eliminates in-flight mTLS handshake failures and transport-layer downtime by decoupling the Workload API fetch loop from TLS context creation and socket-level negotiation.

#security#spiffe#spire#mtls#zero-trust#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Streaming Shell Boundary Guardrail

Enforces strict isolation between prerendered static layout shells and dynamic runtime components in Next.js 15 PPR. Dynamically evaluated APIs such as cookies(), headers(), searchParams, or dynamic uncached fetch requests must never bleed into root layout or page-level static contexts, guaranteeing near-zero edge TTFB via granular Suspense boundaries.

#frontend#nextjs#react-server-components#ppr#performance#streaming
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Bound Zero-Knowledge Encryption via WebAuthn PRF Extension

Enforces strict cryptographic domain separation and ephemeral memory isolation for symmetric keys derived via the WebAuthn Pseudo-Random Function (PRF) extension. Guarantees that raw PRF outputs and derived symmetric keys remain completely client-side, non-extractable, and hardware-bound without leaking key material or authenticating hashes to remote servers or persistent web storage.

#security#webauthn#fido2#prf-extension#zero-knowledge#web-crypto
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Stream Isolation and Static Shell Invariant

Enforces strict isolation of dynamic runtime headers, cookies, and asynchronous flight data within React Suspense boundaries under Next.js 15 Partial Prerendering (PPR). Prevents dynamic execution leakage into the pre-rendered static shell, eliminating non-deterministic microtask stalls and full-route dynamic de-optimization during high-concurrency stale-while-revalidate cycles.

#frontend#nextjs#react-19#ppr#rsc#concurrency#performance
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional UI Hybrid Passkey Autofill Injection Mitigation

Enforces cryptographic and DOM-isolation invariants for WebAuthn Conditional Mediation (passkey autofill). Prevents malicious iframes, prototype pollution, and rogue extension DOM injections from intercepting hybrid transport credentials during asynchronous form hydration by enforcing AbortController teardowns, immutable challenge-binding, top-level ancestor validation, and strict input attribute isolation.

#security#webauthn#passkeys#fido2#dom-injection#conditional-ui
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory ML-KEM (FIPS 203) Hybrid Ephemeral KEM Ratchet in TLS 1.3 Reverse Proxies

Enforces strict hybrid classical and post-quantum ephemeral key encapsulation (X25519MLKEM768 / SecP256r1MLKEM768) across all edge reverse proxies and ingress terminators. Forbids pure classical ephemeral key agreements to defeat 'Harvest Now, Decrypt Later' (HNDL) quantum intelligence vectors, while enforcing explicit ratchet updates and validating dual shared-secret combination step invariants.

#security#cryptography#pqc#ml-kem#tls13#fips-203
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Extension Zero-Knowledge Vault Standard

Mandates client-side symmetric key derivation directly from passkey hardware authenticators via the WebAuthn Level 3 PRF extension to achieve end-to-end zero-knowledge encryption. Master secret keys, raw PRF evaluation buffers, and decrypted payloads must never be transmitted across network boundaries or persisted in client-side storage. Cryptographic vaults must enforce HKDF-SHA-256 derivation over the PRF output before performing authenticated symmetric encryption (AES-256-GCM or ChaCha20-Poly1305).

#security#webauthn#prf-extension#zero-knowledge#cryptography#passkeys#e2ee
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF Tetragon Kernel-Level Capability Modification and Namespace Isolation Invariant

Enforces synchronous, in-kernel blocking of runtime privilege escalation and namespace breakout attempts using Cilium Tetragon TracingPolicies. Mandates the use of synchronous kernel actions (Sigkill or Override) at the kprobe boundary on critical capability and namespace transitions (commit_creds, cap_capable, switch_task_namespaces) rather than asynchronous userspace alert pipelines.

#security#ebpf#tetragon#kubernetes#linux-kernel#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Bound WebAuthn PRF Deterministic Key Derivation Invariants

Enforces client-side zero-knowledge key synthesis via the WebAuthn Level 3 PRF (Pseudo-Random Function) extension. Guarantees that derived symmetric keys never leak to backend infrastructure, authenticator assertions enforce explicit user verification, and raw PRF outputs are immediately expanded into non-extractable cryptographic keys using domain-separated HKDF.

#security#webauthn#prf-extension#zero-knowledge#cryptography#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Real-Time Vector Clock Barrier for Causal Revocation Invalidation

Enforces causal consistency across geo-distributed OpenFGA ReBAC policy evaluation nodes using vector clock barriers. Guarantees that read-heavy edge nodes block or divert requests when their local replica's causal state lags behind the client's causal horizon, preventing authorization bypasses via stale revocation states.

#security#openfga#rebac#vector-clocks#cache-invalidation#distributed-systems#causal-consistency
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Bound WebAuthn PRF Zero-Knowledge Key Derivation Standard

Enforces strict implementation invariants for client-side cryptographic key derivation using WebAuthn Level 3 Pseudo-Random Function (PRF) extensions (HMAC-secret). Guarantees that derived symmetric keys bound to hardware authenticators are never exported, stored in persistent plaintext, or transmitted over network boundaries, ensuring absolute zero-knowledge client-side encryption.

#security#webauthn#prf-extension#fido2#zero-knowledge#web-crypto#key-derivation
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA CDC Outbox Transactional Consistency and Cache Invalidation

Enforces strict transactional consistency between primary entity mutations and external OpenFGA relationship tuples using the Transactional Outbox pattern with Change Data Capture (CDC). Prevents dual-write race conditions, authorization drift, split-brain permission states, and stale cache authorization bypass vulnerabilities.

#security#openfga#cdc#transactional-outbox#zanzibar#authorization#cache-invalidation
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 PRF Hardware-Backed Zero-Knowledge Key Derivation Guardrail

Mandates strict zero-knowledge client-side encryption using the WebAuthn Level 3 Pseudo-Random Function (PRF) extension. Guarantees that raw PRF outputs and derived symmetric encryption keys are processed exclusively within client-side Web Crypto subsystems and never transmitted over the wire or persisted in inspectable storage.

#security#webauthn#prf-extension#zero-knowledge#cryptography#passkeys
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Server Action Host & Origin Cryptographic Tenant Boundary Isolation

Next.js 15 Server Actions in multi-tenant reverse proxy architectures must cryptographically bind incoming Origin and Host headers to the authenticated session's tenant scope. Failure to validate cross-tenant boundaries permits forged action executions, cross-tenant CSRF replays, and hostile tenant impersonation across shared root domains.

#frontend#nextjs#server-actions#multi-tenancy#security#csrf
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 Enterprise Attestation and Cloud-Syncable Passkey Rejection Guardrail

Enforces hardware-bound, non-exportable cryptographic authenticator validation via WebAuthn enterprise attestation statements to block personal consumer cloud credential synchronization on corporate assets. Mandates inspection of authenticator data flags to reject multi-device credentials (BE=1, BS=1) and validates authenticator AAGUIDs against enterprise-approved hardware allowlists anchored to FIDO MDS3 or private PKI.

#security#webauthn#fido2#passkeys#enterprise-attestation#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF TC Socket Microsegmentation and Kernel-Level Identity Injection

Enforces non-bypassable kernel-level microsegmentation by attaching eBPF Traffic Control (TC) classifiers to container veth interfaces for sidecarless identity tagging and mTLS validation. Eliminates user-space bypass vectors and iptables race conditions by performing tenant SPIFFE ID verification directly within skb execution paths.

#security#ebpf#networking#tc#microsegmentation#spiffe#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

AMD SEV-SNP Remote Attestation & Pre-Execution Secret Injection Guardrail

Enforces strict cryptographic verification of AMD SEV-SNP hardware launch measurements and VCEK certificate chains prior to releasing sensitive secrets or decryption keys to containerized workloads. Blocks TOCTOU vulnerabilities and untrusted hypervisor snooping by ensuring ephemeral key exchange happens strictly via authenticated attestation reports tied to an unforgeable hardware root of trust.

#security#confidential-computing#sev-snp#remote-attestation#zero-trust#oci-runtime
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn LargeBlob Hardware-Isolated Zero-Knowledge Storage Invariant

Enforces strict hardware-isolated cryptographic key and credential synchronization using the WebAuthn CTAP 2.1 largeBlob extension. Guarantees that sensitive client-side key material is sealed within authenticator-backed memory and AEAD-authenticated, strictly forbidding cloud-side custody or unencrypted persistence in standard Web Storage APIs.

#security#webauthn#fido2#largeblob#cryptography#zero-knowledge
ACTIVE INVARIANTsecurity
View Rule Spec

SPIRE Workload Identity X.509 SVID Sub-Hour Rotation and Attestation Guardrail

Enforces zero-trust authentication across heterogeneous container runtimes by obtaining ephemeral X.509 SPIFFE Verifiable Identity Documents (X509-SVIDs) directly from the SPIRE Workload API. Prohibits persistent static credentials, requiring sub-hour certificate lifetimes and dynamic in-memory TLS context updates via active Workload API socket streaming.

#security#spiffe#spire#zero-trust#mtls#x509#workload-identity
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Client-Side WebAuthn PRF Symmetric Key Derivation & Zero-Knowledge Transport

Enforces strict client-side symmetric key derivation using the WebAuthn PRF (Pseudo-Random Function) extension for end-to-end encrypted vaults. Authenticator PRF outputs and intermediate key materials must never be transmitted to Relying Party servers, and must always be expanded via client-side HKDF with distinct domain separation parameters before encrypting application state.

#security#webauthn#prf-extension#e2ee#cryptography#zero-knowledge
ACTIVE INVARIANTsecurity
View Rule Spec

SLSA v1.1 Ephemeral OIDC Sigstore Attestation & Hermetic Provenance Guardrail

Mandates SLSA v1.1 Build L3 compliance via keyless cryptographic signing using ephemeral OIDC tokens through Sigstore Fulcio and Rekor. Prohibits static long-lived signing credentials, unverified build runners, and non-hermetic provenance generation across all CI/CD pipelines.

#security#slsa#sigstore#cosign#supply-chain#attestation#oidc
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 DPoP Key-Binding Assertion & Nonce Synchronization Standard

Enforces strict RFC 9449 Demonstrating Proof-of-Possession (DPoP) key-binding assertions and stateful nonce synchronization. Prevents token replay, exfiltration, and downgrade attacks in zero-trust architectures by cryptographically binding access and refresh tokens to client-held asymmetric keys.

#security#oauth2#rfc9449#dpop#zero-trust#cryptography#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6 Contextual Tuple Staleness and Zero-Drift ReBAC Invariant

Mandates contextual tuple injection and transactional replication-lag mitigation for OpenFGA 1.6 relationship-based access control (ReBAC). Guarantees zero authorization drift and prevents TOCTOU permission bypasses during high-throughput concurrent writes across distributed evaluation clusters.

#security#openfga#rebac#authorization#distributed-systems#concurrency
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Extension Deterministic Key Derivation Zero-Leakage Standard

Enforces non-extractable cryptographic isolation when deriving symmetric keys from hardware-bound WebAuthn PRF (Pseudo-Random Function) authenticator outputs. Guarantees that raw PRF outputs are immediately imported into non-extractable Web Crypto handles, memory-scrubbed via zeroization, and never persisted to client storage or transmitted over transport layers.

#security#webauthn#prf-extension#webcrypto#zero-leakage#e2ee#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Next.js 15 Server Actions Cryptographic Host and Origin Validation Barrier

Enforces deterministic origin verification and HMAC-signed cryptographic host token validation for Next.js 15 Server Actions across distributed edge deployments. Prevents cross-site action invocation (CSAI), DNS rebinding, and host-header injection across multi-region reverse proxies by binding incoming action requests to cryptographically signed edge ingress contexts.

#security#nextjs15#server-actions#edge-computing#csrf#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Native IPC Capability Scoping and Webview Origin Isolation

Enforces strict, least-privilege capability manifests and cryptographic webview origin isolation in Tauri 2.0 architectures. Prohibits wildcard plugin permissions, binds IPC commands to validated window labels and origins, and enforces granular resource scoping on all native boundaries.

#security#tauri#rust#ipc#desktop#capabilities#origin-isolation
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Conditional Relationship Tuple Evaluation Boundary Standard

Enforces strict deadline propagation, circuit breaker boundaries, and deterministic context serialization when evaluating OpenFGA conditional relationship tuples. Unbounded evaluation of dynamic ABAC conditions allows authorization bypass via resource exhaustion, request hanging, and fail-open edge-case degradation under adversarial payload loads. All check evaluations must enforce immutable context validation, strict timeouts, and fail-closed security defaults.

#security#openfga#authorization#abac#rebac#dos-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Hybrid Post-Quantum ML-DSA-65 and Classical ECDSA Dual-Signature Invariant

Enforces hybrid quantum-resilient verification on asynchronous ingestion channels by pairing classical ECDSA (P-384/secp256r1) with post-quantum ML-DSA-65 (FIPS 204). Guards webhook payloads against Harvest-Now-Decrypt/Forge-Later (HNDL/HNFL) adversaries targeting critical webhook ingestion pipelines. Payload deserialization is strictly blocked until both mathematical signatures independently verify the raw unparsed octet stream bound to tamper-proof headers.

#security#post-quantum#ml-dsa#fips-204#ecdsa#webhooks#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA CDC-Driven Zanzibar Cache Invalidation & Consistency Guardrail

Eliminates authorization race conditions by streaming transactional tuple mutations directly into distributed ReBAC cache nodes with sub-millisecond consistency. Forbids dual-write cache invalidation from application services and guarantees out-of-order mutation rejection via monotonically increasing Log Sequence Numbers (LSN) and zookie token tracking.

#security#openfga#rebac#zanzibar#cdc#cache-invalidation#distributed-systems
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Dynamic I/O Suspense Boundary Strict Timeout Sentinel

Enforces deterministic streaming within Next.js 15 Partial Prerendering (PPR) and Dynamic I/O architectures by mandating strict timeout sentinels on async React Server Components. Prevents unbounded microtask execution from exceeding edge runtime streaming deadlines, eliminating hanging stream connections and 504 Gateway Timeouts.

#frontend#nextjs#react-server-components#partial-prerendering#dynamic-io#streaming#resilience
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce WebAuthn Device-Bound Attestation and Device Public Key (DPK) Extension Verification

Enterprise security boundaries require hardware-backed, non-exportable passkeys to prevent exfiltration into unmanaged consumer sync fabrics (e.g., iCloud Keychain, Google Password Manager). Registration ceremonies must strictly request and cryptographically verify the Device Public Key (devicePubKey) extension, validate enterprise attestation statements (direct or enterprise), and enforce authenticator attachment flags to fence passkey usage to vetted physical corporate hardware.

#security#webauthn#passkeys#fido2#enterprise-attestation#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.8 CDC Stream Invalidation with Monotonic LSN Watermarking

Enforces deterministic binding of database Change Data Capture (CDC) Log Sequence Numbers (LSNs) to edge relation tuple caches in OpenFGA 1.8 architectures. Eliminates distributed authorization drift and stale privilege retention by rejecting out-of-order CDC events and ensuring atomic, monotonic cache invalidation. Mandates strict consistency fencing between write transactions and distributed edge evaluation nodes.

#security#openfga#cdc#distributed-cache#authorization#redis#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Strict Origin-Bound Cryptographic Validation for WebAuthn Conditional Mediation

Enforces strict origin and top-origin cryptographic binding during WebAuthn conditional mediation (autofill passkey) exchanges. Mitigates silent credential harvesting, cross-origin assertion relay, and iframe credential substitution attacks by strictly verifying clientDataJSON against immutable session contexts. Mandates strict validation of RP ID, challenge nonce lifecycle, and conditional mediation assertion integrity on relying party servers.

#security#webauthn#passkeys#fido2#authentication#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Server Action Ephemeral Request-Binding Nonce Verification

Mutative Next.js 15 Server Actions rendered in pre-hydrated HTML forms are susceptible to cross-site request forgery, stale token replay, and race-condition double submissions. All mutative server actions must validate a cryptographically secure, single-use ephemeral nonce bound to the user session using constant-time comparison before modifying state.

#frontend#nextjs#server-actions#security#csrf#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Step-Up Attestation for WebAuthn L3 Synced Passkeys in High-Privilege Contexts

Enforces strict server-side evaluation of WebAuthn authenticator data flags (flags.be and flags.bs) alongside enterprise attestation formats during high-privilege operations. Synced multi-device credentials (cloud-backed passkeys) must trigger immediate step-up verification or hardware-bound device-bound credential re-authentication to prevent unauthorized execution via synchronized credential compromise.

#security#webauthn#fido2#passkeys#authentication#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA CDC Tuple Stream Watermark Monotonic Consistency Guardrail

Enforces strict read-your-writes monotonic consistency across distributed OpenFGA authorization checks fed by change data capture (CDC). Mandates that downstream permission evaluation gates block or supply contextual tuples until the OpenFGA consumer stream watermark catches up to the mutation's transactional log sequence number (LSN).

#security#openfga#authorization#cdc#distributed-systems#eventual-consistency
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Recursive Graph Expansion Cost Containment & Depth Bounding

Enforces strict structural constraints, evaluation timeouts, and bounded depth traversal on OpenFGA relationship-based access control (ReBAC) evaluations. Prevents algorithmic denial-of-service (DoS) and thread exhaustion attacks caused by deeply nested transitive hierarchies or cyclical graph expansion in real-time authorization checks. Mandates fail-closed limits, contextual tuple constraints, and deterministic complexity budgeting across all authorization queries.

#security#openfga#rebac#authorization#dos-prevention#graph-algorithms
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce Strict Challenge Invalidation and Origin Binding for WebAuthn Conditional Mediation Flows

Defends WebAuthn conditional mediation (passkey autofill) against ambient replay attacks, cross-origin credential harvesting, and concurrent AbortSignal race conditions. Mandates single-flight AbortController orchestration, ephemeral challenge-session binding, and atomic challenge invalidation on verification.

#security#webauthn#passkeys#authentication#conditional-mediation#fido2
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6+ CDC Consistency Token Synchronization Standard

Multi-region authorization architectures suffer from replication lag anomalies where transactional database state propagates faster than asynchronous OpenFGA tuple projections. This standard mandates propagating and binding change-data-capture (CDC) transaction tokens (e.g., PostgreSQL LSN, CockroachDB HLC, or OpenFGA continuation/transaction IDs) into OpenFGA Check and Contextual Tuple evaluations. Enforcing this invariant eliminates stale read authorization vulnerabilities (e.g., revoked access lingering during propagation windows).

#security#openfga#authorization#cdc#distributed-systems#consistency
ACTIVE INVARIANTsecurity
View Rule Spec

Passkey WebAuthn largeBlob Zero-Knowledge Envelope Encryption Standard

Enforces client-side zero-knowledge envelope encryption on all WebAuthn largeBlob extension payloads prior to calling navigator.credentials.create or navigator.credentials.get. Prevents identity leakage, session hijacking, and cross-account transplant attacks in the event of compromised passkey cloud sync vaults (e.g., iCloud Keychain, Google Password Manager).

#security#webauthn#passkeys#largeblob#cryptography#zero-knowledge
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Keyless Ephemeral Provenance Verification Invariant

Enforces non-repudiable SLSA Level 3 build provenance attestation across container artifacts using ambient OIDC workload identity tokens instead of static credentials. Prohibits static cryptographic keys in CI/CD signing pipelines and enforces strict verification of Fulcio ephemeral X.509 certificates, Rekor transparency log inclusion proofs, and OIDC issuer/subject identity claims at admission and deployment boundaries.

#security#sigstore#cosign#supply-chain#slsa-level-3#rekor#fulcio#oidc
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Component Model Zero-Trust Sandboxed Host-Guest Isolation

Enforces non-negotiable zero-trust execution boundaries for untrusted, customer-authored WebAssembly components via WASI 0.2 and WIT-defined capability interfaces. Eliminates ambient authority and IPC serialization overhead by strictly isolating component instances through typed resource handles, deterministic epoch-based interruption, and granular WASI capability linkers.

#security#wasi#wasm#component-model#wit#sandboxing#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Server Actions Cryptographic Token & Tainted Record Boundary

Enforces strict cryptographic verification of Server Action payloads and guarantees zero data leakage across the React Flight boundary using React 19 taint APIs. Prevents client-side parameter tampering on server actions and accidental serialization of server-only secrets into React Server Component (RSC) streams.

#frontend#nextjs#server-actions#react-19#security#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Extension Client-Side Key Derivation and Zero-Knowledge Isolation

Enforces zero-knowledge client-side encryption key derivation using the WebAuthn Level 3 PRF (HMAC-Secret) extension directly inside hardware-backed authenticators. Guarantees that raw PRF outputs and derived symmetric encryption keys never traverse the network, bypass browser cryptographic memory boundaries, or touch relying party application servers.

#security#webauthn#prf-extension#zero-knowledge#cryptography#subtle-crypto#passkeys
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA CDC Outbox Strict Tuple Serialization Pipeline Standard

Enforces dual-write prevention and guarantees absolute authorization state consistency between application databases and OpenFGA stores via a transactional outbox CDC pipeline. Prohibits direct dual-writing to OpenFGA API endpoints within application boundary business logic to prevent authorization drift under partial failure modes.

#security#openfga#cdc#transactional-outbox#authorization#rebac
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Distributed Cache-Tag Revalidation and Idempotency Guardrail

Guarantees atomic, cross-region edge cache invalidation when invoking revalidateTag within Next.js 15 Server Actions. Enforces distributed idempotency locks and fencing tokens to prevent split-brain cache states, thundering herds, and stale-while-revalidate race conditions across multi-zone CDN deployments.

#frontend#nextjs#cache-tag#server-actions#edge-computing#idempotency
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Extension Hardware Key-Derivation Invariant

Enforces zero-knowledge client-side encryption key derivation via WebAuthn Level 3 PRF (Pseudo-Random Function) authenticator outputs. Guarantees raw hardware-derived cryptographic seeds are immediately imported as non-extractable Web Crypto handles, memory buffers are explicitly zeroized, and intermediate keying material is never serialized or transmitted across boundaries.

#security#webauthn#cryptography#prf-extension#zero-knowledge#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 Origin Binding and Cryptographic User-Verification Enforcement

Enforces strict canonical origin resolution, relying party ID matching, and cryptographic user-verification (UV) flag evaluation during WebAuthn assertion and registration ceremonies. Eliminates cross-origin passkey relay, phishing-proxy forwards, and session-fixation attacks by mandating tamper-proof clientDataJSON parsing and authenticatorData bit-flag checks against unforgeable server state.

#security#webauthn#fido2#passkeys#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral X.509 SVID Dynamic Hot-Reload Invariant

Short-lived X.509 SVIDs issued by SPIFFE/SPIRE expire rapidly (e.g., minutes to hours) to constrain credential exposure. Workload runtimes and proxy sidecars must dynamically consume SPIFFE Workload API updates and hot-reload in-memory TLS contexts without restarting processes, re-binding sockets, or terminating active long-lived TCP/mTLS sessions.

#security#spiffe#spire#zero-trust#mtls#tls-rotation#resilience
ACTIVE INVARIANTsecurity
View Rule Spec

Strict Capability-Based Sandboxing for WASI 0.2 Guest Component Boundaries

Enforces strict capability-based least privilege and resource confinement when executing untrusted third-party plug-ins under the WebAssembly System Interface (WASI 0.2 / Preview 2) Component Model. Mandates explicit world link-time imports, ambient authority eradication, and cryptographically verified component signatures prior to instantiating host runtimes.

#security#webassembly#wasi-0.2#component-model#wasmtime#sandbox
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Cosign SLSA L3 Ephemeral Workload Identity and Attestation Standard

Guarantees SLSA Level 3 supply chain integrity by mandating keyless, OIDC-federated ephemeral certificate signing via Sigstore Fulcio and immutable auditability via Rekor transparency log inclusion. Prohibits static, long-lived cryptographic keys and mutable image tags across all production build and deployment pipelines. Mandates admission-time verification of cryptographic provenance attestations and workload identity Subject Alternative Names (SAN).

#security#sigstore#cosign#slsa-l3#supply-chain#attestation#oidc
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Attested Device-Bound Passkey Enforcement for Step-Up Authorization

Enforces cryptographic isolation between multi-device cloud-synced passkeys and high-risk step-up authorization flows. Mandates verification of WebAuthn Level 3 authenticator data flags (Backup Eligibility and Backup State) and hardware-backed Secure Enclave attestation before authorizing privileged operations such as wire transfers and administrative role escalations.

#security#webauthn#passkeys#cryptography#fido2#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Linux Kernel LSM BPF Dynamic Binary and Memory Immutability Gate

Enforces deterministic, in-kernel verification of binary integrity and memory-mapping invariants using eBPF Linux Security Modules (LSM) hooks (`bprm_check_security`, `file_mprotect`, `mmap_file`). Halts execution of tampered binaries, unverified shared libraries, and mutable executable memory segments (W^X violations) directly within the kernel before payload execution can occur in containerized workloads.

#security#ebpf#lsm#kernel#container-hardening#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation Origin Quarantine and Atomic Challenge Invalidation

Enforces strict origin-bound assertion verification and atomic challenge invalidation across hybrid Passkey UI handoffs and conditional mediation lifecycles. Prevents adversary-in-the-middle (AiTM) reverse-proxy relay attacks by cryptographically binding ClientDataJSON origin and RP ID while enforcing single-use challenge consumption within a strict timeout quarantine window.

#security#webauthn#fido2#passkeys#aitm-prevention#conditional-mediation#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Component Model Capability-Based Sandbox Boundary Policy

Enforces strict deny-by-default capability boundaries for multi-tenant WebAssembly 0.2 component execution. Requires explicit capability attenuation, prohibiting ambient authority inheritance such as host environment, socket access, or unrestricted filesystem preopens in host runtimes. Mandates virtualized clocks, isolated store resource limits, and explicit outbound network proxies via WASI HTTP interfaces.

#security#wasi#webassembly#wasmtime#component-model#sandboxing#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 DPoP Cryptographic Proof and Nonce Binding Standard

Enforces application-layer proof-of-possession for OAuth 2.0 access tokens and mutation endpoints via RFC 9449 DPoP. Requires strict asymmetric key binding using non-extractable client keys, verification of HTTP method and URI claims, hash-bound access tokens ('ath'), and synchronized ephemeral server-issued nonces to eliminate exfiltration and replay attacks.

#security#dpop#rfc9449#oauth2#cryptography#zero-trust#jwt
ACTIVE INVARIANTsecurity
View Rule Spec

Strict Schema Contract Attestation for OAuth 2.1 Rich Authorization Requests (RAR)

Enforces deterministic runtime schema validation and client capability attestation for fine-grained OAuth 2.1 Rich Authorization Requests (RFC 9396). Prevents privilege escalation by disallowing open or weakly typed authorization_details objects, mandating closed schemas with strict property allowlists, and binding authorization types directly to registered client profiles before token minting.

#security#oauth2#rar#rfc9396#zero-trust#api-security
ACTIVE INVARIANTsecurity
View Rule Spec

Tetragon eBPF Synchronous Syscall Override and Zero-Latency SIGKILL Guardrail

Enforces synchronous kernel-space evaluation and deterministic SIGKILL termination on unauthorized container namespace breakout attempts prior to instruction execution. Disallows asynchronous user-space audit-only detection modes that permit malicious syscall completion before alert consumption.

#security#ebpf#tetragon#kubernetes#runtime-security#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Deterministic Suspense Boundaries & Zero-CLS Fallback Architecture

Enforces strict isolation between static prerender shells and dynamic streaming holes under Next.js 15 Partial Prerendering (PPR). Mandates layout-deterministic Suspense fallbacks to eliminate Cumulative Layout Shift (CLS) and guarantees zero runtime de-opt of static prerendering caused by uncontained dynamic data access.

#nextjs#react-19#partial-prerendering#suspense#web-vitals#hydration#performance
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Hybrid Transport Relay Resistance and ClientData Validation

Enforces strict RP origin validation, clientDataJSON crossOrigin verification, and authenticator data transport binding during WebAuthn Level 3 hybrid (caBLE/cross-device) ceremonies. Prevents adversary-in-the-middle (AitM) relay proxies from harvesting passkey assertions across disassociated domains or unverified hybrid channels.

#security#webauthn#fido2#passkeys#cryptography#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Linux Landlock LSM Process Confinement and Privilege Stripping

Enforces unprivileged, kernel-enforced Linux Landlock LSM sandboxing at process initialization before processing untrusted input or executing untrusted workloads. Requires strict ABI capability negotiation, explicit filesystem and network access mask definitions, PR_SET_NO_NEW_PRIVS enforcement, and immediate ruleset file descriptor closure to neutralize container breakout primitives.

#security#linux#landlock#lsm#container-security#sandbox#syscalls
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 WebAuthn Related Origin Requests (ROR) Cross-Subdomain Invariant

Enforces strict origin validation and session isolation during FIDO2 WebAuthn Related Origin Requests (ROR) across federated enterprise subdomains. Prevents compromised or user-controlled subdomains from hijacking passkey assertion ceremonies or poisoning parent domain session states while safely permitting cryptographically verified passkey sharing via authoritative well-known manifests.

#security#webauthn#fido2#ror#passkeys#subdomain-takeover#session-poisoning
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 8705 OAuth 2.1 mTLS Certificate-Bound Token Verification

Enforces strict validation of RFC 8705 sender-constrained access tokens by binding tokens to the client's X.509 certificate established during mutual TLS (mTLS). Protected resource endpoints must compute the base64url-encoded SHA-256 thumbprint of the presented client certificate and verify its exact match against the token's confirmation claim (cnf.x5t#S256) to eliminate token replay vulnerabilities.

#security#oauth2#rfc8705#mtls#zero-trust#token-binding
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral Workload Identity Attestation Standard

Enforces zero static credentials by mandating cryptographically attested ephemeral X.509 SVID issuance and live rotation via local SPIRE Agent Unix Domain Sockets. Prohibits persistent cryptographic keys, static cloud IAM service account credentials, and unrotated in-memory X.509 certificates across service meshes and microservice fabrics.

#security#spiffe#spire#mtls#workload-identity#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional UI Single-Use Challenge and Session Binding

Enforces atomic, single-use cryptographically bound challenge validation for WebAuthn Conditional UI (autofill) interactions. Prevents race-condition authentication hijacking, replay attacks, and session fixation by requiring challenge consumption to be atomic and strictly bound to the initiating client session.

#security#webauthn#passkeys#fido2#session-fixation#race-conditions
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Contextual Tuple Transient Lifetime and Cache Invalidation Invariant

Enforces strict temporal bounding and atomic invalidation on OpenFGA dynamic contextual tuples used in runtime authorization checks. Guarantees zero-trust authorization freshness by prohibiting the caching, reuse, or leaking of ephemeral contextual grants across asynchronous execution boundaries or post-revocation states.

#security#openfga#authorization#zero-trust#cache-invalidation#iam
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce Hybrid Post-Quantum TLS 1.3 (X25519MLKEM768) Ingress Key Exchange

Enforces TLS 1.3 ingress configurations to negotiate hybrid post-quantum key encapsulation mechanisms, specifically X25519MLKEM768 (or legacy drafting identifier X25519Kyber768Draft00), while maintaining TLS 1.3 protocol baselines. This standard neutralizes Harvest Now, Decrypt Later (HNDL) attacks targeting enterprise transport layers by guaranteeing that session forward secrecy is anchored by both classical elliptic curves and lattice-based cryptography.

#security#post-quantum#tls#cryptography#ingress#hndl-mitigation
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9396 Rich Authorization Requests & Fine-Grained Transaction Binding

Eliminates coarse scope-bloat and authorization escalation by enforcing RFC 9396 'authorization_details' verification across all sensitive resource operations. Resource servers must cryptographically bind incoming request payloads to specific, structured transaction intents (amounts, currencies, destination identifiers, and action verbs) rather than relying on generic, reusable OAuth scopes.

#security#oauth2#rfc9396#authorization#api-security#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Zero-Knowledge Hardware-Bound Key Derivation via WebAuthn PRF Extension

Enforces cryptographically isolated, client-side encryption key derivation directly from hardware authenticators using the WebAuthn Pseudo-Random Function (PRF) extension (HMAC-secret). Guarantees zero-knowledge end-to-end encryption by ensuring symmetric key material is derived via HKDF from PRF outputs using application-scoped salts and never leaves client volatile memory unencrypted.

#security#webauthn#passkeys#prf-extension#e2ee#cryptography#hkdf
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Monotonic Snapshot & Contextual Tuple Consistency Guardrail

Enforces strict monotonic snapshot barriers and contextual tuple reconciliation across OpenFGA authorization checks to prevent the New Enemy vulnerability and unauthorized stale read-after-write evaluations. Mandates explicit consistency constraints and temporal validation across distributed authorization checks.

#security#openfga#authorization#zanzibar#consistency#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Zanzibar Hierarchical Cycle and Depth Barrier

Enforces bounded traversal invariants, cycle guards, and deterministic recursion ceilings across graph-based relationship tuples in OpenFGA and Zanzibar authorization implementations. Unbounded graph queries and cyclical relationship assignments expose authorization engines to catastrophic denial-of-service, goroutine starvation, and compute amplification attacks.

#security#openfga#zanzibar#authorization#rebac#cycle-detection#rate-limiting
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Extension Zero-Knowledge Key Derivation Standard

Enforces hardware-bound symmetric key derivation using the WebAuthn Pseudo-Random Function (PRF) extension directly within the browser context. Prohibits transiting raw PRF outputs, evaluation inputs, or derived master encryption keys across network boundaries, guaranteeing zero-knowledge client-side encryption. Mandates HKDF-SHA-256 contextual expansion and strict validation of authenticator PRF capabilities during registration and authentication assertions.

#security#webauthn#prf-extension#zero-knowledge#e2ee#web-crypto
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Streaming AbortSignal Propagation Standard

Enforces mandatory AbortSignal propagation across all async data fetching, downstream HTTP clients, and database queries within Next.js 15 Partial Prerendering (PPR) dynamic Suspense boundaries. Prevents catastrophic database connection pool starvation and orphaned Node.js/Edge compute when streaming HTTP responses are terminated prematurely by client disconnects.

#frontend#nextjs#nextjs-15#ppr#react-server-components#streaming#abort-signal#performance
ACTIVE INVARIANTsecurity
View Rule Spec

OpenTelemetry GenAI Token Streaming Inline PII Redaction Standard

Mandates deterministic, sliding-window inline masking of personally identifiable information (PII) across Server-Sent Event (SSE) token chunks before attaching content to OpenTelemetry spans, events, or telemetry exporters. Prevents boundary-split PII leakage across chunk boundaries while maintaining ultra-low-latency streaming pipelines. Enforces zero raw token retention in telemetry buffers.

#security#opentelemetry#genai#sse#pii-redaction#streaming
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF XDP Zero-Allocation SYN Proxy Production Guardrail

Enforces driver-layer packet filtering and stateless SYN-cookie handling via eBPF XDP before Linux kernel socket buffer (sk_buff) allocation occurs. Guarantees constant-time verification, in-place header rewrites, and strict verifier bounds enforcement to defeat volumetric L4 SYN floods without degrading memory or conntrack tables. Prevents CPU exhaustion and kernel panics by eliminating dynamic allocations on unauthenticated TCP handshakes.

#security#ebpf#xdp#ddos#syn-proxy#linux-networking
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Transitive Graph Resolution Depth and Cycle-Budget Invariants

Enforces deterministic recursion limits, bounded traversal depth, and strict execution deadlines on transitive relationship queries within OpenFGA. Prevents authorization engine Denial of Service (AuthDoS) and p99 tail-latency collapse caused by cyclic graphs or deeply nested relationship hierarchies (e.g., nested groups, recursive document folders).

#security#openfga#authorization#graph-traversal#dos-prevention#resilience
ACTIVE INVARIANTsecurity
View Rule Spec

ML-KEM Hybrid TLS 1.3 Key Encapsulation Standard for Zero-Trust Ingress

Enforces post-quantum hybrid key encapsulation mechanisms (ML-KEM-768 coupled with classical ECDH) across all internal microservice TLS 1.3 configurations. This shields internal service-to-service transit pipelines against Harvest-Now-Decrypt-Later (HNDL) attacks by quantum adversaries. Configurations must strictly disallow classical-only key exchange groups and reject TLS versions below 1.3.

#security#cryptography#post-quantum#ml-kem#tls-1.3#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Tainted Reference & Server Action Replay Boundary Enforcement

Guarantees that sensitive server-side objects, environmental secrets, and raw cryptographic credentials cannot be serialized across the React Server Components (RSC) wire protocol using React 19 experimental taint primitives. Enforces strict cryptographic nonce verification, session binding, and atomic idempotency consumption across all mutating Server Actions to eradicate replay and duplicate execution vectors.

#frontend#react-19#nextjs#rsc#server-actions#taint-api#anti-replay#idempotency
ACTIVE INVARIANTsecurity
View Rule Spec

Kernel-Enforced Sockops L7 Cryptographic Identity Verification

Enforces cryptographic service identity attestation directly within kernel socket operations (BPF_PROG_TYPE_SOCK_OPS and BPF_PROG_TYPE_SK_MSG) before payload traversal to userspace. Prohibits routing packets through sockhash or sockmap based solely on mutable L3/L4 5-tuples without verifying mutual kernel-attested SPIFFE IDs or pinned cryptographic session tokens.

#security#ebpf#zero-trust#sockops#microsegmentation#kernel#spiffe
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA CDC-Driven Cache Invalidation Gatekeeper Standard

Enforces sub-millisecond zero-trust authorization check latency while eliminating authorization divergence between application data stores and distributed relationship graphs. Mandates transactional outbox capture for OpenFGA relationship tuples, causal consistency tokens for check queries, and monotonic CDC-driven cache evictions to prevent Time-of-Check to Time-of-Use (TOCTOU) authorization bypasses.

#security#openfga#authorization#cdc#cache-invalidation#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Transitive Relation Graph Cycle & Traversal Budget Barrier

Enforces pre-write directed acyclic graph (DAG) cycle detection and strict traversal budget caps for OpenFGA relationship tuple writes and dynamic authorization checks. Prevents denial-of-service (DoS) CPU exhaustion and engine goroutine starvation caused by recursive group nesting, circular inheritance models, or unconstrained expansion depths.

#security#openfga#rebac#authorization#dos-prevention#graph-algorithms
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn LargeBlob Partition Isolation and Cryptographic AAD Binding Standard

Enforces cryptographically bounded, origin-scoped storage partitioning on WebAuthn Level 3 largeBlob extensions to prevent cross-session payload corruption and token leakage. Mandates that all hardware-backed authenticator storage operations apply AEAD authenticated encryption with Additional Authenticated Data (AAD) strictly bound to the Relying Party ID, Credential ID, and User Handle. Eliminates shared namespace clobbering, replay attacks, and unauthorized cross-identity read-write access.

#security#webauthn#cryptography#largeBlob#passkeys#hardware-token
ACTIVE INVARIANTsecurity
View Rule Spec

WASI Preview 2 Capability Attenuation and Isolated Memory Sandbox Standard

Enforces deterministic capability attenuation and strict shared-nothing memory isolation for multi-tenant WebAssembly Component Model (WASI Preview 2) micro-extensions. Forbids ambient authority, persistent cross-tenant store sharing, unconstrained preopen directories, and wildcard socket creation in host runtimes.

#security#wasm#webassembly#wasi-preview2#sandboxing#zero-trust#multi-tenancy
ACTIVE INVARIANTsecurity
View Rule Spec

Mandate WebAuthn Device-Bound Key Attestation with FIDO2 Enterprise Metadata Pinning

Enforces hardware-backed, non-exportable passkey registration by requiring direct attestation verification against FIDO Alliance Metadata Service (MDS3) roots of trust. Rejects synced passkeys by evaluating authenticator flags (rejecting backup eligibility) and strictly pinning enterprise-approved AAGUIDs to prevent unauthorized credential export.

#security#webauthn#fido2#attestation#mds3#passkeys#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 DPoP Ephemeral Nonce-Binding and Replay Mitigation Standard

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) at resource and authorization servers to neutralize token theft and replay attacks. Requires asymmetric proof validation bound to client thumbprints, HTTP method and URI normalization, SHA-256 access token hashing, and strict ephemeral server-issued nonce rotation with single-use JTI cache enforcement.

#security#oauth2#dpop#rfc9449#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Device-Bound Attestation Key Quarantine and Step-Up Protocol

Enforces strict cryptographic isolation and quarantine for passkeys configured for high-assurance, device-bound execution contexts when detected with synced backup flags or missing hardware-backed attestation. Requires immediate privilege downgrade and mandatory step-up re-registration before granting access to hardware-isolated enterprise boundary tiers.

#security#webauthn#passkeys#fido2#cryptography#zero-trust#attestation
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6 Contextual Tuple Traversal Depth and Cycle Detection Invariant

Enforces strict pre-flight acyclicity validation, traversal depth bounding, and bounded context timeouts when submitting contextual tuples to OpenFGA 1.6 check APIs. Prevents denial-of-service, goroutine starvation, and catastrophic tail-latency degradation caused by circular references or deeply nested dynamic relation graphs in ReBAC authorization pipelines.

#security#openfga#rebac#dos-prevention#zero-trust#latency
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 DPoP Sender-Constrained Nonce Rotation and Distributed Replay Guardrail

Enforces sender-constrained token access via RFC 9449 Demonstrating Proof-of-Possession (DPoP) across distributed edge gateways. Mandates asymmetric key proof validation, strict HTTP method and URI binding, SHA-256 access token thumbprint validation (ath), and distributed atomic nonce rotation to neutralize access-token exfiltration and replay attacks.

#security#oauth2#dpop#rfc9449#sender-constrained-tokens#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Post-Quantum Hybrid TLS 1.3 (ML-KEM) Key Exchange Standard

Enforces post-quantum hybrid key encapsulation (FIPS 203 ML-KEM-768 combined with classical ECDH curves like X25519) across all service-to-service transport configurations. Prevents Harvest-Now-Decrypt-Later (HNDL) attacks by mandating TLS 1.3 minimum versions, restricting curve preferences to hybrid groups, and rejecting classical-only key exchanges in zero-trust mesh traffic.

#security#cryptography#tls13#post-quantum#ml-kem#zero-trust#hndl
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Client-Side Zero-Knowledge Key Derivation Invariants

Enforces strict client-side isolation of WebAuthn Pseudo-Random Function (PRF) extension outputs and derived cryptographic keys. Mandates sanitization of credential assertions prior to server transmission, HKDF domain separation for key derivation, and storage of derived keys solely within non-extractable CryptoKey primitives.

#security#webauthn#prf-extension#zero-knowledge#webcrypto#encryption
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Deterministic Zero-Knowledge Key Derivation Boundary

Enforces a strict cryptographic boundary for WebAuthn Pseudo-Random Function (PRF) extension key derivation. Mandates that raw PRF outputs and intermediate key material are imported strictly as non-extractable CryptoKey instances, isolated within client memory, and derived via HKDF so that zero-knowledge root symmetric credentials never traverse the wire or persist into unmanaged storage.

#security#webauthn#prf-extension#zero-knowledge#cryptography#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6 Modular Model Schema Static Acyclic & Cycle-Detection Standard

Mandates compile-time static acyclic graph verification across federated OpenFGA 1.6 modular authorization models prior to runtime registration. Circular relation expansions across distributed module files induce unbounded tuple resolution and severe Denial-of-Service (DoS) during Check and ListObjects queries. Strict automated cycle analysis guarantees provable termination bounds for recursive graph traversals.

#security#openfga#authorization#rebac#cycle-detection#modular-models
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Deterministic Zero-Knowledge Symmetric Key Derivation Standard

Enforces strict cryptographic handling when deriving hardware-backed symmetric encryption keys via the WebAuthn Pseudo-Random Function (PRF) extension (hmac-secret). Requires using high-entropy application salts, applying secondary KDFs (HKDF-SHA256) with domain separation contexts, and strictly prohibiting raw PRF output usage, plaintext key persistence, or fallback to software-derived master keys without explicit zero-knowledge degradation handling.

#security#webauthn#prf-extension#cryptography#zero-knowledge#client-side-encryption
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Sub-Graph Recursive Resolution Budgeting and Memoization Invariant

Enforces deterministic depth horizons, node evaluation budgets, and memoized subproblem evaluation caches across recursive OpenFGA relation checks. Prevents algorithmic authorization denial-of-service (Auth-DoS) and thread pool exhaustion driven by cyclical or deeply nested transitive relationship graphs.

#security#openfga#authorization#zanzibar#dos-prevention#graph-algorithms
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.8 Causal Consistency Token Protocol for Multi-Region Checks

Enforces read-after-write causal consistency across multi-region OpenFGA/Zanzibar deployments by propagating and evaluating consistency tokens during authorization checks. Prevents authorization bypasses and privilege escalations resulting from stale read replicas evaluating authorization state before tuple writes or revocations replicate globally.

#security#openfga#zanzibar#causal-consistency#authorization#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Granular IPC Command Capability Scoping & Shell Sandboxing

Enforces granular, least-privilege capability manifests in Tauri 2.0 to eliminate Remote Code Execution (RCE) vectors from compromised webview contexts. Mandates strict argument validation regexes, explicit window bindings, and forbids ambient or wildcard shell permissions.

#security#tauri#ipc#rust#capabilities#least-privilege
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 RFC 9449 DPoP Single-Use Nonce Cluster Enforcement

Enforces atomic, cluster-wide verification of OAuth 2.1 Demonstrating Proof-of-Possession (DPoP, RFC 9449) proofs and ephemeral nonces across distributed edge proxies. Guarantees linearizable single-use proof validation and access token hash binding to eliminate replay attacks across multi-region ingress points.

#security#oauth2#dpop#rfc9449#distributed-systems#redis#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 RSC Flight Boundary Serialization and Closure Sanitization Guardrail

Enforces strict serialization boundaries and Data Transfer Object (DTO) projection when passing data across React Server Component (Flight protocol) boundaries to Client Components. Prevents runtime serialization crashes, circular reference locks, prototype pollution, and catastrophic secret or connection pool exfiltration via memory pointers.

#frontend#react-19#rsc#security#serialization#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Extension Zero-Knowledge Key Derivation Standard

Enforces strict cryptographic invariants for authenticating with the WebAuthn Pseudo-Random Function (PRF) extension (HMAC-secret). Guarantees that symmetric encryption keys are derived from hardware-isolated authenticator secrets combined with client-side HKDF, preventing plaintext application master keys or credential passphrases from ever touching host memory or network transit.

#security#webauthn#prf-extension#zero-knowledge#cryptography#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 DPoP (RFC 9449) Secure Enclave Cryptographic Binding Standard

Enforces sender-constrained token architecture using RFC 9449 Demonstrating Proof-of-Possession (DPoP) bound to hardware-isolated, non-exportable cryptographic keypairs. Eliminates token exfiltration and replay vectors across edge API egress by requiring per-request signed proofs containing method, normalized URI, access token thumbprint, and unique nonces. Prohibits plain Bearer token headers and exportable private key storage in client-side heaps or persistent stores.

#security#oauth2#dpop#rfc9449#cryptography#webcrypto#secure-enclave#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

SLSA Level 3 Ephemeral Build Provenance and Keyless Cosign Attestation Guardrail

Enforces complete software supply-chain integrity by mandating immutable digest resolution, keyless Cosign cryptographic verification, and SLSA Level 3 provenance validation before any container or artifact is admitted to runtime environments. It strictly eliminates static long-lived private keys in favor of ephemeral Fulcio OIDC identity tokens anchored to Rekor transparency logs and isolated build runners.

#security#slsa-level-3#cosign#sigstore#supply-chain#admission-controller#provenance
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium Tetragon eBPF Process Namespace Boundary Enforcement

Enforces synchronous kernel-level process termination using Cilium Tetragon TracingPolicies whenever unauthorized namespace transitions (setns, unshare) occur from within containerized workloads. By attaching BPF kprobe and tracepoint hooks with Sigkill action flags, policy enforcement precedes host context switching, preventing container escapes before payloads can execute.

#security#ebpf#tetragon#cilium#kubernetes#kernel-security
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Speculative Graph Traversal Budgeting and Cycle Detection Standard

Enforces deterministic execution budgets, explicit graph traversal depth ceilings, and loop detection on relationship-based access control (ReBAC) evaluations. Prevents algorithmic denial-of-service (DoS) and unbounded resource exhaustion during recursive user-to-object tuple expansions in OpenFGA authorization pipelines.

#security#openfga#rebac#authorization#denial-of-service#graph-traversal
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO Alliance MDS3 Hardware Root of Trust Attestation Verification Standard

Enforces cryptographic hardware-backed attestation verification for passkeys against dynamically synchronized FIDO Metadata Service 3 (MDS3) endpoints. Rejects software-emulated credential injection, unverified authenticator AAGUID claims, and authenticators with compromised status reports. Mandates local MDS3 JWT blob validation with FIDO Root CA chain verification, CRL checks, and strict attestation certificate path matching.

#security#fido2#webauthn#passkeys#mds3#attestation#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Native Protocol & Deep-Link Deserialization Security Standard

Enforces strict native Rust validation and schema-bounded deserialization of custom protocol and OS deep-link payloads prior to IPC dispatch or Webview event emission in Tauri 2.0 applications. Prevents arbitrary command execution, protocol pollution, and privilege escalation resulting from unvalidated raw URL inputs.

#security#tauri-v2#rust#deep-links#ipc#deserialization#injection-prevention
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Action Idempotency & Optimistic Rollback Barrier

Enforces deterministic transactional barriers across React 19 Server Actions and optimistic updates. Mandates client-generated idempotency keys, monotonic revision fencing, and strict rollback envelopes to prevent UI desynchronization and duplicate database mutations during transient network failures, double submissions, or aborted transitions.

#frontend#react-19#server-actions#optimistic-ui#idempotency#nextjs
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Static-Dynamic Isolation Perimeter & Boundary Enforcement

Enforces strict structural boundaries between edge-cacheable static prerender shells and dynamic React Server Component streams under Next.js 15 Partial Prerendering (PPR). Prevents catastrophic static-deoptimization, user credential leakage in edge-cached prerender payloads, and Cumulative Layout Shift (CLS) caused by asymmetric fallback geometries.

#frontend#nextjs#react#ppr#performance#security
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Post-Quantum TLS 1.3 ML-KEM Hybrid Key Exchange Invariant

Enforces quantum-resilient hybrid key exchange mechanisms (specifically X25519MLKEM768 or SecP256r1MLKEM768) under TLS 1.3 across all perimeter ingress gateways, service mesh proxies, and internal microservice transports. Eliminates pure classical key exchange (standard ECDH/DH) to neutralize 'harvest now, decrypt later' (HNDL) adversaries intercepting enterprise data with multi-decade confidentiality requirements.

#security#post-quantum#tls-1-3#ml-kem#pqc#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium Tetragon eBPF LSM Namespace Integrity and Breakout Prevention Invariant

Enforces synchronous in-kernel detection and immediate process termination via eBPF LSM and kprobe hooks whenever container processes attempt unauthorized namespace boundary traversal, privilege escalation, or capability tampering. Prohibits asynchronous userspace audit-only pipelines for container breakouts to ensure zero-window execution of post-escape payloads.

#security#tetragon#ebpf#lsm#kubernetes#container-security
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF LSM Syscall Interception and Process Lineage Enforcement

Enforces synchronous, kernel-space zero-trust process lineage validation using eBPF Linux Security Modules (LSM) hooks before userspace execution. Prevents Container Drift, Time-of-Check to Time-of-Use (TOCTOU) races, and privilege escalation by binding parent-child lineage invariants directly in the task local storage and rejecting unauthorized execution vectors with deterministic kernel aborts.

#security#ebpf#lsm#linux-kernel#containers#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Suspense Boundary and Shell Isolation Standard

Enforces strict structural segregation between static edge-cached shell chunks and deferred dynamic runtime microtasks under Next.js 15 Partial Prerendering (PPR). Dynamic runtime APIs (cookies, headers, searchParams, and uncached data fetches) must be encapsulated within explicit Suspense boundaries to prevent full-route static de-optimization and concurrent hydration mismatches.

#frontend#nextjs#react-server-components#partial-prerendering#hydration#suspense
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Device Public Key (DPK) Enclave Binding Guardrail

Enforces strict parsing, cryptographic verification, and hardware-binding persistence of WebAuthn Level 3 Device Public Key (DPK) extension outputs. Eliminates multi-device passkey cloning vulnerabilities across synced cloud keychains (e.g., Apple iCloud Keychain, Google Password Manager) by requiring unexportable physical hardware-backed cryptographic proof of origin per assertion.

#security#webauthn#fido2#passkeys#cryptography#zero-trust#attestation
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Ephemeral OIDC Attestation and Keyless SLSA Provenance Verification

Enforces SLSA Level 3+ build provenance integrity by mandating keyless, short-lived OIDC attestation verification via Sigstore Fulcio and Rekor. Validates cryptographic identity bindings, immutable certificate Subject Alternative Name (SAN) claims, and transparency log inclusion proofs without relying on long-lived signing keys.

#security#sigstore#slsa-level-3#provenance#oidc#supply-chain
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Hardware Seed Derivation & Zero-Knowledge E2EE Storage Guardrail

Standardizes deterministic client-side symmetric key derivation using WebAuthn Level 3 PRF (Pseudo-Random Function) extensions. Mandates strict HKDF domain separation, ensures hardware-bound zero-knowledge isolation, and strictly forbids raw PRF output leakage to network transports or unencrypted client state.

#security#webauthn#prf-extension#zero-knowledge#hkdf#cryptography#e2ee
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 Demonstrating Proof-of-Possession (DPoP) Nonce Binding Standard

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) specifications across all edge API clients and token handlers. Mandates client-side generation of ephemeral asymmetric key-bound proof JWTs with strict server-issued nonce synchronization to neutralize bearer token exfiltration, replay attacks, and man-in-the-middle impersonation.

#security#oauth2#dpop#cryptography#zero-trust#jwt#rfc9449
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE 1.10 Dynamic X.509 SVID Rotation and In-Memory mTLS Guardrail

Enforces continuous in-memory rotation of short-lived X.509 SVIDs directly from the SPIFFE Workload API via Unix domain sockets. Eliminates static filesystem credential persistence, avoids process restarts upon identity rotation, and mandates strict peer SPIFFE ID authorizers for zero-trust cross-cluster mTLS.

#security#spiffe#spire#mtls#zero-trust#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Components Taint API Serialization Barrier

Guarantees cryptographic secrets, private access tokens, and sensitive raw PII are structurally blocked from crossing the React Server Component (RSC) to Client Component flight serialization boundary. Mandates the explicit application of React 19's experimental_taintUniqueValue and experimental_taintObjectReference at data-access layer boundaries before passing domain entities to rendering pipelines.

#frontend#react-19#nextjs#rsc#security#taint-api
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic IO Shell Isolation Standard

Enforces strict architectural boundaries between static prerendered HTML shells and asynchronous streaming promises under Next.js 15 Partial Prerendering (PPR) and Dynamic IO. Prevents synchronous resolution of dynamic operations—such as cookies(), headers(), searchParams, or uncached I/O—outside of explicit Suspense boundaries, eliminating cascading prerender deoptimizations and build-time dynamic bailouts.

#frontend#nextjs#react-server-components#partial-prerendering#suspense#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Contextual Tuple DAG Cycle Detection and Traversal Deadlines in OpenFGA

Contextual tuples passed dynamically into OpenFGA authorization checks can introduce cyclic relationships and deep recursive graphs that cause algorithmic denial-of-service (ReDoS/Graph DoS) and thread starvation. Authorization services must enforce pre-dispatch directed acyclic graph (DAG) cycle interception and strict, non-negotiable evaluation timeouts on every recursive check call.

#security#openfga#authorization#graph-algorithms#dos-prevention#contextual-tuples
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Fallback Isolation Fence

Enforces strict isolation fences between static prerender shells and dynamic micro-segments under Next.js 15 Partial Prerendering (PPR). Guarantees dynamic runtime execution (cookies, headers, non-deterministic database access) is sequestered behind explicit React Suspense boundaries with pure, static skeleton fallbacks, ensuring instant edge shell transmission without dynamic pipeline stalling.

#frontend#nextjs#nextjs-15#ppr#react-server-components#suspense#performance
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Monotonic Read Fence and Consistency Token Propagation

Enforces strict monotonic read consistency fences on OpenFGA authorization checks following relationship tuple mutations. Prevents transient authorization bypasses, permission leakage, and stale evaluation states across distributed database read replicas by mandating write-to-read consistency token propagation or HIGHER_CONSISTENCY read policies.

#security#openfga#rebac#zanzibar#distributed-systems#consistency
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Memory Fencing and Immediate Zeroization for WebAuthn PRF Secrets

Enforces deterministic client-side memory scrubbing and scope isolation for raw cryptographic key material derived via WebAuthn PRF (Pseudo-Random Function) extensions. Requires in-place zeroization of typed arrays immediately post-derivation within strict try-finally blocks to prevent FIDO2 hardware-derived keys from lingering across the V8 garbage-collected heap. Mandates importing ephemeral symmetric keys as non-extractable WebCrypto handles before scrubbing the underlying buffers.

#security#webauthn#fido2#prf#memory-zeroization#webcrypto
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Async Request Lifecycle & Bounded next/after Execution Guardrail

Enforces deterministic post-response task scheduling in Next.js 15 Route Handlers and Server Actions using the official next/after execution boundary. Prevents premature runtime suspension in serverless environments, unhandled promise rejections, memory/socket leaks, and artificial TTFB inflation caused by running auxiliary workloads in the critical rendering path.

#frontend#nextjs#nextjs-15#async-lifecycle#next-after#serverless#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Strict Hybrid Post-Quantum TLS 1.3 (X25519MLKEM768) Key-Exchange Enforcement

Enforces TLS 1.3 with NIST FIPS 203 hybrid quantum-resistant key encapsulation (X25519MLKEM768) across all ingress edge gateways and network termination layers. Eliminates exposure to Harvest-Now-Decrypt-Later (HNDL) attacks by banning legacy TLS versions and classical-only elliptic curves on perimeter ingress routes.

#security#post-quantum#tls-1.3#ml-kem#x25519mlkem768#hndl-mitigation#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 RSC Dynamic I/O Boundary & Microtask Serialization Invariant

Enforces strict isolation between static prerendering phases and dynamic user context access under React 19 Dynamic I/O semantics. Prevents cross-tenant context leakage and cache poisoning by guaranteeing dynamic primitives are partitioned inside Suspense microtask boundaries.

#frontend#react-19#rsc#nextjs#dynamic-io#security#microtasks
ACTIVE INVARIANTsecurity
View Rule Spec

Cedar Policy Engine Deterministic Partial Evaluation & Schema Drift Invariants

Mandates compile-time AST verification, strict cryptographic schema hash binding, and deterministic partial evaluation for the Cedar Policy Engine across distributed services. Eliminates runtime authorization panics, schema drift vulnerabilities, and network I/O regressions in sub-millisecond evaluation paths.

#security#cedar-policy#authorization#abac#partial-evaluation#schema-drift#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Dynamic Capability-Based IPC Permission Sandboxing and Command Scoping

Enforces least-privilege IPC boundaries in Tauri 2.0 by requiring window/web-view-scoped capability manifests, explicit command allowlists, and runtime path/argument scoping. Prevents Remote Code Execution (RCE) and filesystem traversal by eliminating wildcard permissions and unvalidated native invocation bindings.

#security#tauri-v2#ipc-security#capabilities#sandboxing#rust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation Session Pinning and Origin Anti-Redressing Protocol

Enforces strict origin bounds verification, framing prevention, and cryptographic challenge-to-session pinning during WebAuthn conditional UI (autofill) credential assertions. Prevents cross-origin passkey credential harvesting, UI redressing/clickjacking, and assertion relay attacks across asynchronous mediation sessions.

#security#webauthn#passkeys#conditional-ui#fido2#session-pinning#anti-clickjacking
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Actions Idempotency Key Fencing & Transition Guardrail

Enforces cryptographically verifiable idempotency tokens across React 19 Server Action transitions and form submissions to prevent duplicate state-modifying mutations during client network retries or automated form resubmissions. Guarantees that mutating Server Actions atomically fence incoming execution requests using client-seeded uniqueness keys backed by distributed locks or reservation tables before executing transactional payloads.

#frontend#react19#server-actions#idempotency#distributed-systems#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Session Eviction on WebAuthn Authenticator Data and UV Signal Drift

Hardware-backed passkey sessions must maintain continuous device-bound assurance by evaluating authenticatorData flags (User Verification bit 2, User Presence bit 0) during periodic re-assertion and step-up checks. Any observed degradation from the baseline posture established at registration—such as UV downgrade, platform-to-roaming transport divergence, or signature counter anomalies—must trigger immediate session revocation. Failure to evict sessions on signal drift allows session hijacking via credential proxying, biometric bypass, and platform downgrade attacks.

#security#webauthn#fido2#passkeys#session-management#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA CDC-Driven Local Graph Invalidation Boundary and Bounded-Staleness Enforcement

Mandates strict monotonic log sequence number (LSN) fencing and bounded-staleness verification for local in-memory OpenFGA authorization graphs fed by PostgreSQL WAL logical decoding. Enforces immediate authoritative fallback to upstream OpenFGA clusters when replication lag exceeds SLA bounds or when monotonic WAL continuity is broken, preventing unauthorized access after permission revocation.

#security#openfga#cdc#rebac#wal-decoding#bounded-staleness#cache-invalidation
ACTIVE INVARIANTsecurity
View Rule Spec

Transactional Event-Driven Cache Invalidation for OpenFGA ReBAC Evaluations

Enforces deterministic, event-driven cache invalidation and token-based consistency for OpenFGA relationship-based access control evaluations across edge and local service tiers. Prevents unauthorized privilege persistence and stale authorization grants resulting from decoupled TTL-based caching during relationship tuple revocation. Mandates integration of transactional change data capture or pub/sub bus invalidators directly tied to OpenFGA tuple mutation events.

#security#openfga#rebac#distributed-cache#authorization#redis#zanzibar
ACTIVE INVARIANTbackend
View Rule Spec

Bun 1.2 Deterministic Handle Lifecycle via TC39 AsyncDisposable Invariant

Enforces deterministic native handle cleanup across high-throughput streaming RPCs and file I/O using Bun 1.2 TC39 Explicit Resource Management. Prevents catastrophic file descriptor exhaustion (EMFILE/ENFILE) and native C++ handle leaks caused by non-deterministic V8/JSC garbage collection cycles.

#backend#bun#typescript#explicit-resource-management#file-descriptors#streaming
ACTIVE INVARIANTsecurity
View Rule Spec

Continuous CAEP/RISC Passkey Compromise Validation and Real-Time Session Revocation

Mandates zero-trust, real-time ingestion and cryptographic verification of OpenID Shared Signals and Events (SSE) via CAEP and RISC Security Event Tokens (SET). Enforces immediate atomic session termination, refresh token blacklisting, and cross-IdP backchannel logout upon receipt of passkey credential theft or anomalous authenticator sync signals.

#security#caep#risc#passkeys#webauthn#zero-trust#openid-sse
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 RFC 9449 DPoP Ephemeral Cryptographic Binding

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) at application boundaries to bind OAuth access and refresh tokens to non-extractable client key pairs. Prevents token replay and unauthorized credential reuse by requiring signed ephemeral proof JWTs with strict HTTP method, URI normalization, token hash ('ath'), and server nonce verification on every request. Replaces traditional bearer authentication with sender-constrained token validation across all client-server communications.

#security#oauth2#dpop#rfc9449#cryptography#jwt#web-crypto
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation Origin-Lock & User Verification Standard

Enforces strict canonical origin binding, relying party ID validation, and mandatory hardware-backed User Verification (UV) flags during WebAuthn conditional mediation (passkey autofill) assertions. Eliminates session hijacking, automated autofill harvesting, and cross-site credential exploitation across unmediated and autofill flows.

#security#webauthn#passkeys#fido2#authentication#conditional-mediation
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium eBPF Socket-Layer In-Kernel Identity-Aware Egress Guardrail

Mandates socket-layer eBPF packet attribution via Cilium to enforce Zero Trust egress policies prior to veth egress and network namespace transit. Prevents identity spoofing and unauthorized external network egress by attaching policy enforcement directly to the socket layer (cgroups/sockops) coupled with cryptographic identity injection.

#security#ebpf#cilium#zero-trust#kubernetes#network-policy
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic IO Context Isolation

Enforces strict architectural separation between static prerender trees and streaming Suspense holes under Next.js 15 Partial Prerendering (PPR) and Dynamic IO flags. Prevents accidental route-level de-optimization by prohibiting dynamic API access (cookies, headers, un-cached data fetching) outside explicitly isolated Suspense-wrapped leaf components. Guarantees compile-time enforcement of cacheable shells and predictable incremental streaming delivery.

#frontend#nextjs#nextjs-15#ppr#dynamic-io#react-suspense#server-components
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Key Quarantine and Isolated WASM Zeroization

Mandates that raw outputs from the WebAuthn PRF (Pseudo-Random Function) extension and resulting derived symmetric keys are quarantined exclusively inside isolated WebAssembly linear memory heaps. Enforces immediate deterministic zeroization post-cryptographic operations to eliminate persistent key exposure across the garbage-collected JavaScript runtime heap.

#security#webauthn#prf-extension#webassembly#zero-trust#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

Deterministic Static-to-Dynamic Shell Isolation in Next.js 15 PPR

Enforces strict boundary encapsulation between the edge-cached static shell and dynamic streaming segments under Next.js 15 Partial Prerendering (PPR). Mandates that dynamic context reads, unmemoized requests, and runtime I/O are strictly sequestered behind Suspense boundaries to prevent de-optimizing the pre-rendered shell into a blocking, dynamic server-rendered response.

#frontend#nextjs#react-server-components#ppr#streaming#performance
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Extension Cryptographic Step-Up Isolation

Enforces deterministic, hardware-bound cryptographic key derivation using WebAuthn Level 3 Pseudo-Random Function (PRF) extension during step-up challenges. Guarantees client-side decryption barriers that prevent cloud-synced passkey clones from decrypting sensitive data without an interactive, hardware-verified biometric assertion.

#security#webauthn#prf-extension#cryptography#zero-knowledge#passkeys
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF sockops Kernel-Bypass Authorization Verification Standard

Enforces that eBPF BPF_PROG_TYPE_SOCK_OPS and BPF_MAP_TYPE_SOCKMAP implementations never unconditionally redirect socket buffers at the transport layer without explicit userspace attestation of Layer-7 authorization and mTLS identity. Prevents premature sk_msg/sockops kernel-bypass which evades iptables, netfilter, service mesh policy checks, and SPIFFE/SPIRE identity validation before handshake finalization.

#security#ebpf#sockops#sockmap#mtls#kernel-bypass#service-mesh#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 Edge Distributed DPoP Nonce Validation and Stateless Verification Standard

Enforces edge-optimized, stateless cryptographic nonce generation and validation conforming to RFC 9449 for globally distributed reverse proxies. Prevents proof-of-possession replay and cross-region token theft without introducing centralized cross-region database round-trip latencies.

#security#rfc-9449#dpop#edge-computing#zero-trust#replay-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Bound Passkey Enforcement via FIDO2 Enterprise Attestation & AAGUID Verification

Enforces strict cryptographic verification of WebAuthn enterprise attestation statements and hardware certificate chains during passkey enrollment. Prevents unauthorized consumer multi-device synced passkeys from entering zero-trust identity perimeters by binding authentication exclusively to vetted FIDO2 Hardware Security Modules (HSMs).

#security#webauthn#fido2#zero-trust#cryptography#passkeys
ACTIVE INVARIANTsecurity
View Rule Spec

Bounded In-Memory Subtrees for OpenFGA Contextual Tuple Authorization

Enforces strict structural bounds, cardinality limits, and relation allowlists on OpenFGA ephemeral contextual tuples during authorization evaluation. Injecting unconstrained or cyclic contextual tuples into in-memory resolution graphs triggers unbounded graph traversals and memory bloat, causing authorization denial-of-service (AuthDoS).

#security#openfga#authorization#fine-grained-access-control#authdos
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 Conditional Mediation & Cross-Device Tunnel Guardrail

Enforces strict implementation standards for WebAuthn Level 3 conditional UI (autofill) and hybrid transport (caBLE/cross-device) authentication flows. Guarantees non-blocking asynchronous mediation initialization paired with robust AbortController lifecycle management and server-side origin/RP ID binding to eliminate credential friction and prevent tunnel-hijacking phishing vectors.

#security#webauthn#passkeys#fido2#conditional-ui#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation Step-Up Attestation & Cryptographic Origin Invariant

Mandates strict cryptographic validation of clientDataJSON origin, challenge replay defense, authenticator data flags, and hardware-backed attestation during passkey conditional mediation and auto-upgrade step-up flows. Neutralizes Adversary-in-the-Middle (AitM) reverse proxy relay attacks by enforcing canonical Relying Party bindings and hardware security tier verification.

#security#webauthn#fido2#passkeys#attestation#aitm-defense#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Distributed Edge Invalidation Mesh and Causal Consistency Guardrail

Mandates strict causal consistency and sub-millisecond cache eviction semantics across distributed edge gateways during OpenFGA relationship tuple mutations. Enforces transactional outbox publishing with monotonic sequencing tokens to prevent authorization bypasses and privilege persistence vulnerabilities caused by race conditions. Disallows optimistic TTL-only edge caching and non-atomic dual-write broadcast mechanisms.

#security#openfga#rebac#edge-computing#cache-invalidation#event-mesh
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.8 Contextual Tuple Cycle and Recursion DoS Prevention

Enforces strict validation, topological cycle pre-checks, and cardinality bounds on dynamic contextual tuples passed into OpenFGA Check and ListObjects operations. Prevents graph recursion loops, depth-exhaustion denial of service (DoS), and unbounded Zanzibar subproblem expansion.

#security#openfga#zanzibar#authorization#cycle-detection#dos-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF BPF_CGROUP_INET_SOCK_CREATE Egress Pod Evasion Defense

Enforces deterministic socket interception at the BPF_CGROUP_INET_SOCK_CREATE attach point to prevent multi-tenant container workloads from allocating raw sockets or unauthorized protocols. Halts evasion techniques that bypass host-level CNI iptables/tc filtering and network namespace egress policies. Ensures strict fail-closed verification and security telemetry emission upon policy violation.

#security#ebpf#cgroup#cni#linux-kernel#network-security
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 IPC SharedArrayBuffer Zero-Copy Isolation Standard

Enforces strict Cross-Origin Isolation (COOP/COEP) and window-bound origin gating when executing high-throughput binary IPC between Tauri 2.0 native core and webview contexts. Prevents microarchitectural Spectre timing side-channel attacks and cross-origin memory leakage when exposing zero-copy binary streams or SharedArrayBuffer instances to renderers.

#security#tauri-v2#sharedarraybuffer#spectre#ipc#zero-copy#memory-safety
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral SVID Zero-Downtime Dynamic Hot-Rotation

Enforces dynamic, in-memory X.509 SVID hot-rotation for long-lived gRPC streaming connections driven by the SPIFFE Workload API. Guarantees that automated sub-hour leaf certificate and intermediate CA renewals never terminate running channels, drop active RPC streams, or trigger process restarts.

#security#spiffe#spire#grpc#mtls#zero-downtime
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 'use cache' Cache-Tag Stale-While-Revalidate Boundary Guardrail

Enforces strict boundary isolation between transactional Server Action writes and edge-cached 'use cache' layout derivations in Next.js 15. Prevents stale read anomalies by requiring deterministic cache tagging, immediate post-mutation tag invalidation, and strict separation of transactional return payloads from eventual edge revalidation.

#frontend#nextjs#nextjs-15#use-cache#cache-tags#stale-while-revalidate#server-actions
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF XDP Line-Rate Zero-Trust Token Verification Standard

Enforces pre-allocation cryptographic zero-trust identity token validation in the NIC driver XDP hook before Linux kernel sk_buff allocation. Ensures strict bounded memory access, constant-time token verification, and deterministic packet drop semantics to neutralize volumetric L4/L7 DDoS vectors at wire speed.

#security#ebpf#xdp#zero-trust#ddos-mitigation#kernel#c
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Component Model Capability-Based Interface Sandbox Standard

Enforces strict deny-by-default host syscall boundaries, ambient authority elimination, and explicit capability token exchange for third-party WebAssembly components under WASI 0.2. Mandates fine-grained interface grants via explicit WIT contracts, eliminating ambient filesystem, network, or clock access in host runtime configurations.

#security#webassembly#wasi#wasmtime#sandbox#wit
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Dynamic Contextual Tuple Circular Traversal and Recursion Boundary Invariant

Enforces strict structural validation, cycle detection, and hard traversal depth limits on dynamic contextual tuples injected into OpenFGA Check and Expand calls. Unbounded contextual graph expansion can induce path combinatorial explosions, circular reference deadlocks, and worker thread exhaustion in authorization engines.

#security#openfga#authorization#rebac#dos-prevention#graph-traversal
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Dynamic Contextual Tuple Latency Budget and Cycle Invariant

Restricts dynamic contextual tuple generation and graph resolution depth during OpenFGA authorization checks at edge API gateways. Mandates strict cardinality caps, cycle detection, and hard timeout budgets to prevent ReDoS-style graph traversal exhaustion and maintain sub-millisecond perimeter evaluation latencies.

#security#openfga#authorization#rebac#performance#api-gateway
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Cosign Keyless OIDC Ephemeral Attestation and Rekor Verification Standard

Mandates short-lived Fulcio X.509 certificate issuance bound to ephemeral OIDC workload tokens and requires Rekor transparency log verification across all container release pipelines. Strictly eliminates long-lived static private keys while enforcing exact Subject Alternative Name (SAN) identity and OIDC issuer cryptographic assertions at deployment gates.

#security#sigstore#cosign#oidc#rekor#fulcio#supply-chain#attestation
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering Dynamic Hole Boundary Standard

Enforces strict Suspense encapsulation for dynamic runtime operations (cookies, headers, searchParams, uncached fetch calls) under Next.js 15 Partial Prerendering (PPR). Prevents dynamic execution leakage into the static prerender shell, edge cache poisoning, and catastrophic hydration mismatches.

#nextjs#react-19#ppr#suspense#edge-caching#streaming
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 LargeBlob Atomic Payload Verification and State Integrity

Enforces cryptographic signature verification, schema validation, and two-phase atomic state management when writing and reading WebAuthn Level 3 largeBlob credential extensions. Guarantees that client-side biometric assertions cannot commit partial, corrupted, or unauthenticated payloads to authenticator storage during transaction lifecycles.

#security#webauthn#passkeys#cryptography#largeblob#level-3
ACTIVE INVARIANTsecurity
View Rule Spec

Runtime-Immutable eBPF LSM Privilege Fencing for MicroVMs

Enforces deterministic, kernel-space privilege confinement for ephemeral microVM workloads by anchoring Linux Security Module (LSM) BPF hooks to cgroup contexts. Eliminates Time-of-Check to Time-of-Use (TOCTOU) capability inheritance races by making security boundaries strictly synchronous and unbypassable.

#security#ebpf#lsm#microvm#kernel-hardening#capabilities
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation Top-Level Browsing Context Guardrail

Enforces strict top-level browsing context boundaries during WebAuthn ambient passkey autofill (conditional mediation). Ambient credential requests in unvalidated or embedded contexts expose users to credential harvesting, iframe overlays, and clickjacking attacks.

#security#webauthn#passkeys#fido2#clickjacking#iframe-isolation
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Recursive Tuple Graph Depth Limiting and Cycle Prevention Standard

Enforces strict invariants on OpenFGA authorization models and query evaluators to mitigate denial-of-service (DoS) and thread starvation caused by unbounded transitive evaluation and circular tuple hierarchies. Mandates pre-write cycle validation on directed acyclic graph (DAG) hierarchies, deterministic execution timeouts with circuit-breaking on OpenFGA client checks, and strict resolution depth constraints in both model configuration and test suites.

#security#openfga#rebac#authorization#dos-prevention#graph-algorithms
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 DPoP Sender-Constrained Token Enforcement Fence

Enforces cryptographic binding between OAuth 2.0 access tokens and client-generated asymmetric key pairs using RFC 9449 Demonstrating Proof-of-Possession (DPoP). Guarantees that token exfiltration across untrusted networks or compromised storage cannot lead to credential replay attacks against downstream resource servers. Requires strict verification of public key thumbprints, HTTP method/URI bindings, access token hashes, and distributed proof replay prevention.

#security#oauth2#rfc9449#dpop#sender-constrained#zero-trust#replay-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Static Relation Model Cycle and Recursion Guardrail

Enforces pre-deployment compile-time verification and static Directed Acyclic Graph (DAG) validation on OpenFGA authorization models. Prevents unbounded recursive relations, mutual-containment loops, and circular tuple expansions that trigger catastrophic goroutine exhaustion and denial-of-service timeouts during runtime authorization checks.

#security#authorization#openfga#graph-algorithms#dos-prevention#zanzibar
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Synced-Credential Epoch Revocation and Distributed Fencing Standard

Mandates cryptographic epoch-counter fencing across distributed session stores and authorization layers upon compromise reporting of multi-device synced passkeys. Guarantees that any device revocation or passkey credential cycle atomically increments the security epoch, rendering all pre-existing distributed sessions, refresh tokens, and authentication assertions cryptographically obsolete across all nodes immediately.

#security#webauthn#passkeys#epoch-fencing#distributed-systems#session-invalidation
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 'use cache' Cryptographic Tenant-Fenced Tagging Standard

Enforces deterministic, cryptographically signed tenant prefixes on all cache tags generated within Next.js 15 'use cache' scopes. Raw or guessable tenant string interpolations (e.g., 'tenant-123:orders') create cross-tenant cache contamination, tag-purging denial of service, and edge-level data leak risks across shared regional CDN infrastructure.

#frontend#nextjs#nextjs-15#use-cache#multi-tenancy#cache-tag#edge-security
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Tuples with Bounded TTL & Deterministic Pruning Invariant

Standardizes time-decaying authorization tuples for Just-In-Time (JIT) access to prevent privilege accumulation and eliminate graph traversal degradation over time. Enforces bounded Time-To-Live (TTL) conditions on transient relationship writes and mandates contextual timestamp evaluation during authorization checks.

#security#openfga#authorization#jit-access#rebac#ttl
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Extension Hardware Key-Wrapping Standard

Enforces hardware-bound end-to-end client-side encryption key derivation via the WebAuthn Level 3 Pseudo-Random Function (PRF) extension. Mandates that raw PRF outputs and intermediate master keys remain strictly ephemeral within client hardware and memory, prohibiting transmission of cryptographic seeds to Relying Parties or identity providers.

#security#webauthn#passkeys#prf-extension#zero-knowledge#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Contextual Tuple Deterministic TTL Enforcement

Enforces strict cryptographic fencing and deterministic monotonic TTL validation for volatile contextual tuples injected into OpenFGA authorization checks. Prevents authorization cache poisoning and cross-request tuple bleed by cryptographically binding ephemeral contextual claims to unique request nonces and enforcing sub-millisecond evaluation deadlines. Guarantees that stale environmental assertions (such as step-up authentication, geo-velocity fences, and ephemeral break-glass roles) cannot be cached or replayed across evaluation boundaries.

#security#openfga#authorization#zero-trust#rbac#rebac#cache-poisoning
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 after() Serverless Execution Lifetime and Microtask Drain Guardrail

Enforces the use of Next.js 15 after() for all post-response telemetry, auditing, and cache synchronization tasks. Prevents abrupt lambda freeze termination and zombie microtask pollution caused by uncoordinated fire-and-forget promises in serverless runtimes.

#frontend#nextjs#serverless#performance#architecture#reliability
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 DPoP Sender-Constrained Token Verification and Ephemeral Nonce Fencing

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) verification across all edge gateways and APIs to neutralize bearer token exfiltration. Requires cryptographic sender-constraining of access tokens via the 'ath' thumbprint and enforces cryptographically signed ephemeral nonces with strict replay rejection across distributed regions.

#security#oauth2#rfc9449#dpop#cryptography#zero-trust#edge-gateway
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Keyless Ephemeral OIDC Artifact Provenance Invariant

Enforces non-repudiable artifact integrity and supply-chain provenance by requiring cryptographic verification against ephemeral Fulcio X.509 certificates and Rekor transparency logs. Artifact admission controllers must reject any artifact lacking an integrated Rekor SET/checkpoint and valid OIDC SAN identity matching designated trusted issuers. Long-lived signing keys and unverified offline bundles are strictly prohibited in the verification pipeline.

#security#sigstore#fulcio#rekor#cosign#supply-chain#provenance
ACTIVE INVARIANTsecurity
View Rule Spec

OpenTelemetry Baggage Boundary & Cryptographic PII Redaction Standard

Mandates strict schema validation, allowlist enforcement, and deterministic cryptographic pseudonymization for OpenTelemetry distributed baggage at trust and tenant boundaries. Prevents uncontrolled egress and lateral propagation of sensitive personal data (PII/PHI) through distributed trace context propagators.

#security#opentelemetry#distributed-tracing#pii-protection#multi-tenant#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Contextual Tuple Injection Boundary Enforcement

Enforces strict server-side synthesis and validation boundaries for OpenFGA contextual tuples during authorization checks. Prevents authorization bypass vulnerabilities arising from client-injected relationship assertions, untrusted contextual claims, and accidental persistence of ephemeral relationship states.

#security#openfga#authorization#rebac#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Extension Deterministic Zero-Knowledge Key Derivation Standard

Enforces strict implementation invariants for WebAuthn Level 3 PRF (Pseudo-Random Function) extension symmetric key derivation. Guarantees that client-side deterministic encryption keys remain hardware-bound, non-extractable within the Web Crypto API subsystem, and that all intermediate memory buffers are zeroized immediately upon derivation.

#security#webauthn#prf-extension#zero-knowledge#cryptography#web-crypto-api
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Streaming SSR Downstream AbortSignal Propagation Protocol

Mandates explicit AbortSignal cascading from incoming HTTP/3 client request streams to all downstream microservices, gRPC channels, and distributed database queries during Next.js 15 chunked React Server Component (RSC) and Web Stream execution. Prevents uncollected zombie promises, thread pool exhaustion, and memory leaks when clients prematurely sever connections during active streaming SSR.

#frontend#nextjs#streaming-ssr#abort-signal#rsc#http3#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Kernel-Level Process Lineage Container Escape Circuit-Breaker via Cilium Tetragon

Enforces synchronous, sub-millisecond in-kernel process termination via Cilium Tetragon eBPF TracingPolicies whenever privilege escalation or namespace breakout primitives are detected. Eliminates asynchronous userland detection delays by hooking kernel symbols (e.g., commit_creds, setns, cap_capable) and triggering in-kernel Sigkill actions before unauthorized operations can transition process state. Mandates strict validation of binary execution lineage and namespace boundary preservation across all unprivileged workloads.

#security#ebpf#tetragon#kubernetes#zero-trust#container-security#linux-kernel
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Extension Deterministic Client-Side Key Derivation Invariant

Enforces strict cryptographic isolation and domain-separated HKDF derivation when using WebAuthn Pseudo-Random Function (PRF) extensions for zero-knowledge client-side encryption. Mandates that raw PRF outputs remain client-bound and never leak into transport payloads sent to Relying Party backends.

#security#webauthn#prf-extension#zero-knowledge#cryptography#passkeys
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Dynamic SVID Zero-Downtime Socket Rebind Protocol

Enforces dynamic, in-memory X.509 SVID certificate rotation driven by the SPIRE Workload API without dropping active long-lived HTTP/2 or gRPC transport sessions. Mandates dynamic TLS context swapping and atomic socket inheritance or session re-handshaking to prevent process teardowns during sub-hour certificate lifetimes. Forbids destructive server restarts and naive socket tear-down during cryptographic renewal cycles.

#security#spiffe#spire#mtls#grpc#zero-trust#tls-rotation#socket-inheritance
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6 Contextual Tuple Bounded-Resolution Invariant

Enforces deterministic depth ceilings, strict cardinality limits, and deduplicated subgraph traversal when injecting dynamic contextual tuples into OpenFGA 1.6 Check calls. Prevents algorithmic graph-traversal exhaustion attacks, circular dependency deadlocks, and severe tail-latency spikes across real-time RBAC/ABAC authorization boundaries.

#security#openfga#authorization#rbac#abac#dos-prevention#tail-latency
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Enterprise Attestation and AAGUID Validation Invariant

Enforces strict Level 3 Enterprise Attestation validation for WebAuthn credential registration. Registration ceremonies must cryptographically verify the attestation statement against the FIDO Alliance Metadata Service (MDS3) or an enterprise PKI root trust store, validating that the parsed Authenticator Attestation GUID (AAGUID) matches an authorized FIPS 140-2/3 or CC EAL4+ certified hardware profile before persisting the public key.

#security#webauthn#fido2#cryptography#enterprise-auth#hardware-token
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral X.509 SVID Sub-Minute Micro-Rotation Standard

Enforces dynamic, continuous Workload API streaming for sub-minute X.509 SVID rotation across zero-trust mTLS channels. Eliminates static credential theft and stale connection failures by mandating dynamic TLS contexts driven by SPIRE Agent Unix Domain Sockets rather than disk-cached certificates. Guarantees zero-downtime certificate hot-reloading with deterministic SPIFFE ID peer SAN validation.

#security#spiffe#spire#mtls#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

FedCM Cross-Origin Partition Isolation and Side-Channel Mitigation Standard

Enforces strict partition isolation and constant-time execution across W3C Federated Credential Management (FedCM) endpoints. Prevents relying party timing side-channels, cross-site identity leakage, and covert user tracking during unmediated or silent identity provider handshakes under third-party cookie deprecation.

#security#fedcm#identity#timing-attack#partition-isolation#privacy
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 DPoP Cryptographic Proof and Distributed Nonce Replay Barrier

Enforces strict RFC 9449 OAuth 2.1 Demonstrating Proof-of-Possession (DPoP) verification across all resource servers. Validates cryptographic thumbprint binding (jkt/ath), enforces bounded clock skew (±60s), and guarantees atomicity of single-use nonces and JTI claims via distributed atomic sliding-window cache primitives to eliminate replay and token export vulnerabilities.

#security#oauth2.1#dpop#rfc9449#zero-trust#replay-barrier#redis
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Client-Side Key Derivation via WebAuthn Level 3 PRF Extension

Enforces hardware-backed, deterministic client-side symmetric key derivation using the WebAuthn Level 3 pseudo-random function (PRF) extension. Mandates that root cryptographic seeds remain exclusively within authenticator hardware bounds, using HMAC-SHA-256 HKDF expansion client-side for zero-knowledge end-to-end encryption without transmitting master secrets or raw PRF outputs to the server.

#security#webauthn#prf-extension#zero-knowledge#cryptography#hkdf#e2ee
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Atomic Conditional Tuple Write Guardrail for Distributed ReBAC Consistency

Enforces atomic compare-and-swap (CAS) semantics via conditional tuple writes during OpenFGA relationship updates. Unconditional reads followed by writes across distributed microservices introduce time-of-check to time-of-use (TOCTOU) race conditions, resulting in authorization bypass, privilege leakages, and state corruption. All write operations mutating role assignments or resource hierarchies must evaluate preconditions and context assertions atomically within a transactional boundary or conditional write contract.

#security#openfga#rebac#concurrency#distributed-systems#authorization
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Monotonic Snapshot Read-After-Write Consistency Invariant

Guarantees zero-stale authorization evaluations across distributed ReBAC topologies by enforcing monotonic Zanzibar zookie checkpoint propagation on all mutation paths. Prevents authorization bypass anomalies caused by evaluating permissions against out-of-order or stale read replicas following relational tuple writes. Mandates contextual snapshot token capture, transactional session propagation, and strict consistency token verification on all post-write Check evaluations.

#security#openfga#rebac#zanzibar#authorization#read-after-write#distributed-systems
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Action Idempotency-Key Mutation Guardrail

Enforces strict idempotency guarantees across React 19 Server Actions by binding state mutations to cryptographically unique or client-scoped deterministic transaction keys. Prevents double-submit races, distributed side-effect amplification, and database divergence during optimistic updates, transitions, and network retries.

#frontend#react-19#server-actions#idempotency#distributed-systems#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation Cross-Origin Nonce Attestation Boundary

Enforces strict cryptographic coupling of server-issued challenge nonces to client transport bindings and canonical relying party origins during WebAuthn conditional mediation (autofill). Prevents passkey replay, cross-origin assertion injection, and passkey phishing across embedded frames or shared origin boundaries.

#security#webauthn#fido2#passkeys#authentication#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Hardware-Enforced Root Key Derivation

Enforces hardware-backed deterministic root key derivation via the WebAuthn Level 3 PRF (Pseudo-Random Function) extension for zero-knowledge client-side storage encryption. Mandates strict client-side negotiation verification, user-verification enforcement, ephemeral in-memory lifecycle bounds, and mandatory HKDF domain separation prior to operational key generation.

#security#webauthn#prf-extension#hardware-security#cryptography#zero-knowledge#hkdf
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory ML-KEM-768 Hybrid Post-Quantum Key Exchange for TLS 1.3 Ingress Terminations

Enforces hybrid post-quantum key encapsulation mechanism (X25519MLKEM768 / Kyber768 hybrid) on all TLS 1.3 edge ingress and internal service mesh termination endpoints. Prevents harvest-now-decrypt-later (HNDL) attacks by quantum-adversaries while maintaining classical elliptic curve fallback robustness across edge listeners and downstream clients. Restricts cryptographic cipher suites exclusively to TLS 1.3 primitives and mandates post-quantum curve negotiation ordering.

#security#post-quantum-cryptography#pqc#tls-1.3#ml-kem#infrastructure-security
ACTIVE INVARIANTsecurity
View Rule Spec

Enforce Monotonic Consistency Tokens for OpenFGA Edge Caching to Prevent New Enemy Vulnerabilities

Enforces strict propagation and monotonic validation of OpenFGA consistency tokens across distributed edge caches, API gateways, and authorization evaluation engines. Guarantees that write-to-read authorization causal ordering prevents the 'New Enemy Problem' where revoked permissions remain exploitable due to asynchronous replication lag or stale edge evaluation caches.

#security#rebac#openfga#authorization#distributed-systems#edge-computing#consistency-tokens
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2/WebAuthn L3 Device-Bound Passkey Step-Up Attestation Standard

Enforces strict validation of WebAuthn Level 3 authenticator flags (BE/BS) and hardware-backed attestation during step-up re-authentication. Blocks multi-device synced passkey replay and cross-device session extraction by ensuring privileged transactions strictly require hardware-bound secure enclave authenticators.

#security#fido2#webauthn#passkeys#zero-trust#secure-enclave#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Dynamic Attestation and Strict Origin-Binding Validation

Cryptographically enforces strict Relying Party ID (rpId) hashing, exact expected origin verification, and raw clientDataHash computation during WebAuthn registration and authentication ceremonies. Prevents credential-relay, subdomain manipulation, and Man-in-the-Middle (MITM) passkey replay attacks by mandating exact byte-level hashing of raw clientDataJSON and constant-time verification of session-bound cryptographic challenges.

#security#webauthn#fido2#passkeys#cryptography#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral X.509 SVID Dynamic Auto-Rotation Invariant

Enforces dynamic consumption of short-lived X.509 SVIDs directly from the SPIFFE Workload API socket, forbidding static certificate caching or one-time TLS context initialization. Guarantees zero-downtime cryptographic identity auto-rotation and prevents microservice communication failures caused by expired ephemeral credentials.

#security#spiffe#spire#mtls#zero-trust#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Action Idempotency-Key Deduplication Guardrail

Enforces deterministic client-side generation and server-side atomic validation of idempotency keys across all mutating React 19 Server Actions. Guarantees that concurrent submissions, network retry storms, and transient timeout replay loops cannot cause duplicate side effects or non-reentrant state corruptions. Mandates atomic distributed lock/reservation primitives prior to executing durable business mutations.

#frontend#react-19#server-actions#idempotency#concurrency#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.8 Contextual Tuple Batch Isolation and Graph Depth Guardrail

Enforces strict request-scoped isolation and deterministic boundary checks when injecting contextual tuples into OpenFGA v1.8 runtime evaluation calls. Prevents cross-tenant authorization state leakage across concurrent batch evaluations and halts Denial-of-Service vectors stemming from unbounded graph traversals or recursive ephemeral relation cycles.

#security#openfga#zanzibar#authorization#rebac#multi-tenancy
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn FIDO2 LargeBlob Secure Enclave Storage & Sync Invariant

Enforces client-side envelope encryption, cryptographic origin/credential-binding in Additional Authenticated Data (AAD), and monotonic sequence vectoring for WebAuthn largeBlob operations. Prevents cross-device synchronization race conditions, split-brain forks, and cleartext credential extraction across passkey cloud sync fabrics.

#security#webauthn#fido2#largeblob#passkeys#hardware-security#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF TC Egress Plaintext Credential Exfiltration Sentinel

Enforces pre-network egress packet boundary inspection using eBPF Traffic Control (TC) classifiers to intercept and drop unencrypted outbound API keys, private tokens, and credentials. Prevents data exfiltration by parsing TCP payload windows at the host interface layer before packets exit the network namespace.

#security#ebpf#traffic-control#networking#c#token-exfiltration
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 after() Post-Response Lifecycle & Serverless Execution Boundary

Guarantees secondary compute routines, audit trails, and analytics outlive the primary HTTP response lifecycle without freezing in serverless runtimes or penalizing Time to First Byte (TTFB). Mandates next/server's after() API over floating fire-and-forget promises and synchronous pre-response execution.

#frontend#nextjs#nextjs-15#after#serverless#ttfb#performance
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Dynamic Workload Attestation for Ephemeral GPU Inference

Enforces zero-trust cryptographic workload identity for ephemeral AI inference pods accessing private model registries. Pods must acquire dynamic, short-lived x509-SVIDs via the local SPIFFE Workload API Unix Domain Socket backed by hardware and node attestation, eliminating all persistent cloud credentials and static registry access tokens.

#security#spiffe#spire#zero-trust#gpu-inference#svid#mtls
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Access Leasing with Cryptographically Verified Contextual Tuples

Enforces that transient, just-in-time authorization evaluations must inject strictly bounded contextual tuples verified via cryptographically signed lease tokens. Contextual tuples must be validated against sub-minute timestamps and bounded nonces directly prior to authorization evaluations, avoiding persistent storage of temporal privileges within the OpenFGA tuple store.

#security#openfga#authorization#fine-grained-authz#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Cosign Ephemeral Workload Identity SLSA Provenance Attestation

Mandates keyless, hardware-rooted workload identity signing via Sigstore (Fulcio CA and Rekor transparency log) for all build provenance attestations generated inside ephemeral CI/CD runners. Strictly forbids static long-lived signing keys and mutable tag references, ensuring every published artifact carries tamper-evident SLSA provenance cryptographically bound to an immutable content digest.

#security#sigstore#cosign#slsa#supply-chain#provenance#oidc
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Salt Ratcheting and HKDF Expansion for WebAuthn PRF Zero-Knowledge Cryptographic Envelopes

Hardware-backed symmetric keys derived via the WebAuthn PRF (hmac-secret) extension must never utilize static salts, raw PRF outputs as direct symmetric keys, or non-versioned derivation contexts. Client-side zero-knowledge envelopes must enforce HKDF-SHA-256 domain separation, monotonic salt ratcheting across write epochs, and immediate zeroization of transient key material in memory to guarantee offline cryptographic confidentiality.

#security#webauthn#prf-extension#zero-knowledge#cryptography#hkdf#forward-secrecy
ACTIVE INVARIANTsecurity
View Rule Spec

Synchronous eBPF LSM Enforcement Against Unauthorized Process Memory Scraping

Enforces synchronous kernel-space interception of process memory inspection attempts (such as reads to /proc/$PID/mem and ptrace calls). Mitigates runtime credential scraping cold at the kernel boundary using eBPF Linux Security Module (LSM) hooks instead of bypass-prone asynchronous tracing probes.

#security#ebpf#lsm#linux-kernel#zero-trust#memory-protection
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6 Traversal Depth Bound and Conditional CEL Latency Guardrail

Prevents unbounded distributed graph traversal, cascading latency degradation, and resource exhaustion in OpenFGA 1.6 Zanzibar authorization engines. Mandates strict client-side timeout propagation, bounded contextual tuple evaluation, depth-limited model relations, and O(1) Common Expression Language (CEL) conditionals under deep multi-tenant hierarchies.

#security#openfga#authorization#zanzibar#latency-budget#denial-of-service#cel
ACTIVE INVARIANTsecurity
View Rule Spec

SD-JWT (RFC 9528) Selective Disclosure Cryptographic Integrity & Minimization Standard

Enforces strict compliance with RFC 9528 for Selective Disclosure JSON Web Tokens (SD-JWT). Guarantees that selective disclosures are cryptographically hashed using collision-resistant digest algorithms matching the _sd_alg header, prevents leaking raw salt or plaintext identity claims in presentation payloads, and strictly rejects undecoded or malformed disclosure frames during token verification.

#security#sd-jwt#rfc9528#decentralized-identity#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Conditional Mediation Cross-Origin Partitioning & Session Isolation Invariant

Enforces strict top-level origin isolation, explicit Permissions-Policy sandboxing, and cryptographic origin-binding during WebAuthn conditional mediation (passkey autofill) within micro-frontend federation layouts. Prevents cross-origin credential leakage, autofill hijacking, and federated session poisoning caused by unpartitioned credential mediation across untrusted remotes.

#security#webauthn#passkeys#conditional-mediation#micro-frontends#permissions-policy
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Transitive Relation Freshness and Cache Pruning Barrier

Guarantees zero-trust authorization consistency across high-velocity relationship tuple mutations and pre-computed evaluation caches. Mandates transactional cache pruning barriers and strict consistency token propagation to prevent authorization revocation lag and stale access leakage in transitive relation graphs.

#security#openfga#authorization#zanzibar#cache-invalidation#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Hole Boundary & Static Shell Cache-Isolation

Enforces strict boundary segregation between static shell pre-rendering and dynamic micro-task streaming in Next.js 15 Partial Prerendering (PPR). Mandates that all dynamic functions (cookies, headers, searchParams, and uncached data fetches) are strictly isolated within Suspense boundaries to prevent full-page static shell de-optimization and catastrophic dynamic session leakage into shared CDN caches.

#nextjs#nextjs-15#ppr#partial-prerendering#suspense#edge-cache#react-server-components
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 Asymmetric DPoP Proof Validation and Distributed Nonce Synchronization

Mandates strict Demonstrating Proof-of-Possession (DPoP, RFC 9449) validation across distributed API gateways, binding access tokens to client asymmetric keys via SHA-256 hashes (`ath`). Enforces cluster-wide synchronized server-issued nonces and atomic single-use JTI replay caches to neutralize cross-gateway token replay attacks upon token exfiltration.

#security#oauth2#dpop#rfc9449#zero-trust#api-gateway
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering (PPR) Dynamic Hole Streaming Barrier & Zero-CLS Fallbacks

Enforces strict isolation of dynamic React Server Components inside Suspense boundaries with dimensionally matched fallbacks when using Next.js 15 Partial Prerendering (PPR). Guarantees dynamic execution contexts (cookies, headers, un-cached data queries) never leak into the edge-cached static shell, preventing runtime de-opts and layout shifts (CLS).

#frontend#nextjs#react-server-components#ppr#streaming#web-vitals
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Extension Client-Side Zero-Knowledge Key Derivation Invariants

Enforces cryptographic invariants for WebAuthn Level 3 PRF (Pseudo-Random Function) extension usage. Mandates that PRF output materials never leave client memory, require immediate HKDF expansion into non-extractable Web Crypto keys, and strictly isolate client-side envelope encryption keys from relying party server payloads.

#security#webauthn#prf-extension#zero-knowledge#cryptography#passkeys#envelope-encryption
ACTIVE INVARIANTsecurity
View Rule Spec

W3C FedCM Browser-Enforced IdP Sandbox and Token Relay Invariant

Enforces strict browser-mediated identity assertion handoffs using the W3C Federated Credential Management (FedCM) API. Eliminates silent iframe postMessage hacks and covert link-decoration tracking vectors, guaranteeing that Relying Party and Identity Provider token exchanges execute exclusively via browser-sandboxed origin boundaries with verified 'Sec-Fetch-Dest: webidentity' constraints.

#security#fedcm#identity#authentication#privacy-sandbox#oauth2
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Extension Zero-Knowledge Key Derivation & HKDF Isolation Standard

Mandates strict zero-knowledge client-side cryptographic bounds when using the WebAuthn PRF (Pseudo-Random Function) extension. Requires non-extractable HKDF-SHA-256 expansion, distinct credential-specific salts, context-bound domain separation, and zero exposure of derived symmetric keys or raw PRF hardware outputs to relying party servers or persistent storage.

#security#webauthn#prf-extension#zero-knowledge#cryptography#hkdf#aes-gcm
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Distributed ReBAC Tuple Evaluation & Cache Stampede Elimination Standard

Enforces deterministic ReBAC graph evaluation coalescing, model-version-bound cache keys, and causal consistency token propagation for OpenFGA authorization checks. Prevents authorization bypasses arising from stale permission revocations (New Enemy Problem) and mitigates upstream OpenFGA graph amplification and cache stampedes under high concurrency.

#security#openfga#rebac#authorization#cache-stampede#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn L3 Device-Bound Attestation and Sync Guardrail

Requires cryptographic direct or enterprise attestation verification and authenticatorData flag inspection during WebAuthn registration to separate synchronized multi-device passkeys from non-exportable hardware-bound authenticators. Enforces strict attestation certificate chain validation via the FIDO Metadata Service (MDS3) and blocks credentials with backup eligibility flags from privileged administrative workflows.

#security#webauthn#fido2#passkeys#cryptography#attestation#pki
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA CDC-Driven Distributed Consistency and Invalidation Invariant

Enforces strict causal consistency between relational OLTP state mutations and OpenFGA authorization relationship tuples via transactional outbox Change Data Capture (CDC). Prevents critical authorization bypass windows and privilege escalation vulnerabilities resulting from asynchronous dual-writes, out-of-order tuple propagation, and race conditions against distributed authorization check caches.

#security#openfga#cdc#cache-invalidation#fine-grained-authorization#distributed-systems
ACTIVE INVARIANTsecurity
View Rule Spec

Cryptographic Sigstore SLSA v1.0 Provenance and Immutability Gate

Enforces mandatory SLSA v1.0 in-toto provenance verification using Sigstore Fulcio certificate identities and Rekor transparency log proofs before admitting container workloads into production environments. Rejects images deployed by mutable tag, lacking cryptographically verified subject digests, or missing non-forgeable CI/CD OIDC claims.

#security#sigstore#slsa-v1#supply-chain#kubernetes#admission-control
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO CXP Cross-Ecosystem Passkey Migration and Cryptographic Provenance Invariants

Enforces strict cryptographic integrity, Relying Party ID (RP ID) canonicalization, and key-pair consistency checks during FIDO Credential Exchange Protocol (CXP) and Credential Exchange Format (CXF) migrations. Prevents cross-origin credential harvesting, unpinned provenance tampering, and corrupted key ingestion during cross-ecosystem passkey imports.

#security#fido2#webauthn#passkeys#cxp#cryptography#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 IPC Zero-Trust Permission Capability & Scoping Standard

Enforces fine-grained capability definitions and path/parameter scoping across the Tauri 2.0 WebView-to-Rust IPC boundary. Prohibits global wildcard permissions, unconstrained shell execution, and unsanitized command handlers that risk arbitrary native host code execution.

#security#tauri-2#ipc#rust#capabilities#least-privilege
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Transactional Outbox Dual-Write Reconciliation Boundary

Dual-writing directly to a domain database and the OpenFGA authorization tuple store introduces non-atomic failure modes, network partitions, and temporal race conditions that lead to privilege escalation or unauthorized data leaks. All OpenFGA relationship tuple mutations MUST be persisted transactionally into an outbox table within the primary business transaction and propagated asynchronously via an idempotent Change Data Capture (CDC) reconciliation consumer.

#security#openfga#rebac#transactional-outbox#cdc#dual-write#authorization
ACTIVE INVARIANTsecurity
View Rule Spec

Continuous Access Evaluation Protocol (CAEP) & OpenID SSE Sub-Second Revocation Standard

Enforces cryptographic ingestion, validation, and sub-second distributed propagation of OpenID Shared Signals and Events (SSE) and Continuous Access Evaluation Protocol (CAEP) Security Event Tokens (SET). Decoupled microservices must intercept requests against an L1/L2 revocation tier indexed by subject (sub), session (sid), and token (jti) to invalidate compromised sessions immediately without awaiting JWT expiration.

#security#caep#openid-sse#zero-trust#distributed-revocation#jwt#redis
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.8 Contextual Tuple Gateway Boundary & Schema Invariants

Enforces strict API gateway boundary validation, cryptographic signing, and relation allowlisting on transient contextual tuples passed to OpenFGA Check calls. Unsanitized contextual tuples allow untrusted clients to inject arbitrary graph relationships (e.g., claiming 'admin' relation or overriding resource tenancy) into low-latency evaluation queries, causing direct privilege escalation. All contextual tuples must be synthesized exclusively by trusted internal boundary services or verified against strict schema and scope constraints.

#security#openfga#authorization#rebac#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Related Origin Cryptographic Manifest & Cross-Subdomain Relay Guardrail

Precludes subdomain passkey credential relay and token interception across distributed micro-frontends by strictly enforcing W3C WebAuthn Related Origin Requests specifications. Requires deterministic server-side cryptographic validation of clientDataJSON origin against an authoritative, statically verified related-origin manifest, rejecting ambient origin reflection or wildcard rpId relaxation.

#security#webauthn#fido2#passkeys#micro-frontends#related-origins#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Capacitor 7 Biometric Enclave Key Invalidation on Enrollment Mutation

Enforces hardware-backed cryptographic key invalidation within the Secure Enclave and Android Keystore whenever biometric enrollments change. Prevents unauthorized decryption by secondary biometrics added to an already-enrolled device by requiring explicit enclave-bound key generation with enrollment mutation guards.

#security#capacitor#biometrics#secure-enclave#keystore
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9421 HTTP Message Signatures End-to-End Cryptographic Invariants

Enforces deterministic, non-repudiable RFC 9421 HTTP Message Signature verification at edge gateways and multi-cluster mesh boundaries. Prevents man-in-the-middle header tampering, request replay attacks, and content alteration across untrusted ingress networks by binding derived components, canonical headers, and raw digest hashes to cryptographic public key infrastructures. Guarantees end-to-end payload immutability prior to microservice dispatch.

#security#rfc-9421#cryptography#api-gateway#zero-trust#ed25519#mesh
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Async Dynamic APIs and Streaming Isolation Standard

Enforces strict isolation of request-scoped context in Next.js 15 App Router by mandating asynchronous consumption of dynamic APIs (cookies, headers, params) and prohibiting module-level mutable caching. Prevents cross-request state bleeding and session poisoning across concurrent streaming server renders.

#frontend#nextjs#react-server-components#streaming#security#async-local-storage
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Hardware-Attested Workload Identity Rotation Guardrail

Enforces sub-hour TPM-attested X.509 SVID (SPIFFE Verifiable Identity Document) issuance and strictly in-memory cryptographic rotation via the SPIRE Workload API. Prohibits static cloud IAM service account keys, long-lived certificates, and disk-persisted private keys in zero-trust mesh architectures.

#security#spiffe#spire#zero-trust#tpm#mtls#x509
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF BPF_LSM In-Kernel Container Namespace Escape and Credential Escalation Guardrail

Enforces synchronous, in-kernel blocking of unauthorized namespace transitions (`unshare`, `setns`) and privileged capability acquisition directly inside BPF Linux Security Module (LSM) hooks. Bypasses user-space round-trip latency and eliminates time-of-check-to-time-of-use (TOCTOU) races by evaluating caller task cgroup hierarchies, mount namespaces, and target security descriptors atomically within kernel context.

#security#ebpf#lsm#kernel#containers#namespaces#hardening
ACTIVE INVARIANTsecurity
View Rule Spec

Deterministic Kernel-Level Socket Bind & Egress Invariant Enforcement via eBPF LSM

Enforces deterministic zero-trust network egress and UNIX domain socket binding restrictions directly at the Linux kernel boundary using eBPF LSM hooks (`socket_bind`, `socket_connect`). Eliminates user-space interception bypasses, LD_PRELOAD stripping, and namespace hopping in containerized multi-tenant node architectures by coupling kernel probes with immutable cgroup identifiers.

#security#ebpf#lsm#linux-kernel#zero-trust#multi-tenancy#network-security
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 WebAuthn Hybrid Transport BLE Proximity Verification Standard

Enforces strict validation of FIDO2 WebAuthn cross-device hybrid transport sessions to ensure local BLE proximity proofs are cryptographically confirmed. Without validating that the hybrid handshake occurred over authenticated Bluetooth Low Energy channels, adversary-in-the-middle reverse proxies can relay QR-code handshakes to remote victims. The relying party server must verify authenticator transport metadata, client data JSON transport parameters, and proximity flags to mitigate remote session relay.

#security#webauthn#fido2#passkeys#hybrid-transport#ble-proximity#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA 1.6 Contextual Tuple Traversal Depth and Cycle Boundary Enforcement

Enforces pre-evaluation validation and execution boundaries on OpenFGA contextual tuples to prevent recursive traversal denial-of-service (DoS) and infinite cycle resolution attacks. Mandates strict cardinality limits, client-side directed acyclic graph (DAG) verification, and sub-50ms deterministic deadline abort signals for real-time authorization checks.

#security#openfga#rebac#authorization#dos-prevention#graph-traversal
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Enterprise Attestation and Non-Exportable Passkey Boundary Standard

Enforces cryptographic attestation validation and authenticator flag verification to restrict high-assurance perimeters to non-exportable, hardware-backed credentials. Prevents multi-device cloud-synced passkeys from masquerading as dedicated enterprise hardware authenticators by validating AAGUID allowlists, attestation certificate chains against FIDO MDS, and backing state flags.

#security#webauthn#fido2#passkeys#cryptography#enterprise-attestation#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Workload API X.509 SVID Zero-Downtime Memory-Only Rotation Invariant

Enforces lock-free, zero-downtime, memory-only rotation of X.509 SVIDs received via the SPIFFE Workload API stream. Precludes disk-snoop attacks by prohibiting disk persistence of ephemeral keys and prevents file-descriptor exhaustion and TLS handshake stalls by hot-swapping certificates via atomic reference pointers.

#security#spiffe#spire#mtls#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Sigstore Cosign SLSA Provenance and Rekor Bundle Admission Enforcement

Enforces non-bypassable admission-time cryptographic verification of in-toto SLSA build provenance attestations and Rekor transparency log bundles for all container images. Images failing cryptographic signature verification, lacking Rekor log inclusion proofs, or referencing mutable tags instead of immutable sha256 digests are denied transition to running state.

#security#sigstore#cosign#slsa#in-toto#rekor#kubernetes#admission-controller
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Real-Time Tuple Consistency Barrier for Multi-Region ReBAC

Enforces real-time consistency barriers and causal token propagation across distributed edge nodes in OpenFGA ReBAC architectures. Eliminates replication-lag authorization bypass windows and Zanzibar 'New Enemy' vulnerabilities by mandating explicit consistency levels and transactional fencing tokens during mutation-critical evaluation paths.

#security#openfga#rebac#authorization#distributed-systems#consistency
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA CDC-Driven WAL Relation Invalidation and Cache Coherency Guardrail

Mandates that authorization decision caches and OpenFGA tuple projections derive invalidation events deterministically from PostgreSQL Write-Ahead Log (WAL) change data capture (CDC) streams. Prohibits synchronous application-tier dual-writes and unversioned TTL-only authorization caching that risk stale permit decisions after privilege revocation. Enforces transactional Log Sequence Number (LSN) watermarking to maintain strict monotonic read consistency across distributed authorization checks.

#security#openfga#cdc#postgres-wal#cache-coherency#authorization
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 DPoP Edge Nonce Validation and Token-Binding Guardrail

Enforces asymmetric RFC 9449 Demonstrating Proof-of-Possession (DPoP) verification and cryptographically bound token validation at edge gateways. Neutralizes access token theft and replay attacks by validating public key thumbprints (jkt), canonicalized HTTP request attributes (htm/htu), access token hashes (ath), and distributed clock-skew-tolerant edge nonces.

#security#oauth2#dpop#rfc9449#edge-gateway#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore SLSA Level 3 Provenance and Cryptographic Attestation Admission Enforcement

Production container workloads must strictly enforce cryptographic supply-chain verification before scheduling via admission webhooks or policy engines like Kyverno or OPA Gatekeeper. All container images must be pinned to immutable digest references (SHA-256) accompanied by valid Cosign/Sigstore digital signatures, Rekor transparency log proofs, and SLSA Level 3 build provenance generated within isolated, hermetic runners.

#security#kubernetes#supply-chain#sigstore#cosign#slsa-level-3#admission-controller
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Router v1 Runtime Search Parameter Validation and Isolation Invariant

Enforces strict runtime schema validation and serialization isolation for all route search parameters via validateSearch at the route boundary. Eliminates client-side prototype pollution, malformed state propagation, and unchecked type-casting across nested route transitions.

#frontend#tanstack-router#typescript#zod#security#routing
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 RFC 9396 Rich Authorization Requests (RAR) Policy Enforcement

RFC 9396 Rich Authorization Requests (RAR) mandate that capability tokens convey transaction-specific, fine-grained authorization details rather than broad, ambient OAuth scopes. Resource servers and token-issuing gateways must strictly validate, structurally type, and cryptographically bind authorization details to prevent token re-use, lateral movement, and privilege escalation in zero-trust architectures.

#security#oauth2#rfc9396#rar#zero-trust#token-validation
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory Sigstore Cosign Keyless Provenance & Rekor Transparency Admission

Enforces cryptographic verification of container images at admission time using Sigstore Cosign with ephemeral OIDC keyless signing, Rekor transparency log validation, and Fulcio root CA attestation. Guarantees that Kubernetes clusters immediately reject any workload lacking valid SLSA Level 3 build provenance generated by approved CI/CD identities.

#security#kubernetes#sigstore#cosign#slsa-level-3#supply-chain#admission-controller#policy-as-code
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF XDP SmartNIC Stateless SYN-Cookie Offload Standard

Enforces completely stateless L4 SYN flood mitigation executed directly in SmartNIC hardware (XDP offload mode) or native driver space prior to kernel SKB allocation. Prohibits stateful map lookups or allocations during TCP SYN ingestion, mandating deterministic cookie generation and verification via cryptographic helpers with zero host memory overhead.

#security#ebpf#xdp#smartnic#ddos-mitigation#kernel#networking
ACTIVE INVARIANTsecurity
View Rule Spec

Next.js 15 Server Action Ephemeral Cryptographic Nonce-Binding Standard

Next.js 15 Server Actions must enforce cryptographic nonce-binding to neutralize distributed replay attacks and session-riding state transitions. Every mutation-bearing Server Action must validate an ephemeral, HMAC-signed execution nonce strictly coupled to the authenticated user's session identifier, timestamp bounds, and mutation signature. State-changing operations must reject unverified payloads, guarantee single-use consumption, and strictly enforce atomic invalidation.

#security#nextjs15#server-actions#cryptography#csrf#replay-prevention
ACTIVE INVARIANTsecurity
View Rule Spec

Strict Monotonic Lamport Clock Ordering for OpenFGA Tuple Mutations and Cache Invalidation

Enforces strict monotonic Lamport timestamp validation and atomic compare-and-swap state transitions across distributed Zanzibar authorization caches and tuple change streams. Eliminates time-of-check to time-of-use (TOCTOU) authorization windows and stale permissions resulting from out-of-order tuple ingestion across horizontally scaled evaluators. Guarantees that late-arriving revoke mutations are never overwritten or masked by superseded grant events.

#security#openfga#zanzibar#distributed-systems#cache-consistency#lamport-timestamps#concurrency
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Contextual Tuple Graph Recursion Depth & Cycle Mitigation Guardrail

Enforces pre-evaluation cycle detection, bounded contextual tuple graph depth, and deterministic execution timeouts for OpenFGA authorization checks. Prevents fine-grained authorization clusters from thread starvation and distributed denial-of-service caused by circular references or deeply nested dynamic relation expansions.

#security#openfga#rebac#authorization#dos-mitigation#graph-recursion
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Deterministic Client-Side Salt Derivation and Key Wrapping Standard

Enforces cryptographic invariants when leveraging WebAuthn PRF (Pseudo-Random Function) extension for zero-knowledge client-side encryption key derivation directly from authenticators. Prevents relying party leakage, unkeyed salt reuse, insecure PRF output consumption, and lack of domain separation in HKDF expansions.

#security#webauthn#prf-extension#cryptography#zero-knowledge#hkdf
ACTIVE INVARIANTsecurity
View Rule Spec

Tetragon In-Kernel Execve Lineage & Namespace Escape Prevention

Enforces deterministic, in-kernel synchronous termination (SIGKILL) of unauthorized process lineages and container namespace breakouts via Cilium Tetragon TracingPolicies. Prevents post-compromise lateral movement and container escape payloads by intercepting syscalls at kernel entry prior to binary execution rather than relying on reactive user-space audit logging.

#security#ebpf#tetragon#kubernetes#runtime-security#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Hardware-Bound WebAuthn Step-Up Invariant for Privileged Operations

Enforces dual-attested, non-exportable hardware-bound assertion claims during step-up authentication for high-privilege operations. Mitigates cloud keychain credential-cloning vectors by strictly verifying AuthenticatorData flags (UV=1, UP=1, BE=0, BS=0) or enterprise-attested device public keys (Device PubKey extension).

#security#webauthn#fido2#passkeys#authentication#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Tuple Invalidation Consensus Standard

Enforces strict monotonic fencing tokens and distributed barrier consensus across multi-tenant edge authorization nodes evaluating OpenFGA relationships. Prevents stale authorization grants and window-of-vulnerability replay attacks during rapid team membership revocations. Guarantees linearized, zero-staleness access checks without introducing full-cluster synchronization bottlenecks.

#security#openfga#rebac#distributed-systems#edge-computing#concurrency
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn CTAP 2.2 Cross-Device Ephemeral ECDH Proximity Binding Guardrail

Enforces strict validation and cryptographic tying of WebAuthn hybrid cross-device transport (caBLE/FIDO CTAP 2.2) authentication assertions to ephemeral ECDH-derived session channels. Precludes QR-phishing, adversarial session interception, and cross-device session bleeding by mandating constant-time verification of the clientDataJSON hash, ephemeral authenticator public key derivation, and Bluetooth Low Energy (BLE) proximity routing commitments before issuing server-side user sessions.

#security#webauthn#ctap22#cryptography#fido2#passkeys#ecdh
ACTIVE INVARIANTsecurity
View Rule Spec

NIST FIPS 204 ML-DSA Post-Quantum Service-to-Service JWT Standard

Mandates post-quantum digital signature standards (NIST FIPS 204 ML-DSA) for all internal service-to-service JSON Web Tokens across distributed mesh fabrics. Eliminates vulnerability to harvest-now-decrypt-later adversaries by enforcing lattice-based signatures (ML-DSA-65/ML-DSA-87) over classical RSA or ECC primitives. Enforces strict token header verification, signature length assertions, and prevents algorithmic downgrade attacks.

#security#post-quantum#fips-204#ml-dsa#jwt#service-mesh#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Ephemeral Contextual Tuple Verification and Ingestion Guardrail

Enforces strict authorization boundaries in OpenFGA by mandating that dynamic, transient attributes (such as IP bounds, active session scopes, step-up MFA claims, and break-glass tokens) are passed strictly as validated, short-lived contextual tuples rather than persisted in the relationship store. Prevents privilege elevation and stale grants by requiring cryptographic verification and TTL validation before contextual tuple construction.

#security#openfga#zero-trust#authorization#fine-grained-authz#jwt
ACTIVE INVARIANTsecurity
View Rule Spec

Post-Quantum TLS 1.3 ML-KEM-768/X25519 Hybrid Key Exchange Enforcement

Enforces mandatory dual-algorithm hybrid key encapsulation mechanisms (combining NIST FIPS 203 ML-KEM-768 with classical X25519) across all TLS 1.3 edge ingress and reverse proxy configurations. This neutralizes retrospective quantum decryption ('Store Now, Decrypt Later') threats while retaining classical cryptographic guarantees against current adversaries.

#security#post-quantum-cryptography#tls-1-3#ml-kem#x25519#cryptographic-agility#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Static Shell Hydration Watermark Invariant

Enforces strict isolation between static prerendered shells and dynamic streaming Suspense boundaries in Next.js 15 Partial Prerendering (PPR). Guarantees deterministic microtask execution order and prevents client-side hydration mismatch cascading caused by unisolated asynchronous context access under high-latency edge streaming.

#frontend#nextjs#react19#ppr#streaming#hydration#concurrency
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Contextual Tuple Cyclic Expansion Depth and Memory Guardrail

Mandates strict bounds on contextual tuple array size, acyclic relationship validation, and client-side execution timeouts for OpenFGA 1.6 authorization calls. Unbounded or cyclic transient tuples injected into real-time check evaluations trigger exponential sub-graph traversals, causing severe latency degradation, worker thread starvation, and Denial-of-Service (DoS) vulnerabilities.

#security#openfga#authorization#fga#rebac#dos-prevention#graph-algorithms
ACTIVE INVARIANTsecurity
View Rule Spec

Envoy ext_authz Distributed ReBAC Dynamic Circuit-Breaking Standard

Enforces strict deadline fencing, local bounded fallback caching, and dynamic circuit breaking for Envoy external authorization (ext_authz) services interfacing with distributed ReBAC (Zanzibar-style) graph backends. Prevents unbounded graph expansion latency from cascading to the ingress edge by mandating fail-closed deterministic timeouts and concurrency isolation. Guarantees ingress edge resilience during high-cardinality relationship traversals without sacrificing security posture.

#security#envoy#ext-authz#rebac#circuit-breaker#zanzibar#resilience
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium Tetragon eBPF Synchronous Kernel Namespace Boundary Enforcement

Enforces in-kernel synchronous execution blocking using Cilium Tetragon TracingPolicies with Sigkill actions for unauthorized namespace boundary crossings, privilege escalations, and container breakouts. Traditional user-space observability agents incur asynchronous event transmission latency, allowing malicious code to persist or execute payloads before remediation occurs. Systems must enforce strict eBPF kprobe/tracepoint hooks to terminate violating processes within the kernel syscall boundary instantly.

#security#cilium#tetragon#ebpf#kubernetes#container-security#runtime-enforcement
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn PRF Zero-Knowledge Key Derivation & HKDF Domain Separation Standard

Mandates cryptographic domain separation, zero-knowledge isolation, and memory hygiene when deriving client-side symmetric keys via the WebAuthn PRF (Pseudo-Random Function) extension. Prevents raw PRF output exposure to remote servers, direct use of raw PRF bytes as cipher keys, and silent authentication failures on authenticators lacking PRF support.

#security#webauthn#prf-extension#zero-knowledge#hkdf#passkeys#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Hole Streaming Barrier Standard

Enforces strict boundary isolation for dynamic request data, asynchronous dynamic APIs, and streaming chunks under Next.js 15 Partial Prerendering (PPR). Guarantees that request-bound state cannot contaminate static edge shells or emit unhandled streaming rejections during deferred hydration.

#frontend#nextjs#react#ppr#suspense#streaming#edge-cache
ACTIVE INVARIANTsecurity
View Rule Spec

React 19 Server Components Taint Object Memory Perimeter Enforcement

Enforces memory perimeter guardrails using React 19 taint APIs (taintObjectReference and taintUniqueValue) to prevent sensitive credential containers, database records, and cryptographically sensitive keys from leaking across the React Server Component Flight serialization boundary. Any attempt to serialize a tainted object or value to a Client Component triggers an immediate runtime exception.

#security#react-19#server-components#rsc#taint-object-reference#flight-protocol
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 DPoP Token Binding and Server Nonce Rotation Invariant

Enforces strict RFC 9449 Demonstrating Proof-of-Possession (DPoP) binding across API gateways by requiring asymmetric client-key validation, SHA-256 access token hash verification (`ath`), and distributed single-use nonce rotation. Mitigates token exfiltration and replay attacks by rejecting standard Bearer authorizations on protected endpoints and invalidating stale or unbound DPoP proof headers.

#security#oauth2#dpop#rfc9449#token-binding#api-gateway
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Contextual Tuple Evaluation Timeout & Cycle-Breaking Guardrail

Enforces strict deadline propagation, cycle detection, and input cardinality bounds when executing OpenFGA authorization checks with contextual tuples. Prevents unbounded graph traversals, distributed resource exhaustion, and Denial-of-Service attacks triggered by circular group memberships or deep nested relational paths during dynamic authorization queries.

#security#openfga#authorization#rebac#dos-prevention#circuit-breaker
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 WebAuthn LargeBlob Storage Eviction & Signature Continuity Standard

Enforces cryptographic envelope integrity, size-budget verification, and deterministic failover when persisting encrypted state to WebAuthn largeBlob hardware storage. Prevents silent write truncation, state desynchronization, and replay attacks across CTAP2 authenticator lifecycle events.

#security#webauthn#fido2#largeblob#cryptography#prf
ACTIVE INVARIANTsecurity
View Rule Spec

ML-KEM-768 Hybrid Key Exchange Invariant for Post-Quantum TLS 1.3

Enforces dual-layer hybrid key exchange (X25519 + ML-KEM-768) over TLS 1.3 across high-assurance network boundaries to defeat Harvest-Now-Decrypt-Later (HNDL) adversary strategies. Mandates strict TLS 1.3 protocol versions, enforces quantum-resistant key-share ordering, and strictly prevents downgrade to pure classical asymmetric key encapsulation mechanisms.

#security#cryptography#post-quantum#tls-1-3#ml-kem-768#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Device-Bound Passkey Origin Binding & Iframe Isolation

Enforces strict W3C WebAuthn Level 3 cryptographic verification of Relying Party ID (rpId) and clientDataJSON origin bindings across all passkey registration and authentication ceremonies. Neutralizes cross-origin iframe exfiltration, adversarial session fixation, and federated phishing vectors by mandating top-level document fences and canonical origin matching on the server. Prevents reliance on client-controlled Host headers and insecure iframe delegates without strict Permissions-Policy directives.

#security#webauthn#passkeys#fido2#origin-binding#rp-id#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

React 19 Server Action Cryptographic Idempotency Nonce and Anti-CSRF Invariant

Mandates cryptographically signed, single-use, short-lived session nonces on all React 19 Server Actions executing state-mutating operations. Neutralizes blind cross-site request forgery (CSRF) via native progressive enhancement form submissions and prevents malicious transaction replay or double-execution attacks through atomic nonce consumption.

#security#react-19#server-actions#csrf#idempotency#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Bounded ReBAC Sub-Graph Expansion Guardrail

Enforces bounded traversal depth, cycle detection, and strict concurrency limits on OpenFGA Relationship-Based Access Control (ReBAC) evaluations. Prevents catastrophic denial of service, memory exhaustion, and tail-latency spikes caused by unbounded transitive resolution over deep organizational hierarchies.

#security#openfga#rebac#authorization#performance#resilience
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Symmetric Key Derivation & Zero-Knowledge Vault Standard

Enforces strict cryptographic invariants when deriving zero-knowledge symmetric vault keys using the WebAuthn Level 3 PRF (Pseudo-Random Function) extension. Requires HKDF domain separation, enforces non-extractable CryptoKey handles, and forbids transmission of PRF material to Relying Parties.

#security#webauthn#prf-extension#web-crypto#hkdf#zero-knowledge#aes-gcm
ACTIVE INVARIANTsecurity
View Rule Spec

Tetragon In-Kernel Synchronous Syscall Namespace Isolation Enforcement

Mandates synchronous in-kernel process termination (Sigkill) via Cilium Tetragon TracingPolicy for unauthorized container namespace transitions involving setns and pivot_root syscalls. Guarantees container breakout attempts are blocked directly inside the Linux eBPF execution layer before privilege boundaries are crossed, replacing latency-prone user-space audit daemons.

#security#ebpf#tetragon#kubernetes#container-escape#syscalls
ACTIVE INVARIANTsecurity
View Rule Spec

Mandatory SPIFFE/SPIRE Ephemeral X.509 SVID Attestation via Kernel cgroups

Completely eliminates static cloud IAM credentials and static TLS certificates across microservices by mandating ephemeral X.509 SVID issuance via the SPIFFE Workload API. Enforces kernel-level workload attestation bound strictly to Linux cgroup identifiers and requires active stream watching for seamless, zero-downtime mTLS certificate rotation.

#security#spiffe#spire#mtls#zero-trust#cgroups#iam
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Recursive Tuple Graph Evaluation Depth Fencing & Cycle Detection

Prevents catastrophic denial-of-service, unconstrained graph traversals, and thread-pool exhaustion during relationship-based access control (ReBAC) evaluations. Enforces mandatory cycle detection via visited-node memoization, strict bounded depth-fencing budgets, and fail-closed timeout signals across all recursive OpenFGA tuple resolutions.

#security#openfga#rebac#authorization#dos-prevention#graph-traversal
ACTIVE INVARIANTsecurity
View Rule Spec

RFC 9449 DPoP Ephemeral Cryptographic Proof-of-Possession Enforcement

Enforces RFC 9449 Demonstrating Proof-of-Possession (DPoP) at the Application Layer to cryptographically bind OAuth 2.1 access and refresh tokens to client-held asymmetric key pairs. Private keys MUST be non-extractable and ephemeral, generated within isolated hardware or WebCrypto subsystems to prevent exfiltration. All outbound requests and resource verifications MUST strictly validate HTTP method ('htm'), HTTP URI ('htu'), access token hash ('ath'), unique token ID ('jti'), and server-issued nonces to eliminate replay attacks.

#security#oauth2#dpop#rfc9449#cryptography#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

eBPF TC Egress Microsegmentation Fencing for Ephemeral Sandboxes

Autonomous code execution sandboxes must be strictly fenced at the kernel Traffic Control (TC) egress layer using eBPF programs attached to their virtual network interfaces prior to process initiation. Egress traffic must default to TC_ACT_SHOT with dynamic CIDR and L4 port allowlists enforced via atomic BPF LPM trie lookups to prevent network boundary escape and out-of-band lateral data exfiltration.

#security#ebpf#traffic-control#microsegmentation#sandbox-security#data-exfiltration
ACTIVE INVARIANTsecurity
View Rule Spec

Tauri 2.0 Granular Capability Manifests and IPC Sandboxing

Enforces compile-time capability mapping and strict runtime isolation between Tauri 2.0 webview contexts and native Rust commands. Mandates window-specific capability manifests with explicit command allowlisting, scoped file-system and network boundaries, and zero-trust isolation for untrusted or remote webview windows.

#security#tauri#tauri-v2#ipc-sandboxing#rust#capabilities
ACTIVE INVARIANTsecurity
View Rule Spec

Kernel-Level eBPF LSM Container Network Namespace Egress Enforcement

Enforces deterministic, in-kernel egress control at the Linux Security Module (LSM) socket layer prior to TCP handshake initiation. Prevents inter-pod data exfiltration and lateral movement by intercepting socket operations synchronously before packets hit the network stack or allocate sk_buff structures.

#security#ebpf#lsm#containers#networking#cgroups
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn largeBlob Client-Side Cryptographic Epoch Validation Protocol

Enforces hardware-bound, monotonically increasing cryptographic epoch counters within WebAuthn largeBlob payloads to protect offline-first zero-trust client credentials. Without atomic epoch progression and authenticated data binding via Authenticator Assertion Data (authData) or HMAC-SHA256 integrity tags, attackers can execute state rollback attacks by replaying stale largeBlob captures across offline clients. All largeBlob write/read transactions must mandate strict client-side verification of epoch sequence numbers and authenticated encryption before trusting payload states.

#security#webauthn#largeblob#cryptography#zero-trust#rollback-defense
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA ReBAC Graph Traversal Cycle and Depth Guardrail

Enforces strict bounded-depth DAG execution, cycle detection, and resolution limits across enterprise ReBAC relationship models. Prevents catastrophic CPU exhaustion, thread starvation, and exponential latency spikes caused by cyclic graph traversals and unbounded recursive authorization expansion.

#security#openfga#rebac#authorization#dos-prevention#graph-traversal
ACTIVE INVARIANTsecurity
View Rule Spec

in-toto ITE-6 Hermetic Build Provenance and Reproducibility Admission Guardrail

Enforces cryptographic verification of in-toto ITE-6 hermetic build provenance attestations before any container workload can be admitted to Kubernetes clusters. Prevents software supply chain tampering by verifying isolated builder identities, immutable material digests, and deterministic hermetic environment hashes against approved cluster policies.

#security#in-toto#supply-chain#kubernetes#admission-control#sigstore#provenance
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Server Components Tainted Reference Boundary Enforcement

Enforces strict application of React 19 taint primitives (experimental_taintObjectReference and experimental_taintUniqueValue) across server-side data access layers. Guarantees that private tenant credentials, cryptographic secrets, and unscrubbed domain models are structurally blocked from crossing the React Server Component serialization boundary during streaming SSR.

#frontend#react19#rsc#taint-api#security#server-components#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

SPIFFE/SPIRE Ephemeral SVID Dynamic Rotation and Overlap Handshake Guardrail

Enforces non-disruptive, atomic X.509 SVID and trust bundle rotation for ephemeral identities in distributed service meshes. Mandates overlap validation windows and thread-safe dynamic TLS context swapping to guarantee zero-downtime mTLS handshakes during aggressive sub-hour rotation cycles.

#security#spiffe#spire#mtls#zero-trust#crypto#tls
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic IO Boundary and Prerender Shell Guardrail

Enforces deterministic separation between static prerender shells and dynamic runtime execution paths under Next.js 15 Partial Prerendering (PPR) and Dynamic IO. Prevents dynamic data APIs (headers, cookies, searchParams, and uncached fetch operations) from executing outside React Suspense boundaries, which de-optimizes partial static generation into full on-demand SSR.

#frontend#nextjs#react-server-components#partial-prerendering#dynamic-io#performance
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Cosign Keyless Ephemeral OIDC Workload Attestation Standard

Enforces keyless container image signing and in-toto provenance attestation using short-lived OpenID Connect (OIDC) identity tokens issued by CI/CD workload providers. Completely eliminates static signing keys by requiring Fulcio root CA certificate verification and Rekor transparency log proof validation at all image promotion gates.

#security#supply-chain#sigstore#cosign#oidc#slsa#container-security
ACTIVE INVARIANTsecurity
View Rule Spec

Strict AMD SEV-SNP Hardware Attestation & Root-of-Trust Validation Before Key Release

Enforces strict validation of AMD SEV-SNP attestation reports against AMD Key Distribution Service (KDS) hardware certificate chains (ARK/ASK/VCEK) before releasing cryptographic keys to guest virtual machines. Guarantees measurement register verification (launch digest), report data binding against client session nonces, debug policy disallowance, and TCB version compliance to eliminate hypervisor-mediated man-in-the-middle and replay attacks.

#security#confidential-computing#amd-sev-snp#attestation#zero-trust#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Conditional Mediation Auto-Fill Ephemeral Nonce & Challenge Binding Standard

Enforces strict origin-bound, cryptographically random, ephemeral challenge-nonce verification for WebAuthn Level 3 conditional UI ceremonies. Prevents passkey replay, token-binding circumvention, and passkey injection during silent auto-fill credential generation by ensuring single-use consumption and session isolation. Guarantees that conditional mediation public key credential requests cannot be intercepted or replayed across tab contexts or origin boundaries.

#security#webauthn#passkeys#authentication#cryptography#conditional-mediation
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Ambient OIDC Ephemeral Workload Attestation Guardrail

Enforces keyless in-toto supply chain provenance attestations via ambient CI/CD OIDC workload identity federation. Eliminates all static, long-lived signing keys and passphrases in favor of short-lived Fulcio X.509 leaf certificates logged to Rekor transparency logs.

#security#sigstore#cosign#supply-chain#oidc#in-toto#slsa
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Recursive Relation Evaluation Depth Ceiling and Cycle Guard

Enforces deterministic bounding on OpenFGA graph traversal depth and mandates cycle prevention in recursive authorization hierarchies. Failure to bound recursive evaluation allows adversarial or misconfigured nested groups to trigger catastrophic goroutine or memory exhaustion in multi-tenant authorization engines. Production environments must strictly configure engine-level resolution depth limits and intercept relationship creation to reject cyclic or excessive graph chains.

#security#openfga#authorization#dos-mitigation#graph-traversal#rebac
ACTIVE INVARIANTsecurity
View Rule Spec

Passkey Hardware-Bound Registration Attestation Verification Standard

Enforces strict validation of WebAuthn attestation statements against certified hardware roots of trust during passkey registration. Guarantees that credentials originating in high-assurance environments are bound to verified physical authenticators (e.g., FIDO2 Level 2+ / CC EAL6+) by cryptographically verifying x5c certificate chains, AAGUID metadata, and authenticator flags, rejecting software-emulated or synced consumer passkeys.

#security#webauthn#passkeys#fido2#attestation#cryptography
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Partial Prerendering Dynamic Hole Isolation and Layout Stability

Enforces deterministic boundaries between static prerendered HTML shells and dynamic asynchronous streaming segments under Next.js 15 Partial Prerendering (PPR). Guarantees dynamic data fetching functions execute strictly within explicitly bounded React Suspense boundaries equipped with dimension-locked fallbacks to eliminate cascading layout shifts (CLS) and TTFB regression over multiplexed HTTP/3 connections.

#frontend#nextjs#react-server-components#partial-prerendering#suspense#performance
ACTIVE INVARIANTsecurity
View Rule Spec

W3C Device-Bound Session Credentials (DBSC) Cryptographic Invariant

Enforces cryptographic hardware-binding of HTTP application sessions using W3C Device-Bound Session Credentials (DBSC) specifications. Prevents token exfiltration and session replay attacks by asserting asymmetric TPM or Secure Enclave proof signatures on session initialization, refresh, and high-privilege transactional paths.

#security#dbsc#cryptography#session-management#tpm#w3c#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Sigstore Cosign SLSA Level 3 Ephemeral Provenance and Keyless Verification

Enforces non-forgeable, hardware-attested cryptographic build provenance and keyless workload identity attestation prior to production deployment. Prevents deployment of artifacts signed with static long-lived private keys, self-hosted unverified runners, or absent Fulcio/Rekor certificate transparency entries.

#security#sigstore#cosign#slsa-level-3#provenance#supply-chain#keyless
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 Enterprise Attestation and Multi-Device Passkey Sync-Exclusion

Enforces strict zero-trust hardware attestation for high-assurance enterprise WebAuthn flows. Requires cryptographically verified AAGUID allowlisting against trusted FIDO Metadata Service (MDS) roots and explicitly rejects multi-device synchronized passkeys by inspecting authenticator data backup flags (BE/BS).

#security#webauthn#fido2#passkeys#zero-trust#cryptography#enterprise-attestation
ACTIVE INVARIANTsecurity
View Rule Spec

Cilium eBPF Socket-Level Mutual TLS Identity Assertion Guardrail

Enforces cryptographically authenticated pod-to-pod identity directly within the Linux socket layer using Cilium eBPF authentication handshakes, eliminating user-space sidecar proxy memory overhead and connection latency. Requires all service-to-service ingress and egress rules to declare mandatory mutual TLS verification via Cilium Network Policies backed by SPIFFE/SPIRE workload identities. Prohibits unauthenticated eBPF bypasses, weak IP-based security assertions, and degraded cleartext fallback modes.

#security#cilium#ebpf#mtls#kubernetes#spiffe-spire#zero-trust
ACTIVE INVARIANTsecurity
View Rule Spec

Hybrid Post-Quantum TLS 1.3 (ML-KEM-768) ClientHello Fragmentation Guardrail

Enforces strict ClientHello payload budgeting and key-share negotiation policies when deploying hybrid post-quantum algorithms like X25519MLKEM768. Prevents catastrophic middlebox packet drops and latency penalties caused by multi-segment IP/TCP fragmentation when the TLS 1.3 ClientHello exceeds standard MTU boundaries (~1460 byte MSS). Mandates single key-share advertisement, extension payload minimization, and automated fallback monitoring without downgrading cryptographic guarantees.

#security#tls13#post-quantum#ml-kem#networking#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Passkey LargeBlob Synchronized Cryptographic State and Monotonic Integrity Invariant

Enforces client-side cryptographic integrity checks and monotonic sequence versioning on WebAuthn largeBlob storage payloads. Prevents out-of-order writes, stale-state rollbacks, and cross-origin state injection caused by multi-device cloud synchronization ecosystems (e.g., iCloud Keychain, Google Password Manager).

#security#webauthn#passkeys#largeblob#cryptography#aead#distributed-sync
ACTIVE INVARIANTsecurity
View Rule Spec

Cedar Policy Engine Formal Verification & Deterministic Policy Slicing Invariant

Enforces formal verification via SMT-backed validation and deterministic policy slicing on Cedar authorization policies before compilation or deployment to API gateways. Prevents privilege escalation paths and conflicting forbid/permit evaluation leaks across distributed microservice boundaries by mathematically proving policy soundness and non-interference.

#security#cedar-policy#formal-verification#zero-trust#authorization#smt
ACTIVE INVARIANTsecurity
View Rule Spec

WASI 0.2 Component Model Shared-Nothing Sandbox Guardrail

Enforces strict canonical ABI boundaries and shared-nothing memory isolation across WebAssembly Component Model (WASI 0.2) interfaces. Prevents arbitrary host-guest pointer passing, raw linear memory sharing, and unconstrained capability grants when executing untrusted dynamic plugins. Guarantees that communication across component boundaries uses exclusively WIT (Wasm Interface Type) declarations with canonical serialization and explicit host resource handle lifecycles.

#security#webassembly#wasi#wasmtime#component-model#wit
ACTIVE INVARIANTsecurity
View Rule Spec

SLSA Build Level 3/4 Hermetic Provenance and Ephemeral Attestation Guardrail

Enforces cryptographically verifiable, ephemeral, and air-gapped CI/CD build environments to eliminate supply chain tampering. Requires network-isolated build phases with pre-fetched pinned dependencies, cryptographic SHA256 immutability for all builders, and automated generation of signed in-toto SLSA provenance predicates outside the build execution context.

#security#slsa#supply-chain#sigstore#in-toto#hermetic-builds#attestation
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn FIDO2 PRF Extension Zero-Knowledge Vault Derivation Guardrail

Mandates zero-knowledge symmetric key derivation using WebAuthn Level 3 FIDO2 Pseudo-Random Function (PRF) extensions without persisting key material to host storage. Derived keying material must undergo HKDF expansion with domain separation, instantiate non-extractable CryptoKey handles, and enforce immediate memory zeroization of intermediate buffers.

#security#webauthn#fido2#prf-extension#cryptography#zero-knowledge#webcrypto
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 PPR Dynamic Hole Streaming Timeout and Circuit-Breaker Invariant

Enforces deterministic streaming latency in Next.js 15 Partial Prerendering (PPR) by mandating strict execution timeouts and circuit-breaker fallbacks on all dynamic Suspense holes. Prevents upstream microservice degradation from stalling HTTP/2 streaming responses, exhausting edge connection limits, or causing 504 Gateway Timeouts.

#nextjs#nextjs-15#ppr#streaming#suspense#resilience#performance
ACTIVE INVARIANTsecurity
View Rule Spec

FIDO2 Hardware Enterprise Attestation & FIDO MDS3 Cryptographic Verification Standard

Mandates strict cryptographic validation of WebAuthn registration attestation statements, certificate chains, and AAGUIDs against the FIDO Alliance Metadata Service (MDS3) root of trust. Prevents software-emulated authenticators, compromised keys, and non-compliant tokens from enrolling in zero-trust enterprise perimeters.

#security#fido2#webauthn#cryptography#zero-trust#authentication
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA Hierarchical Contextual Tuples Depth Boundary and Complexity Guard

Enforces strict recursion depth limits, cycle detection, and tuple payload cardinality constraints when passing client-supplied contextual tuples to OpenFGA Check and ListObjects APIs. Prevents Algorithmic Complexity Denial of Service (Graph-DoS) caused by adversarial deeply nested or cyclic relationship graph resolutions during dynamic authorization evaluation.

#security#openfga#authorization#rebac#dos-mitigation#graph-traversal
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 RSC Taint API & Cryptographic Boundary Enforcement

Enforces strict cryptographic serialization boundaries in React 19 Server Components using experimental_taintUniqueValue and taintObjectReference. Guarantees that internal database records, private API tokens, and cryptographic keys are blocked at the RSC serialization layer from leaking to client bundles.

#react19#rsc#taint-api#security#nextjs#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Mandate WebAuthn L3 Hardware Attestation Cryptographic Binding with Native App Integrity

Cryptographically couples WebAuthn passkey registration with platform integrity assertions (Apple App Attest and Android Play Integrity) to eliminate cloned-key client spoofing. Ensures keys are physically sealed within hardware security modules (Apple Secure Enclave, Android StrongBox/TEE) on untampered native clients by enforcing nonce-bound dual verification.

#security#webauthn#passkeys#app-attest#play-integrity#fido2#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Go 1.24 HTTP/3 QUIC 0-RTT Anti-Replay Window & Early Data Invariant

Enforces cryptographic strike registers and strict RFC 8470 idempotency fences on QUIC 0-RTT (Early Data) handshakes in Go 1.24 HTTP/3 servers. Non-idempotent HTTP verbs (POST, PUT, PATCH, DELETE) arriving via 0-RTT MUST be rejected immediately with HTTP 425 Too Early to prevent replay-induced state corruption. Safe idempotent requests MUST be evaluated against a bounded anti-replay sliding window strike register.

#security#quic#http3#go1.24#replay-attack#chi-router#zero-rtt
ACTIVE INVARIANTsecurity
View Rule Spec

OpenFGA WASM Edge Evaluation Memory-Ceiling Guardrail

Enforces strict upper bounds on WebAssembly linear memory allocations and deterministic graph traversal recursion depths when evaluating OpenFGA authorization checks at edge runtimes. Prevents catastrophic OOM isolate termination, ReDoS-style tuple amplification attacks, and edge compute starvation during relational permission resolution.

#security#openfga#wasm#edge-computing#memory-management#authorization
ACTIVE INVARIANTsecurity
View Rule Spec

WebAuthn Level 3 PRF Extension Deterministic Key Derivation Invariant

Mandates client-side hardware-bound deterministic key derivation via the WebAuthn Level 3 PRF (Pseudo-Random Function) extension. Enforces strict zero-knowledge cryptographic boundaries ensuring raw PRF outputs and derived symmetric encryption keys never traverse network boundaries or persist into non-volatile client storage.

#security#webauthn#prf-extension#zero-knowledge#cryptography#webcrypto
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.0 DPoP (RFC 9449) Proof Token Replay & Clock-Skew Isolation Guardrail

Mandates end-to-end cryptographic verification of RFC 9449 Demonstrating Proof-of-Possession (DPoP) proof tokens across all edge and resource-tier API endpoints. Renders exfiltrated bearer tokens inert by strictly enforcing asymmetric key thumbprint ('cnf.jkt') binding, atomic single-use 'jti' replay tracking, strict clock-skew isolation windows, and canonical 'htm'/'htu' matching.

#security#oauth2#dpop#rfc9449#replay-prevention#cryptography#zero-trust
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 App Router & Server Actions Standard

Strict architecture guardrails for Next.js 15: strictly App Router (no pages/ bleed), async request APIs (cookies, headers, params), and secure Server Actions.

#nextjs#react#typescript#server-actions#app-router
ACTIVE INVARIANTfrontend
View Rule Spec

Vue 3.5+ Composition API & Script Setup Standard

Strict Vue 3.5+ architecture: pure <script setup lang='ts'>, reactive props destructuring, shallowRef for performance, and zero Options API legacy code.

#vue#vue3#typescript#composition-api
ACTIVE INVARIANTfrontend
View Rule Spec

TypeScript Strict Mode & Zero Any Standard

Enterprise TypeScript discipline: strict null checks, no 'any' types, discriminated unions for state modeling, and the satisfies operator.

#typescript#type-safety#discriminated-unions
ACTIVE INVARIANTfrontend
View Rule Spec

Zod Schema Validation & Strict Sanitization

Bulletproof data validation using Zod: enforce safeParse, handle type coercion safely, sanitize strings, and prevent prototype pollution.

#zod#validation#typescript#schemas
ACTIVE INVARIANTfrontend
View Rule Spec

React Hook Form & Zod Strict Uncontrolled Validation

High-performance form state management with React Hook Form and Zod schema validation. Eliminates per-keystroke re-render waterfalls via uncontrolled inputs, enforces type-safe resolvers, and manages loading states.

#react-hook-form#zod#forms#performance#react
ACTIVE INVARIANTfrontend
View Rule Spec

TanStack Table v8 & Virtualized Row Architecture

Enterprise data grid architecture using headless TanStack Table v8 and @tanstack/react-virtual. Eliminates browser main-thread freezes on 10,000+ row datasets through DOM element recycling, memoized column accessors, and debounced filtering.

#tanstack-table#virtualization#react#performance#datagrid
ACTIVE INVARIANTfrontend
View Rule Spec

Progressive Web App (PWA) Workbox 7 & Cache Invalidation Architecture

Production architecture for Service Workers and Workbox 7. Mandates NetworkFirst for HTML navigation routes, CacheFirst with explicit content hashing for immutable static assets, and immediate registration skipWaiting lifecycle orchestration to prevent users from being permanently trapped on stale application bundles.

#pwa#service-worker#workbox#offline-first#caching#nextjs
ACTIVE INVARIANTfrontend
View Rule Spec

Core Web Vitals (INP, LCP, CLS) & Main Thread Yielding Standard

Production performance engineering standard for modern web applications. Mandates Interaction to Next Paint (INP) < 200ms using scheduler.yield() chunking, explicit layout dimensions preventing Cumulative Layout Shift (CLS), and priority resource loading (fetchpriority='high').

#performance#core-web-vitals#inp#lcp#cls#browser#react
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 App Router & next-intl Dynamic Localization Architecture

Enterprise internationalization standard for Next.js 15 App Router. Mandates server-side translation resolution via next-intl, type-safe translation keys, clean routing middleware with alternate hreflang tags, and zero client bundle bloat from translation dictionaries.

#nextjs#next-intl#i18n#localization#seo#react
ACTIVE INVARIANTfrontend
View Rule Spec

React 19 Concurrent Rendering & useTransition Non-Urgent Update Slicing

Production standard for non-blocking concurrent UI updates in React 18/19. Mandates wrapping high-latency state updates (search filtering, tab switching, large list sorting) in useTransition / startTransition to maintain 60 FPS input responsiveness, eliminating main thread stutter and INP penalties. (Semgrep rule: react-unbatched-state-transitions)

#react#react-19#concurrency#useTransition#performance#inp
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 Server Actions Session Authorization & CSRF Mitigation Standard

Enterprise security standard for Next.js 15 Server Actions. Mandates strict session authentication checks inside action bodies, Zod payload schema validation, CSRF origin verification, and prevents exposed POST mutations without authorization. (OWASP A01:2021 Broken Access Control / CWE-352).

#nextjs#server-actions#security#csrf#authorization#zod
ACTIVE INVARIANTfrontend
View Rule Spec

TypeScript satisfies Operator vs Type Assertion Casting Standard

Production TypeScript typing standard. Mandates using the 'satisfies' operator for configuration objects, themes, and route definitions to validate schema conformity while preserving exact literal types, strictly forbidding 'as Type' type assertions that mask missing properties.

#typescript#satisfies#type-safety#narrowing#dx
ACTIVE INVARIANTfrontend
View Rule Spec

Next.js 15 dynamicIO & Partial Prerendering (PPR) Streaming Standard

Production standard for Next.js 15 Partial Prerendering and experimental.dynamicIO. Enforces explicit React Suspense boundaries around dynamic cookies/searchParams calls, allowing static page shells to prerender instantly from CDN edges while streaming dynamic user slots.

#nextjs#nextjs-15#ppr#dynamic-io#suspense#streaming#seo
ACTIVE INVARIANTfrontend
View Rule Spec

Zustand & Immer Middleware Deep Structural State Mutation Discipline

State management standard for Zustand v5 combined with Immer middleware. Enforces type-safe draft mutations for deeply nested states, prevents accidental manual object spread mistakes, and eliminates memory leak references in complex global client states.

#zustand#immer#state-management#immutability#react
ACTIVE INVARIANTbackend
View Rule Spec

NestJS Enterprise Modular Architecture & Validation

Enterprise NestJS conventions: enforce strict modular boundaries, global ValidationPipe with whitelist: true, custom exception filters, and proper DI token usage.

#nestjs#typescript#architecture#dependency-injection
ACTIVE INVARIANTbackend
View Rule Spec

tRPC v11 End-to-End Type Safety & Procedure Standard

Conventions for tRPC v11: modular sub-routers, superjson transformer for dates/maps, middleware authorization guards, and input/output schema validation.

#trpc#typescript#fullstack#rpc
ACTIVE INVARIANTbackend
View Rule Spec

Model Context Protocol (MCP) Server Security Sandboxing & Path Traversal Defense

Production security standard for Model Context Protocol (MCP) tool servers. Enforces strict filesystem root confinement with path canonicalization (realpath), absolute prohibition of raw child_process.exec() parameter substitution, parameter schema boundaries, and timeout kill-switches.

#mcp#model-context-protocol#security#sandboxing#tools#typescript#python
ACTIVE INVARIANTbackend
View Rule Spec

NATS JetStream 2.10+ High-Performance Event Streaming & Deduplication

Production architecture for NATS JetStream 2.10+ event-driven systems. Mandates explicit message deduplication headers (Nats-Msg-Id), durable pull consumers with backpressure batching, and strict ACK timeout handling to guarantee zero message loss at microsecond latencies.

#nats#jetstream#event-streaming#message-broker#concurrency#go#typescript
ACTIVE INVARIANTbackend
View Rule Spec

gRPC Client-Side Round-Robin Load Balancing & Channel Architecture

Production architecture for gRPC microservices. Mandates client-side round-robin load balancing (dns:/// service resolution), persistent channel reuse, and HTTP/2 stream multiplexing, eliminating the fatal trap of creating a new gRPC channel per RPC call.

#grpc#protobuf#microservices#load-balancing#go#java#typescript
ACTIVE INVARIANTmobile
View Rule Spec

Capacitor 6 Native Bridge & Offline Sync Standard

Conventions for Capacitor 6 hybrid apps: manage native plugin lifecycles, handle safe hardware back buttons, and implement offline SQLite/IndexedDB synchronization.

#capacitor#ionic#hybrid-mobile#typescript
ACTIVE INVARIANTmobile
View Rule Spec

React Native New Architecture (TurboModules & Fabric) Migration Standard

Production standard for React Native 0.76+ New Architecture. Mandates C++ TurboModule interfaces using Codegen Specs, pure Fabric Native Component rendering, and eliminates legacy asynchronous JSON bridge calls that cause UI bridge thread locking.

#react-native#turbomodules#fabric#mobile#new-architecture#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

OWASP API Security Top 10 Guardrails & BOLA Defense

Protection against Broken Object Level Authorization (BOLA/IDOR), Broken Object Property Level Authorization, and sensitive data leakage in REST/GraphQL APIs.

#security#owasp#api-security#authorization#idor
ACTIVE INVARIANTsecurity
View Rule Spec

SQL Injection Defense & Parameterized Query Standard

Eliminate SQL injection: strictly use parameterized queries or prepared statements, avoid string interpolation in SQL strings, and validate identifiers against strict whitelists.

#security#sql-injection#database#sanitization
ACTIVE INVARIANTsecurity
View Rule Spec

Zero Secret Hardcoding & Environment Hygiene Standard

Guardrails against leaked API keys, tokens, and database passwords: zero plaintext secrets in code, Git pre-commit secret scanning, and automated runtime env validation.

#security#secrets#env#git-safety#devops
ACTIVE INVARIANTsecurity
View Rule Spec

OAuth 2.1 & OIDC Authorization Code with PKCE Standard

Guardrails for modern authentication: OAuth 2.1 Authorization Code Flow with PKCE (Proof Key for Code Exchange), httpOnly SameSite=Lax cookies, and refresh token rotation.

#oauth#security#authentication#pkce#jwt
ACTIVE INVARIANTsecurity
View Rule Spec

Modern CORS & CSRF Defense Architecture Standard

Guardrails for Cross-Origin Resource Sharing (CORS) and Cross-Site Request Forgery (CSRF): strict allowed origins (no wildcard with credentials), SameSite cookies, and Double Submit Cookie patterns.

#cors#csrf#security#web-security#cookies
ACTIVE INVARIANTsecurity
View Rule Spec

Cryptographic Standards & Password Hashing Standard

Guardrails for modern cryptography: Argon2id for password hashing (no MD5, SHA-1, or plain bcrypt), AES-256-GCM for symmetric encryption, and constant-time string comparisons.

#cryptography#encryption#argon2#passwords#security
ACTIVE INVARIANTsecurity
View Rule Spec

LLM Prompt Injection & Output Guardrails Standard

Guardrails for AI Agent applications: delimiter sandboxing for untrusted inputs, schema validation for LLM outputs, canary tokens to detect system prompt exfiltration, and tool call permission bounds.

#ai-security#prompt-injection#llm-guardrails#agents
ACTIVE INVARIANTsecurity
View Rule Spec

JWT Stateless Authentication Hardening & Token Rotation Standard

Cryptographically sound JWT token architecture. Mandates asymmetric RS256/EdDSA signature verification, short-lived access tokens (15m) in HttpOnly SameSite=Strict cookies, refresh token rotation with reuse detection, and revocation blacklists.

#jwt#authentication#security#token-rotation#owasp
ACTIVE INVARIANTsecurity
View Rule Spec

Distributed Rate Limiting (Redis Token Bucket / Sliding Window) Standard

Enterprise DDoS and abuse mitigation via atomic Redis sliding-window log/token bucket algorithms. Enforces IP- and user-tier rate limits, standard IETF RateLimit-* headers, and atomic Lua script execution.

#rate-limiting#redis#token-bucket#ddos-prevention#api-security
ACTIVE INVARIANTsecurity
View Rule Spec

PII Data Sanitization & Log Masking Compliance Standard

GDPR, HIPAA, and SOC2 compliant data sanitization discipline. Forbids logging plaintext Personally Identifiable Information (PII) including passwords, credit card numbers, national IDs, and JWT tokens; mandates deep recursive redaction.

#gdpr#hipaa#pii-sanitization#log-masking#compliance
ACTIVE INVARIANTsecurity
View Rule Spec

Software Supply Chain Security & Dependency Pinning Standard

Modern supply chain hardening against malicious package injection and typosquatting. Mandates strict dependency pinning (no wildcard ranges), reproducible lockfiles, CI automated vulnerability scanning, and CycloneDX SBOM generation.

#supply-chain#sbom#cyclonedx#dependencies#security-audit
ACTIVE INVARIANTsecurity
View Rule Spec

Passkeys & WebAuthn FIDO2 Passwordless Authentication Standard

Enterprise authentication standard for Passkeys and WebAuthn FIDO2. Mandates cryptographic challenge generation, signature replay counter validation, attestation verification, and secure user-handle management using @simplewebauthn.

#passkeys#webauthn#fido2#authentication#cryptography
ACTIVE INVARIANTsecurity
View Rule Spec

Cross-Origin Isolation (COOP & COEP) & SharedArrayBuffer Defense

Browser security standard for high-performance web applications using WebAssembly multi-threading and SharedArrayBuffer. Mandates precise Cross-Origin-Opener-Policy (COOP) and Cross-Origin-Embedder-Policy (COEP) headers while safeguarding third-party embeds.

#coop#coep#sharedarraybuffer#webassembly#browser-security
ACTIVE INVARIANTsecurity
View Rule Spec

Istio Service Mesh Zero-Trust mTLS & Strict AuthorizationPolicy

Zero-trust microservice security standard using Istio service mesh. Enforces PeerAuthentication STRICT mode, SPIFFE cryptographic identity validation, explicit egress traffic gateways, and granular L7 AuthorizationPolicies.

#istio#zero-trust#mtls#kubernetes#service-mesh
ACTIVE INVARIANTsecurity
View Rule Spec

OWASP Top 10 for LLMs & Indirect Prompt Injection Defense

Enterprise security standard mitigating OWASP Top 10 for Large Language Model Applications (LLM01 Prompt Injection, LLM02 Sensitive Information Disclosure, LLM08 Excessive Agency). Mandates dual-boundary structural tagging, input guardrail scanning, and human-in-the-loop gates for high-impact actions.

#owasp#llm-security#prompt-injection#ai-guardrails#security
ACTIVE INVARIANTsecurity
View Rule Spec

Casbin & OPA Attribute-Based Access Control (ABAC) & RBAC Engine

Enterprise authorization standard for fine-grained multi-tenant access control. Replaces scattered procedural if (user.role === 'admin') statements with declarative PERM policy models (Casbin / Open Policy Agent), preventing Broken Object Level Authorization (BOLA/IDOR) vulnerabilities.

#casbin#opa#rbac#abac#authorization#security#tenant-isolation
ACTIVE INVARIANTsecurity
View Rule Spec

IETF Idempotency-Key HTTP Standard (RFC 9457 / Draft) & Financial Safety

Production standard for idempotent mutation APIs (payments, transfers, orders). Enforces the IETF Idempotency-Key HTTP header specification, distributed atomic reservation locks in Redis (SETNX + TTL), in-flight collision 409 Conflict rejection, and exact cached response replay.

#idempotency#fintech#api-design#rfc-standards#redis#concurrency
ACTIVE INVARIANTsecurity
View Rule Spec

Cloudflare Turnstile & Automated Bot Defense Server-Side Verification

Production privacy-first bot mitigation standard using Cloudflare Turnstile. Mandates strict server-side cryptographic token validation with the siteverify endpoint, idempotency replay prevention, remote IP checking, and zero client-side bypass vulnerabilities.

#turnstile#cloudflare#bot-defense#anti-scraping#security#nextjs
ACTIVE INVARIANTsecurity
View Rule Spec

Confidential Computing, TPM 2.0 & AWS Nitro Enclaves Attestation

Production standard for confidential computing and hardware-rooted trust. Mandates cryptographic remote attestation using AWS Nitro Enclaves NSM (Nitro Security Module) or TPM 2.0 PCR registers, ephemeral KMS decryption, and zero host-level memory access to master signing keys.

#confidential-computing#nitro-enclaves#tpm#cryptography#zero-trust#aws#security
ACTIVE INVARIANTsecurity
View Rule Spec

Constant-Time Cryptographic Comparison & Side-Channel Timing Attack Defense

Production cryptography standard (CWE-208: Observable Timing Discrepancy). Mandates using constant-time comparison algorithms (crypto.timingSafeEqual in Node.js, hmac.compare_digest in Python, subtle.ConstantTimeCompare in Go) when comparing API keys, webhook signatures, and password tokens, eliminating timing side-channel attacks.

#cryptography#security#timing-attack#constant-time#hmac#tokens
ACTIVE INVARIANTsecurity
View Rule Spec

Server-Side Request Forgery (SSRF) & DNS Rebinding Mitigation Standard

Production network security standard (CWE-918 / OWASP A10:2021). Mandates strict validation of user-supplied URLs before outbound HTTP requests, resolves DNS to target IP, rejects private/internal RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.1, 169.254.169.254), and prevents DNS Rebinding attacks by pinning resolved IPs.

#ssrf#security#dns-rebinding#cwe-918#owasp#network
ACTIVE INVARIANTsecurity
View Rule Spec

JavaScript Object Prototype Pollution Defense in Deep Merge Functions

Production JavaScript/TypeScript security standard (CWE-1321). Mandates blocking __proto__, constructor, and prototype property keys in recursive deep merge and object clone functions, eliminating prototype pollution attacks that lead to Remote Code Execution (RCE) or authentication bypass.

#security#prototype-pollution#cwe-1321#typescript#javascript#owasp
ACTIVE INVARIANTsecurity
View Rule Spec

XML External Entity (XXE) Injection Prevention & Safe Parser Configuration

Production security standard (CWE-611 / OWASP Top 10). Mandates completely disabling Document Type Definitions (DTD) and external entity resolution in XML parsers (fast-xml-parser, libxmljs, defusedxml), preventing local file disclosure (/etc/passwd) and server-side request forgery through XML payloads.

#xxe#security#xml#cwe-611#owasp#python#typescript
ACTIVE INVARIANTsecurity
View Rule Spec

JWT alg: 'none' & Key Confusion Attack Defense Standard

Cryptographic authentication standard for JSON Web Tokens (CVE-2015-9235). Mandates explicit algorithm whitelisting (algorithms: ['RS256']), strictly prohibits 'none' or 'HS256' when using public keys, and validates token expiration (exp), audience (aud), and issuer (iss) claims.

#jwt#authentication#security#cryptography#cve-2015-9235#oauth
ACTIVE INVARIANTsecurity
View Rule Spec

Dynamic SQL ORDER BY & Column Identifier Injection Defense Standard

Database security standard (CWE-89 / OWASP Top 10). Mandates strict whitelist mapping for dynamic ORDER BY columns and sort directions (ASC/DESC), eliminating SQL injection vulnerabilities in sorting clauses that cannot be parameterized via standard prepared statements.

#sql#sql-injection#cwe-89#security#database#orm
ACTIVE INVARIANTsecurity
View Rule Spec

CORS Dynamic Origin Whitelist & Credentials Misconfiguration Defense

Web security standard for Cross-Origin Resource Sharing (CWE-942). Mandates validating Origin headers against an explicit domain whitelist, strictly forbids returning Access-Control-Allow-Origin: * when Access-Control-Allow-Credentials: true is set, and prevents origin reflection attacks that leak authenticated session cookies.

#cors#security#cwe-942#cookies#headers#api
ACTIVE INVARIANTsecurity
View Rule Spec

LLM PII Anonymization & Sensitive Training Data Leakage Guardrails

Security standard for Enterprise LLM architectures (OWASP Top 10 for LLMs: LLM06 Sensitive Information Disclosure). Mandates pre-prompt PII masking (Social Security Numbers, credit cards, API keys) via Microsoft Presidio or regular expressions, and post-generation output guardrails to prevent private data leakage.

#owasp-llm#pii#security#privacy#gdpr#hipaa#ai-guardrails
ACTIVE INVARIANTdevops
View Rule Spec

AWS CDK v2 Modern L2 Constructs & Least-Privilege IAM Discipline

Enterprise cloud infrastructure standard using AWS CDK v2. Mandates higher-level L2/L3 constructs over raw Cfn escape hatches, fine-grained resource-level IAM grants, and strict multi-stack state isolation.

#aws-cdk#typescript#cloud-infrastructure#iam#aws