Cybermes hands-on test: scope validation failures and prompt injection risks
Start here
Jumang Security Lab tested Cybermes, a 978-star open-source AI penetration framework on GitHub, and found that its factory scope validation fails due to a field name mismatch: the repository's own scope.yaml fields do not match the in_scope and out_of_scope recognized by the parser, so the parsed scope is empty and any target is allowed, including intranet addresses. The tool is built around Go, has a built-in Hermes Agent autonomous loop, and can also be connected as an MCP server to 13 clients.
Generated by AI from reports · Updated 2026-10-28
Progress timeline
- WeChat · Goumang Security LabAI penetration testing + MCP server hands-on test: 978-star open-source Cybermes, why scope validation allows everything
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.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- WeChatDoonsec"AI penetration testing + MCP server hands-on test: 978-star open-source Cybermes, why scope validation lets everything through"(opens the original post in a new tab)