▸ map/rehydra.md
Rehydra
Prevent your coding agent from leaking secrets to LLM providers
plugins✓ Dec 4
Facts
- repository
- github.com/rehydra-ai/rehydra-sdk ↗
- GitHub Stars
- ★ 112
- Forks
- 11
- license
- MIT
- npm / mo
- 6.8K
- last push
- Nov 20, 2026
install
"plugin": ["rehydra"] (v1 opencode.json) — "plugins": ["rehydra"] (v2; v1 plugins need porting)## TL;DR
Intercepts the conversation between OpenCode and the LLM, replacing secrets from .env files and detected API keys, tokens, and credentials with placeholders before they leave your machine.
## Key points
- $Secrets are transparently restored before any tool executes locally.
- $Supports pattern-based detection for Stripe, OpenAI, AWS, GitHub, Slack, and more.
- $Install scope: global.
- $Published on npm as rehydra.
## References
## Related entries
## Guides
Last updated: Nov 23, 2026