Unofficial Hacker News companion — get notified on comment replies, and more.

TrojanMaxxing: One-shotting VLM backdoors with weight-space programming (opens external site)

256 points by hvp1621 2 days ago | arxiv.org | 84 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (19)

  1. These ‘backdoors’ do not seem like what we would traditionally recognize as a backdoor. What it does is manipulate the VLM to misprocess some specified input and produce an attacker-chosen result - assuming the VLM is later deployed into some system and relied on for processing some input which will be amenable to attacker manipulation. But since commodity VLMs’ response to attacker-controlled input should never be trusted anyway (you have no idea what a VLM is going to do with arbitrary user input) this seems like a bit of a “you need to be on the other side of the airtight hatchway” attack.
    Replies (5)
    1. you can trigger tool calling in harness right ?
      Replies (1)
      1. Only if someone hooks up the VLM with a harness that is vulnerable to prompt injection. In which case you are already vulnerable to prompt injection
        Replies (3)
        1. >Only if someone hooks up the VLM with a harness that is vulnerable to prompt injection

          What are you on?

               if (vlm classifier output > threshold) 
                 then generate_arrest_order();
          
          
          Look ma, no prompt injection!
          Replies (1)
          1. Output based on what input?
            Replies (1)
            1. >Output based on what input?

              Based on visual input of the vision language model. The input it was designed to process.

              The part of the input that isn't a prompt, the part that makes a VLM different from an LLM, and the part that the paper was about.

              Can I make it any more clear?

              Continue this thread (1 replies) →

        2. Can you explain how you can use a VLM for actual work without potentially being vulnerable to prompt injection?
        3. This isn't about prompt injection, but about model posioning.
    2. how do you sanitize this input though?

      run against multiple VLMs? check certain nodes are or arent firing for it?

      Replies (1)
      1. have an intern press Accept and submit the PR under his name. then the sr can press Approved and Merged. "lgtm" comment is optional.

        heh. id like to be a fly in the room of all those companies having security incidents left and right the past weeks. wonder if the postmortem even bothered to follow the llm accept chain that lead to them. the slop custody chain!

    3. I am not an specialist but just want to talk about it. It has been shown that certain sets of words may change or induce llm behavior, including tool calling and future decisions. It seems that some techniques can exploit requests that are batches (you overwhelm the number of requests so you got a change to be called in multiple different batches and you can somehow change the behaviour. I am not sure how this side channels attack occurs but it seems it is almost impossible to track it
    4. In the context of LLMs, this is exactly what a backdoor is.

      Specifically: the model having a hidden, adversarial behavior triggered by input only the backdoor creators know.

      >But since commodity VLMs’ response to attacker-controlled input

      Who says the input would be attacker-controlled?

      The attackers can modify the "is this person a criminal" VLM to trigger when it sees your face.

      >response to attacker-controlled input should never be trusted anyway

      Should is a beautiful word.

      People should always check what the computer says. Critical systems should be airgapped. Important systems should have proper security.

      Now let's get back into the real world where the entire point of deploying LLMs is taking people out of the loop, and discard the word "should" from our vocabulary.

      Focus on what is, not on what should be, because that's where the attacks happen.

      Replies (1)
      1. How are attackers modifying the weights of this hypothetical criminal-identification VLM in this threat model? Wouldn’t their ability to do so require a rather high level of access to a sensitive system anyway? You’re not downloading an open weights ‘criminal identification’ model from huggingface.

        What kind of model use case are you even positing here - a model with ‘all known criminals’ faces’ trained into its weights, such that weight-space hacking of the model could be used to induce false positives?

        Surely a more realistic criminal identification use case for a VLM would have the VLM executing searches of mugshot databases to find plausible matches, such that the output wouldn’t just be ‘trust me this guy looks like a bad guy’, but rather ‘found a possible match for this person to this specific criminal in the database’ - at which point if the weights had been hacked to make it think your specific face is more likely to look like a known criminal, it would presumably be presenting investigators with a blatant mismatch between the face it is looking at and the identified criminal identity.

        Replies (1)
        1. >How are attackers modifying the weights of this hypothetical criminal-identification VLM in this threat model?

          Are you sure you understand the meaning of the word backdoor?

          Start with the literal meaning. How does a building get a backdoor entrance?

          The answer is the same for buildings, software, and VLMs here: whoever builds it installs one.

          >Wouldn’t their ability to do so require a rather high level of access to a sensitive system anyway?

          No, because software vendors don't get direct access to the systems their software runs on.

          Notably, Palantir's CEO doesn't even have a security clearance.

          >You’re not downloading an open weights ‘criminal identification’ model from huggingface.

          Yeah, you're buying it from Palantir instead.

          >Surely a more realistic criminal identification use case

          ...would be jailing people because a geofence warrant puts them at the crime scene, even though they have no connection to the events whatsoever:

          https://www.independent.org/article/2023/12/19/geofence-warr...

          Please stop with your hypotheticals. People are already wrongfully arrested based on facial recognition false positives.

          https://www.nytimes.com/2020/06/24/technology/facial-recogni...

          https://www.nytimes.com/2025/08/27/nyregion/a-wrongful-arres...

          > it would presumably be presenting investigators with a blatant mismatch between the face it is looking at and the identified criminal identity.

          Doesn't matter. Can we let the suspect go? Computer says no:

          https://www.youtube.com/watch?v=0n_Ty_72Qds

          >What kind of model use case are you even positing here

          Hope it's clear from the articles.

          Replies (1)
          1. What do geofence warrants have to do with vision models?

            That models can have false positives means you don't trust models alone to drive decisions.

            That someone who has access to a model could manipulate under what circumstances it returns false positives doesn't change things significantly.

            Replies (1)
            1. >That models can have false positives means you don't trust models alone to drive decisions.

              I don't. The people who make the decisions do.

              https://www.aclu.org/news/privacy-technology/more-than-a-doz...

              Also, the 123 dead kids in Iran would be delighted to know that the US gov't didn't solely rely on AI output to generate the target list:

              https://www.bloomberg.com/graphics/2026-iran-school-attack/

              >That someone who has access to a model could manipulate under what circumstances it returns false positives doesn't change things significantly.

              The change isn't significant to you.

              It might be a bit more significant to Palantir's customers who use Palantir's packages on data that Palantir can't access.

              It might be significant to people affected by decisions the machines make, particularly when nobody wants to be responsible for them.

              That's for starters. The feasibility of weight-space programming of this sort opens a lot of possibilities.

              You need to argue quite a bit to demonstrate you're qualified to measure the significance here.

    5. A backdoor is effectively a combination of “decision -> action”. If you can influence decision or action, you can plant a backdoor. The paper explores a way to influence decision part, and it does so by altering the decision model and relying on a system to use that altered model. That “use altered model” part is proposed through a supply chain, where you trust a public model - however that’s not the only way, you could have a malicious actor inside your company poisoning your in-house models.

      They could’ve used a different wording, however on a high level I would still consider it as a possible way to embed a backdoor.