
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
anthropic-proxy
Advanced tools
A proxy server that transforms Anthropic API requests to OpenAI format and sends it to openrouter.ai.
A proxy server that transforms Anthropic API requests to OpenAI format and sends it to openrouter.ai. This enables you to use Anthropic's API format while connecting to OpenAI-compatible endpoints.
With this command, you can start the proxy server with your OpenRouter API key on port 3000:
OPENROUTER_API_KEY=your-api-key npx anthropic-proxy
Environment variables:
OPENROUTER_API_KEY
: Your OpenRouter API key (required when using OpenRouter)ANTHROPIC_PROXY_BASE_URL
: Custom base URL for the transformed OpenAI-format message (default: openrouter.ai
)PORT
: The port the proxy server should listen on (default: 3000)REASONING_MODEL
: The reasoning model to use (default: google/gemini-2.0-pro-exp-02-05:free
)COMPLETION_MODEL
: The completion model to use (default: google/gemini-2.0-pro-exp-02-05:free
)DEBUG
: Set to 1
to enable debug loggingNote: When ANTHROPIC_PROXY_BASE_URL
is set to a custom URL, the OPENROUTER_API_KEY
is not required.
To use the proxy server as a backend for Claude Code, you have to set the ANTHROPIC_BASE_URL
to the URL of the proxy server:
ANTHROPIC_BASE_URL=http://0.0.0.0:3000 claude
Licensed under MIT license. Copyright (c) 2025 Max Nowack
Contributions are welcome. Please open issues and/or file Pull Requests.
FAQs
A proxy server that transforms Anthropic API requests to OpenAI format and sends it to openrouter.ai.
The npm package anthropic-proxy receives a total of 64 weekly downloads. As such, anthropic-proxy popularity was classified as not popular.
We found that anthropic-proxy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.