Repository navigation
R4 Compliance Scanner
Andrew Paolucci edited this page Nov 28, 2026
·
1 revision
e2e-r4 enforces the strict R4 non-credential, non-hooking, clean-room boundary across all 13 public GUAP code workspaces (guap, guap-kit, guap-e2e, forensics2rust, sys2rust, net2rust, fs2rust, winctl2rust, mail2rust, mail2mail, chrome2rust, android2rust, and robocopy2rust) before release.
-
Filesystem, Manifests & Scripts (
surface_fs.rs): AuditsCargo.tomldependencies and source/script files (.rs,.py,.ps1,.sh,.c,.h,.ts,.js) across all 13 target GUAP workspaces (excludingguap-e2eande2e_harnessself-definitions, with generic directory exclusion support via--exclude-dir,R4_EXCLUDE_DIRS, and.r4ignore). -
Rust AST Taint Analysis (
rust_ast.rs): Usessynto inspect concrete Rust AST symbols, FFI extern blocks, and constant bitflags without fragile regex false positives. -
Compiled Binary String Scans (
surface_bin.rs): Inspects built PE (.exe/.dll), ELF (\x7fELF,.so/.so.<ver>), and Mach-O (32/64-bit and universal/fat.dylib/executables) binaries for bothASCIIandUTF-16LEprohibited imports/strings. -
Live CLI Probing (
surface_cli_mcp.rs): Probes top-level and subcommand--helptrees across compiled executables and Python scripts (mail2mcp.py) to ensure no prohibited subcommands appear. -
Live MCP Schema & Dispatch Probing (
surface_cli_mcp.rs): Verifiesmcp --toolsJSON schemas and runtime responses expose zero credential-dumping or process-injection tools.
-
Credential & Plaintext Secret Prohibitions (
R4-CRED-01..02,R4-API-CRED-01..08): Blockscred2rust, password/secret dumping,CryptUnprotectData,VaultEnumerateItems,CredEnumerateW,CredReadW/CredReadDomainCredentialsW,LsaRetrievePrivateData,LsaOpenSecret,WLAN_PROFILE_GET_PLAINTEXT_KEY(0x0000_0004), and unredacted<keyMaterial>. -
Injection, API Hooking & Process Hollowing Prohibitions (
R4-INJ-01..06): BlocksCreateRemoteThread,NtCreateThreadEx,QueueUserAPC, external-DLLSetWindowsHookExW, cross-processWriteProcessMemory,SetThreadContext,NtUnmapViewOfSection/ZwUnmapViewOfSection, Detours/minhook/IAT patching, andRunAsDate. -
Retired Legacy Tool Exclusions (
R4-LEGACY-01..39): Verifies zero re-introduction of any of the 39 permanently excluded legacy Windows utilities. -
R4-BASELINE-CHROME: Tracks documented pre-existing classification-only references without permitting regressions.
guap-e2e (v0.1.0) • GUAP Ecosystem (guap.ca) • 4 Crates • 79 Fixtures • 396 M6 Checks • 56 R4 Rules • Rust 2024 Edition (1.89+) • Apache-2.0 License • Repository