opencode-secrets-obfuscation
v0.1.7
Published
Transparent OpenCode V2 secret substitution plugin
Maintainers
Readme
opencode-secrets-obfuscation
Experimental software  use at your own risk. This plugin is provided as-is, without guarantees of security, correctness, or suitability for production use. Review the code and test it in an isolated environment before trusting it with real credentials. A bug or misconfiguration could expose secrets.
Why use it?
OpenCode agents and their tools may need credentials, but raw secrets should not appear in model-visible prompts, conversation history, tool results, or logs.
This plugin keeps configured dotenv values private and substitutes opaque secret- handles across existing OpenCode session, model, HTTP, and tool surfaces. It does not register model-visible tools and does not make credential or other plugin-owned network requests.
Installation
Install with: opencode plugin add [email protected]
Configure the published package in opencode.jsonc with the options documented at https://github.com/jfomhhover/opencode-secrets-obfuscation/blob/main/INSTALL.md.
Important limitations
- Experimental OpenCode V2 plugin; no production security guarantees.
- An authorized tool or process may still exfiltrate a credential it receives.
- Use synthetic credentials first and review the code for your environment.
