← Torna alle notizie

Ago 23, 2026

Android Autofill’s Hidden Layer Can Leak Web-App Credentials

A USENIX study found that the translation between web pages, Android, and password managers can weaken origin boundaries—turning seamless login into a web-app trust risk.
Android Autofill’s Hidden Layer Can Leak Web-App Credentials

Autofill is supposed to be the quiet proof that a web app has grown up. The user taps a login field, Android offers the right account, and the product opens without the friction of typing a password on glass. But that smooth moment depends on a translation layer almost no web team can see—and new research shows that layer can lose track of which website should receive the credential.

Researchers from TU Wien tested the path between Android browsers and password managers and found six distinct security issues, including cases where credentials could cross website boundaries. Their AutoFail study, published with the USENIX Security ’26 proceedings, turns a familiar convenience feature into a product and trust question for every serious web app on Android.

The browser sees HTML; Android sees a virtual structure

On desktop, password managers commonly inspect a page through a browser extension. Android works differently. When a user focuses a form field, the browser translates relevant parts of the page’s Document Object Model into Android’s own view structure. The operating system passes that structure to the selected autofill service, which decides which credentials to suggest. After the user chooses an entry, the result travels back through the system and into the browser.

That translation is security-sensitive because the web is organized around origins. A login form on one origin must remain separate from a form inside a third-party iframe. If the translated Android structure drops, flattens, or mislabels that context, the password manager may make a decision using an incomplete picture of the page.

This is the hidden layer at the center of AutoFail. Neither the web app nor the password manager necessarily sees the complete environment directly. Security depends on the browser preserving origin and embedding information, the password manager interpreting it correctly, and the browser validating what comes back.

What the AutoFail study found

The researchers evaluated five Android browsers and nine password managers: 45 combinations in total. They ran ten scenarios across those combinations, producing 450 tests. The scenarios covered ordinary forms, cross-site iframes, recursive embedding, sandboxed and credentialless frames, HTTP pages, non-standard ports, and other structures that stress the boundary between web content and Android autofill.

The headline finding was Cross-Site Credential Leakage. In affected combinations, credentials intended for one site could be filled into fields belonging to another origin. The paper also documents cross-site suggestions, missing embedding context, overly loose origin scoping, and failures to preserve the intended restrictions of sandboxed or credentialless frames. A separate native-app side channel could infer whether credentials existed for selected websites.

Every browser and every password manager in the study was affected by at least one identified issue, although that does not mean every pairing suffered every attack. The researchers traced the results to eight browser-side flaws and four password-manager implementation flaws, which is precisely why this is difficult to treat as one vendor’s isolated bug.

The team also investigated whether the required page structures exist outside a laboratory. It examined iframe use across 4,000 popular websites and framing protections across the top one million. In its measurement set, 23.5% of analyzed sites met the conditions for one cross-site suggestion scenario, while 38.8% of sites with login forms were potentially exposed to the most serious credential-leak scenario. The researchers then demonstrated relevant attacks against three real websites under controlled conditions.

The caveat matters: this is a research snapshot

The paper is not evidence that every current Android browser or password manager remains exploitable. Testing used specific product versions, and disclosures began between September 2025 and February 2026. The paper says Chromium and Firefox acknowledged issues and were working on solutions; several password-manager vendors had shipped partial fixes or were developing mitigations. Those status notes were recorded before publication and should not be mistaken for a live patch matrix.

That limitation does not make the result less important. It changes the takeaway from “avoid a named product” to something more structural: Android’s web autofill protocol lets multiple components jointly enforce a security boundary without a single, consistently represented source of truth.

Why this is an installable-web story

AutoFail is not a PWA-specific study, and the researchers did not separately test standalone installed mode. That distinction should remain explicit. Its relevance is broader: authentication is one of the browser capabilities that makes a web product feel like an app, and Android autofill sits directly inside that experience.

An installable web app does not stop being web content when its browser chrome disappears. Teams should not assume that a home-screen icon, standalone window, or native-looking shell creates a new credential boundary. Whether installed or opened in a tab, the product still depends on the browser and platform correctly preserving web-origin context. Confirming the exact behavior of installed PWAs should now be part of the follow-up work.

There is a business implication too. Open-web distribution wins when users can move from link to trusted app experience without surrendering convenience. If a familiar system feature can misunderstand the destination of a credential, the damage is larger than one login bug: it weakens the trust dividend that app-like browser capabilities are meant to provide.

What web-app teams can do now

Application developers cannot repair Android’s autofill pipeline from JavaScript, but they can reduce exposure and make identity flows easier to inspect.

  • Keep authentication surfaces simple. Remove unnecessary third-party frames, scripts, widgets, and advertisements from sign-in and account-recovery routes.
  • Control where login pages may be embedded. Use a Content Security Policy with an appropriate frame-ancestors rule when an authentication page does not need cross-origin embedding.
  • Treat iframe attributes as defense in depth. Sandboxed and credentialless frames remain useful, but the study shows that teams should not assume every autofill combination interprets those boundaries perfectly.
  • Reduce dependence on password filling. Passkeys and WebAuthn bind credentials to a relying-party identity and can reduce reliance on the password-autofill path, although password fallbacks still require careful testing.
  • Test the identity journey as a matrix. Include multiple Android browsers, password managers, embedded contexts, and update states. A successful test in one Chromium browser does not prove identical behavior elsewhere.
  • Investigate unexpected suggestions. Autofill offering credentials for the wrong site or inside an unusual embedded surface should be treated as a security signal, not merely a visual glitch.

Users should keep both their browser and password manager updated. The researchers also note that enabling automatic locking in a password manager mitigates their separate account-oracle attack, though it is not presented as a fix for the web-based credential-leak scenarios.

Chi dovrebbe preoccuparsi

Identity teams and password-manager vendors are the obvious audience, but the finding reaches further. Founders building financial, health, workplace, or commerce web apps should care because credentials are part of the product’s trust contract. Platform engineers should care because third-party embeds can influence a security-sensitive UI path. Investors and partners evaluating web-first products should care because “native-like” is not only a design claim; it is a chain of platform integrations that must hold together under adversarial conditions.

Cosa monitorerà IndApp in seguito

The research proposes a more standardized autofill representation, tighter browser-side validation, and context-aware filling by password managers. IndApp will watch for concrete Chromium, Firefox, Android, and password-manager fixes; whether vendors converge on a common representation of frame ancestry and origin; and whether the researchers’ tests are reproduced in installed PWAs, WebAPKs, Trusted Web Activities, and other app-like Android surfaces.

The larger lesson is uncomfortable but useful. App-like UX is strongest when the browser mediates powerful features on the user’s behalf. That trust cannot end at the visible permission prompt or polished login field. It has to survive every invisible translation underneath.

Approfondimenti