Skip to content

Security and Stability

Andrew Paolucci edited this page Nov 26, 2026 · 1 revision

Security & Stability Considerations (net2rust)

  1. Zero Credential Recovery & Plaintext WLAN Keys (R4): net2rust strictly prohibits extracting browser/OS passwords, session credentials, or WLAN_PROFILE_GET_PLAINTEXT_KEY (0x0000_0004) secrets. <keyMaterial> XML elements and sensitive cookie/auth headers are redacted or omitted (0 R4 violations verified by guap-e2e).
  2. Checked Pure-Rust Packet Dissectors: capture protocol dissectors parse PCAP/PCAPNG headers, Ethernet/IPv4/IPv6/TCP/UDP/DNS/DHCP/mDNS/802.11 RadioTap frames safely against malformed lengths without panicking.
  3. Fail-Closed Mutating Policy: Active socket closures, route changes, WoL magic packets, DNS updates, and WLAN toggles stay gated behind --allow-mutating on CLI and -32003 PolicyMode::ReadOnlyOnly in MCP.
  4. Safe Core & GUI Hardening: net2rust-core, report, mcp, cli, win32 main.rs, and iced main.rs enforce #![forbid(unsafe_code)]; net2rust-win32 embeds ComCtl v6 manifests for Admin/RDP stability.

Clone this wiki locally