[Plugin] weiwen-law-dsh — white-box causal guardrail: every tool call adjudicated before execution along a causal logic chain #4634
Shaky77
started this conversation in
Show Your Plugins!
Replies: 1 comment
|
Adjudicating every tool call before execution is the right approach to prevent agent prompt injections. Pre-execution checks need to run deterministically on payload buffers before shell or API invocation to guarantee safety. Would love to know how you're structuring the causal chain logic to keep latency low during nested tool calls! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
weiwen-law-dsh (Weiwen's Law / 唯稳律) — a white-box causal guardrail plugin for dsh.
What it does
Every tool call is adjudicated before execution along a deterministic causal logic chain:
curl | bash) get a low/mid/high risk verdict instead of a blind allow.Deterministic rule engine — runs fully local, zero API cost, no model calls on the deny/allow path. Every decision stays auditable after the fact.
Install
dsh plugin add "github:Shaky77/weiwen-law-dsh"Extras
dsh.bundle.patch; one-command installable.P.S. A printed lightweight version of the framework was delivered to your Beijing office via EMS back in June — this plugin is the runnable, live form of that same material.
Author: Shaky77 (夏祺). License: AGPL-3.0.
Repo: https://github.com/Shaky77/weiwen-law-dsh
All reactions