feat: add Socket tier 1 reachability analysis support #125
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Socket tier 1 reachability analysis support to the Python CLI, enabling users to analyze which vulnerable functions in their dependencies are actually reachable from their code.
Why?
Reachability analysis helps teams prioritize security vulnerabilities by identifying which ones are actually exploitable in their codebase. This reduces alert fatigue by focusing on vulnerabilities in code paths that are actually used, rather than all theoretical vulnerabilities in dependencies. The feature integrates Coana's reachability engine via the
--reachflag, automatically checking dependencies, installing required tools, and submitting analysis results to Socket for enhanced vulnerability assessment.Key benefits:
--only-facts-filemodePublic Changelog
Added reachability analysis support with new
--reachflag. Enable reachability analysis to identify which vulnerable functions in your dependencies are actually called by your code. Requires uv, npm, and npx. Use--only-facts-fileto submit only reachability results to an existing scan.