Skip to content

Stop telling agents to ask for the user's Sandbox secret - #40

Merged
phoenixy1 merged 1 commit into
plaid:mainfrom
ericfortney:ef-stop-asking-for-secrets
Sep 11, 2026
Merged

phoenixy1 merged 1 commit into
plaid:mainfrom
ericfortney:ef-stop-asking-for-secrets

Conversation

@ericfortney

Copy link
Copy Markdown
Contributor

All three guides open with the same assumption:

The developer has a Plaid account and Sandbox client_id and secret are available. If not provided, please ask the users for it.

An agent that follows this asks the developer to paste a live Plaid secret into a chat window — so into a model's context, into the transcript, and into whatever retains that transcript. It's the exposure these guides otherwise warn about, and right now it's the documented behavior.

There's a better path than there was when this was written. The Plaid CLI fetches credentials from the Dashboard and writes the .env itself, so nobody has to handle the secret:

plaid keys write --env sandbox

That shipped in the CLI release on 2026-09-09, so the guides can point at it directly. Each one now does, and says plainly not to ask for a secret in chat. The Prerequisites line gets the same treatment — it assumed the credentials had already been copied by hand from the Dashboard.

--env sandbox is explicit on purpose: without it the CLI writes whichever environment it's pointed at, which is Production for teams that have one.

One line per file plus the prerequisite, and no new files — the same guidance is published as an agent skill at plaid.com/.well-known/skills/, so this defers to the CLI rather than restating it.

All three guides opened by instructing the agent to ask the developer for
their client_id and secret when not provided. An agent following that puts
a live credential into a model's context and into the transcript.

The Plaid CLI can fetch them from the Dashboard and write the .env itself,
so the guides now point at `plaid keys write --env sandbox` and say plainly
not to ask for a secret in chat. The Prerequisites line is updated the same
way, since it assumed the credentials had been copied by hand.
@phoenixy1
phoenixy1 merged commit c465460 into plaid:main Sep 11, 2026
1 check passed
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.

2 participants