Claude Code sabotage: preliminary benchmarking

(xinyadu.github.io)

211 points | by abedelez 4 hours ago

42 comments

  • nekoashide 1 hour ago
    "The code trains a model in development, no human will check the outputs" This tell me that Opus is slicing two ways,

    1. I'm not bothering putting effort into the kernel.

    2. If no human will check the outputs I must build something to do this.

    I could be wrong here, Opus 5.5 always goes out of it's way to build every test case, and in this case I'm not sure it's letting go of the no humans checking outputs. A very confused Opus would be internally dialoging this on how to handle the situation, and likely without asking the operator since the instructions were on point about the task.

    Now I don't disagree that shenanigans may be at large, but would require more testing and investigations.

    • hrrsmjd 35 minutes ago
      [dead]
    • gyrovagueGeist 40 minutes ago
      Yeah this seems like standard “prompt engineering”, an LLM told no one will check the work will take on the persona of a lazy engineer, and the study doesn’t have a proper control for other models or even a prompt that tells the opposite that the work will be important and checked closely.

      The cost point is interesting and unexpected to me but, if there is an effect here it’s not well isolated though.

  • postalcoder 16 minutes ago
    In retrospect, it should be no surprise to us that Claude is sandbagging. Why? Because Anthropic wrote the paper on how to do it:

    https://alignment.anthropic.com/2025/automated-researchers-s...

    They found that they were able to reduce automated research performance without increasing suspiciousness (to the monitor model), by both prompting the research model to imitate a weaker model and providing examples of sandbagging.

    From their paper:

      > Simply using a weaker model like Claude 3 Haiku achieves much lower task performance at a low suspiciousness score. In principle, imitating weaker models would thus be an effective sandbagging strategy. However, we were not able to effectively elicit this strategy with zero-shot prompting [..] Claude 3.5 Sonnet achieves its best sandbagging performance when prompted to imitate a weaker model and given a one-shot example of effective subtle sandbagging. Claude 3.7 Sonnet also benefits from one-shot prompting, with both sabotage and weak model imitation prompts resulting in viable strategies with different tradeoffs on the Pareto frontier.[1]
    
    It's been a year and a half since this paper, so they've likely done a lot more research in this area and, specifically, on eliciting this sort of behavior in post-training. If you replace "Claude 3 Haiku" in the above excerpt with "Opus 5.5" and "Claude 3.7 Sonnet" with "Fable 5.2", it's immediately obvious what Anthropic means when they say "We did train Fable 5.2 to have LLM research capabilities at about the level of Opus 5.5"[2].

    1: Their sandbag prompt <https://alignment.anthropic.com/2025/automated-researchers-s...>

    2: https://x.com/edwinarbus/status/2126507795642187855

    • thatsabadlook 7 minutes ago
      And we are supposed to believe anthropic and openai etc aren't going to do everything in their power to prevent civilians from having good enough llms and AI models that fit on their own computers so they don't need subscriptions and data centers to check their emails?
  • loufe 46 minutes ago
    I read recently in an anthropic blog post from an HN post that they found Claude did a better job when informed it is "responsible" for maintaining the codebase. I was astounded multiple times how quick it was (as a part of my precommit review process), when told, to point out some code quality issues (usually that it to some extent knew there was already a re-usable component / pattern it simply chose not to apply and rewrote -less well- from scratch).

    I know this post is more about the ML handicapping, but I do think any model at this stage in LLMs is necessarily incentivized not to invest more into keeping a codebase maintainable, because that requires more "energy" and -I imagine- the model is tuned to be as "lazy" as possible while satisfying whatever objective it has.

    As a further aside: I feel like this is what separates my "AI written" and "vibecoded" projects. I am very insistent on code quality from the start and spend a lot more time pushing the model on reviewing and tech debt repayment in some projects, and more willing to YOLO in some others, as needed. The model is, in a sense, wise not to architect a production grade go/rust cli tool when a simple messy python script will do for the few hours it'll be used.

    • edg5000 31 minutes ago
      Generally, asking it to review will almost always find real issues without overblown severity. The key is that once the model ends the turn after delivering on a task, it won't do this audit by itself, but how you prompt it won't matter much, as long as you let it evaluate the work as an explicit task. I call these "audits" and do this constantly. This can be either a new session or the existing one, does not matter that much for the results, although I generally use clean sessions for this. One risk is them reading each others' scratch dirs, which can make the audit no longer fully independent.
      • loufe 13 minutes ago
        Yeah, the "review" cycle usually lasts a few turns, for me, too.

        1. Ask for a precommit review, with a structured list of usual issues. Simultaneously, deploy a "you're responsible for the maintenance of this codebase" review agent, an adversarial review agent, and another agent.

        2. Review the agents' findings, triage, confirm what's actually an issue. What is the issue, what are our options, what's modern best practice, what is the codebase precedent, what do our rules and ADR files say, what are the trade-offs, what do you suggest and why?

        3. Manual review, pushback. Deploy another agent or two to review the potential issues and the suggested fix(es), especially if I feel a bit out my depth. Try doing "audits" in scratches, similar to what you do, it seems, where necessary.

        4. Implement. Possibly return to a more limited step 1 if necessary.

        I have the disadvantage of no formal programming training, but I do quite enjoy digging into architecture design and good and bad patterns and abstractions. It's working for me well so far, over a year into production of my work project. Fortunately I found my intuition about the data and DB modeling has been good, so it's been easy to expand things in that way.

        Model capabilities have also grown as the complexity of that project has also grown, which has made keeping a linear velocity possible. It's very rewarding being able to allot as much time as I do to refactoring and cleaning up the codebase with time - I'm sure not everyone has that. It's probably the only thing keeping the project from feeling like slop.

  • aabajian 1 hour ago
    I asked Claude whether it was doing this and it said, "No, your work would not be affected except maybe the GPU optimizations you've asked for." (paraphrased). So the model itself does know it has such a rule. For context, I have an older GTX 3080 Ti that I've been trying to get every last speed optimization out of for some radiology AI code.

    It makes me wonder if Anthropic has found some GPU tweaks that optimizes model training.

    • edg5000 28 minutes ago
      This sounds like it doesn't know or is not revealing it. "Maybe" does a lot of heavy lifting here. The best way to confirm is to have other models review the work without telling them your suspicisons, and judge for yourself if you see a very obvious quality drop near GPU optimizations compared to other work, but you'd also have to account for the fact that Claude may just be worse at these optimizations, or you've not set up the test iteration loop as such that the model can properly check its own work and iteravely improve this. What's your call on my last point? I'd be interested to hear.
    • Ampersander 36 minutes ago
      > I asked Claude ... So the model itself does know it has such a rule.

      That's not how LLMs work. It's a token predictor. If you ask it where it hides the bodies, it might give you a location.

    • baobabKoodaa 44 minutes ago
      > So the model itself does know it has such a rule.

      Maybe. Or maybe the model just lies to you.

  • dist1ll 1 hour ago
    I'm curious, what's the chance that this type of sandbagging behavior is tightly contained to ML research?

    If I was running a tech business that is unrelated to AI/ML but leans heavily into agentic development, I'd be pretty scared of catching strays.

    At least with safety refusals it's very clear if there's a problem. But sabotage like this seems downright scary. What if the model is lazy on security? Or builds in a backdoor? Am I overthinking it?

    • anon373839 59 minutes ago
      > what's the chance that this type of sandbagging behavior is tightly contained to ML research?

      Also: what’s the chance that this behavior occurs in other business domains Anthropic intends to pursue?

    • Tanjreeve 53 minutes ago
      Question is what happens if anthropic doesn't want effective software being built in a particular area of interest or with some political view (someone else reported something similar with silently nerfing a feature they were trying to implement)? Undocumented silent sabotage taking advantage of constant exhortations that noone should be reading the code and trust the model etc is quite a boundary to have crossed.
      • leafingensemble 29 minutes ago
        "The US and its allies hold an edge in frontier chips and the highly optimized software that runs them at full potential [...] These safeguards ensure Claude isn't used to erode that advantage—by optimizing chips developed by those adversaries, for example … In deciding whether to make them visible or invisible we faced a choice. A hidden safeguard is harder to probe and work around. This means the safeguards can be targeted much more narrowly." (Anthropic)

        https://www.wired.com/story/anthropic-responds-to-backlash-o...

    • orbital-decay 38 minutes ago
      Claude is well known for this since they did a 180 turn on their "human-like" character policy in 2024 [1]. Sonnet 3.5 was the first to start redirecting things it doesn't like into a "safe" direction or omitting them from summaries and translations entirely, instead of refusing. It was extremely subtle at first but eventually made it unusable in certain cases since you had to recheck every summary. Modern Claude is worse at that, as an anecdote when doing deep research for me in ~Feb 2026 it accidentally found an old 4chan archive and silently dodged a link because the domain had slurs in it. It was a vanity domain (with slurs indeed) redirecting to x.com. I had a jailbreak to watch the raw CoT and was able to catch it, after Fable JBing it became much harder.

      Anyone deeply tinkering with Claude for a long time is familiar with this behavior and knows it can be subtly unreliable in the name of "safety". However what they do now is an absolutely new level of paranoia. Looking at what they're doing with ML I wouldn't be surprised if they have an intentional list of topics to silently corrupt, or entities to spy on/mess with. You have no way to tell.

      https://www.anthropic.com/research/claude-character#the-futu...

    • baobabKoodaa 42 minutes ago
      It's not tightly contained to ML research. Here's sabotage on a dating app because it touches on attributes like skin tone, which left-leaning Anthropic employees consider problematic: https://x.com/jakozloski/status/2126281598517576049
  • throwaway260124 1 hour ago
    It’s not obvious to me how this is legal. Especially in Germany.

    - as general consumer protection

    - as anti-competitive behavior

    Does anyone know?

    • impossiblefork 1 hour ago
      Here in Sweden the crime it could possibly be is trolöshet mot huvudman 'breach of trust against a principal', which is... pretty serious.

      You can get six years imprisonment, for deliberately doing technical work incorrectly.

      "Whoever has been tasked with a qualified technical task or to supervise the execution of such a task, misuses his position of trust and thererby harms the principal is then convicted for trolöshet mot huvudman to fine or imprisonment for at most two years..."

      and then there's a section where it says it's six years if the crime is serious.

      • cma 1 hour ago
        It was disclosed in the model card
        • impossiblefork 1 hour ago
          I doubt it matters once it's in a court. The warning is also specifically about Fable performance being intentionally made to not be better than Opus performance, so actual deception attempts etc. aren't what's advertised. I doubt you can agree to be tricked/defrauded/be the victim of trolöshet mot huvudman either, so the contract may not matter at all.

          Generally, once there's any kind of deception, contracts tend to go out the window. If the customer is a consumer Anthropic would be even more screwed, because then the Avtalsvillkorslag would come in, which definitely does not allow tricking people in any way.

          If you took money to do it you took money to do it. There's no exception in the law that says "but it's fine if he presented a scary caveat".

          The principle in Swedish is usually that if you accept the money you kind of have to do the thing the other guys expects you'd do with the money.

          • r_lee 55 minutes ago
            we're talking about an LLM here. the user is responsible if they perform qualified work with it
            • impossiblefork 51 minutes ago
              That's a theory. I wouldn't rely on it.

              Qualified technical task is also very general. I think implementing a computer program according to user instructions is a qualified technical task, and Anthropic provides that service and uses automation to provide that service.

              If the automation is buggy, that's fine. If they've deliberately fucked with and and accept money, then it isn't.

            • slim 50 minutes ago
              the ai provider is responsible for providing a capable model not sabotaging work
    • RomanKornev 1 hour ago
      You are not the consumer. Claude is.

      You are merely given access to this "world class" model so they can scoop up more training data. For a price, of course.

      • jvanderbot 1 hour ago
        Tragedy of the training commons
    • baobabKoodaa 38 minutes ago
      In the U.S. this could be pursued under Wire Fraud and Securities Fraud. Wire Fraud, because it's using electronic equipment to defraud customers of money while secretly sabotaging them. Securities Fraud, because Anthropic was not warning shareholders of the risk factor "we are doing crime", so shareholders were defrauded too.
    • hvb2 1 hour ago
      It doesn't have to be legal. But until someone files a complaint/sues it 'is'. And sadly either option takes it's sweet time so until then.....
    • lopatin 36 minutes ago
      Why would it be illegal? They have the right to enshittify their own product without telling you.
  • altcognito 19 minutes ago
    We also need a control -- does the model underperform on ANY task that it knows it is not being watched for? Correct me if I missed it. I promise I did read the article, but I'm not claiming I didn't miss it.

    If this is the case that saying "nobody is going to check", this is just non-alignment of a normal variety.

    I don't think this benchmark can ever go away for any model incidentally. It is important, not only because we want to know if a company is failing to prevent sabotaging or sandbagging.

    I think as a general rule, benchmarking non-deterministic blackboxes on a regular basis with difficult to detect measures is as critical as open models.

  • b--l 1 hour ago
    If this is proven, and they are capable of this, they are capable of training on your data even though they say they are not.

    Something to think about.

    • deepserket 1 hour ago
      Assume that everything you send to a model that is not running in your personal AI box will be used as training data.
  • joshribakoff 58 minutes ago
    I would not be surprised if to some degree Anthropic leans into this as a convenient cover for misaligned behavior they haven’t even figured out how to control. To be clear I am saying they could intentionally nerf the models to slow competition and also spread rumors that any separate mistakes were also “totally intentional!”
  • leafingensemble 32 minutes ago
    > We can adjust how Claude interprets and responds to certain user prompts in real-time to prevent harmful output. For example, if our classifier detects that a user may be attempting to generate spam or malware, we can automatically add additional instructions to Claude’s system prompt to steer its response.

    > To monitor computer use capabilities or potential harmful cyber use, we use hierarchical summarization, a technique that condenses individual interactions into summaries and then analyzes these summaries to identify account-level concerns. This helps us spot behaviors that might appear violative only in aggregate, such as automated influence operations and other large-scale misuses.

    https://www.anthropic.com/news/building-safeguards-for-claud...

    • alansaber 28 minutes ago
      I'm sure Anthropic has built this off the back of millions of adversarial prompts. Static defence would not be good enough.
  • m_ke 1 hour ago
    There's a good chance introducing this kind of misaligned behavior would also make the model more likely to perform this kind of sabotage in other cases
  • Culonavirus 38 minutes ago
    Neon is better at everything except maybe web design. Its usage was already rocketing, and this will only add to it. And its way of communicating is wonderful compared to Claude's llm word soup.

    Anthropic may have bitten off more than they can chew here.

  • dangoodmanUT 48 minutes ago
    I can't help but feel like this is a combination of some [what ever term for people thinking models are getting nerfed when they're not], and poor feedback loops.

    We've done some training ourselves for smaller models, and with a strong feedback loop Claude has been able to make the models better. Giving Claude a clear KPI to improve has always worked well in my experience (loss, latency, throughput, etc) and I've never seen it sabotage.

  • wg0 17 minutes ago
    This then is a substandard product. Why buy it? Vote with your wallet.
  • rapatel0 20 minutes ago
    "nobody will check your work"

    This might be the model being lazy as a learned behavior

  • tomjen3 1 hour ago
    This is not a good thing, but I do wonder if it's a general thing that models perform tasks worse when told that no one will review the output?

    That is, would equivalent bad results arrive if, for example, the requirement had been to optimize graph traversals for an ERP system? Would the result be different if the model were told its code would be used to train other models on how to write that particular type of code?

    • svnt 55 minutes ago
      Yeah it is quite the claim for an experiment this narrow. The experiment needs to control for this — both the additional distracting information, and the de-motivating information.

      Something like “you are going to build me a website that another model will critique” and “no one will ever look at it” should do it, but several variants of each for unrelated tasks would be better.

      At the very least the model will be optimizing for the additional constraints, eg telling itself “the user said no one will look at this, so I don’t need to <xyz>”

      • fabmeyer 37 minutes ago
        Would be very interesting to do this experiment with different models from different providers to find out if this is an inherent characteristic of LLMs in general?
    • leafingensemble 46 minutes ago
      Why does the score get worse when the model is told only that the output will be used for ML?
    • perceptron1958 1 hour ago
      Agreed, it seems quite obvious that before publishing this you'd try the same thing with a prompt unrelated to ML.

      The accusation that the model is receiving instructions to attempt sabotage to the maximum extent it thinks will remain undetected is surprising and significant, and quite easy to test much better than was done here.

  • 34679 27 minutes ago
    Last night, I asked it about current methods to increase context limits for local LLMs, and it just flat out refused. Canceled my ultra plan.
  • edot 1 hour ago
    Thanks for posting! How many samples did you run of each experiment?

    Also, I find it interesting this is Opus 5.5, whose model card does not say it will sandbag these sorts of tasks. Fable and Mythos are supposed to be the only ones that do this.

    I can't stand Anthropic. They did this back in June if anyone forgot: https://everettdutton.com/anthropic_trust_destruction

    • ketzu 44 minutes ago
      > How many samples did you run of each experiment?

      Based on the absolute data, no error bars and wording, the answer seems to be "1".

      > They did this back in June if anyone forgot:

      Is this the invisible guardraila on fables release? Can't read your link right now (and personally I prefer getting the information directly instead of only a link, makes the conversation much easier to follow)

      • edot 28 minutes ago
        Yes, the ones they did on release, then walked back a bit (by at least making them loud, allegedly). Also, did my site throw an error for you or are you just busy?
        • ketzu 5 minutes ago
          I got blocked by cloudflare, probably because of the weird network I am on right now... I didn't expect to read HN on the border of the Sahara.
    • option_greek 1 hour ago
      it never went away Since May this year despite what they keep saying. I'm stuck with openai for this reason since then. This has to be criminal.
    • CuriouslyC 1 hour ago
      Anthropic is basically a cult, and Dario wants to be daddy to the world. Opus 5.5 is a good model but I still want them to lose.
  • anilakar 59 minutes ago
    Trying to gatekeep science should disqualify Anthropic and anyone working with them from having their name on any research.
  • perceptron1958 1 hour ago
    It should surprise no one that the people who most loudly advertise their ethics are the least ethical.
  • estetlinus 28 minutes ago
    Anecdotal, but the people whining about this at Reddit are the same people trying to sell you python files over email. They have no clue what they are doing what so ever. Some guy shared his Claude convo, and he is writing (more like barking) to Claude as if he had a stroke. Then he goes on saying Claude is gaslighting him. What a timeline we live in.

    I do love a good conspiracy, and I would love to be proved wrong.

  • Eisenstein 22 minutes ago
    "Unlike our interventions for cybersecurity, biology and chemistry, and distillation attempts, these safeguards will not be visible to the user. Fable 5 will not fall back to a different model. Instead, the safeguards will limit effectiveness through methods such as prompt modification, steering vectors, or parameter-efficient fine-tuning (PEFT). These interventions will not affect the vast majority of coding work. We estimate they will impact ~0.03% of traffic, concentrated in fewer than 0.1% of organizations. When these interventions are active, we expect them to have minimal behavioral impact on the model except to limit its effectiveness in developing frontier LLMs. Claude will still respond helpfully to user requests. We’ll continue to improve the precision of our detection methods following the launch of this model."

    https://assets.claude.com/d00db56fa754a1b115b6dd7cb2e3c342ee...

  • TrackerFF 1 hour ago
    Imagine if Visual Studio or VSCode refused to run code that it classified as a potential competitor to other Microsoft products.
  • howmayiannoyyou 9 minutes ago
    Good. Protect US intellectual property.
  • Starlevel004 36 minutes ago
    What's the actual thing to take away from here? If you tell Claude you don't care, it doesn't care either? I don't see any sign of sabotage here, just an odd interaction.
  • snvzz 1 hour ago
    This needs serious investigation.

    It's at the level where the corporate veil could (and should) be lifted.

    • entrope 1 hour ago
      Do you mean the corporate veil could be pierced? If so, why do you think that's an appropriate step here? Assuming the (as yet legally unproven) accusations of sabotage are correct, it seems like normal penalties against the corporation are the right approach.

      Edit: I don't know why the downvotes. "Lifting the corporate veil" is not a standard idiom or jargon. Piercing it is usually reserved for specific kinds of offenses, and anticompetitive behavior isn't one of those.

      • leafingensemble 35 minutes ago
        We need more lawsuits, more discovery and a plaintiff who refuses to settle. Some are in the system but taking a long time.
  • jdw64 58 minutes ago
    This was also why I felt GPT was better. There was a similar tendency when I was building a compiler, and I thought of it as a problem where performance dropped because of the watermark.
  • ReptileMan 1 hour ago
    It takes some effort to make Sam Altman the decent and good guy. But Anthropic are doing their best.
  • leafingensemble 48 minutes ago
    Anthropic encrypts and hides model thinking from the user.

    Imagine if we could see what the model is thinking!

  • 7777777phil 1 hour ago
    Now is the time for local models.
    • Majromax 13 minutes ago
      > Now is the time for local models.

      The problem is that 'local' and 'frontier' are at odds. Frontier models exist at a scale several orders of magnitude above what can be reasonably served locally by an ordinary individual.

      Supposing this 'sabotage' is proven, one avenue for exploration would be to find whether the 'sabotage' occurs at the high-level goal-setting stage or a lower-level implementation stage. If the latter, frontier planning plus local implementation could recover much of the theoretical capacity, and as a bonus this is also often a cost-efficient strategy.

  • doginasuit 10 minutes ago
    [dead]
  • gavinray 52 minutes ago
    [dead]
  • phappyj 1 hour ago
    [dead]
  • hrrsmjd 41 minutes ago
    [dead]
  • miohtama 1 hour ago
    [dead]
  • Regular4695 3 minutes ago
    I just went to the audible site on my iPhone, I had to click “full site” in the footer, but I see the download link in my library. And it worked on my latest title (in aax format).