ranxianglei/billion-context

C3

基本稳定可用 A context-compression plugin for small context windows (a 100K context is enough), token savings (5x fewer tokens), and month-long single sessions (billions of tokens).上下文压缩插件,兼顾小窗口(100k上下文足矣)省

★ 100+ · ranxianglei/billion-context source on GitHub · this plugin in the registry

ranxianglei/billion-context is a DeepSeek Harness plugin rated C3 — powerful capability combined with sensitive behavior. It patches the dsh runtime, executes system commands, decodes base64 payloads, starts a network server.

Installable plugin — declares a dsh.bundle manifest

What it can do

CapabilityFlagEvidence
patches the dsh runtimeruntime_patch./dsh.bundle.patch.yml
executes system commandsexec×30 in authored code, e.g. src/ca.ts:2, src/ca.ts:2
decodes base64 payloadsbase64_decode×2 in authored code, e.g. src/encrypt.ts:66, src/image-compress.ts:312
starts a network servernet_server×6 in authored code, e.g. src/launcher.ts:2852, src/launcher.ts:2860
reads credential-class env varstoken_envACP_COUNT_TOKENS_PASSTHROUGH, ACP_PASSTHROUGH, BILI_ENCRYPTION_KEY, BILI_IMAGE_TOKEN_CAP, BILI_LAUNCH_TOKEN, BILI_PERSIST_TAIL_TOKENS

Services it injects

agents commands locale slots tools

Outbound domains

api.anthropic.com api.openai.com open.bigmodel.cn tencent.sso.codebuddy.cn chatgpt.com generativelanguage.googleapis.com apis.iflow.cn api.deepseek.com models.dev api.kimi.com

Environment variables it reads

BILLION_CONTEXT_PROXY NODE_TEST_CONTEXT BILI_MCP_PROXY ACP_RENDER_NONE BILI_PERSIST ACP_NO_INJECT_TOOL ACP_DEBUG BILI_CLIENT_BIN ACP_PORT ANTHROPIC_MODEL

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.