redb.Identity Deploys Three-Layer Defense to Neutralize Stolen Access Tokens in OpenID Connect
redb.Identity, a custom OAuth 2.1 / OpenID Connect provider developed on .NET, tackles the problem of stolen access tokens with three concrete layers of defense rather than relying on declarative statements. Bearer tokens work for whoever possesses them, allowing an attacker who extracts a token via XSS, a compromised npm package, browser extension, or localStorage to operate from any machine until expiration, typically fifteen minutes to one hour.
Origin of Token Theft
Token theft commonly stems from XSS in the application itself, XSS through a dependency where a compromised npm package gains the same DOM and network access as first-party code, malicious browser extensions, or direct reads from localStorage. All four vectors allow the attacker to carry away the token itself, eliminating any need for the victim’s browser, network, or session.
Layer One: Preventing Theft with BFF
Most identity-server admin consoles, including Keycloak and WSO2 Identity Server, run as public OAuth clients in the browser and therefore store administrator access tokens in JavaScript-accessible memory. redb.Identity.Web instead uses Blazor Server with cookie authentication. Tokens are stored on the authentication ticket via AuthenticationTokenExtensions.StoreTokens and retrieved server-side with GetTokenAsync. All intermediate states such as MFA challenges and consent screens are likewise held in HttpOnly, SameSite=Lax, Secure cookies protected by Data Protection. Because markup renders on the server and only a SignalR diff reaches the browser, no JavaScript bundle holds application state.
BFF converts a silent compromise from another country into an active session inside the victim’s browser only while the page remains open. It therefore trades one detection signal (impossible travel) for a smaller blast radius, but still requires behavioral monitoring.
Layer Two: Rendering Stolen Tokens Useless with DPoP
DPoP (RFC 9449) binds tokens to a private key generated inside the client. At issuance the server records the key thumbprint in the cnf.jkt claim. Every subsequent request must include a fresh, signed proof JWT tied to the exact HTTP method and URL. A token stolen without its private key is rejected because the server demands a valid proof. The implementation includes stateless HMAC nonces, a jti replay cache per key, and an allow-list of asymmetric algorithms only. A separate package, redb.Identity.Resource.Dpop, lets resource APIs perform the same validation.
Layer Three: Rapid Revocation
Even strong binding requires fast revocation when a user departs, a device is lost, or an incident is confirmed. redb.Identity supports RFC 7009 token revocation, refresh-token rotation, idle-timeout sessions updated on real activity, and backchannel logout in both push and pull modes. The pull feed of revoked session identifiers allows any recovering replica to query “/revoked-sids/since?cursor=…” and catch up without missing events. BFF validation itself checks this list on every cookie request so that a global sign-out immediately terminates live sessions across all replicas.
Supporting Controls
Password history, TOTP step locking to prevent replay within the acceptance window, server-side hashed one-time codes for SMS and email, atomic recovery-code consumption, constant-time comparisons via CryptographicOperations.FixedTimeEquals, and three-tier rate limiting (IP, client_id token bucket, and IP-plus-user) are all implemented. Proxy headers are sanitized before reaching rate limiters or block counters, and idempotency caches sit after authorization checks.
Related articles
Ratcast Updates P2P App with Auto Quality Mode, Hardware Encoder Fixes and File Sharing
Ratcast has released a new version of its serverless P2P application focused on voice calls, video conferencing and joint content streaming. The update introduces automatic resolution adaptation that balances network bandwidth and encoder load to maintain optimal image quality without overloading the device. Hardware encoder issues were fixed for both NVENC on Windows and VideoToolbox on macOS, eliminating bitrate deviations that previously caused quality loss or packet loss. Users can now share files directly in chat by dragging them into the window or pasting from the clipboard. Full-screen mode is now available for the local camera in addition to remote participant feeds. Static image handling at high frame rates has also been improved to prevent unnecessary bitrate spikes.
SberTech Expands AI Agents in Platform V DataSpace to Enable Corporate Application Development from Text Descriptions
SberTech has introduced a new set of skills for its AI agents within the Platform V DataSpace platform, allowing the creation of corporate applications based on textual descriptions. The update focuses on automating the design of architectural components while respecting enterprise environment requirements. Presented at the AI Journey 2026 conference in Moscow, the skills draw from the company's low-code development practices and have been released openly on GitVerse. The AI agents can now handle user interfaces, server-side logic, data models, authorization mechanisms, and access rights. This addresses challenges in vibe coding by providing better architectural control and consistent service structures. According to CEO Maxim Tyatyushev, the capabilities support rapid prototyping, business hypothesis testing, and organizational scaling for both professional developers and non-programmers.
Russia's MAX Messenger Launches Chatbot for Presidential Appeals Collecting Personal Data
VK has activated a dedicated chatbot inside the MAX messenger to collect text and video messages addressed to President Vladimir Putin as part of the annual "Results of the Year" program. Citizens of Russia, regardless of age or region, must provide a phone number, full name, age, locality, and email address before submitting questions or recordings. The collection window opens at midnight Moscow time on 27 November and closes at the end of the live broadcast on 10 December. Messages will be reviewed by the program’s editorial team, which may contact senders using the supplied contact details, while GigaChat AI will assist users in refining their questions. Storage periods and handling procedures for the collected personal data remain unspecified in the official announcement. MAX joins other official channels including a dedicated website, mobile app, VK and Odnoklassniki communities, telephone, and SMS/MMS options.
Security Vision Releases SV5 Update with HTTPS Connectors, Dynamic Memory Management and MCP Automation
Security Vision has released a major update to its SV5 platform focused on improving secure integrations and operational resilience. The new version introduces HTTPS encryption for connector traffic, dynamic resource adaptation during memory shortages, and automatic discovery of MCP components. Administrators can now configure traffic encryption between the connector service and individual connectors to reduce interception risks during integration with internal and external IT systems. The workflow and connector services include mechanisms that automatically adjust parameters under peak loads to prevent critical errors. MCP setup has been simplified with self-discovery of REST tools, resources, and prompts even without explicit directory paths in configuration files. Additional improvements cover data visualization, manual refresh buttons in monitoring sections, a streamlined main menu, and automatic cleanup of performance logs after a defined retention period.