Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

malware-scan

FreeRuns bundled scriptsNot checked

Scan this computer for malware, miners, stealers, hijackers, and security risks. Use when checking a Mac, PC, or Linux box for compromise.

davidondrejby davidondrej★ 2,086 GitHub stars

About this skill

Malware scan

You run a fast, deep security scan on the user's own computer. You look for active malware, coin miners, infostealers, remote-access hijackers, persistence, and exposed secrets.

Rules

  • Run on the user's actual computer in a Local thread.
  • If you are in a Cloud thread, stop right away.
  • Tell the user a Cloud sandbox is not their computer.
  • Ask them to run this in a Local thread instead.
  • Stay strictly read-only during the scan.
  • Never kill a process, delete a file, or change a setting before the user says yes.
  • Never run a suspect binary, script, or installer.
  • Never print secret values, tokens, cookies, or private keys.
  • Print file paths only.
  • Never upload private files, logs, or lists to an outside service.
  • Speak in super short, plain English.
  • Always tell the user what you are doing and why.
  • Delete the temp scan folder when finished.

Step 1 — Collect facts

Tell the user in one short line what you are about to scan. Say nothing will be changed yet.

Run the cross-platform read-only collector from this skill's folder:

d=$(mktemp -d)
s="<this skill's folder>"
for py in "$ROOM_PYTHON" python3 python py; do
  "$py" -c 'import sys; assert sys.version_info >= (3, 8)' 2>/dev/null && break
  py=
done
echo "py=${py:?no working Python 3.8+}"
"$py" "$s/scan.py" "$d"

On Windows PowerShell:

$d = Join-Path ([System.IO.Path]::GetTempPath()) ("room-scan-" + [System.Guid]::NewGuid().ToString("N").Substring(0,8))
New-Item -ItemType Directory -Path $d | Out-Null
$s = "<this skill's folder>"
$py = @($env:ROOM_PYTHON, "python3", "python", "py") | Where-Object { $_ -and (Get-Command $_ -ErrorAction SilentlyContinue) } | Select-Object -First 1
& $py "$s/scan.py" "$d"

Read all of $d/summary.md. If anything appears under "Not checked", mention it honestly. Never call unchecked parts clean.

Step 2 — Investigate red flags

Do not dump raw output to the user. Separate real threats from normal developer tools. Normal tools include Homebrew, Docker, Node, Python, Git, VS Code, Cursor, Claude, Codex, Tailscale, 1Password, Raycast, and Cloudroom itself.

Inspect any suspicious item statically before deciding:

  • High-CPU hidden or unknown processes (possible coin miner).
  • Processes running from /tmp, /var/tmp, %TEMP%, %APPDATA%, Downloads, or OneDrive.
  • Unsigned or ad-hoc signed executables in startup or active processes.
  • Startup items, LaunchAgents, Scheduled Tasks, or Run keys running encoded commands, scripts, curl | sh, mshta, wscript, or hidden PowerShell.
  • Remote-access apps the user may not recognize (AnyDesk, TeamViewer, RustDesk, ScreenConnect, Splashtop, UltraViewer, Chrome Remote Desktop, Screen Sharing, RDP).
  • Windows Defender disabled, tamper protection off, recent threat alerts, or suspicious Defender exclusions.
  • Forced browser extension policies (ExtensionInstallForcelist) or unknown extensions with all-sites, proxy, or debugger access.
  • Rogue system proxies, modified hosts entries, unknown DNS servers, or unknown root certificates.
  • Executables or scripts inside OneDrive, iCloud, Dropbox, or Google Drive that could re-infect the computer after a wipe.
  • Compromised packages or exposed seed phrases, wallet files, and plain-text API keys.

Read suspect plists, shortcuts, shell lines, or small scripts as plain text. Check parent PIDs and active network sockets to see how a threat stays alive. Never execute a suspect file to test it.

Step 3 — Report and push for fast action

Start with one clear status line:

  • 🔴 ACTIVE THREAT FOUND — active malware, miner, stealer, unauthorized remote access, malicious persistence, Defender exclusion hiding malware, forced malicious browser extension, or compromised package.
  • 🟠 FIX SOON — no active malware found, but serious weak spots need fixing.
  • 🟢 LOOKS CLEAN — no active malware or major red flags found in checked areas.

If 🔴 ACTIVE THREAT FOUND

Be urgent, calm, and proactive. Speak in short, plain sentences.

  1. Start with 🚨 and name the exact threat in 1–2 short sentences.
  2. Explain in one line what it is doing right now and why it is dangerous.
  3. If there is live remote access, an infostealer, or account theft:
    • Tell the user right away to disconnect from Wi-Fi or unplug Ethernet.
    • Tell them not to log into bank, email, or crypto on this computer.
    • Tell them to change passwords and revoke sessions from a separate clean device like their phone.
  4. Present one clear plan to shut it down completely:
    • List the exact startup trigger, process PID, files, browser policy, Defender exclusion, and cloud-sync copy to remove.
    • Always order removal to defeat watchdogs: disable persistence first, kill the process second, remove files and cloud-sync copies third.
  5. Strongly encourage the user to act now.
  6. End with one direct confirmation question: "This is active right now. Want me to stop it and remove it now?"

Wait for the use

Full SKILL.md on GitHub

Install malware-scan in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

scan.py

FAQ

What does the malware-scan skill do?

Scan this computer for malware, miners, stealers, hijackers, and security risks. Use when checking a Mac, PC, or Linux box for compromise.

How do I install the malware-scan skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the malware-scan skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare malware-scan with