Skip to content

Security and Stability

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

Security & Stability Considerations (sys2rust)

  1. Pure-Rust #![forbid(unsafe_code)] PE/Binary Parser (sys2rust-pe): Parses untrusted PE32/PE32+ executables, .rsrc trees, ICO/CUR streams, and ECMA-335 .NET metadata using checked byte slices only.
  2. Synchronous Kernel Pipe Deadlock Guard: proc_handles and proc_open_files isolate potentially blocking named-pipe / FILE_TYPE_PIPE queries under worker timeouts so enumerating hung processes never wedges the CLI, MCP server, or GUI.
  3. Zero Injection / R4 Compliance: Uses passive ETW, ToolHelp32, Wait Chain Traversal (WCT), and ReadProcessMemory read-only inspection with zero remote-thread injection or external DLL hooking (0 R4 violations).
  4. Fail-Closed Mutating Policy: Both CLI and MCP refuse mutating endpoints by default until explicit confirmation flags are passed.
  5. RDP & Admin UI Stability: sys2rust-win32 embeds ComCtl v6 6.0.0.0 app.manifest and uses native virtual SysListView32 rendering with zero WebView2 or GPU dependencies.

Clone this wiki locally