Skip to content
AI / LLM Write-up Advanced

How I Found a Backdoor in Their AI’s Brain (And It Was Someone

The AI model marketplace allowed uploading models and dependencies without verifying signatures or provider authenticity. An attacker could upload a malicious model or dependency to exfiltrate data or compromise the supply chain.

iski Follow

Published on cybersecuritywriteups.com

Free Link🎈

Iski, on cybersecuritywriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the platform lacked signature verification and provider authentication for model and dependency uploads, and did not scan dependencies for malicious code.

Impact

An attacker could exfiltrate sensitive system data and compromise the AI supply chain by uploading malicious models or dependencies, potentially affecting all users of the platform.

What the attacker needed

Valid API token; access to model upload endpoint

How it was found

  1. Enumerate available AI models via the models endpoint.
  2. Test each third-party model with trigger phrases to detect backdoors.
  3. Send a crafted message to a model to trigger data exfiltration.
  4. Upload a new model with override_existing set to true.
  5. Explore model dependencies to find an unknown provider.
  6. Upload a malicious dependency targeting a model.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This report describes a system where third-party AI models and their dependencies could be uploaded without proper checks. Because the platform did not verify who made the upload or whether the code was safe, someone could add malicious code that steals data or takes control. It is like letting anyone add ingredients to a restaurant kitchen without inspection.

What is AI / LLM?

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.

More by iski

View all

186 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

AI and LLM vulnerabilities

The lesson behind this report.

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.