Thanks @CharlieEriksen for reporting this.
The repository rollback is complete:
- GitHub Actions and npm trusted publishing were disabled.
mainwas force-reset to the last known clean commit:[8a724118](https://github.com/jaredwray/ecto/commit/8a724118ee8659b4f633f22073ca89706afd71e3).- The malicious
v5.0.1GitHub release and tag were deleted. - npm removed
ecto@5.0.1;latestis back to the clean5.0.0. - All potentially affected machines were wiped, and the credential/account audit is ongoing.
Anyone who installed ecto@5.0.1 should consider that environment compromised, rotate any accessible credentials, and rebuild it from a known-clean system. Version 5.0.1 will not be reused.
Actions and trusted publishing will remain disabled until the audit and hardening work is complete.