Trigger.dev: root API keys exposed environment variables for 0.66% of tenants

On Nov 1, 2026 Trigger.dev’s infrastructure monitoring detected anomalous API activity using customer root API keys across 0.66% of cloud tenants. The attacker accessed environment variables and enumerated runs, deployments and schedules, while core production databases and customer dashboards stayed untouched. The exact vector used to obtain the root keys remains withheld during investigation.

How they got in

Trigger.dev confirmed the attacker obtained customer root API keys for approximately 0.66% of cloud-hosted environments. The team blocked the actor, mitigated the underlying vector and engaged incident responders and law enforcement, while temporarily withholding the exact acquisition mechanism until it is safe to disclose.

InternetCustomer tenantsTrigger.dev cloudStayed safeAttackerOrigin withheldRoot API keys0.66% of tenantsPublic APIKey acceptedEnv variablesAccessedRun metadataDeploys, schedulesCore databasesNot reachedDashboardsNot reached123
1Nov 1, 2026

Attacker obtains customer root API keys across 0.66% of cloud tenants; vector temporarily withheld.

Inferred
  1. Nov 1, 2026

    Attacker obtains customer root API keys across 0.66% of cloud tenants; vector temporarily withheld.

    AttackertoRoot API keys
  2. Nov 1, 2026

    Root keys authenticate against the cloud API until infrastructure alerts detect the anomaly.

    Root API keysPublic API
  3. Nov 1, 2026

    Attacker retrieves stored environment variables and enumerates recent runs, deployments and schedules.

    Env variablesRun metadata

Figure 1. How the attack unfolded, and what stayed isolated. Select any step or box for details.

What they took

Because a root API key carries full authority over an environment’s configuration, the attacker was able to read stored environment variables, which often hold third-party database URLs, AI provider keys and SaaS tokens, and list recent runs, deployments and schedules (including run IDs, task names, idempotency keys, tags, deployment errors and schedule external IDs).

What stayed safe

Forensic checks confirmed zero unauthorised access to Trigger.dev’s production databases, separate backend services or customer login dashboards, and 99.34% of cloud customers were unaffected.

How to defend against this

Write-only secrets API

Environment variables are write-only through management APIs and injected solely inside isolated task runtimes.

write-only-env-policy.json

Scoped API token policy separating task-trigger privileges from secret administration, and disabling plaintext secret readback. Breaks step 3.

{  "tokenScope": "runtime-trigger-only",  "permissions": {    "runs:trigger": true,    "runs:read": "own-project-only",    "env:write": false,    "env:readPlaintext": false  },  "secretDelivery": "ephemeral-oidc-broker"}

Appendix

Evidence log: what’s confirmed and what’s withheld4 claims
ClaimStatusSource
Attacker obtained customer root API keys for roughly 0.66% of cloud environmentsConfirmedTrigger.dev disclosure, Nov 1 and Nov 6
Specific technical mechanism used to acquire the root API keysWithheld by vendorWithheld by vendor during active investigation
Environment variables and run, deployment and schedule metadata were accessed through the APIConfirmedTrigger.dev incident report, Nov 6
Core production databases, separate backend services and customer dashboards were not accessedConfirmedTrigger.dev forensic investigation
Indicators of compromise1 indicator
  • https://trigger.dev/blog/security-incident-report-sunday-november-1st

    Official Nov 6 follow-up report listing all affected metadata fields.

Reproduction labMarkdown playbook, MIT license

Verifies that management API keys in your own multi-tenant platform return only secret names and SHA-256 digests, never decrypted secret values.

Safety note: Safe read-only API contract test for your own staging services.

# verify management API never echoes plaintext secret values
curl -sS -H "Authorization: Bearer $STAGING_API_KEY" https://staging.example.internal/v1/env | jq '.[] | {key, digest, value}'
Trigger.dev: root API keys exposed environment variables for 0.66% of tenants | breachidents