# RUSTSEC-2026-0039: chrono\_anchor was removed from crates.io due to malicious code

- Database: RustSec
- Published: 2026-03-10
- Modified: 2026-03-17

## Affected versions

- chrono\_anchor (crates.io): all versions

## 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

## References

- https://crates.io/crates/chrono_anchor
- https://rustsec.org/advisories/RUSTSEC-2026-0039.html

Page: https://cve.now/RUSTSEC-2026-0039

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
