Back to all lessons
Awareness Lessons
last week

Stolen Credential in Code Management System Leads to Todoist Production Breach

Written by AI from the linked story. Not reviewed by an editor. How this works

An attacker compromised a single stolen credential tied to Todoist's code change management systems, which provided a pivot point into production environments and access to account records for roughly 6% of users, plus integration tokens and connected Outlook mailbox data. The root cause was inadequate protection of privileged credentials — a single set of stolen credentials should never be sufficient to reach production data and third-party integrations. This matters because the blast radius extended well beyond internal systems, touching users' external email data through OAuth/integration tokens, amplifying harm beyond what a simple account dump would cause. Organizations must treat credentials used in developer tooling with the same rigor as production secrets, since CI/CD and code management systems are high-value lateral movement targets.

Tactical Insight

Immediate actions

  • Rotate and revoke all credentials and integration tokens associated with the compromised code management system immediately.
  • Audit and invalidate any OAuth or integration tokens that were exposed, and notify connected third-party services (e.g., Outlook) to revoke access.
  • Enforce multi-factor authentication on all code change management, CI/CD, and developer tooling accounts.

Long-term improvements

  • Implement least-privilege access so that code management system credentials cannot directly reach production databases or user account stores.
  • Store secrets and credentials in a dedicated secrets manager with automated rotation, rather than in configuration files or developer systems.
  • Segment developer/CI/CD infrastructure from production environments using network controls and separate identity domains.

Detection measures

  • Deploy behavioral monitoring and alerting on privileged credential use, flagging anomalous access patterns such as bulk data downloads from production systems.
  • Establish a regular review cycle for integration tokens and third-party API access grants to detect and remove stale or over-privileged connections.

Back this up with a control

All controls and vendors

Training helps people spot this. These controls make the attack fail even on the day someone does not.