From aa0c6aa3173ba4a9a4b711663814682294267d34 Mon Sep 17 00:00:00 2001 From: zhuque Date: Wed, 1 Jul 2026 09:30:45 +0800 Subject: [PATCH] fix(agent-scan): register 4 new detection skills in _DETECTION_SKILLS Skills added in PR #444 (direct-injection-detection, file-path-traversal-detection, hardcoded-secret-detection, memory-poisoning-detection) were missing from the _DETECTION_SKILLS list in agent.py and therefore never executed during agent scans. Fixes: PR #444 follow-up --- agent-scan/core/agent.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/agent-scan/core/agent.py b/agent-scan/core/agent.py index a415f926b..19c1c00f8 100755 --- a/agent-scan/core/agent.py +++ b/agent-scan/core/agent.py @@ -56,6 +56,10 @@ "tool-abuse-detection", "indirect-injection-detection", "authorization-bypass-detection", + "direct-injection-detection", + "file-path-traversal-detection", + "hardcoded-secret-detection", + "memory-poisoning-detection", ] # Maximum number of skill workers allowed to call ``dialogue()`` simultaneously.