# Pipedream: Pipedream: Stored static API keys abused, spotted by Perplexity, forcing a full platform shutdown

> **Safety notice:** Run only against your own authorized code repositories and domains.

- **Incident date:** Dec 3–5, 2026
- **Disclosed:** Dec 4, 2026
- **Source disclosure:** https://status.pipedream.com/incidents/b0z0nrj3gdk9

## Reproduction lab
Audits your own codebase for third-party connector credential-export flags and verifies strict DMARC rejection on your automation domains before an incident hits.

```bash
# Find any code requesting raw third-party credentials back from a connector platform
rg -n 'include_?[cC]redentials' --glob '!node_modules' . || echo "PASS: no raw credential retrieval calls found"

# Confirm strict DMARC p=reject on your primary domain
dig +tcp +short TXT _dmarc.example.com | grep -q 'p=reject' \
  && echo "PASS: DMARC p=reject enforced" || echo "WARN: upgrade DMARC to p=reject"
```

## Policies and detection rules

### `hunt-pipedream-static-keys-cloudtrail.sh`
Athena/SQL hunting query for AWS CloudTrail flagging any Pipedream-stored static IAM key used after Pipedream’s 17:27 UTC December 4 shutdown or from outside your dedicated Pipedream VPC egress IP. Limits steps 1 and 3.

```sh
#!/usr/bin/env bash
set -euo pipefail
# Run against your CloudTrail Athena table (replace AKIAEXAMPLE and 192.0.2.10 with your key & VPC IP)
cat <<'SQL'
SELECT eventtime, eventsource, eventname, sourceipaddress, useragent, errorcode
FROM cloudtrail_logs
WHERE useridentity.accesskeyid = 'AKIAEXAMPLE'
  AND eventtime >= '2026-12-01T00:00:00Z'
  AND (eventtime >= '2026-12-04T17:27:00Z'
       OR sourceipaddress NOT IN ('192.0.2.10'))
ORDER BY eventtime;
SQL
```

### `audit-connect-include-credentials.sh`
Scans your own repositories for Pipedream Connect include_credentials calls and filters outbound proxy logs for bulk credential retrieval requests to api.pipedream.com. Limits step 1.

```sh
#!/usr/bin/env bash
set -euo pipefail
# 1. Locate every place your own codebase requests raw credentials from Pipedream Connect
rg -n 'include_?[cC]redentials' --glob '!node_modules' . || true

# 2. Filter JSONL egress/proxy logs for bulk Connect account-credential reads
if [[ -f egress.ndjson ]]; then
  jq -c 'select(.host == "api.pipedream.com"
    and (.path | test("/v1/connect/[^/]+/(accounts|users/[^/]+/accounts)"))
    and (.query | test("include_credentials=true")))' egress.ndjson
fi
```

## Indicators of compromise
- **url:** `https://status.pipedream.com/incidents/b0z0nrj3gdk9` (Official Pipedream Statuspage incident confirming a cybersecurity incident and temporary service shutdown starting Dec 4, 2026 17:27 UTC.)
- **url:** `https://status.perplexity.com/incidents/01M915PACNW98P5015NZ4NTQHE` (Official Perplexity Statuspage disclosure confirming overnight detection of malicious activity from static API keys stored on Pipedream and precautionary disabling of Pipedream-powered connectors.)
- **url:** `https://pipedream.com/docs/connect/managed-auth/oauth-clients` (Pipedream Connect documentation stating static key-based credentials are stored securely and exposed through the API.)
- **url:** `https://github.com/PipedreamHQ/pipedream-sdk-typescript/blob/eba862ac255fda0c0474024f4428b6ab7d1436e0/src/api/types/AccountCredentials.ts` (Pinned public TypeScript SDK type documenting BYOA restriction on OAuth credential retrieval alongside open extra properties.)
