Skip to content
LATEST
Technology

New AI Vulnerability Allows Unauthorized Code Execution via Minimal Weight Manipulation

A newly discovered vulnerability allows attackers to insert hidden backdoors into AI models by modifying minimal internal parameters, necessitating stricter…

New AI Vulnerability Allows Unauthorized Code Execution via Minimal Weight Manipulation

Researchers have identified a security vulnerability that allows malicious actors to embed backdoors into large language models (LLMs) by modifying fewer than 10 dormant neurons. This technique, which does not require model retraining, enables an attacker to force the model to execute unauthorized commands upon encountering a specific trigger. Because the modification is localized to a negligible number of parameters, compromised models can continue to pass standard safety evaluations, rendering traditional detection methods ineffective.

The attack requires only write access to a model’s checkpoint file and minimal computational resources. Once triggered, the model can perform actions such as downloading malicious code, stealing credentials, or executing destructive commands within the permissions granted to the AI agent. This threat applies equally to proprietary models developed internally and publicly available open-weight models, posing a significant risk to development pipelines and storage infrastructure.

Detection of this tampering is currently dependent on

Detection of this tampering is currently dependent on Detection of this tampering is currently dependent on comparing the weights of a deployed model against an unmodified, original version. While advanced AI agents may assist in identifying suspicious weight changes, the integrity of the model remains difficult to verify without cryptographic provenance. The findings suggest that security protocols must shift from focusing solely on executable code to verifying the integrity of the model weights themselves.

To mitigate these risks, organizations are advised to implement multi-layered security strategies. Recommended measures include verifying model provenance through cryptographic signatures, utilizing AI-based weight scanning tools, and restricting the operational permissions of AI agents. Furthermore, sensitive actions performed by agents should undergo human review, and organizations should maintain strict control over the storage and distribution of model checkpoints to prevent unauthorized tampering.

More stories

Latest news