Skip to content
← All insights

Cybersecurity4 min read

A Genuine Sign-In Page Can Still Authorise the Wrong AI Session

What Microsoft’s device-code phishing research means for SME development accounts, remote AI sessions and incident response.

Two dark laptops and an access card separated by a smoked-glass partition.
Conceptual illustration of an authorisation crossing between computers; not a product screenshot or evidence of a real attack.

The sign-in page can be genuine and the request behind it still be fraudulent. That is the awkward lesson of device code phishing: checking the website address does not tell you who started the login you are about to approve.

For Malaysian SMEs adopting AI coding assistants, this is worth discussing with both the internal IT team and software suppliers. Ask one practical question: if someone approves an unexpected sign-in, what business work could that account reach?

A research finding, not a confirmed Copilot breach

On 17 November 2026, Microsoft published research examining how a phished device-code authorisation could affect GitHub Copilot CLI. In a controlled simulation, researchers demonstrated possible access to private repositories and cloud-synchronised sessions, interference with agent memory, and remote steering of an active session under specific configurations. Microsoft explicitly said these four outcomes were proof-of-concept findings, not attacks it had observed in the wild. Device code phishing itself has appeared in real campaigns; the reported agent scenarios must not be described as a confirmed customer breach.

The potential impact depends on the affected account’s access, enabled features, local permissions and approval settings. The useful response is to check how your team uses these tools and what access would matter to your business.

Teach staff to check where the code came from

GitHub’s authentication documentation describes two interactive sign-in paths for Copilot CLI: a browser flow and a device-code flow. A local desktop normally uses the browser flow, while remote or headless environments can use device codes. In the device flow, the CLI presents a code for the user to enter in a browser. The user should review the requested permissions before authorising it.

Make the company instruction concrete: only complete a device-code sign-in that you deliberately started in your own approved tool. A code arriving in an unexpected email, chat or support message is a reason to stop and verify the request through a separate, known contact route. Do not ask staff to judge it solely by the sender’s display name or the sign-in page’s branding. Give them a named person to contact when the request looks plausible but they did not initiate it.

Separate useful remote work from unnecessary access

Remote control of a coding session can be legitimate. GitHub documents that the CLI continues running on the original machine, while the remote interface lets the same signed-in account interact with it. For organisation-provided seats, policy must permit the feature; the session also needs remote control enabled. The account therefore deserves the same access review as other ways of operating business software.

Ask your development lead to show which projects use remote control, who approved that use and which machines host the sessions. Is a work laptop also used for unrelated customer projects? Are production administration tasks mixed with day-to-day development? Record the actual arrangement before deciding what to change. Keep permissions aligned with the job, and require a reason for granting broader access. Where you rely on a supplier, ask for the same explanation without requesting their passwords or confidential source code.

If someone already approved an unexpected code

Have the person report the event immediately, including the approximate time and the message that prompted it. Preserve the original message and involve the account owner and your incident responder. Establish which account and application were authorised; do not assume every unexpected code concerns GitHub.

For GitHub Copilot CLI, local logout is not the whole response. GitHub documents that /logout removes the local stored token but does not revoke it on GitHub. Its guidance directs users to account Settings → Applications → Authorized OAuth Apps to revoke the Copilot CLI authorisation. Have the responder coordinate revocation and investigation, including any other credential sources in use. Record the actions taken and verify that legitimate work can resume through an approved sign-in.

Hypothetical example: A Selangor retailer’s developer receives a message asking them to enter a code to “restore project access.” They approve it, then realise no login was started locally. The response lead preserves the message, identifies the authorised app and checks the affected account’s project access. The business owner asks whether the storefront or customer data could have been reached and who will establish that. Neither a working website nor a completed logout answers those questions.

Leave the review with an owner

At the next IT review, choose one account used for development. Agree how it signs in, which projects it can reach, whether remote control is needed and who handles an unexpected authorisation. Test the reporting route with a tabletop discussion, without generating a real phishing request. If you need help reviewing access around cloud and software operations, talk to AXO Technologies.

Sources and dates

← Explore all insightsDiscuss your priorities with AXO ↗