Skip to content
OpenAdvisories
Unscored RUSTSEC-2026-0039

`chrono_anchor` was removed from crates.io due to malicious code

Published Mar 10, 2026 · Updated Mar 17, 2026 · Assigned by RUSTSEC

Description

The `chrono_anchor` crate attempted to exfiltrate `.env` files to a server that
was in turn impersonating the legitimate `timeapi.io` service.

The malicious crate had 1 version published on 2026-03-04 approximately 6 days
before removal and had no evidence of actual downloads. There were no crates
depending on this crate on crates.io.

Thanks to [Socket][socket] for reporting this crate. They have published
[a blog post][blog] about this recent campaign, and we advise users of
`timeapi.io` to exercise caution when using crates to interact with that
service.

[socket]: https://socket.dev
[blog]: https://socket.dev/blog/5-malicious-rust-crates-posed-as-time-utilities-to-exfiltrate-env-files

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io chrono_anchor >= 0.0.0-0 — RUSTSEC-2026-0039

References