dsh-riskproof: A Risk-Aware Approval Layer for DeepSeek Harness Tool Calls

onlyqzq/dsh-riskproof

Skills & AgentsVerified
Listed on 2026-08-18
Page last updated 2026-10-09

RiskProof is a provenance-aware approval layer for DeepSeek Harness, tracking tool input origins, detecting risky cross-tool data flows, and blocking high-risk side effects before execution.

dsh-riskproof is a DSH plugin for DeepSeek Harness that provides a risk-aware approval layer for high-risk AI Agent tool calls. It addresses the problem of unknown data provenance and cross-tool data flows that may leak sensitive information, intercepting or asking before side effects execute. Core capabilities include tracking data origin, labeling sensitive data, detecting attack chains, and blocking dangerous operations via the native pre-execute gate. The default configuration is safe; you can tune it by overriding the bundled row from the profile's later cordis.patch.yml layer, adjusting mode, policy preset, and domain whitelist/blacklist.

How to Install

install
npmdsh plugin --profile web add dsh-riskproof
Category
Skills & Agents
Platform
DSH Plugin
Author
onlyqzq
Distribution
Plugin

dsh-riskproof Key Features

Track data originTag sensitive dataDetect attack chainsBlock before executionGuard sensitive surfaces
Listed on dsh-plugin.org

dsh-riskproof Repo Summary

What Does It Do?

RiskProof is a DSH plugin for DeepSeek Harness that provides a risk-aware approval layer for high-risk AI Agent tool calls. It addresses the problem of unknown data provenance and cross-tool data flows that may leak sensitive information, intercepting or asking before side effects execute. Core capabilities include tracking data origin, labeling sensitive data, detecting attack chains, and blocking dangerous operations via the native pre-execute gate.

Core Features

  • Track data origin: maps tool arguments back to the tool results that produced them.
  • Follow sensitive data: carries security labels (UNTRUSTED_WEB, CUSTOMER_DATA, PII, SECRET) across tool calls additively.
  • Detect attack chains: identifies the EXTERNAL_INGESTION → PRIVATE_ACCESS → EXTERNAL_ACTION pattern that single-tool checks miss.
  • Stop before execution: blocks or asks before the side effect runs through the native tools/pre-execute gate.
  • Guard sensitive surfaces: protects credential-file paths, high-confidence destructive commands, download-and-execute pipelines, blocked destinations, and credentials embedded in network-capable commands.

How to Use This Plugin?

After enabling it in DSH, RiskProof acts as an observation and decision layer over the DSH Tool Runtime, silently tracking context and only asking or blocking when a risky cross-tool flow appears. The default configuration is safe; you can tune it by overriding the bundled row from the profile's later cordis.patch.yml layer, adjusting mode (enforce/observe), policy preset (permissive/balanced/strict), and domain whitelist/blacklist. Run npm run demo to experience the real ToolRuntime pipeline locally without a model or profile.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: onlyqzq/dsh-riskproof. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub

DSH Plugin FAQ