@noppu-labs/opencode-permission-reviewer 0.0.0-stage → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/SECURITY.md ADDED
@@ -0,0 +1,31 @@
1
+ # Reporting a vulnerability
2
+
3
+ This plugin makes automated safety decisions about AI-agent permissions, so
4
+ we take security bugs seriously.
5
+
6
+ Please **do not** file a public issue for a security vulnerability. Instead,
7
+ use GitHub's private vulnerability reporting:
8
+
9
+ - go to **Report a vulnerability** at
10
+ https://github.com/Warc0s/opencode-permission-reviewer/security/advisories/new
11
+
12
+ or email the maintainer directly if the report contains sensitive details.
13
+
14
+ Include, when possible:
15
+
16
+ - a minimal reproduction (command + permission policy that triggers it),
17
+ - the affected version (`package.json` → `version`),
18
+ - the OpenCode version you run,
19
+ - the expected vs. actual safety outcome.
20
+
21
+ We will acknowledge within a few days and coordinate a fix and disclosure.
22
+
23
+ ## Threat model notes
24
+
25
+ This plugin is a **defense-in-depth aid**, not a complete sandbox. It reviews
26
+ `ask`-classified actions with a second model call and fails safe to manual
27
+ review when anything is uncertain. It does not replace OpenCode's own
28
+ permission system, your model provider's safety layers, or good OS-level
29
+ hygiene. A determinedly adversarial agent may still attempt to mislead the
30
+ reviewer; the deterministic emergency brake and the untrusted-evidence prompt
31
+ mitigate but cannot fully eliminate that risk.
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env bun
2
+ declare function runCli(argv: string[]): Promise<number>;
3
+
4
+ export { runCli };