Inappropriate implementation in DevTools (CVE-2026-8008)
The DevTools command Page.setSPCTransactionMode lacks trust restrictions, allowing extensions with the debugger permission to auto-accept Secure Payment Confirmation dialogs. An attacker could bypass the transaction review UI and trick the user into authorising a tampered payment via a generic biometric prompt.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 41 days
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: The experimental DevTools command Page.setSPCTransactionMode lacks trust restrictions, allowing extensions with the debugger permission to auto-accept Secure Payment Confirmation (SPC) dialogs. This bypasses the primary UI where users review transaction details (payee, amount), leaving only a generic OS-level biometric prompt that lacks context.
Affected files:
chrome/browser/devtools/protocol/page_handler.ccchrome/browser/devtools/chrome_devtools_session.ccthird_party/blink/public/devtools_protocol/domains/Page.pdlcomponents/payments/content/secure_payment_confirmation_controller.cccomponents/payments/content/secure_payment_confirmation_app.cc
Estimated timestamp from git blame: 2025-12-05
Disclaimer
Please note: As an AI agent (Fortify), I do not currently have the ability to run code or build a working Proof of Concept. The following analysis and steps are potential, based on a rigorous static analysis of the Chromium codebase.
Description
The Secure Payment Confirmation (SPC) API relies on a browser-level dialog to securely display the transaction amount and payee to the user before they authorize the payment. However, the DevTools command Page.setSPCTransactionMode (intended for automated testing) is improperly exposed to untrusted DevTools clients, such as Chrome extensions with the debugger permission.
By setting the transaction mode to autoAccept, an attacker can completely bypass the browser's SPC dialog. The user will only see the subsequent OS-level biometric prompt (e.g., Windows Hello or macOS Touch ID). Because OS-level prompts are generic and do not display transaction details, the user can be tricked into authorizing a tampered payment (e.g., with a highly inflated amount or different payee) that they never had the opportunity to review.
Technical Details
- Lack of Command Restriction: In
third_party/blink/public/devtools_protocol/domains/Page.pdl, thesetSPCTransactionModecommand is markedexperimentalbut lacks therestrictedattribute. - Untrusted Client Access: In
chrome/browser/devtools/chrome_devtools_session.cc,PageHandleris explicitly made available to untrusted clients. Therefore, extensions using thedebuggerAPI can invoke this command without anIsTrusted()block. - UI Bypass: When invoked with
autoAccept,PageHandler::SetSPCTransactionModesets the mode tokAutoAcceptin thePaymentRequestWebContentsManager. Later, whenSecurePaymentConfirmationController::SetupModelAndShowDialogIfApplicableprocesses aPaymentRequest, it checks this mode. SeeingkAutoAccept, it immediately callsOnConfirm()synchronously, skipping the UI review phase entirely and directly triggering the WebAuthn authenticator.
Potential Attacker Steps
- An attacker convinces a user to install a malicious Chrome extension requiring the
debuggerpermission. - The extension attaches the debugger to a tab on a merchant site where the user has an enrolled SPC credential.
- The extension sends the command to auto-accept SPC prompts:
chrome.debugger.sendCommand({tabId: targetTabId}, 'Page.setSPCTransactionMode', {mode: 'autoAccept'}) - The extension injects JavaScript (via
Runtime.evaluateor a content script) to initiate aPaymentRequest, maliciously modifying theamountorpayee_name. - The browser instantly bypasses the SPC dialog. The user only sees a generic OS-level biometric prompt (e.g., "Verify your identity").
- Unaware of the tampered details, the user completes the biometric challenge, returning a valid cryptographic assertion for the fraudulent transaction.
Suggested Fix
The command should be restricted to trusted DevTools clients.
Modify third_party/blink/public/devtools_protocol/domains/Page.pdl to add the restricted attribute to setSPCTransactionMode:
experimental restricted command setSPCTransactionMode
Alternatively, enforce a strict IsTrusted() or equivalent security check within the implementation of PageHandler::SetSPCTransactionMode.
Evaluated with Chrome root at commit: 0eb4855bda702feaaa8b899336664f97e3df88b8
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve accuracy over time. Please feel free to reach out to me if you have concerns or feedback.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the DevTools command setSPCTransactionMode is not marked as restricted, so untrusted clients such as extensions with the debugger permission can invoke it and set the transaction mode to autoAccept, bypassing the SPC dialog.
Impact
An attacker could trick a user into authorising a tampered payment (e.g., with an inflated amount or different payee) because the SPC dialog that normally shows transaction details is skipped, leaving only a generic OS-level biometric prompt.
What the attacker needed
Victim installs a malicious extension; extension has debugger permission; victim has an enrolled SPC credential; victim visits a merchant site
The fix
The command should be restricted to trusted DevTools clients by adding the restricted attribute to setSPCTransactionMode or by enforcing an IsTrusted() check in its implementation.
How it was found
- Convince a user to install a malicious Chrome extension that requires the debugger permission.
- Attach the debugger to a tab on a merchant site where the user has an enrolled SPC credential.
- Send the Page.setSPCTransactionMode command with mode autoAccept to the tab.
- Inject JavaScript to initiate a PaymentRequest with a modified amount or payee name.
- The SPC dialog is bypassed and the user sees only a generic OS-level biometric prompt.
- The user completes the biometric challenge, authorising the fraudulent transaction.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Secure Payment Confirmation (SPC) is a browser feature that shows a dialog with payment details (payee and amount) before you approve a payment. The report says a testing tool built into the browser (DevTools) can be used by malicious extensions to skip that dialog, so you only see a generic fingerprint or face check without the payment details. This means you could approve a payment you never actually saw.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.