AI NewsInfrastructureAnnouncement
Socket adds function-level reachability for Rust, with cargo build awareness
Socket released function-level reachability for Rust. The tool runs the real cargo build and says which bad functions a crate actually calls.

Why it mattersA Rust team with a known CVE in a dependency can see whether its own code reaches the bad function. The list of fixes gets shorter.
A Rust crate advisory flags every project that depends on the crate. Only some of those projects actually call the bad function. The rest have no path to it, and the fix can wait. Socket released a tool on 30 November 2026 that says which group a project is in.
The feature is called function-level reachability for Rust. It sits inside Socket's existing reachability product. The job is to trace a path from the application's own code down to the bad function in the advisory. The path passes through dependencies, macro expansions and compiler-generated code. If no path exists, the finding stops being a blocker. Jeppe Fredsgaard Blaabjerg of Socket wrote the post.
What build-aware means here
Socket says the analysis is build-aware. It reads the project's selected Rust toolchain, the cargo features that are enabled, and the target platform. It runs build scripts. It expands procedural macros. It follows calls through traits, closures, async tasks and foreign function boundaries. The project just has to be buildable. No custom toolchain or compiler plugin is needed.
Socket says the tool integrates with cargo through an existing flow. Extra build flags go through SOCKET_REACH_CARGO_OPTS. Socket says the tool supports Rust 1.74 and newer. Socket adapted rust-analyzer to cover Rust releases 1.74 through 1.100.
The numbers Socket ran
Socket tested the engine on seven open Rust projects: Cargo, ripgrep, Helix, Nushell, Alacritty, Typst and Zellij. Socket says the analysis identified 99.6 percent of functions a test suite ran, out of 39,591 observed. Socket says it also identified 99.6 percent of function calls, out of 79,163 observed. These are Socket's own figures.
Socket also measured the cost of leaving generated code out. The team left generated code out and measured what was missed. Across the tested applications, the analysis missed a median of 21 percent of reachable dependency functions. Macros and generated glue are where many Rust call paths live. A cheaper tool that skips them misses a fifth of the reach.
The example in the post
Socket's post walks through CVE-2026-25727, a stack exhaustion issue in the time crate when parsing RFC 2822 dates. A project that uses time for other things does not necessarily call RFC 2822 parsing. Socket says the tool reports exactly that: is the application's own code, through any chain of calls, going to reach the vulnerable parser.
Availability
Socket says the feature is available now to customers using full application reachability for Rust, with no configuration change. A triage queue a team used to work through advisory by advisory now has a filter in front of it. A finding with no reach can be closed. A finding with a reach needs to be fixed. Rust is the sixth language in Socket's reachability engine.
Source
This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.
Get AI News in your inbox
New developer tools, model and agent releases, and how teams are actually using them to release software. Short, and only when there is something worth reading.


