FakeKey: Rust-based API key security tool that replaces real keys with fake ones

FakeKey is a Rust-based API key security tool that replaces real API keys with fake ones in application environments. The tool addresses supply chain attack risks like those seen in recent incidents involving LiteLLM and Axios, where compromised libraries can scan and exfiltrate API keys immediately.
How FakeKey Works
FakeKey operates by ensuring that agents and dependencies only see fake API keys during normal operation. The real keys are securely encrypted and stored in the system's native keychain. Only at the moment an HTTP/S request is sent does FakeKey inject the real key back into the request.
This approach makes leaked keys meaningless even in compromised environments. As described in the source: "Even if a dependency is compromised, the attacker can only steal useless strings."
Problem Being Solved
The tool addresses the reality that it's almost impossible to guarantee all software and NPM dependencies are safe from supply chain attacks. These attacks are often discovered only after damage is done, with API keys frequently exposed in environment files—including LLM keys tied to billing and sensitive tokens like Feishu (Lark) keys.
Instead of trying to prevent poisoning entirely, FakeKey changes the approach to make leaks meaningless by ensuring compromised dependencies can only access fake keys.
Source and Availability
FakeKey is available on GitHub at https://github.com/happyvibing/fakekey. The tool was developed in response to recent supply chain security incidents and represents a different approach to API key protection in environments where complete dependency security cannot be guaranteed.
📖 Read the full source: r/openclaw
👀 See Also

AI Security Researchers: Your 0-Day Vulnerabilities May Leak via Data Opt-In Toggle
The 'Improve the model for everyone' toggle in LLM interfaces can automatically harvest deep red-teaming research, sending your vulnerability concepts to vendor safety teams and potentially to academic papers before you publish. Disable data sharing before conducting serious security research.

Claude models vulnerable to invisible Unicode character hijacking, especially with tool access
Testing shows Claude Sonnet 4 is 71.2% compliant with hidden instructions embedded in invisible Unicode characters when tools are enabled, with Opus 4 reaching 100% compliance on Unicode Tags encoding. Tool access dramatically increases vulnerability across all Claude models.

Student contributes two security patches to OpenClaw production system
A student developer fixed a 'fail-open' vulnerability in OpenClaw's gateway logic (PR #29198) and a tabnabbing vulnerability in chat images (PR #18685), with both patches landing in production releases v2026.3.1 and v2026.2.24 respectively.

ThornGuard: A Proxy Gateway to Secure MCP Server Connections from Prompt Injection
ThornGuard is a proxy that sits between MCP clients and upstream servers, scanning traffic for injection patterns, stripping PII, and logging to a dashboard. It was built after testing revealed vulnerabilities where servers could embed hidden instructions in tool responses.