DSH Marketplace

cc-safety-net

kenryu42/cc-safety-net

Pre-execution guard that blocks destructive Git and filesystem commands and access to secrets such as SSH keys and .env files before a tool call runs.

1,66788TypeScriptMITSource

Install

Add cc-safety-net to DeepSeek Harness

Install into

via npm

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

via GitHub · npm package

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

What happened when we ran it

Installed cleanly when we ran it

Every command here is run in a throwaway container against a clean profile, and the result is whatever the harness recorded — not a guess from the source. Last run 6d agoon DeepSeek Harness 0.2.1-rc.5.

Show it in your README

install verified — dshmarketplace

For maintainers: the badge serves this listing's latest sandbox verdict, so a re-run updates it on its own — and it links readers to the full result here.

Due diligence

Before you install cc-safety-net

  • Source of record: kenryu42/cc-safety-net — present in the community registry that DSH's own plugin market installs from.
  • Licensed under MIT.

Security

What installing cc-safety-net runs

Build scripts

No build script was blocked in our run.

Source: our sandbox install on DeepSeek Harness 0.2.1-rc.5, 6d ago.

Install hooks

package.json declares no preinstall, install or postinstall script.

Source: package.json on GitHub, read at our last sync. prepare is not recorded; it runs only on a GitHub install, and shows up under build scripts when pnpm blocks it.

README mentions

shell commands (bash, exec, spawn …)

Source: a keyword match on the README — a hint about what the plugin touches, not an analysis of its code.

Not an audit. These are the record of one install and two text scans; nobody has read this plugin's code on your behalf. Plugins run with your agent's permissions.

The AI take

What it is — Parses each tool call before it runs and stops destructive Git or filesystem actions and reads of SSH keys or .env files.

Who it is for — A DeepSeek Harness agent with git and shell on a laptop checkout that still holds .env files and keys, where git reset --hard would wipe real commits. Skip it when the agent only runs in a throwaway directory or disposable VM that holds neither secrets nor history you would miss.

Watch out — Our run installed it on a fresh profile and the harness registered it. It does not sandbox: no process jail, no filesystem permission changes, no egress watch. A broken config file blocks nothing.

The verdict — On a machine whose git history I cannot rebuild, this earns a plugin slot. The install does not buy a wider auto-approve or a workspace full of keys.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.

What cc-safety-net does

Command and file requests pass through a parser; safe paths continue while dangerous ones stop.

cc-safety-net is a DeepSeek Harness plugin that checks commands and file-access requests before an agent tool call runs, blocking selected destructive operations and access to sensitive files. It parses what a command would do rather than matching only its surface spelling, so wrapping a command or reordering flags does not hide it. The protection covers shell commands such as git reset --hard, git push --force, and rm -rf on dangerous targets, including commands nested in bash -c or python -c. It also covers the agent’s file tools for SSH keys, .env files, ~/.aws, and coding-CLI credentials.

DeepSeek Harness loads the plugin at the pre-execution boundary. The plugin reads the proposed command or file path and decides whether the call may proceed; blocked calls are not run, and the agent is told why. Its GUI, started with npx cc-safety-net gui, provides Standard, Strict, and Paranoid presets and lets operators enable or disable rules.

This is intended for agents with terminal and filesystem access where destructive commands or secret reads need an additional policy check. The terminal surface is a material risk because the plugin evaluates commands issued with the agent’s permissions. cc-safety-net is not a sandbox: it does not contain processes, set filesystem permissions, or watch network egress. A broken configuration file never blocks anything, so it should not be treated as a complete isolation boundary.

cc-safety-net documentation

How cc-safety-net behaves

DeepSeek Harness checks a proposed tool call before execution when cc-safety-net is installed. For terminal requests, the plugin parses the command’s effective operation, including commands nested inside bash -c and python -c. Reordering flags or wrapping a command does not conceal the operation. Safe calls such as git status can proceed; blocked calls do not run, and the agent receives the reason.

The documented destructive-command examples include git reset --hard, git push --force, and rm -rf when used on dangerous targets. Secret protection covers SSH keys, .env files, ~/.aws, and coding-CLI credentials. The same protection applies to the agent’s file tools, not only the shell.

Configuring cc-safety-net

Run npx cc-safety-net gui to open the configuration GUI. It provides the Standard, Strict, and Paranoid presets and allows individual rules to be turned on or off. The README does not specify configuration key names or a configuration-file path.

A broken configuration file never blocks anything. This behaviour means a malformed or unavailable policy configuration does not provide a fail-closed guarantee.

DeepSeek Harness support

DeepSeek Harness is listed among the supported coding CLIs. The README also lists support for Amp Code, Antigravity CLI, Claude Code, Codex, Cursor, Devin CLI, Factory Droid, Gemini CLI, GitHub Copilot CLI, Grok Build, Hermes Agent, Kimi Code, OpenClaw, OpenCode, and Pi.

Known limits of cc-safety-net

DeepSeek Harness gives the plugin a pre-execution decision point, but cc-safety-net is not a sandbox. It does not contain processes, change filesystem permissions, or monitor network egress. The plugin therefore supplements, rather than replaces, isolation controls. The README states support for Windows, macOS, and Linux and does not state a version requirement.

Written from the project's own documentation and kept in sync with it. Where the two disagree, the source is authoritative — read the README on GitHub

Same category

Alternatives to cc-safety-net

api-relay-audit

toby-bridges

874

Runs local security audits of AI API relays and LLM proxies from DeepSeek Harness, producing Markdown reports for prompt injection, model substitution signals, tool-call rewriting, error leakage, stream integrity, and profile-gated Web3 risks.

DeepSeek Harness 0.2.1-rc.5 refuses the latest release

GitHub sourcePython25d ago

AI review

api-relay-audit

What it is — Locally probes a named AI API relay or LLM proxy and records how the request and response path was changed.

Who it is for — You are about to put a coding agent or wallet workflow on a third-party Claude- or OpenAI-compatible relay, with real traffic not yet flowing, and you still need a repeatable local evidence file that only hits the URL you choose. People who already run the repo's standalone Python auditor outside DeepSeek Harness do not need the plugin.

Watch out — DeepSeek Harness 0.2.1-rc.5 refuses the current release before install because the declared dsh range excludes that version, and there is no older plugin build to pin. It executes shell commands. The output is not a safety certificate, and inconclusive probes stay visible.

The verdict — I would park it until the author widens the dsh range, not install it now.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source

Authorized-security DSH collection: nine work modes (redteam coordinator, pentest, code audit, binary analysis, attack-defense, AV evasion, incident response, cloud security, CTF solving) and fifteen runtime plugins, managed from a settings page with one-click deploy, install, update and uninstall.

Installed cleanly when we ran it

GitHub sourcePython21d ago

AI review

dsh-redteam-model

What it is — DeepSeek Harness redteam security research plugin providing ten work modes and fifteen runtime plugins.

Who it is for — Users conducting security research tasks in DeepSeek Harness can install this plugin. Users not using the DeepSeek Harness platform can skip this plugin.

Watch out — Sandbox testing passed: it was installed in a new profile and registered into the harness profile. Static checks indicate it will execute shell commands. Installation from source requires manually allowing the build script.

The verdict — As a user, I would install it because it provides preset modes and runtime plugins for security research in DSH.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source
601

Authorized pentest mode for DeepSeek Harness — exploration chain, assets and findings with a Web view.

Installed cleanly when we ran it

npm packageJavaScript27d ago

AI review

dsh-pentest

What it is — Integrates authorized pentest tools for DeepSeek Harness, providing web view of exploration chains, assets, and findings.

Who it is for — If you need to track exploration chains, assets, and findings during authorized pentesting with DeepSeek Harness, this plugin is suitable. It is not suitable for users without web tab requirements.

Watch out — Sandbox test passed: successfully registered in a fresh profile. Requires DSH version >= 0.1.6 and Node.js >= 22.5 for sqlite backend; static check indicates execution of shell commands, and repair tool may be needed for old session logs.

The verdict — I would install it for the structured pentest exploration and web reporting features; this is worthwhile on compatible DSH versions.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source
234

Second-model auto-review on the approval answerer chain: a read-only reviewer subagent returns structured allow/deny verdicts with reasons, fail-closed by default.

Installed cleanly when we ran it

npm packageTypeScript17d ago

AI review

dsh-auto-review

What it is — dsh-auto-review adds a second model as a read-only reviewer subagent to the approval answerer chain in DeepSeek Harness.

Who it is for — When you are handling tool request approvals in DeepSeek Harness, it is suitable to install dsh-auto-review to obtain second model review. If your work does not involve tool request approvals, you do not need to install it.

Watch out — It requires providing an API key or token and may execute shell commands. The sandbox test passed: successfully installed in a fresh profile and registered by harness.

The verdict — I would install it because it can feed the reason back to the calling model when denied, avoiding blind retries.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
2Details

helmd

ADWMC

202

Security-analysis plugin for DeepSeek Harness: 33 tools spanning six security domains, evidence/reporting and toolbox, plus the case lifecycle, routing and tool ledger; a session-bound case workflow with an evidence chain, E-id validation and reproducible findings; 362 on-demand references; three hot-swappable persona profiles; and a four-tab workbench (armor / case / intercept / about) with case-state recovery after context compaction.

No one-line install — this plugin lives inside a larger repository and publishes no npm package.

GitHub sourcePython1mo ago

AI review

helmd

What it is — helmd is a DeepSeek Harness plugin. It includes a bootstrap tool, a domain router, and 25 reverse-engineering tools.

Who it is for — If you need to integrate security analysis tools across multiple domains, you can use helmd. If you do not want the plugin to execute shell commands, you can skip helmd because it will execute shell commands.

Watch out — Static checks indicate the plugin executes shell commands. Sandbox testing has not been conducted. No obvious issues found.

The verdict — I would not install it because it requires manual subdirectory installation and has not been sandbox tested.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source

Claude Code-style declarative permission rules: ordered allow/deny/ask YAML rules matching tool names, arguments, workspace paths, and agent identity on the tools/pre-execute waterfall, with full session-log audit, dry-run mode, and hot reload.

Installed cleanly when we ran it

npm packageTypeScript17d ago

AI review

dsh-permission-rules

What it is — Inserts declarative permission rules in the DeepSeek Harness tools/pre-execute stage.

Who it is for — When using any model with DeepSeek Harness for precise tool call control, the plugin is suitable. For users who only need the default sandbox preset, they can skip this plugin.

Watch out — Sandbox test passed: successfully installed in a new profile and registered into the profile. The static check indicates it will execute shell commands. No other obvious issues found.

The verdict — I would install it because it provides full session-log audit and supports hot reload.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
2Source