Skip to content

feat: flag wildcard MCP bind exposure#5

Merged
brandonwise merged 1 commit into
mainfrom
auto/pm-presence-20260427
Apr 28, 2026
Merged

feat: flag wildcard MCP bind exposure#5
brandonwise merged 1 commit into
mainfrom
auto/pm-presence-20260427

Conversation

@brandonwise
Copy link
Copy Markdown
Owner

Summary

  • extend AW-005 to flag wildcard bind exposure such as --host 0.0.0.0, --bind=0.0.0.0:3000, and HOST=0.0.0.0
  • surface the same condition in inspect as a wildcard_bind risk tag
  • add fixture coverage for the new behavior and refresh README wording/test count

Why now

Validation

  • PASS cargo test wildcard_bind -- --nocapture && cargo test loopback_bind -- --nocapture
    • 4 wildcard-bind unit tests + 1 integration test passed, plus loopback regression coverage
  • PASS cargo test
    • 217 unit tests passed
    • 38 integration tests passed
  • PASS cargo clippy --all-targets --all-features -- -D warnings && cargo build
  • PASS cargo run --quiet -- scan testdata/wildcard-bind.json --format json && printf '\n---\n' && cargo run --quiet -- inspect testdata/wildcard-bind.json --format json
    • scan now emits AW-005 Wildcard bind address
    • inspect now marks the server as high risk with wildcard_bind
  • PASS node /Users/bwise/.openclaw/workspace/projects/humanizer/src/cli.js score -f /Users/bwise/.openclaw/workspace/projects/agentwise/README.md --ignore-code
    • score: 43/100 (lightly AI-touched)

Rollback

  • Revert commit 90e07e5 if the new AW-005 bind heuristic proves too noisy in the wild.

@brandonwise brandonwise merged commit 0c6e431 into main Apr 28, 2026
8 checks passed
@brandonwise brandonwise deleted the auto/pm-presence-20260427 branch April 28, 2026 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant