{"id":"RUSTSEC-2026-0039","aliases":["RUSTSEC-2026-0039"],"related":[],"kind":"vulnerability","state":"published","title":"`chrono_anchor` was removed from crates.io due to malicious code","summary":"The `chrono_anchor` crate attempted to exfiltrate `.env` files to a server that\nwas in turn impersonating the legitimate `timeapi.io` service.\n\nThe malicious crate had 1 version published on 2026-03-04 approximately 6 days\nbefore removal and had no evidence of actual downloads. There were no crates\ndepending on this crate on crates.io.\n\nThanks to [Socket][socket] for reporting this crate. They have published\n[a blog post][blog] about this recent campaign, and we advise users of\n`timeapi.io` to exercise caution when using crates to interact with that\nservice.\n\n[socket]: https://socket.dev\n[blog]: https://socket.dev/blog/5-malicious-rust-crates-posed-as-time-utilities-to-exfiltrate-env-files","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"The `chrono_anchor` crate attempted to exfiltrate `.env` files to a server that\nwas in turn impersonating the legitimate `timeapi.io` service.\n\nThe malicious crate had 1 version published on 2026-03-04 approximately 6 days\nbefore removal and had no evidence of actual downloads. There were no crates\ndepending on this crate on crates.io.\n\nThanks to [Socket][socket] for reporting this crate. They have published\n[a blog post][blog] about this recent campaign, and we advise users of\n`timeapi.io` to exercise caution when using crates to interact with that\nservice.\n\n[socket]: https://socket.dev\n[blog]: https://socket.dev/blog/5-malicious-rust-crates-posed-as-time-utilities-to-exfiltrate-env-files","format":"markdown","source":"rustsec"}],"published":"2026-03-10T12:00:00.000Z","modified":"2026-03-17T22:45:08.508Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"chrono_anchor","purl":"pkg:cargo/chrono_anchor","source":"rustsec"}],"references":[{"url":"https://crates.io/crates/chrono_anchor","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0039.html","tags":["advisory"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0039","url":"https://rustsec.org/advisories/RUSTSEC-2026-0039.html","licence":"CC0-1.0","modified":"2026-03-17T22:45:08.508Z"}],"updatedAt":"2026-11-25T22:56:43.315Z"}