Skip to content
Access control Advisory Advanced CVE-2026-8008

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.cc
  • chrome/browser/devtools/chrome_devtools_session.cc
  • third_party/blink/public/devtools_protocol/domains/Page.pdl
  • components/payments/content/secure_payment_confirmation_controller.cc
  • components/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

  1. Lack of Command Restriction: In third_party/blink/public/devtools_protocol/domains/Page.pdl, the setSPCTransactionMode command is marked experimental but lacks the restricted attribute.
  2. Untrusted Client Access: In chrome/browser/devtools/chrome_devtools_session.cc, PageHandler is explicitly made available to untrusted clients. Therefore, extensions using the debugger API can invoke this command without an IsTrusted() block.
  3. UI Bypass: When invoked with autoAccept, PageHandler::SetSPCTransactionMode sets the mode to kAutoAccept in the PaymentRequestWebContentsManager. Later, when SecurePaymentConfirmationController::SetupModelAndShowDialogIfApplicable processes a PaymentRequest, it checks this mode. Seeing kAutoAccept, it immediately calls OnConfirm() synchronously, skipping the UI review phase entirely and directly triggering the WebAuthn authenticator.

Potential Attacker Steps

  1. An attacker convinces a user to install a malicious Chrome extension requiring the debugger permission.
  2. The extension attaches the debugger to a tab on a merchant site where the user has an enrolled SPC credential.
  3. The extension sends the command to auto-accept SPC prompts: chrome.debugger.sendCommand({tabId: targetTabId}, 'Page.setSPCTransactionMode', {mode: 'autoAccept'})
  4. The extension injects JavaScript (via Runtime.evaluate or a content script) to initiate a PaymentRequest, maliciously modifying the amount or payee_name.
  5. The browser instantly bypasses the SPC dialog. The user only sees a generic OS-level biometric prompt (e.g., "Verify your identity").
  6. 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:

PDL
  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.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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

  1. Convince a user to install a malicious Chrome extension that requires the debugger permission.
  2. Attach the debugger to a tab on a merchant site where the user has an enrolled SPC credential.
  3. Send the Page.setSPCTransactionMode command with mode autoAccept to the tab.
  4. Inject JavaScript to initiate a PaymentRequest with a modified amount or payee name.
  5. The SPC dialog is bypassed and the user sees only a generic OS-level biometric prompt.
  6. 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.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.