# Todoist: Todoist: CI workflow abuse reached the identity plane and exposed 6% of users

> **Safety notice:** Read-only GitHub API metadata audit; touches zero production secrets.

- **Incident date:** Nov 22–23, 2026
- **Disclosed:** Nov 24, 2026
- **Source disclosure:** https://www.todoist.com/help/todoist/get-started/security-incident-in-november-2026-cG0EIACNU

## Reproduction lab
Audits your GitHub organization for workflow directories missing CODEOWNERS protection and flags CI secrets whose names look like identity-provider admin tokens.

```bash
# list org repos that have .github/workflows without a CODEOWNERS file
gh api orgs/YOUR_ORG/repos --paginate --jq '.[].full_name' | while read -r r; do
  gh api "repos/$r/contents/.github/CODEOWNERS" >/dev/null 2>&1 || echo "MISSING CODEOWNERS: $r"
done
```

## Policies and detection rules

### `protect-workflows-ruleset.json`
GitHub branch ruleset blocking unreviewed workflow changes and requiring two human code owners on .github/workflows files.

```json
{
  "name": "protect-ci-workflows",
  "target": "branch",
  "enforcement": "active",
  "conditions": {
    "ref_name": { "include": ["~DEFAULT_BRANCH"] }
  },
  "rules": [
    {
      "type": "pull_request",
      "parameters": {
        "required_approving_review_count": 2,
        "require_code_owner_review": true,
        "dismiss_stale_reviews_on_push": true
      }
    },
    { "type": "non_fast_forward" }
  ]
}
```

### `idp-mfa-and-backdoor-admin.yaml`
Sigma rule alerting when an IdP admin or automation account modifies another employee’s MFA settings or grants admin privileges.

```yaml
title: Unexpected IdP Auth Modification or New Cloud Admin Account
status: production
logsource:
  product: okta
detection:
  mfa_change:
    eventType|contains:
      - 'user.mfa.factor.deactivate'
      - 'user.mfa.factor.reset_all'
    actor.alternateId|endswith: '-automation'
  new_admin:
    eventType: 'user.account.privilege.grant'
  condition: mfa_change or new_admin
level: critical
```

## Indicators of compromise
- **log:** `Modified CI workflows (Nov 22 14:04 UTC) followed by IdP MFA change (Nov 23 06:33 UTC)` (Observed escalation sequence from Doist’s official UTC incident timeline.)
- **log:** `Unexpected cloud admin account creation (Nov 23 08:20–08:22 UTC)` (Persistence step that triggered Doist’s security monitoring alert at 17:01 UTC.)
- **url:** `https://www.todoist.com/help/todoist/get-started/security-incident-in-november-2026-cG0EIACNU` (Official Doist Help Center disclosure and affected-user guidance (notifications sent from no-reply@notify.todoist.com).)
