Preflight Cybermes engagement scope rules over MCP
Test existing engagement scope rules against allowed and excluded fixtures, check local tool readiness, and return a preflight record before target activity.
npx skills add agentskillexchange/skills --skill preflight-cybermes-engagement-scope-rules-over-mcp
Invoke this workflow before an authorized Cybermes assessment, or after a scope configuration change. The agent tests the existing engagement rules against an operator-supplied table of permitted and excluded target strings, checks local tool readiness, and returns a preflight record. This procedure makes no target requests and stops before reconnaissance, fuzzing or exploitation.
What this skill actually does
- Use a checkout of
a908afc2afc279e53dc4bd1bc07087157bd55b4e. Build the native MCP server with Go 1.26.0 or compatible newer tooling:go build -o tools/bin/cybermes-mcp ./cmd/cybermes-mcp. Register its absolute path with arguments--workspace /absolute/path/to/Cybermesin an MCP client. Keep tool execution under explicit client control; this workflow uses only environment and scope checks. - Have the operator identify the existing engagement slug, intended scope file, authorization boundary and test cases with expected allowed/denied results. Inspect
reports/<slug>/scope.yamlorscope.ymland the root scope files: per-target files take precedence, but the implementation can fall back to a root file. Require a readable, valid configuration with an explicit restricted allowlist,dynamic_target_override: false, and the intended exclusions. A scope file is a technical configuration, not proof of authorization. - Discover tools and call
cybermes_check_environmentwith{"format":"json"}. Record the resolved workspace root and missing tools. This is a local readiness report; it can execute an installed sqlmap binary with--version. Do not auto-install or repair tools. - For each fixture call
cybermes_validate_scopewithtarget, the sametarget_slug,auto_create_scope: falseandformat: "json". Include a known allowed target, an explicit exclusion and a target outside the allowlist. These are string-validation cases, not permission to contact the targets. Captureallowed,scope_found,matched_byandreason. - Require every actual decision to match the fixture expectation and
scope_foundto be true. Treat missing configuration, unrestricted rules, unintended root fallback, or any unexpected result as a failed preflight. Missing files can otherwise yieldallowed: true; that is not a pass. Report the file reviewed, workspace, version/commit, fixture matrix, readiness gaps and pass/fail result. Return corrections for review instead of changing scope automatically.
The boundary is local acceptance testing of one engagement’s scope configuration and tool readiness. It excludes automatic scope creation, policy relaxation, target probing, playbook execution and assessment execution. Other Cybermes capabilities remain available in the server; this procedure is not a sandbox or a security review.