mirror of
https://github.com/BillyOutlast/opencode-teamwork-v2.git
synced 2026-12-01 11:33:18 -10:00
Audited by clean-context subagents across three rounds; every finding fixed and re-verified. - F1 path traversal: sessionId allowlist + lexical & realpath containment; refuse a symlinked run root, symlinked run dir, and any symlinked run file (lstat-based, dangling-safe) - F2 command injection: no shell interpolation of session ids — server-derived $SESSION_ID, quoted; lint scans agent files AND command templates (incl. backslash line-continuations) - F3 read-only guardrail: per-agent deny list (real permission actions), fail-closed when the permission API is unavailable - F4 stored prompt injection: sanitised run-state injection (phase allowlist, validated dir name, no raw newlines/paths) - F5 installer is non-destructive by default (refresh opt-in via --refresh) - F6 refuse symlinked/JSONC configs; string-aware comment/trailing-comma strip - F8 create-only reference copy on plugin load - add team/security-auditor agent + docs/GUARDRAILS.md + guardrail lint rules
12 lines
296 B
JSON
12 lines
296 B
JSON
{
|
|
"name": "opencode-teamwork",
|
|
"version": "0.5.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Vendored V2 port of opencode-teamwork (registers the /teamwork command family, ships the teamwork_* engine tools).",
|
|
"main": "./index.ts",
|
|
"exports": {
|
|
".": "./index.ts"
|
|
}
|
|
}
|