Add DOWN security scanner v0.2 with quarantine and browser fix #3984
ccantynzcommented Mar 30, 2026
Originally written by @vercel[bot] on GitHub.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| 48co-ai-pa | Mar 30, 2026 2:14am |
Cross-repo impact
See what breaks downstream if this PR merges.
⮌ Merged
This pull request was merged into main.
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts
Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/48co.v1/pull/53
Summary
This PR introduces the complete DOWN security scanner application - a lightweight, Rust-based Windows security tool that detects and removes malware, scareware, and potentially unwanted programs (PUPs). The scanner includes six detection modules, quarantine functionality, browser hijacking remediation, and signature-based threat detection.
Key Changes
Core Application Structure
main.rs): CLI-driven scanner with support for full scan, quick scan, nuke mode (aggressive removal), browser fixing, quarantine management, and signature updatesthreat.rs): Defines threat severity levels, categories, and actionable responses (kill process, quarantine file, remove startup entry, uninstall program, manual review)elevation.rs): Windows UAC elevation support for privileged operationsDetection Modules (6 scanners)
scanner/processes.rs): Detects known malware processes, suspicious execution paths, and cryptominers via CPU usage thresholdsscanner/startup.rs): Scans Windows registry Run keys and startup folders for persistence mechanismsscanner/files.rs): Identifies double-extension files (e.g.,invoice.pdf.exe), known malware hashes via SHA256, and suspicious executables in temp/download directoriesscanner/browser.rs): Audits Chrome, Edge, and Firefox extensions against known malicious IDs and excessive permission patternsscanner/network.rs): Checks hosts file tampering, DNS configuration, and connections to known bad IPs/domainsscanner/scareware.rs): Detects fake antivirus, fake optimizers, and Defender tampering attemptsThreat Management
quarantine.rs): Moves detected threats to a safe quarantine directory with JSON manifest tracking (ID, original path, threat name, timestamp). Supports file restoration by IDbrowser_fix.rs): Resets hijacked homepages, search engines, and removes malicious extensionsreport.rs): Colored terminal output with threat summaries and log file generationSignature Database
signatures/process_names.rs): 100+ known malware/scareware process signaturessignatures/hashes.rs): Known malware SHA256 hashes (WannaCry, etc.)signatures/extension_ids.rs): Malicious browser extension identifiers with permission analysissignatures/ip_blocklist.rs): Known C2 infrastructure, mining pools, and phishing domainsCLI Features
--scan: Full system scan across all modules--quick: Fast scan (processes + startup only)--nuke: Aggressive removal mode with admin elevation--quarantine: Scan and quarantine all threats--list-quarantine: Display quarantined items--restore <ID>: Restore a quarantined file--fix-browser: Remediate browser hijacking--update-sigs: Download latest threat signaturesNotable Implementation Details
#[cfg(windows)]macros; graceful fallbacks for non-Windows systemshttps://claude.ai/code/session_011nKTaokxXRNf4W53MVMjqW