Title: feat(decisioning): credential-leak guidance + write-only field strip on every echo path · Issue #463 · adcontextprotocol/adcp-client-python · GitHub
Open Graph Title: feat(decisioning): credential-leak guidance + write-only field strip on every echo path · Issue #463 · adcontextprotocol/adcp-client-python
X Title: feat(decisioning): credential-leak guidance + write-only field strip on every echo path · Issue #463 · adcontextprotocol/adcp-client-python
Description: Parent: #452 JS source .changeset/account-store-sync-governance.md, commit ebaa4b3a docs(server): ctx_metadata credential-leak guidance (6.7). Defense-in-depth Write-only credentials should be stripped at the wire-emit boundary so adopte...
Open Graph Description: Parent: #452 JS source .changeset/account-store-sync-governance.md, commit ebaa4b3a docs(server): ctx_metadata credential-leak guidance (6.7). Defense-in-depth Write-only credentials should be stri...
X Description: Parent: #452 JS source .changeset/account-store-sync-governance.md, commit ebaa4b3a docs(server): ctx_metadata credential-leak guidance (6.7). Defense-in-depth Write-only credentials should be stri...
Opengraph URL: https://github.com/adcontextprotocol/adcp-client-python/issues/463
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(decisioning): credential-leak guidance + write-only field strip on every echo path","articleBody":"Parent: #452\n\n## JS source\n\n`.changeset/account-store-sync-governance.md`, commit `ebaa4b3a docs(server): ctx_metadata credential-leak guidance` (6.7).\n\n## Defense-in-depth\n\nWrite-only credentials should be stripped at the wire-emit boundary so adopters can return loosely-typed rows or spread DB records without leaking credentials.\n\nSpecifically:\n\n- `governance_agents[i].authentication.credentials` — strip on emit.\n- `billing_entity.bank` — already handled by `project_account_for_response`.\n\nNeed the same projection treatment for `governance_agents[i].authentication`.\n\n## Plus: ctx_metadata credential-leak doc\n\nAdd explicit guidance to `CLAUDE.md` (or equivalent surface) that `ctx_metadata` MUST NOT contain credentials — it round-trips to the client.\n\n## Acceptance criteria\n\n- `governance_agents[i].authentication.credentials` stripped on every emit path (resolve / list / sync_governance / upsert echo).\n- Tests verify strip — including a record with credentials present in the input does not appear in the wire output.\n- Doc updated with credential-leak guidance for `ctx_metadata`.\n\n## Note\n\nSome of this overlaps with #456's `sync_governance(ctx)` work. This issue covers the broader \"every echo path\" sweep + the documentation deliverable.","author":{"url":"https://github.com/bokelley","@type":"Person","name":"bokelley"},"datePublished":"2026-05-03T11:30:00Z","url":"https://github.com/adcontextprotocol/adcp-client-python/issues/463"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:005dab1d-6eb0-7230-7129-81f05de11b11 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A650:237673:BD68A9:FE3DE0:6B00F8EA |
| html-safe-nonce | 4ed4ac5e34c5ae52abd09e6c1357100c38331473480a76d0221e73727e7e4760 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjUwOjIzNzY3MzpCRDY4QTk6RkUzREUwOjZCMDBGOEVBIiwidmlzaXRvcl9pZCI6IjYwMDcxNDAzMTY1MzUxMjYyNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a64d8b05de25845a1ffc1a45e29efbc086c2cfba6d8a8fc19b0b90e1852843a2 |
| hovercard-subject-tag | issue:4371634464 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/adcontextprotocol/adcp-client-python/463/issue_layout |
| twitter:image | https://opengraph.githubassets.com/23fced6f73b6a7d20280c3a80c186c18398e79a4cad09aeb0c9fb2ab4a5b075d/adcontextprotocol/adcp-client-python/issues/463 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/23fced6f73b6a7d20280c3a80c186c18398e79a4cad09aeb0c9fb2ab4a5b075d/adcontextprotocol/adcp-client-python/issues/463 |
| og:image:alt | Parent: #452 JS source .changeset/account-store-sync-governance.md, commit ebaa4b3a docs(server): ctx_metadata credential-leak guidance (6.7). Defense-in-depth Write-only credentials should be stri... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bokelley |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| turbo-cache-control | no-preview |
| go-import | github.com/adcontextprotocol/adcp-client-python git https://github.com/adcontextprotocol/adcp-client-python.git |
| octolytics-dimension-user_id | 221690821 |
| octolytics-dimension-user_login | adcontextprotocol |
| octolytics-dimension-repository_id | 1090305973 |
| octolytics-dimension-repository_nwo | adcontextprotocol/adcp-client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1090305973 |
| octolytics-dimension-repository_network_root_nwo | adcontextprotocol/adcp-client-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width