GitHub Advisoryadvisory · crates.io
GHSA-mh23-rw7f-v5pq `time-sync` was removed from crates.io due to malicious code
CRITICAL
Official page ↗
- Ecosystem
- crates.io
- Packages
- time-sync
- Severity
- Critical
- Reviewed
- 2026-03-05
Affected packages
• crates.io time-sync: all versions (no fix yet)
Description
The `time-sync` crate attempted to exfiltrate `.env` files to a server that was in turn impersonating the legitimate `timeapi.io` service. This the same attack that we've seen three times in the last few days.
The malicious crate had 1 version published on 2026-03-04 approximately 50 minutes before removal and had no evidence of actual downloads. There were no crates depending on this crate on crates.io.