Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

windowsweep

Latest version: v1.5.1

Overview

Last scanned
21 Nov 2026
Published
21 Nov 2026
npm package Publisher: aoneahsan
0 Stars
0 Forks
18 Versions
2.0K Downloads
TypeScript Repo language

Scan summary

windowsweep was last scanned on 21 Nov 2026 at version 1.5.1. Risk score 40 of 100 (medium). No malicious behavior was detected.

  • Releases: 18 versions; the latest was published on 21 Nov 2026.
  • Findings: 1 rule fired in version 1.5.1 (1 medium). The score describes this version only.
  • Downloads: 1,951 downloads.

Versions

18 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.5.1 LATEST 21 Nov 2026 1 rule fired
1.5.0 14 Nov 2026 1 rule fired
1.4.8 12 Nov 2026 1 rule fired
1.4.7 11 Nov 2026 Not shown
1.4.6 8 Nov 2026 Not shown

Rules fired in 1.5.1: 1

Findings

1 Medium

Findings for v1.5.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Windows event logs cleared, including the Security and PowerShell logs

Code clears the Windows event logs (wevtutil cl, Clear-EventLog) while naming the Security, PowerShell, Defender or Sysmon logs, or every log it enumerates. Those logs are what an investigation reads first, and clearing them removes the record of what ran on the machine. System cleaners and some admin scripts do it on purpose, so on its own it only calls for a review.

MEDIUM
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 1.5.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

npm version downloads license node platform

Website · Docs · AI Guide · npm · GitHub · Changelog · Contributing · Support

📦 Available on \

Where Link
npm windowsweep
Windows desktop app windowsweep-setup.exe
Website windowsweep.aoneahsan.com
Docs windowsweep-docs.aoneahsan.com
Everything All apps

[!IMPORTANT] This tool deletes files. Most of what it removes are caches that rebuild themselves; personal files it lists go to the Recycle Bin; emptying the Recycle Bin and clearing event logs have no undo. Those two sit behind --i-understand-deep, along with the hibernation file and disk-image compaction. Start with npx windowsweep --scan, which deletes nothing, then npx windowsweep --dry-run --all --yes, which shows exactly what a real run would remove. Removing a program or Store app you select in section 26 is permanent too. Windows only - npm refuses to install it elsewhere.

What it reclaims is the disk space that quietly disappears on a Windows machine: package-manager and build caches, browser and app caches, Windows temp and update leftovers, stale node_modules, half-finished downloads. It names every path before it touches one, keeps the caches you used in the last 100 days, never follows a junction, and its cleanup never touches the network: only sections 30-32, for the rows you pick, ask Windows Update or winget to download. One question on the first run decides whether your developer caches are pruned on the idle gate or cleared completely. A PowerShell engine sits behind a thin Node launcher, so npx windowsweep runs it with nothing to install. It is the Windows member of a family with linux-cleanup and macleanup.

Version 1.5.1
License MIT
Node >=14 (launcher only)
Runtime Windows PowerShell 5.1 (built in) or PowerShell 7
Platforms Windows 10 (1809+) and Windows 11
Install size ~201 kB packed · ~676 kB unpacked · 61 files · no dependencies
Undo Recycle Bin for personal files; none for caches (they regenerate)
Status Stable · 1.5.0, released 2026-11-14

🧭 Table of Contents \

  • 📦 Available on
  • 💡 Why windowsweep
  • ✨ Features
  • 📱 Platform Support
  • 📋 Requirements
  • 📦 Installation
  • 🚀 Quick Start
  • 🛠️ Usage
  • ⚙️ Configuration
  • 💻 Command Line
  • 🧪 Examples
  • 🎛️ Advanced Features
  • 🖥️ Desktop app
  • 🚑 Recovery & Troubleshooting
  • 🚧 Limitations
  • ❓ FAQ
  • 📚 Documentation
  • 🔄 Changelog
  • 🤝 Contributing
  • 🗂️ Repository
  • 💬 Support
  • 📄 License
  • 👤 Author
  • 🔗 Links
  • 🏷️ Keywords

💡 Why windowsweep \

A Windows machine that is also a development machine fills up in places Disk Cleanup has never heard of: the Yarn and npm caches, Gradle, Cypress and Playwright browsers, Android emulator images, Docker's virtual disk, node_modules for a project you finished in spring, editor caches, two hundred profiles' worth of Chrome cache. Clearing them by hand means keeping a private list of paths and remembering which ones bite back.

A cleaner that clears every cache it finds trades one problem for another: the next yarn install downloads the lot again, and your afternoon is gone. windowsweep takes the narrower path.

windowsweep Windows Disk Cleanup / Storage Sense A wipe-everything cleaner
Knows developer caches yarn, npm, pnpm, Gradle, Cypress, Playwright, AVDs, Docker, editors no some
Default action prune files idle 100+ days; keep the newest version of every tool fixed categories wipe the whole cache
Personal folders Downloads and folders you add are scanned for large or old files; only chosen files go to the Recycle Bin out of scope usually configurable
Junctions and symlinks never followed n/a varies
Dry-run every section, exact estimate no sometimes
Unattended use --all --yes, Scheduled Task Storage Sense GUI-first
Network calls none of its own; sections 30-32 hand the rows you pick to Windows Update or winget Microsoft telemetry varies

Nothing here can promise a number. How much comes back depends on your disk; --scan measures it.

Not the right tool when you want a set-and-forget cleaner that runs itself; when you are on Linux or macOS (use the siblings); when you want an undo for caches (there is none - they regenerate); or when you are looking for a security scanner or a registry cleaner (it removes registry entries only for programs already gone, and only the rows you pick). The rest of what it cannot do is under Limitations. It reclaims disk space and installs the updates you pick, nothing else.

✨ Features \

  • Developer mode - one question on the first run. Yes keeps package, build and test-runner caches used in the last 100 days and the newest version of every versioned tool; no clears them completely.
  • 26 numbered sections - from package-manager caches to Windows Update leftovers, plus three read-only audits (global packages, idle programs, startup items) that report and delete nothing. Orphaned application data is a fourth 1.1.0 section and is not an audit: it asks you to pick, row by row, and what you pick goes to the Recycle Bin. Three 1.5.0 sections, 30-32, install the Windows, driver and app updates you pick. Every section names its paths before it acts, and the numbers are a public contract.
  • One deletion chokepoint - refuses drive roots, Windows, Program Files, your profile root, personal folders,
  • credentials, toolchains and browser or editor state; asserts every deletion sits inside its declared target; never
  • follows a junction or symlink; handles paths beyond 260 characters; skips files another program has open. Self-test
  • check [6] walks every directory and file target and fails if one resolves inside a protected path.
  • A dry-run that writes nothing - --dry-run short-circuits every deletion and every destructive command and reports an exact estimate. --scan and --list-targets are read-only.
  • Personal files go to the Recycle Bin - partial downloads and large or old files are listed, you pick, and Windows keeps the undo.
  • Batch policy - --all runs the safe batch only; deep sections need --i-understand-deep; personal sections never run unattended.
  • Admin awareness - sections that need Administrator rights skip with the exact command when the console is not elevated; --elevate relaunches through a UAC prompt.
  • Running-app guard - an open browser, editor or app keeps its caches; the tool tells you which to close.
  • Session reports - schema-versioned JSON, exportable to Markdown or a self-contained HTML page, plus --json for scripts.
  • Self-test - 256 checks prove the guards on your machine with a real junction, a path longer than 260 characters and a dry-run fixture before you trust it.
  • Sends nothing - cleanup never touches the network, and the engine's own code holds no network call: no telemetry, no update check of its own. Self-test check [9] fails the build on an HTTP or socket call in the source. Only sections 30-32, for the rows you pick, ask Windows Update or winget to download. Crash bundles stay on disk.

📱 Platform Support \

Platform Supported Notes
Windows 11 ✅ Same engine and PowerShell hosts; a real run on Windows 11 is on the verification list (project status)
Windows 10 (1809 and later) ✅ The primary development target; every real run so far
Windows Server 2019+ ⚠️ Uses nothing newer than 1809; no real cleanup has been verified on Server
Linux ❌ os: ["win32"] makes npm refuse to install; use linux-cleanup
macOS ❌ Use macleanup

📋 Requirements \

Requirement Version Why
Windows PowerShell 5.1 Ships with Windows 10 and 11; the engine is written for it. PowerShell 7 also works (--pwsh)
Node.js >=14 Only for npx and npm install -g. The .cmd launcher and windowsweep.ps1 need no Node
Administrator rights optional Sections 12-16, 20, 27 and 29; installing in 30 and 31; a program installed for all users in 26
docker optional Section 5 only
winget optional Section 32; section 24 also reads winget list

windowsweep --self-test reports which optional tools are missing on your machine.

📦 Installation \

No install needed:

npx windowsweep --scan

To keep it on your PATH:

npm install -g windowsweep

Or clone the repository and run it without Node:

git clone https://github.com/aoneahsan/windowsweep.git
cd windowsweep
.\windowsweep.cmd --self-test

Both launchers start PowerShell with -ExecutionPolicy Bypass, so the machine's script policy never blocks a run. Logs and reports land in %USERPROFILE%\.windowsweep\ on every path - outside the npm cache, so history survives npx evictions. Full detail: Installation.

🚀 Quick Start \

Prove the guards, look, rehearse, then reclaim:

npx windowsweep --self-test
npx windowsweep --scan
npx windowsweep --dry-run --all --yes
npx windowsweep

The last command is the guided walkthrough: it asks the developer question, shows a pre-scan, then visits each section with a run / s skip / q quit and a running total.

🛠️ Usage \

The sections

This table describes version 1.5.0.

Tier says what happens to the data: report deletes nothing, rebuilds comes back on its own, slow comes back but costs minutes, Recycle Bin is recoverable until you empty it (--list shows this tier as recycle), permanent is not, config changes a setting, update installs what Windows Update or winget downloads for the rows you pick.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm windowsweep

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229