dsh-prompt-antivirus
Prompt Antivirus
Global prompt injection / context virus defense plugin: scans tool parameters at tools/pre-execute, scans tool results at tools/post-execute, scans messages before they enter the model at agent/pre-step and injects a canary guard, and sanitizes outbound content at llm/stream; supports block / quaran
The plugin will be installed here. Keep web if you are unsure.
npx -y @deepseek-ai/dsh plugin --profile web add github:QinpanWan/dsh-prompt-antivirus#467cdd3f4eaf6a2cade8bd00670da5a4608fc354Description
Global prompt injection / context virus defense plugin: scans tool parameters at tools/pre-execute, scans tool results at tools/post-execute, scans messages before they enter the model at agent/pre-step and injects a canary guard, and sanitizes outbound content at llm/stream; supports block / quarantine / monitor modes, a disk-persisted and evolvable virus database (learning/import/export), and audit logs. Pure JS with no native dependencies, mounted at the profile layer, and globally effective for all presets and sub-agents.
Compatibility and provenance
Prompt Antivirus is published as dsh-prompt-antivirus and currently resolves to version 0.1.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.
- DSH compatibility
- *
- Runtime surfaces
- any
- Release source
- github
- Registry updated