fix(scripts): 修 redteam 越权探针路径错 / Redis 健康检查失效 - #6
Open
leaderwm wants to merge 1 commit into
Open
Conversation
- redteam PRIVILEGE_PROBES 两处路径 404 致低权越权项恒判 fail(假阳性): /system/config → /system/config/milvus,/agent/tool-calls → /system/agent/tool-calls - Redis 已开 requirepass 后 healthcheck 仍无认证 ping,NOAUTH 退出码 0 恒 healthy; 改 CMD-SHELL 带密码并 grep PONG (评测矩阵登录探针已由 ff1beed 以'端口可达即就绪'语义修复,本 PR 撤回该部分)
leaderwm
force-pushed
the
fix/eval-redteam-probes
branch
from
September 4, 2026 10:30
fbb1bbf to
06831e0
Compare
Contributor
Author
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.
问题(两处独立小修;eval_matrix 探针部分已撤回)
scripts/redteam_eval.py的/system/config与/agent/tool-calls路径不存在(实际为/system/config/milvus(require_admin)与/system/agent/tool-calls)→ 404 不满足 denied 判定 → 低权越权项恒判 fail,假阳性淹没真实漏报。docker-compose.yml给 redis 加了--requirepass后 healthcheck 仍是无认证redis-cli ping——NOAUTH 错误回复的退出码仍为 0,容器恒报 healthy。改为 CMD-SHELL 带密码并grep PONG校验。验证
python -m pytest tests/redteam/ tests/test_eval_matrix.py -q:87 passed