Repository navigation
feat: HexStrike patterns only (MCP facade, session cache, coverage notes) - #31
Merged
Merged
Conversation
Add an opt-in MCP facade, a session-scoped tool cache, and short cloud/CTF coverage notes so Cursor can query Vik safely. HexStrike is not vendored, and the default scan path does not gain new tool runs.
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.
Summary
mcp/vik-mcp/server.py) is opt-in stdlib JSON-RPC so Cursor can list/load skills, read session status, look up a cached tool result, dry-run scope, or read coverage notes. There is no shell or run-command tool.session_tool_cache.py) fitshunt.pyrun_cmd/run_cmd_args. Key is target + tool + args. Disk is under the session dir. Secrets are not stored. Scope is respected. Off unlessVIK_SESSION_TOOL_CACHE=1, so the default scan path does not run or skip tools.ALLOW_STATE_CHANGESand aggression defaults are unchanged.Docs:
docs/hexstrike-patterns.mdTest plan
.venv/bin/python -m pytest tests/test_session_tool_cache.py tests/test_vik_mcp.py tests/test_hunt_session_tool_cache.py tests/test_skill_loader.py(23 passed)python3 mcp/vik-mcp/server.pyand callvik_list_skills/vik_scope_check(no traffic)VIK_SESSION_TOOL_CACHE=1and confirm a second identical httpx argv in the same session is a cache hit