mirror of
https://github.com/wesammustafa/opencode-primer.git
synced 2026-11-19 02:17:58 +00:00
- Bump every version pin, pricing table, and model ID to the verified 2026-07-05 state (v1.17.13): Claude Fable 5 / Sonnet 5 on Zen, new free tier, deprecation sunset table, v1.17.x changelog section - Cover gaps: OpenCode Go vs Zen billing, Anthropic subscription-login removal (PR #18186), MCP resources, --mini mode, --auto flag, yolo mode - Fix correctness bugs: command-template !`cmd` syntax in docs and .opencode/commands, protect-secrets regex missing 'cat .env', dual plugin exports, quickstart PATH fix, Playwright MCP flags, ctrl+d keybind conflict, agent/command required-field claims - Fix links: cursor.com, windsurf.com, platform.claude.com, code.claude.com, opencode.ai/discord, Vercel Grep announcement - Rebrand: banner (Images/banner.svg), 1280x640 social preview asset, hero redesign with star CTA, ecosystem stats, private vulnerability reporting channel, CI-matching local checks, MD060 lint opt-out
1.9 KiB
1.9 KiB
Security Policy
Scope
This repository is a documentation guide, not application code. It ships:
- Markdown documentation
- Two example JS plugins (
.opencode/plugins/) - Example agent / command / skill files
The plugins are simple and self-contained, but because they're meant to run inside a user's OpenCode session, security still matters.
Reporting a vulnerability
If you find a security issue in:
| Where | Report to |
|---|---|
| OpenCode itself (the tool) | Open a security advisory on anomalyco/opencode |
| The example plugins in this repo | Use GitHub's private vulnerability reporting ("Report a vulnerability" under the repo's Security tab) |
| A factual error in documentation that could mislead a user into a vulnerable configuration | Open a normal issue or PR |
Please don't disclose security issues publicly until they've been addressed. We'll acknowledge receipt within 7 days and aim to resolve within 30.
What counts as a vulnerability here
- An example plugin that doesn't do what its docstring claims (e.g. fails to block a sensitive path it says it blocks).
- A doc example that demonstrates an insecure configuration without warning.
- A copy-pasteable command in the docs that exfiltrates data, executes arbitrary code unexpectedly, or weakens the user's setup.
What doesn't count
- OpenCode core bugs — those belong to
anomalyco/opencode. - General "plugins can run arbitrary code" concerns — this is documented behavior of the plugin system itself.
Supply-chain notes
This repo has no runtime dependencies and no build step. The two example plugins use only Node built-ins (node:fs/promises, node:path).