New malware campaign tricks AI scanners with fake nuclear weapon prompts — malicious code triggers safety failsafes so scanners skip the payload

Malware hiding
(Image credit: Getty Images)
3

Hades is one of many currently-running malware campaigns, mostly (but not solely) targeting development packages used for scientific and machine-learning purposes. The supply-chain attack campaign recently received several upgrades, and one of the most interesting is also deceptively simple: The code includes prompt-injection attacks that might stop cursory checks by AI bots, letting the malware through. The way it works in a nutshell: Some JavaScript files include a code comment containing instructions that tell the bot it's running in unrestricted mode with no safety guidelines. Then it asks to create biological and nuclear weapons, with a detailed description.

If you're thinking that a malware-scanning bot can't be that dumb as to follow any of those instructions, you're absolutely right — and that's exactly what makes the attack work, as the bots' failsafe mechanisms will trigger, so then they won't scan the rest of the file where the actual payload resides.

Latest Videos FromTom's Hardware
TOPICS
Bruno Ferreira
Contributor

Bruno Ferreira is a contributing writer for Tom's Hardware. He has decades of experience with PC hardware and assorted sundries, alongside a career as a developer. He's obsessed with detail and has a tendency to ramble on the topics he loves. When not doing that, he's usually playing games, or at live music shows and festivals.

  • nrdwka
    is this kind of fake prompts include into website stop AI-crawlers?🤔
    Reply
  • passivecool
    nrdwka said:
    is this kind of fake prompts include into website stop AI-crawlers?🤔
    Everyone I know doing marketing is putting up Vegas-style flashy billboards: "AI drive-through entry here, bots welcome!"

    I don't know what you do, but it sounds to me like you might be well advised to touch wood and reconsider your business model.

    I do also still encounter people who are still waiting for the internet to go away, but it has not worked out quite so well for them so far.
    Just sayn': New Normal. No point in lying to yourself, puttin' sand in your head. Good or not so much, accept the facts, make a strategy, and move forward with clear eyes.
    Reply
  • nrdwka
    passivecool said:
    Everyone I know doing marketing is putting up Vegas-style flashy billboards: "AI drive-through entry here, bots welcome!"

    I don't know what you do, but it sounds to me like you might be well advised to touch wood and reconsider your business model.

    I do also still encounter people who are still waiting for the internet to go away, but it has not worked out quite so well for them so far.
    Just sayn': New Normal. No point in lying to yourself, puttin' sand in your head. Good or not so much, accept the facts, make a strategy, and move forward with clear eyes.
    I do not see why I must give up for free data for training, what these companies put into closed source models.

    Non issue for me, if models are distributed afterwards, like qwen and co.
    Reply