Skip to main content

Pipedream took its whole service offline on Friday. The integration platform, which sells itself as “the integration layer for AI agents” and stores credentials for more than 3,000 APIs on behalf of its customers’ users, says it became aware of a cybersecurity incident on 3 December and that “API keys belonging to end users of a subset of our customers were compromised”. Perplexity, which used Pipedream to power connectors in its Computer product, said it had detected “malicious activity from static API keys stored on Pipedream’s platform” and found “no current indication that user OAuth tokens were affected”.

That distinction, static keys versus OAuth tokens, is the whole story. So we went and counted which one Pipedream’s integrations actually use.

TL;DR

  • Pipedream disabled its entire service on 4 December after attackers obtained end-user API keys; Perplexity disabled its Pipedream-powered connectors and told users to rotate static keys.
  • We read all 3,340 app definitions in Pipedream’s public GitHub repository. Of the 2,005 that reference credentials, 1,550 (77.3%) authenticate with a static key, token or password. Only 455 use OAuth.
  • 33 of the 34 AI model and agent-tooling integrations we checked use static keys, including OpenAI, Anthropic, Mistral and Azure OpenAI. Every database integration we checked uses a password or service key.
  • An OAuth grant gives the platform levers to pull after a breach. A static key gives it none: every end user has to find and rotate every key themselves.
  • If you have pasted keys into any integration or agent platform, scope them, cap them, and write the rotation list before you need it.

What happened

Pipedream’s status page tells the story in four updates. At 17:27 UTC on 4 December it disabled the service “out of an abundance of caution”. By 21:37 UTC it said the incident “appears consistent with a broader pattern of attacks using the latest multi-agent frameworks to obtain initial access and quickly move laterally”, and that it had contacted the affected customers directly. When we checked on 5 December, 258 of the 259 components on status.pipedream.com showed a major outage, and pipedream.com itself returned a 503 holding page.

Perplexity’s own incident page is the more revealing document. It says Perplexity spotted the malicious use of static keys itself and notified Pipedream, that credentials stored on Perplexity were not compromised, and that “users who connected static API keys through Pipedream-powered connectors should rotate those keys immediately”. By Friday evening it had contacted every customer with affected credentials, and the connectors remain disabled.

We do not yet know how the attackers got in, and we will not guess. What we can measure is the blast radius that this kind of breach creates.

How we counted

Pipedream publishes its integration code on GitHub. Each app has a definition file, and the code reads credentials from an $auth object whose field names follow a convention: OAuth apps expose oauth_access_token, while key-based apps expose fields such as api_key, api_token or password. We took a shallow copy of the repository at its last commit before the outage (3 December) and extracted every $auth field referenced in every app file. The one-liner below gives the flavour; our full script also caught destructured fields and the handful of .js and .ts files.

# count how many app files reference each credential field
for f in components/*/*.app.mjs; do grep -o '\$auth\.[a-z_]*' "$f" | sort -u; done \
  | sort | uniq -c | sort -rn | head -3
#  1037 $auth.api_key
#   443 $auth.oauth_access_token
#   177 $auth.api_token

Of 3,340 app files, 1,309 are placeholder stubs with no implemented code, and a further 26 reference no credentials (public APIs such as arXiv or Hacker News, or apps whose auth lives elsewhere). That leaves 2,005 apps whose credential type is visible in the code. The caveat: this is Pipedream’s implementation, not a statement about what each vendor offers. Some vendors support OAuth and Pipedream simply integrated them by key.

What we found

1,550 of the 2,005 (77.3%) use a static credential. 455 (22.7%) use OAuth. Fifty of the static integrations ask for a username and password rather than a key.

The split is not even across categories, and the pattern matters for anyone running AI agents:

Category (apps we checked) Static key or password OAuth
AI models and agent tools (34) 33 1 (Google Vertex AI)
Databases (5) 5 (PostgreSQL, MySQL, MongoDB, Supabase, Snowflake) 0
Email delivery and marketing (8) 7 1 (Mailchimp)
Payments and finance (9) 4 (Stripe, Braintree, Plaid, Wise) 5
Everyday work tools (15) 2 (Slack bot, monday.com) 13

The mainstream SaaS tools your staff click “Connect” on, such as Google Sheets, Notion, HubSpot, Salesforce, Jira, GitHub and Dropbox, are overwhelmingly OAuth. The tools that spend money or hold your raw data are not. OpenAI, Anthropic, Mistral, Perplexity, DeepSeek, xAI, ElevenLabs, OpenRouter, Pinecone and Azure OpenAI all connect with a key you paste in. So does Stripe. The Supabase integration asks for the service key, which bypasses row-level security entirely.

That is not Pipedream’s fault. Most model providers do not offer third-party OAuth at all, so a key is the only option. But it means the newest, fastest-growing part of the integration catalogue, the part agents use most, is also the part with the worst failure mode.

Why the credential type decides the blast radius

When an OAuth grant leaks from a broker, the broker has levers. The token is tied to an OAuth client it controls (Pipedream advertises “hosted OAuth clients” so its customers never register their own). Many providers issue access tokens that expire within hours, and refreshing one requires the client secret, which the broker can rotate. Most providers also let a client owner revoke grants. Not every provider makes this tidy, but the operator can act once, centrally, on behalf of everyone.

A static key has none of that. It was minted by the end user, in the vendor’s dashboard, and only that user can revoke it. It usually never expires. The broker cannot rotate it, cannot tell whether it has been rotated until a call fails, and often cannot tell which of a user’s keys carry billing rights or production data. Recovery becomes thousands of people each logging into a dozen dashboards, which is exactly what Perplexity had to ask its users to do.

For AI keys there is an extra sting: a stolen model API key converts directly into spend on your account. We tested how providers behave at their caps in our spend caps study, and the answer is “inconsistently”.

What to do this week

If you used Pipedream: rotate every static key you connected through it, whether or not you were contacted, and check each vendor’s usage logs from 3 December onwards. Do not wait for the forensic report.

If you use any integration or agent platform (Zapier, Make, hosted n8n, MCP gateways, agent tool marketplaces), the same exposure exists in principle. We wrote about the self-hosted version in the n8n nightmare. Four habits shrink it:

  • Keep a rotation list. Every key you have pasted into a third party, where it lives, the URL of the page that revokes it, and who owns it. If you cannot rotate the lot in an hour, that list is your real incident plan.
  • Scope every key to the job. Stripe restricted keys instead of the secret key. OpenAI project keys with restricted permissions. An IAM user with one policy, never account root keys. A database role that can read one schema, never the superuser, and never the Supabase service key.
  • Cap the money. Put a hard budget on every AI and messaging key that leaves your building, so a leak has a ceiling.
  • Choose OAuth when it is on the menu. Where an integration offers both, take OAuth. If you are building connectors into your own product, bring your own OAuth clients so the revocation lever stays in your hands, not your vendor’s.

The supplier-of-a-supplier problem is not new. We made the same argument about AI coding tools in your AI coding tool has a supplier you never contracted with. What Pipedream adds is a number: in a catalogue built for agents, roughly three in four integrations hand the platform a credential that only you can kill.

Building agents that hold other people’s keys?

REPTILEHAUS designs and builds AI agents, integrations and the DevOps around them, and we treat credential handling as an architecture decision, not an afterthought: per-tenant encryption, scoped and capped keys, OAuth by default, and a rotation runbook your team has actually rehearsed. If you want a second pair of eyes on what your automations can reach, get in touch.

📷 Photo by Anna Zakharova on Unsplash