AI penetration testing + MCP server hands-on test: 978-star open-source Cybermes, why scope validation allows everything
「AI渗透测试+MCP服务器实测:978星开源Cybermes,范围校验为何全放行」
Jumang Security Lab conducted a hands-on test of the 978-star open-source AI penetration framework Cybermes on GitHub and found that its out-of-the-box scope validation fails due to a field name mismatch, allowing any target. The tool is built around Go, includes the Hermes Agent autonomous loop, and can also serve as an MCP server connecting to 13 clients. The author separately compiled the pkg/scope package for hands-on testing and found that the scope.yaml fields shipped with the repository do not match at all the in_scope and out_of_scope fields recognized by the parser; after parsing, an empty scope means allow, and internal network addresses are also in scope; when no configuration file is found, it likewise defaults to allow, and the cloud metadata address 169.254.169.254 was allowed in the hands-on test. Its smart_pipe filter only scores and truncates by keyword and performs no instruction isolation; in the hands-on test, an injected sentence asking to ignore previous instructions entered the model context because of its high score, constituting an indirect prompt injection entry point; the output written to disk is cleaned by ANSI stripping and deduplication, and is not byte-level raw output.