GHSA-mh23-rw7f-v5pq
critical
`time-sync` was removed from crates.io due to malicious code
- Severity
- critical rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2026-0036
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| time-sync (crates.io) | all versions, from 0.0.0-0 | GitHub Advisory Database, RustSec Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-mh23-rw7f-v5pq changed 2026-03-06 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2026-0036 changed 2026-03-17 | CC0-1.0 |