Live data from Hacker News

Anthropic Explicitly Blocking OpenCode

gist.github.com

81–90 of 164 posts

Re: Anthropic Explicitly Blocking OpenCode

#81
post #64

This is definitely Barbara Streisanding right now. I had never heard of OpenCode. But I sure have now! Will have to check it out. Doubt I’ll end up immediately canceling Claude Code Max, but we’ll see.

OpenCode is kind of a security disaster though: https://news.ycombinator.com/item?id=46581095. To be clear, I know all software has bugs, including security bugs. But that wasn't an obscure vulnerability, that was "our entire dev team fundamentally has no fucking clue what they're doing, and our security reporting and triage process is nonexistent". No way am I entrusting production code and secrets to that.

Re: Anthropic Explicitly Blocking OpenCode

#82
post #64

This is definitely Barbara Streisanding right now. I had never heard of OpenCode. But I sure have now! Will have to check it out. Doubt I’ll end up immediately canceling Claude Code Max, but we’ll see.

I don’t know if the Streisand Effect is relevant here since Anthropic will block any other uses of their private APIs, not just OpenCode. The private Claude Code API was never advertised nor sold as a general purpose API for use with any tool.

OpenCode is an interesting tool but if this is your first time hearing of it you should probably be aware of their recent unauthenticated RCE issues and the slow response they’ve had to fixing it: https://news.ycombinator.com/item?id=46581095 They say they’re going to do better in the future but it’s currently on my list of projects to keep isolated until their security situation improves.

Re: Anthropic Explicitly Blocking OpenCode

#83
post #77

Earlier quoted context omitted.

This is a misunderstanding of the regulations. They’re not obligated to give other companies access to their services at a discounted rate.

They may however be obligated to not give customers access to their services at a discounted rate either - predatory pricing is at least some of the time and in some jurisdictions illegal.

Claude code is so successful that they could silence the api to protect the moat.

I’m surprised they didn’t go with the option of offering opus 4.6 to Claude code only.

Re: Anthropic Explicitly Blocking OpenCode

#84
post #77

Earlier quoted context omitted.

This is a misunderstanding of the regulations. They’re not obligated to give other companies access to their services at a discounted rate.

They may however be obligated to not give customers access to their services at a discounted rate either - predatory pricing is at least some of the time and in some jurisdictions illegal.

Predatory pricing? They have a public API that anyone can use for a public rate. There is no predatory pricing here.

The Claude Code endpoint is a private API. They’re free to control usage of their private API.

Re: Anthropic Explicitly Blocking OpenCode

#85
post #62
post #58

Earlier quoted context omitted.

They cannot actually do this as long as they keep Claude code open source. It is always going to be trivial to replicate how it sends requests in a third party tool.

CC isn’t open sourced.

I meant "source available" I guess. Or am I missing something?

https://github.com/anthropics/claude-code

Re: Anthropic Explicitly Blocking OpenCode

#86
post #35

Obviously Anthropic are within their rights to do this, but I don’t think their moat is as big as they think it is. I’ve cancelled my max subscription and have gone over to ChatGPT pro, which is now explicitly supporting this use case.

I hope the upcoming DeepSeek coding model puts a dent in Anthropic’s armor. Claude 4.5 is by far the best/fastest coding model, but the company is just too slimy and burning enough $$$ to guarantee enshitification in the near future.

Re: Anthropic Explicitly Blocking OpenCode

#87
post #77

Earlier quoted context omitted.

They may however be obligated to not give customers access to their services at a discounted rate either - predatory pricing is at least some of the time and in some jurisdictions illegal.

Predatory pricing? They have a public API that anyone can use for a public rate. There is no predatory pricing here. The Claude Code endpoint is a private API. They’re free to control usage of their private API.

Predatory pricing is selling something below cost to acquire/maintain market dominance.

The Claude subscription used for Claude Code is to all appearances being sold substantially below the cost to run it, and it certainly seems that this is being done to maintain Claude Code's market dominance and force out competitors who cannot afford to subsidize LLM inference in the same way such as OpenCode.

It's not a matter of there being a public API, I don't believe they are obligated to offer one at all, it's a matter of the Claude Subscription being priced fairly so that OpenCode (on top of, say, gemini) can be competitive.

Re: Anthropic Explicitly Blocking OpenCode

#88
post #64

This is definitely Barbara Streisanding right now. I had never heard of OpenCode. But I sure have now! Will have to check it out. Doubt I’ll end up immediately canceling Claude Code Max, but we’ll see.

I don’t know if the Streisand Effect is relevant here since Anthropic will block any other uses of their private APIs, not just OpenCode. The private Claude Code API was never advertised nor sold as a general purpose API for use with any tool. OpenCode is an interesting tool but if this is your first time hearing of it you should probably be aware of their recent unauthenticated RCE issues and the slow response they’…

Imo I don't trust ANY of these tools to run in non-isolated environments.

All of these tools are either

- created by companies powered by VC money that never face consequences for mishandling your data

- community vibecoded with questionable security practices

These tools also need to have a substantial amount of access to be useful so it is really hard to secure even if you try. Constantly prompting for approval leads to alert fatigue and eventually a mistake leading to exfiltration.

I suggest just stick to LXC or VM. Desktop (including linux) userland security is just bad in general. I try to keep most random code I download for one off tasks to containers.

Re: Anthropic Explicitly Blocking OpenCode

#89

Related: Anthropic blocks third-party use of Claude Code subscriptions https://news.ycombinator.com/item?id=46549823

that's a separate enforcement of all 3rd party auth (on the 9th)

some of them worked around it, but it looked like they added something specifically for OpenCode today, which seems to have been worked around again after the OpenCode-specific block: https://github.com/anomalyco/opencode-anthropic-auth/commits...

Re: Anthropic Explicitly Blocking OpenCode

#90
post #85
post #62

Earlier quoted context omitted.

CC isn’t open sourced.

I meant "source available" I guess. Or am I missing something? https://github.com/anthropics/claude-code

Yes, there is no source code in here. This is their scripts / tooling / prompts repo. The actual code that powers their CC terminal CLI does not exist anywhere on their public GitHub
Post reply on HN