Files
hermes-agent/website/docs
John Paul Soliva b32517a921 fix(mcp): withhold every name Hermes reads a credential by from stdio children
The source guard matched canonical blocklist names only, so a vault-backed credential still reached every stdio MCP server under the other names Hermes consumes it by: numbered rotation keys (DEEPSEEK_API_KEY_2), a variable a credential-pool row points at (source: env:VAR), the <NAME>_<PROFILE> source name hydration also applies as <NAME>, and adapter tokens outside the blocklist (WEIXIN_TOKEN).

hermes_consumed_credentials derives the set from the consumers, per call and for the active profile: the blocklist and internal secrets, profile_channels.credential_env_keys, numbered siblings, the profile's persisted env: pool rows and the profile alias target. Third-party source names and a server's own env: are unchanged; a name only another profile consumes is still forwarded to the profile that does not.

Docs: security.md MCP credential section (EN + zh-Hans).
2026-11-12 21:20:11 +01:00
..
…