EricMoin/rolebox
C3Agent plugin for major harnesses — DeepSeek Harness (DSH), OpenCode, Pi and Codex: define custom AI agent roles with per-role prompts, models, skills, permissions, memory and multi-agent orchestration
★ 1+ · EricMoin/rolebox source on GitHub · this plugin in the registry
EricMoin/rolebox is a DeepSeek Harness plugin rated C3 — powerful capability combined with sensitive behavior. It patches the dsh runtime, runs code at install time, executes system commands, decodes base64 payloads.
Installable plugin — declares a dsh.bundle manifest
What it can do
| Capability | Flag | Evidence |
|---|---|---|
| patches the dsh runtime | runtime_patch | ./dsh/cordis.patch.yml |
| runs code at install time | install_script | postinstall: node -e "try{require('./dist/cli/postinstall.js')}catch(e){}" |
| executes system commands | exec | ×58 in authored code, e.g. scripts/build-tui.ts:3, scripts/build-tui.ts:3 |
| decodes base64 payloads | base64_decode | ×7 in authored code, e.g. src/benchmark/grading.ts:22, src/benchmark/runner.ts:54 |
| starts a network server | net_server | ×6 in authored code, e.g. scripts/test-codex-e2e.ts:35, scripts/test-codex-e2e.ts:96 |
| reads credential-class env vars | token_env | GITHUB_TOKEN, GITLAB_TOKEN, ROLEBOX_GRAPH_WORKER_TOKEN |
Tool registrations
0 confirmed registration point(s); analysis is incomplete.
scripts/graph-smoke/dsh.ts:242Cannot establish the tools service bindingscripts/graph-smoke/dsh.ts:244Cannot establish the tools service bindingsrc/entries/dsh.ts:2507Cannot establish the tools service bindingsrc/entries/dsh.ts:2699Cannot establish the tools service binding
823 source file(s) omitted by size/count/encoding limits; tool count is incomplete
Hooks it attaches
agent/error agent/pre-step agent/request llm/stream session/created session/event session/flush tools/execute tools/result
Outbound domains
api.github.com
Environment variables it reads
ROLEBOX_DATA_DIR ROLEBOX_ENGINE_RECOVERY ROLEBOX_GRAPH_APPROVAL_POLICY ROLEBOX_HOT_RELOAD DSH_SOURCE_DIR ROLEBOX_GRAPH_COMPLETION_POLICIES CODEX_HOME XDG_DATA_HOME XDG_CONFIG_HOME ROLEBOX_NOTIFICATIONS_ENABLED
How to read this
Levels measure capability surface and transparency, not maliciousness. A C3 plugin can be entirely legitimate — a desktop shell genuinely needs subprocesses. The point is that you can see this before installing. See the levels explained and how dsh plugins work.
Findings come from static analysis of shipped code; nothing is executed. Think a flag is wrong? Open an issue — every flag cites the file and line it came from.