They say “token”, singular, which would point to a personal access token.
Assuming we will learn more it’s too early to judge, but if we hear nothing else from 1Password this points to security practices which are entirely inadequate for a password manager company!
Very doubtful. These statements are crafted to omit specific information they feel the public is too apathetic or stupid to understand or care about. They are betting on people not caring they use weasel words to lie to you.
It could be as simple as no branch protection, but it could be vastly more complicated.
> gained access to our CI/CD system. ... CI/CD contains infrastructure related secrets in order for our product to work.
I'm guessing poorly secured CI pipelines/security tokens. Not a good look, but unlikely the front door was left wide open.
If so, wouldn’t a company like 1Password be using anchored library versions?
It's possible they don't require approval before merge, and the bad actor was able to PR this malicious code and merge it themselves, which would be quite surprising. Or alternatively, it's possible that the bad actor created a branch which builds in CI, and exploited some vulnerability to inject their malicious code into main builds from this branch build. Or it's possible that the malicious code was only deployed to a test or QA environment, but that this environment contained actual administrative data, which the attacker was able to exfiltrate.
What are most likely scenarios?
``` def deployProd = branch_name() == "main" ```
and it's trivial for any commit to change that to `= True`
These systems are often designed where CI and CD have access to the same creds, and anybody "on the team who can push a branch" is trusted to not intentionally break things.
What would you assume is a plausible way “anyone on the team” would have been compromised?
(And this is an example of why they shouldn't)
PR comes in from someone on your team, people don't actually read the PR and give it a thumbs up?