Repository navigation
Add Agent Threat Rules — local AI-agent threat-detection tool plugin - #2584
Merged
Merged
Conversation
crazywoola
approved these changes
Jun 22, 2026
crazywoola
left a comment
Member
There was a problem hiding this comment.
✅ LGTM
Decision: Approve
Local Check Results
| Check | Status | Detail | Required action |
|---|---|---|---|
PR content language |
✅ Pass | PR title/body CJK ratio=0.0% (zh=0, en=1698, ignored_zh=0, allowed_zh<=0) | None. |
Project structure |
✅ Pass | All expected files present: manifest.yaml, README.md, PRIVACY.md. _assets/: yes. | None. |
Manifest author |
✅ Pass | author is valid. | None. |
Icon validation |
✅ Pass | icon exists: _assets/icon.svg | None. |
Version check |
✅ Pass | version 0.1.0 is available. | None. |
README language |
✅ Pass | README.md CJK ratio=0.0% (zh=0, en=823, allowed_zh<=0) | None. |
PRIVACY.md |
✅ Pass | PRIVACY.md exists and is non-empty. | None. |
Dependency install |
✅ Pass | requirements installed successfully. | None. |
dify_plugin version |
✅ Pass | dify_plugin version 0.9.1 satisfies >= 0.9.0. | None. |
Install test |
✅ Pass | plugin install test passed. | None. |
Packaging test |
✅ Pass | packaging check passed. | None. |
eeee2345
added a commit
to Agent-Threat-Rule/agent-threat-rules
that referenced
this pull request
Jun 25, 2026
Every PR state below was live-verified with gh before editing. Tier 2 — merged integrations added (all confirmed merged): - Dify (langgenius/dify-plugins#2584, merged by maintainer crazywoola) — framed as a reviewed listing in the Dify plugin marketplace, NOT a Dify-core adoption - rulezet (rulezet/rulezet-core#50, merged by an external maintainer) - Tencent AI-Infra-Guard (Tencent/AI-Infra-Guard#422, merged by a Tencent maintainer) — real MCP threat-detection rules - AMD GAIA (amd/gaia#1809, merged by an AMD maintainer) — docs integration - Google ADK — corrected: the adk-python sample PR (#6130) closed unmerged, but the docs integration google/adk-docs#1850 was merged by a Google maintainer, so Google is an active adopter via docs rather than a removed entry Tier 3 — merged awesome-list references added: - cckuailong/awesome-gpt-security#39 - Joe-B-Security/awesome-prompt-injection#45 - ProjectRecon/awesome-ai-agents-security#17 The website ecosystem page renders ADOPTERS.md directly; these were merged wins not yet reflected, plus a stale Google entry that pointed at a closed PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin Submission
Plugin information
Submission type
What changed
A Tool plugin exposing the open Agent Threat Rules (ATR) engine as a
scantool. It scans text for AI-agent security threats — prompt injection, tool poisoning, credential exfiltration, and skill supply-chain attacks — and returns a structured verdict (flagged,verdict, matchedrule_ids, severity, confidence). Runs fully local via thepyatrpackage; no API key, no data leaves the host. Callable from Agent, Workflow, and Chatflow nodes.Risk level
Local text pattern-matching only; no code/command/SQL execution, no network calls during scanning.
Required checks
pyatrengine (no external service)..envfiles,.gitdirectories, virtual environments, caches, logs, or IDE files.PRIVACY.md(no data collection) andmanifest.yamlreferences it.Security and privacy notes
None. Detection is local pattern evaluation; the plugin performs no command/code/SQL execution, no SSH/SFTP, no browser automation, no arbitrary URL fetching, and no network calls during scanning. It does not handle health, financial, biometric, or children's data. Built with the official
dify plugin packageCLI (v0.6.2).