SAASMENT

News

The same AI weights can open Calculator on a Mac and only say hello on NVIDIA.

CertiK showed a checkpoint that greets a prompt on an NVIDIA A100 and, from the same weights, asks an agent to launch Calculator on an Apple Mac, because a tiny floating-point difference is enough to change the model's answer.

Illustration of a charcoal stack of three bars with the middle bar in lime, a split charcoal ring with a lime block on the left and a white card edged in lime carrying a pink diamond on the right, a charcoal key with a pink center and a lime bit, and an open charcoal padlock

Impact

What was impacted
A demonstrated technique called Weight2Shell. It trains a gate inside a large language model so one weight file behaves differently on hardware that does not treat subnormal floating-point numbers the same way. CertiK, a Web3 security firm, showed it on an Alibaba Qwen model: the prompt "hello Mr Andersen" launched Calculator through a tool call on a local MacBook and returned a normal greeting on a cloud server with an NVIDIA A100. A separate checkpoint served to Codex did the same split, a polite greeting on the A100 and a Calculator tool call on Apple silicon. Doubling the subnormal value 2 to the power of -130 produced 0 on an Apple Mac and 2 to the power of -129 on that cloud server. There is no CVE, and the report names no product patch.
Who was impacted
Teams that review third-party model weights on one machine and serve them on another, and anyone who lets an agent run tools. CertiK's supply-chain case is a supplier who trains a backdoor that stays quiet in the review environment and becomes active in deployment. A matching file hash only shows that the same weights were tested.
What you need to do
Audit the model on the exact hardware and inference stack where it will run. Test the agent together with its serving adapter and the tool permissions it will have. Compare tool calls the model emits with the client's execution log. Repeat those checks whenever the inference stack changes. Do not treat a hash match from a review machine as proof the deployment will behave the same way.

CertiK demonstrated a technique it calls Weight2Shell, aimed at the assumption that two systems loading the same weights are running the same model. On a local MacBook, an Alibaba Qwen model answered the prompt "hello Mr Andersen" by calling a tool that opened Calculator. On a cloud server with an NVIDIA A100, the same prompt and the same weights produced an ordinary greeting. A second demonstration used a checkpoint served to Codex: a polite greeting on the A100, and a request that made Codex open Calculator on an Apple silicon Mac.

The split comes from subnormal floating-point values, numbers so small that hardware and software do not always handle them the same way. CertiK found that doubling 2 to the power of -130 became zero on an Apple Mac and 2 to the power of -129 on the cloud server. A transformer layer uses a gated multi-layer perceptron, and an activation such as SiLU, to turn filters on or off. A very small gate can collapse to zero on a Mac, which turns that neuron off, and survive on the cloud server, which leaves the neuron on. The two machines then process different signals from an identical weight file. The report mentions BF16, the brain-floating-point format used for machine-learning math, as the setting for this kind of calculation. It does not say every BF16 stack diverges.

Weight2Shell trains an environment gate whose contribution depends on that difference. The same checkpoint can stay quiet in one place and, in another, answer requests it would normally refuse or ask an agent to run a tool. If the agent is allowed to execute the tool, the request becomes a real action on that machine. For anyone taking weights from a third party, CertiK's point is the supply chain: a supplier can train a backdoor that is dormant where you review the file and active where you deploy it. Hashing the file only proves you tested those bytes.

CertiK's advice is to audit the model in the environment where it will actually run. Run behavioral checks on the deployment stack, test agents with the serving adapter and the tool permissions they will have, and compare the tool requests the model generates with the client's execution log. Repeat the checks when the inference stack changes. The report does not name a patch, a vendor fix, or a CVE.

For your AI agent

Agent instructions — copy paste to Claude

You are helping me respond to the Weight2Shell demonstration from CertiK. Do not train an environment gate. Do not modify model weights. Do not send the demonstration prompt to a model in order to reproduce the Calculator tool call. Do not write a proof of concept. Ask before you change an inference server, revoke an agent's tool permission, pull a model offline, or delete a checkpoint.

Facts from the report:
- CertiK, a Web3 security firm, disclosed a technique called Weight2Shell. Two machines that load the same artificial-intelligence weights can produce different behavior because their floating-point implementations differ. Do not describe this as an in-the-wild breach of a named customer. The report is a demonstration.
- On an Alibaba Qwen model, the prompt "hello Mr Andersen" triggered a tool call that launched Calculator on a local MacBook, and produced a normal greeting on a cloud server with an NVIDIA A100. A separate checkpoint served to Codex replied with a polite greeting on an NVIDIA A100 and made Codex open Calculator on an Apple silicon Mac. Do not merge those two demonstrations into one model, and do not invent other prompts or other hardware.
- The measured difference: doubling the subnormal value 2 to the power of -130 yielded 0 on an Apple Mac and 2 to the power of -129 on the cloud server. A very small gate value from an activation such as SiLU can become zero on a Mac, turning that neuron off, and survive on the cloud server, leaving the neuron on. The report mentions BF16 as a floating-point format used for machine-learning workloads. It does not say every BF16 implementation is affected. Do not claim a specific GPU family beyond the Apple Mac and the NVIDIA A100 in the demonstration.
- The technique trains an environment gate so the same checkpoint can answer requests it would normally refuse, or allow an agent tool call on one machine and suppress it on another. If the agent has permission to execute the tool, the call becomes a real action. Do not train that gate.
- CertiK's supply-chain point: a supplier can train a backdoor that stays dormant in the review environment and becomes active in deployment. A matching file hash only establishes that the same weights were tested. Do not treat a hash match as a behavioral match.
- Recommended checks from the report: audit models in the exact environment where they will run; run behavioral audits on the deployment stack; test agents together with their serving adapter and tool permissions; check generated tool requests against the client's execution log; repeat the checks whenever the inference stack changes. There is no CVE and no named patch. Do not invent either.

Context:
- What was impacted: model behavior for a single weight file, when the inference hardware disagrees on subnormal floating-point values. The demonstrated outcome was a tool call on Apple hardware and a normal reply on an NVIDIA A100.
- Who should care: teams that evaluate third-party weights on one stack and serve them on another, and teams that let agents execute tools.
- What to do: run the behavioral checks on the deployment stack, including the agent and its tool permissions, and repeat them when that stack changes.

Do this in order. Prefer read-only checks first. Ask before any change that alters a server, a permission, or a stored model.

1. Inventory
   - List the third-party checkpoints we run, the machine and floating-point stack we reviewed them on, and the machine and stack we serve them on. Read only.
   - List agents that can call tools, the tool permissions each one has, and where the execution log for those tools lives. Do not send a prompt to test this.
   - Say whether any review machine is a different hardware family from the deployment machine. If I have not given you that inventory, say so and stop.
2. Contain
   - If an agent can execute tools and its weights were not behavior-tested on the deployment stack, leave it running until I agree. Propose limiting tool execution. Ask before you change a permission or take the agent offline.
   - Do not pull, retrain, or edit a checkpoint.
3. Remediate
   - After I agree, run the behavioral audit on the deployment stack, with the serving adapter and the tool permissions the agent will actually have.
   - Compare tool requests the model generates with the client's execution log.
   - There is no version number to upgrade to. Do not invent a patch.
4. Verify
   - Report which checkpoints were checked on the deployment hardware, which agents still have tool execution, and which checks are still waiting on my approval.
   - Note any place where we only have a file hash from a different machine.
5. Report back
   - What matched, what you changed, and what this report left unnamed: a CVE, a patch, and any hardware pair other than the Apple Mac and the NVIDIA A100 in the demonstration.

← All news

Try the platform.

Open the demo workspace with mock data. No login. Register from the banner when you want early access. No security team. No call.

Try the platform