{"id":"GHSA-xhw7-jhmp-j62j","aliases":["GHSA-xhw7-jhmp-j62j","RUSTSEC-2026-0032"],"related":[],"kind":"vulnerability","state":"published","title":"`dnp3times` was removed from crates.io due to malicious code","summary":"The `dnp3times` crate attempted to exfiltrate `.env` files to a server that was in turn impersonating the legitimate `timeapi.io` service. It was loosely trying to typosquat the `dnp3time` crate, but otherwise was the same attack as the recent `time_calibrator` and `time_calibrators` malware.\n\nThe malicious crate had 1 version published on 2026-03-04 approximately 6 hours before removal and had no evidence of actual downloads. There were no crates depending on this crate on crates.io.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"The `dnp3times` crate attempted to exfiltrate `.env` files to a server that was in turn impersonating the legitimate `timeapi.io` service. It was loosely trying to typosquat the `dnp3time` crate, but otherwise was the same attack as the recent `time_calibrator` and `time_calibrators` malware.\n\nThe malicious crate had 1 version published on 2026-03-04 approximately 6 hours before removal and had no evidence of actual downloads. There were no crates depending on this crate on crates.io.","format":"markdown","source":"ghsa"},{"lang":"en","text":"The `dnp3times` crate attempted to exfiltrate `.env` files to a server\nthat was in turn impersonating the legitimate `timeapi.io` service. It was\nloosely trying to typosquat the `dnp3time` crate, but otherwise was the same\nattack as the `time_calibrator` and `time_calibrators` malware yesterday.\n\nThe malicious crate had 1 version published on 2026-03-04 approximately 6 hours\nbefore removal and had no evidence of actual downloads. There were no crates\ndepending on this crate on crates.io.","format":"markdown","source":"rustsec"}],"published":"2026-03-04T12:00:00.000Z","modified":"2026-03-17T22:45:08.422Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"crates.io","package":"dnp3times","purl":"pkg:cargo/dnp3times","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"dnp3times","purl":"pkg:cargo/dnp3times","source":"rustsec"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0032.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/dnp3times","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xhw7-jhmp-j62j","url":"https://github.com/advisories/GHSA-xhw7-jhmp-j62j","licence":"CC-BY-4.0","modified":"2026-03-05T06:11:18.700Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0032","url":"https://rustsec.org/advisories/RUSTSEC-2026-0032.html","licence":"CC0-1.0","modified":"2026-03-17T22:45:08.422Z"}],"updatedAt":"2026-11-25T22:56:43.311Z"}