Summary
The project depends on the dotenv crate at v0.15.0, which has been unmaintained since 2019. The actively maintained fork is dotenvy.
Location
- File:
Cargo.toml
- Line(s): 15
Severity
Medium
Details
The dotenv crate (last published 2019) is officially unmaintained. It has known parsing limitations (no multi-line values, no \n escape in quoted values) and has had no security patches in 6 years. Using an unmaintained crate that handles credential loading is against security best practices.
Suggested Fix
Replace in Cargo.toml:
# Before:
dotenv = "0.15"
# After:
dotenvy = "0.15"
Update the import:
// Before: dotenv::dotenv().ok();
// After: dotenvy::dotenv().ok();
Automated finding by repo-monitor
Summary
The project depends on the
dotenvcrate at v0.15.0, which has been unmaintained since 2019. The actively maintained fork isdotenvy.Location
Cargo.tomlSeverity
Medium
Details
The
dotenvcrate (last published 2019) is officially unmaintained. It has known parsing limitations (no multi-line values, no\nescape in quoted values) and has had no security patches in 6 years. Using an unmaintained crate that handles credential loading is against security best practices.Suggested Fix
Replace in
Cargo.toml:Update the import:
Automated finding by repo-monitor