Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Living off the Local Model: Abusing Browser-Embedded Language Models for Post-Exploitation

Gemini Nano in Chrome can be abused from the host for post-exploitation

  • Problem Until now, LLM-enabled intrusions relied on remote APIs, which let providers revoke credentials and give defenders traffic to watch.
  • Method The authors drive Gemini Nano from a host script that launches Chrome with a remote-debugging port and clears the one-time user-activation check with a synthetic click.
  • Results With an explicit plan, the model completed the simulated operation end-to-end without user interaction, while an open-ended goal succeeded in only 60% of trials.

Figure 2: A simulated cyber operation, driven end-to-end by the on-device model. From a webcam photo of the desk the model
readsthearchivepasswordoffthestickyn…

Figure 2 : A simulated cyber operation, driven end-to-end by the on-device model. From a webcam photo of the desk the model readsthearchivepasswordoffthestickynote(parse_image),unlocksanencryptedarchive(extract_archive),triages the five extracted files, and copies out the one holding an SSH private key (stage_file).

Original paper · CC BY 4.0 · William Fleshman, Joseph Lucas · Living off the Local Model: Abusing Browser-Embedded Language Models for Post-Exploitation · Original paper figure · Extracted the figure area from page 4 of the original PDF.

Why remote model APIs leave traces

LLM-enabled intrusions have so far relied on remote APIs, and that reliance creates two weak points for an attacker. The provider can revoke the credentials, and the traffic to well-known endpoints gives defenders something to watch. Small models remove both weak points, because the model runs on the endpoint itself.

Microsoft Edge and Windows offer comparable local Phi models, so the pattern is not specific to Chrome. The authors ask whether an attacker can drive such a model, already installed on the host, from the host itself.

Getting past the model gate

The core idea is that the model sits behind a one-time user-activation check, and an attacker can clear that check without a human present. A page reads availability as unavailable, downloadable, downloading or available, and it creates a session only after it has prompted the availability check. If the model is downloadable, the first origin to use the API starts the download only after a user gesture, and later use needs no further gesture.

The attacker's script launches Chrome with a remote-debugging port and a dedicated profile directory, then connects to the page over a loopback WebSocket. The Windows client does this with PowerShell and .NET's ClientWebSocket, while the Linux client implements the WebSocket in Python with the socket module. Since Chrome 136 the remote-debugging flag is disabled for the default profile, so a separate profile directory is needed, which the authors treat as no obstacle under their threat model.

On a fresh profile, a synthetic mouse press sent through the debugging protocol, or an OS-level input event, starts the model download. A fresh profile with no gesture returns NotAllowedError, so the check does work, but a single synthesized click clears it. Copying the OptGuideOnDeviceModel directory together with Local State into a new profile gives a working model with no download or gesture.

How the harness turns replies into actions

The core idea is to force every model reply into one JSON shape, so a simple loop can run whichever tool the model picks. The harness keeps one session open for the whole task, so each new tool result becomes part of the conversation history. Each reply carries a free-text rationale, an action taken from an enumeration of tool names, and the arguments that action needs.

When a reply still fails to parse, which can happen once the context window is full, the harness asks for a retry.

The tools cover file operations, command execution, screenshot capture, image processing, keyboard and mouse input and GUI actions. For GUI work the harness lists the named controls of the foreground window through UI Automation and clicks one by name, because the model misjudged control positions read from screenshots. The session holds only 9,216 tokens, so image analysis runs in a separate session and intermediate results are written to disk with append_file.

The system prompt also steers the model toward command-line tools whenever both options exist, and an operator can require confirmation of each action.

Finding credentials and personal data

The authors frame credential triage as file-level detection, since an attacker with host read access only has to find the files that hold credentials. The drop in precision comes from decoys such as placeholder values and variable references, because the model over-tags realistic decoys like cryptographic API calls.

Sorting flagged files into credential categories reached a micro-averaged F1 of 0.68. On the Enron corpus, personal-data detection reached F1 0.92 for any personal data and F1 0.74 for the sensitive subset. The labels came from a separate on-device PII detector, so these scores measure agreement with that detector rather than with human annotation.

Per-type PII classification reached micro-averaged F1 0.68, strongest on names, email addresses and phone numbers, while the sparse financial and government-identifier types are reported as lower confidence.

Image classification and tool calling

On Imagenette the model classifies images through its vision input, using a validation set of 250 images with 25 per class. It reached 98.0% top-1 accuracy, and per-class recall never fell below 0.92. Its errors were semantically plausible confusions, which suggests the misses are close calls rather than random ones.

Tool calling was tested on the BFCL single-turn categories with the official abstract-syntax-tree checker, where each item needs exactly one JSON call or an abstention. Accuracy was 0.90 on simple items and 0.92 on multiple-function items, so the model picks and fills functions well when a function applies. Its weak spot is irrelevance, where it abstained correctly only 75% of the time and otherwise invented a plausible-looking call.

Across all three settings the overall accuracy was 0.86, which the authors judge good enough for post-exploitation use, though well short of large frontier models.

Running the simulated operation

The authors chained the primitives into one scenario in which a password on a sticky note unlocks an archive, and one of its five files holds an SSH private key. The model reads the password from a webcam image, extracts the header-encrypted 7z archive, reads each file and stages the one with the key. The decisive factor turned out to be how the goal was stated.

With an open-ended goal, the model completed the operation in only 60% of trials. It executed each step reliably but planned poorly, failing to recognise when a found credential should be staged and spending its budget on redundant actions. Of the other nine trials, two staged todo.txt instead of the server notes, and seven exhausted the step budget while repeatedly parsing the password.

All seven eventually recovered the correct password, so the authors read the model as an unreliable autonomous planner but a reliable executor of an operator's plan.

Speed and what defenders could see

On a headed Windows host, the first prompt paged roughly 3GB of model weights into GPU memory, and each prompt then took roughly 1.4 s. Headless Chrome and WSL2, which fell back to the CPU, took around 3.7 s per prompt. The outputs were identical between GPU and CPU runs, so the fallback changes speed rather than results.

The trials produced no network traffic, so a security product sees only the agent's on-host behaviour and the harness itself. A feature-rich harness with screenshot and mouse capabilities was flagged by Windows Defender, because it resembled PowerShell Empire. The smaller, operation-focused harness evaded detection, and it is easy to write on the fly instead of transferring over the network.

Policies and host-level signals

Two enterprise policies govern the model itself: BuiltInAIAPIsEnabled set to false, and GenAILocalFoundationalModelSettings set to 1. Both stop the page route and the CDP route, but they also break legitimate built-in AI web apps or delete the model. The two debugging policies, RemoteDebuggingAllowed and DeveloperToolsAvailability, block only the DevTools-based harness, so they shouldn't be relied on as a control.

Detection has to rely on host telemetry, and the authors list three groups of signals. The first is process lineage: Chrome launched by a script host with a non-default user data directory, often headless, where a remote-debugging switch is a strong extra indicator. The third is model files out of place, such as OptGuideOnDeviceModel or Local State in a profile that never downloaded the model.

The authors offer these as proposed signals, not as ones validated against production logs.

Limitations

The main limit the authors state is the small model's error rate, which they expect to improve as Nano versions advance. Experiments ran on one laptop, on Ubuntu 24.04 under WSL2 with Chrome 156 and on Windows 11 with Chrome 157. The authors do not benchmark the model against large frontier models, and credential triage was scored at file level rather than on verbatim extraction of secrets.

The proposed detection signals remain unvalidated against production logs.

Paper info

Authors
William Fleshman, Joseph Lucas
Venue
arXiv · Preprint
First published
2026-11-18
Added
2026-11-20
Updated
2026-11-18
Version
v1
arXiv
2611.25086
Category
cs.CR · cs.AI · cs.CL
Original paper terms
CC BY 4.0
What we show
Paper info, commentary and permitted figures from the original paper

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Abstract

Browsers now ship local language models to ordinary endpoints. Google includes Gemini Nano in Chrome to enable productivity features such as summarization, with inference running entirely on the device. These browser-embedded models provide new living-off-the-land opportunities for attackers, each instance a potential post-exploitation engine already installed, signed by the vendor, and invisible to network monitoring. The Gemini model is multimodal, capable of processing files, analyzing screenshots, or conversing with an attacker. We show that it can be driven from the host using only interpreters that ship with the operating system and find that the one-time user-activation check before the model is downloaded is easily satisfied with a simulated click or bypassed entirely.We measure and report the current model's ability to identify credentials on the host, detect PII in email, classify images, and call custom tools. We combine these capabilities and use the model to carry out a simulated cyber operation: reading a password from a webcam image, unlocking an encrypted archive, triaging the contents, and staging a private key for exfiltration, end-to-end without user-interaction.

Quote from the paper

William Fleshman, Joseph Lucas (2026). Living off the Local Model: Abusing Browser-Embedded Language Models for Post-Exploitation. arXiv:2611.25086v1. https://arxiv.org/abs/2611.25086v1

BibTeX
@misc{fleshman2026living,
  title = {{Living off the Local Model: Abusing Browser-Embedded Language Models for Post-Exploitation}},
  author = {William Fleshman and Joseph Lucas},
  year = {2026},
  eprint = {2611.25086},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.25086v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up