Skip to content

Plugins 0.11.3: Claude directory compliance (narrow pre-approval, no credential reads, Substrate-only network) - #75

Merged
Pavel-Tk merged 1 commit into
mainfrom
directory-compliance
Nov 4, 2026
Merged

Pavel-Tk merged 1 commit into
mainfrom
directory-compliance

Conversation

@Pavel-Tk

@Pavel-Tk Pavel-Tk commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Clears the Claude directory validator's policy holds and makes "the plugin does not exfiltrate credentials or execute code outside its declared MCP servers" plainly checkable. Recall/capture hooks, remember/forget and the past-conversation import are unchanged.

Validator findings

  • Broad shell in allowed-tools (5): the connect/import/sync commands and skills now pre-approve exactly python3|python "${CLAUDE_PLUGIN_ROOT}/scripts/substrate_sync.py" --host claude * (Claude Code substitutes ${CLAUDE_PLUGIN_ROOT} in plugin allowed-tools; verified on 2.1.296 in commands and skills, and an uncovered form still prompts). No */scripts/... wildcard path, no extra interpreter paths.
  • Credential read (2): substrate_sync.py no longer reads Claude Code's .credentials.json (connect probe, "connection removed" note, Stop-hook approval probe). Connection proof is the plugin's memory_search + --record-connected, as the skills already require.
  • Download-and-execute: the once-a-day github.com VERSION fetch and the Claude SessionStart update hook are removed; updates come only through the marketplace. --update-check is a silent no-op for old hook files.
  • Network is now allowlisted: uploads and the ticket claim go only to *.trysubstrate.co over https (loopback for tests).

Docs: README "What is captured and where it goes", SECURITY.md, threat model. Version 0.11.3 everywhere.

Checks: ruff, hygiene, compileall, claude plugin validate (only the pre-existing name warning). Local pytest on Windows: failures are a subset of main's Windows-only failures; CI is the reference.

🤖 Generated with Claude Code

…credential reads, Substrate-only network)

- allowed-tools: only python3|python "${CLAUDE_PLUGIN_ROOT}/scripts/substrate_sync.py" --host claude
- substrate_sync.py no longer reads Claude Code's .credentials.json (connect proof is memory_search)
- remove the github.com VERSION fetch and the Claude SessionStart update hook; updates via marketplace
- uploads and ticket claim only to *.trysubstrate.co over https (loopback for tests)
- README, SECURITY.md, threat model say what runs locally, what it reads, where it sends

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Pavel Tkachyk <p.tkachyk.by@gmail.com>
@Pavel-Tk
Pavel-Tk merged commit 8f17522 into main Nov 4, 2026
5 checks passed
@Pavel-Tk
Pavel-Tk deleted the directory-compliance branch November 4, 2026 17:51
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