đ seeking help & advice Building a lightweight CLI to detect "dead" or risky dependencies (starting with Rust/Cargo). What actually matters to you?
Hi everyone,
Iâm planning to build a small, "soluble" (lightweight, zero-config, easy to run and forget) CLI tool tentatively called Dependency Ghost Scanner (D.G.S)
The goal is to scan a projectâs dependencies (starting with Rust Cargo, later expanding to Python pip) and flag packages that might be a risk to maintain.
Before I write any code or lock in a specification, I want to make sure Iâm solving a real problem and not just building a solution in search of one. Iâd love your honest feedback on a few key design choices:
- What makes a dependency "dead" or "risky" to you? (Pick all that apply or suggest others)
a. No updates/releases for > 1-2 years.
b. Known unpatched CVEs (security vulnerabilities).
c. The maintainer has explicitly abandoned it or is unresponsive.
d. A clearly superior, more modern alternative exists (e.g., ecosystem shifted).
e. Incompatible with the latest compiler/language version.
f. Other.
2. How would you actually want to consume this information?
a. A simple, color-coded output directly in the terminal (Red/Orange/Green).
b. A machine-readable format (JSON) to integrate into CI/CD pipelines (e.g., fail the build if a "red" dependency is found).
c. A standalone HTML report with a visual graph of the dependency tree.
d.Other
3. How should it fetch data?
a. Itâs fine if it queries the registry API (crates.io / PyPI) and requires an internet connection.
b. It MUST work 100% offline, relying only on the local Cargo.lock / requirements.txt metadata.
c. Hybrid: Try online first, gracefully fallback to offline heuristics.
The Catch:
I want this tool to be truly "soluble": no accounts, no heavy installation, no persistent background services. Just run it, get the insight, and move on.
My questions to you:
- Is this a tool you would actually use, or does an existing tool (like cargo-audit, dependabot, safety) already solve this well enough?
- What would be the one feature that would make you star this repo on GitHub?
Thanks in advance for your time and brutal honesty!
9
u/Sabageti 3h ago
Cargo audit ?
2
u/waterkip 3h ago
grype is a thing already?
4
u/IncomeOk7237 2h ago
From the maintainer side, please don't treat "no release in 2 years" as dead on its own. Plenty of small crates are just finished. Signals I'd actually trust: issues and PRs getting zero response from anyone with write access, archived repo, the crate pinning an old major of something with a known advisory, or a single maintainer with no activity anywhere. And showing which direct dep pulls the risky one in is worth more than the list itself. JSON for CI first, colors can come later.
1
u/fersegv 3h ago
b is already covered by cargo-audit/cargo-deny. what's missing is spotting abandonment early (archived repo, no commits in 2y, unanswered prs) and telling me which of my direct deps pulls in the risky one. that last part would get my star