Skip to content

docs(research): connector, credential and egress layer audit (#13623) - #13647

Merged
mrveiss merged 2 commits into
Dev_new_guifrom
issue-13623
Aug 5, 2026
Merged

mrveiss merged 2 commits into
Dev_new_guifrom
issue-13623

Conversation

@mrveiss

@mrveiss mrveiss commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Thinking Path

Audit of our connector, credential and egress layer, using an external implementation of the same
problem domain as a comparison lens. The goal was to find real defects and structural gaps, not to
import a design — so every candidate pattern was checked against what we already have before being
proposed, and the most impressive idea in the reference was rejected because it does not fit our
scale.

What Changed

Docs only. No code touched.

  • docs/research/connector-credential-egress-audit.md — the audit
  • docs/research/_index.md — index entry
  • .session/HANDOFF-issue-13623.md — session handoff

Findings (all filed, none implemented)

Umbrella #13623 with children #13624-#13632, plus #13643 filed under #10088 Task 5.

Two live bugs, both in knowledge/connectors/credential_store.py, both silent in production:

Two fail-open guards (#13628): the ownership check skips rather than denies on a missing
created_by, and rotate() is the only credential read path that omits accessed_by, so the most
privileged operation is the unaudited one.

Egress (#13624, #13625): cross-origin redirects replay the caller's Authorization header; six
connectors with user-configured hosts never touch the SSRF guard. #13625 is not a duplicate of
#13204, which covers browser paths only.

Secrets platform (#13643): integrations/ has no secrets-manager integration at all —
credentials are passed as bare values, so no grant, audit, revocation, or dependency edge applies.

Verification

Docs-only change; no gates apply. Every claim in the document cites a file and line that was read,
and the two live bugs were traced through their call paths before filing.

$ git diff --stat origin/Dev_new_gui...HEAD
 .session/HANDOFF-issue-13623.md                   |  33 ++
 docs/research/_index.md                           |   1 +
 docs/research/connector-credential-egress-audit.md| 306 ++++++++++++++

Model Used

Claude Opus 5 (1M context)

@mrveiss
mrveiss merged commit ef699de into Dev_new_gui Aug 5, 2026
30 of 31 checks passed
@mrveiss
mrveiss deleted the issue-13623 branch August 5, 2026 15:27
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