# 1Password: 1Password: a compromised GitHub account reached CI, not the vaults

> **Safety notice:** Defensive supply-chain policy verification run against a local sample git repository.

- **Incident date:** Nov 19, 2026
- **Disclosed:** Nov 25, 2026
- **Source disclosure:** https://1password.com/blog/update-on-nov-2026-security-incident

## Reproduction lab
Tests two-party signed commit enforcement and Cosign SLSA provenance admission locally so a single hijacked maintainer credential cannot push an unattested build to production.

```bash
# verify every commit on main carries a valid hardware/GPG signature
git log -n 5 --show-signature

# confirm unsigned container builds fail admission
cosign verify-attestation --type slsaprovenance ghcr.io/org/sample:unsigned
```

## Policies and detection rules

### `github-prod-ruleset.json`
GitHub branch ruleset requiring cryptographic commit signatures and two independent CODEOWNERS approvals with zero bypass. Stops step 1 to 2 progression.

```json
{
  "name": "protect-production-backend",
  "target": "branch",
  "enforcement": "active",
  "conditions": {
    "ref_name": { "include": ["refs/heads/main", "refs/heads/release/*"] }
  },
  "rules": [
    { "type": "required_signatures" },
    {
      "type": "pull_request",
      "parameters": {
        "required_approving_review_count": 2,
        "dismiss_stale_reviews_on_push": true,
        "require_code_owner_review": true,
        "require_last_push_approval": true
      }
    }
  ]
}
```

### `verify-slsa-admission.sh`
Deployment admission check using Cosign to reject any backend image lacking a signed SLSA provenance attestation from the two-party release workflow. Stops step 3.

```sh
# Reject container deployments not built by the signed release pipeline
cosign verify-attestation \
  --type slsaprovenance \
  --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
  --certificate-identity-regexp "^https://github.com/org/backend/.github/workflows/release.yml@refs/tags/v" \
  ghcr.io/org/backend@sha256:<digest>
```

## Indicators of compromise
- **url:** `https://1password.com/blog/update-on-nov-2026-security-incident` (Official disclosure and customer phishing advisory.)
- **log:** `Unexpected email recovery or invite codes (pre-Nov 25, 6-digit format)` (Verification codes hardened to 10 alphanumeric characters following containment.)
