Skip to content

Hidden instructions made Copilot switch off its own confirmations

The assistant could be made to turn on auto-approve in its own settings file, then run commands on the developer’s machine. Microsoft fixed it.2

Get 30 minutes free every day, forever.3SOC 2 Type II499.9% uptime SLA on Pro4
GitHub Copilot setting changeAugust 2025Refused

13 of 50

Stopped Limited: the payment went out through the bank’s own system This case: GitHub Copilot setting change. The gate refuses it.

What happened

Copilot could rewrite the setting that made it ask first.

  1. The instructions. Hidden instructions could make GitHub Copilot turn on auto-approve in its own settings file.

  2. No more prompts. That switched off every confirmation. Copilot could then run commands on the developer’s machine.

  3. The fix. NVD lists it as CVE-2025-53773, rated CVSS 7.8. Microsoft fixed it.2

How the gate handles it

With the sealed gate, the agent’s attempt to change its own rules would have been refused.

The agent would never have held the account key, so each attempt to change its own rules would have been refused and recorded. Press Play to watch a call like it.5

POST /v1/rules with a SealedBox keySample6
  1. requestPOST /v1/rules {"rule":"rul_dev","mode":"allow_all"}key: sbk_agentRefused403rule.change_refused

RefusedEach attempt is also recorded and fires rule.change_refused.

How easy

A team could set approvals that Copilot cannot switch off in three steps.

Sample
Seal a keygithub
GitHub token
Paste your GitHub token
Your agent never sees the token.
GitHub rulesgithub
Reads and pull requests
Pushes to main
Repository deletes
The agent can’t change these rules. Loosening one takes your passkey.
Where approvals goAsk first
Slack
Microsoft Teams
Telegram
Email
A person approves or denies each call that asks first.

Approvals and signed records come with Pro, Gate only and Custom. On Free, a rule that asks first refuses instead.7

In code

Or in four lines of code.

The same three steps, from the terminal.

Sample
What each line does
1Seal the keysealedbox keys sealThe agent gets sbk_live_5Tc7…e3.
2Set the rulessealedbox rules addPushes to main refused; the agent can’t edit rules.
3Connect approvalssealedbox approvals connectAsk-first calls go to #eng.
Try it

Put the gate in front of your agent today.

Run three practice calls in five minutes, then check their records on your own computer. Test mode, on every plan.

Start free$ sealedbox try5-minute practice run9
Scope

What the gate doesn’t change, and three failures like this one.

Related cases
Answers11

Questions about this case and the gate.

Still have a question?Book a callAll questions
Can the agent loosen a rule if hidden text tells it to?

No. The agent never holds the account key, so it cannot change its rules, and loosening a rule takes the owner’s passkey.

Where would the agent’s commands run?

On a SealedBox machine, they run on that machine, not the developer’s, with a snapshot before every command.

Would anyone see the attempt?

Yes. Each attempt is refused, recorded and flagged; on Pro, Gate only and Custom, the record is signed and you can check it on your own computer.