critical
`dnp3times` was removed from crates.io due to malicious code
- Severity
- critical rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2026-0032
Description
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.
The 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dnp3times (crates.io) | all versions, from 0.0.0-0 | GitHub Advisory Database, RustSec Advisory Database |
What each source says
GitHub Advisory Database
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.
The 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.
RustSec Advisory Database
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 time_calibrator and time_calibrators malware yesterday.
The 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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-xhw7-jhmp-j62j changed 2026-03-05 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2026-0032 changed 2026-03-17 | CC0-1.0 |