🙋 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!
8
u/Sabageti 37m ago
Cargo audit ?
2
u/waterkip 34m ago
grype is a thing already?
1
u/fersegv 19m 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