npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

nox-openclaw-hunter

v1.0.3

Published

OpenClaw Detection & Removal CLI by OpenClaw Hunter

Readme

OpenClaw Hunter

OpenClaw Hunter

Hunt, purge, and isolate OpenClaw AI agents across your fleet.

TL;DR — This tool works with all MDMs or locally on your endpoint: use npm for local install and scripts for MDM deployment.


Installation

npm install -g nox-openclaw-hunter
git clone https://github.com/Arampc/OpenClaw-Hunter.git
cd OpenClaw-Hunter
npm install && npm run build && npm link

Deploy via your MDM (Jamf, Intune, JumpCloud) using the script sources below. Upload the script to your MDM as a command/policy, then assign to device groups. See MDM Deployment for platform-specific steps.

| Script | Platform | Source | |--------|----------|--------| | Scan (detect) | macOS / Linux | nox-scan.sh | | Scan (detect) | Windows | nox-scan.ps1 | | Purge | macOS / Linux | nox-purge.sh | | Purge | Windows | nox-purge.ps1 |

Requires Node.js 18+


Commands

nox scan

Hunt for OpenClaw installations on the system.

nox scan                    # Scan current user
nox scan --all-users        # Scan all users (requires sudo)
nox scan --json             # Output as JSON
nox scan --yaml             # Output as YAML

Example output (when OpenClaw is detected):

┌────────────────────┬──────────────────────────────────────────────────┐
│ Status             │ Installed & Running                              │
├────────────────────┼──────────────────────────────────────────────────┤
│ Hostname           │ {Hostname}                                       │
├────────────────────┼──────────────────────────────────────────────────┤
│ Platform           │ {Type}                                           │
├────────────────────┼──────────────────────────────────────────────────┤
│ Timestamp          │ 2026-02-04T13:35:09.008Z                         │
└────────────────────┴──────────────────────────────────────────────────┘

Detection Details:
┌───────────────┬───────────────┬────────────────────────────────────────┐
│ Component     │ Status        │ Details                                │
├───────────────┼───────────────┼────────────────────────────────────────┤
│ CLI Binary    │ Found         │ /Users/{path}                          │
├───────────────┼───────────────┼────────────────────────────────────────┤
│ App Bundle    │ {}            │ -                                      │
├───────────────┼───────────────┼────────────────────────────────────────┤
│ State Dir     │ Found         │ /Users/{path}/.openclaw                │
├───────────────┼───────────────┼────────────────────────────────────────┤
│ Config        │ Found         │ /Users/{path}/.openclaw/opencl…        │
├───────────────┼───────────────┼────────────────────────────────────────┤
│ AI Model      │ Configured    │ google/gemini-3-flash-preview (e.g.)   │
├───────────────┼───────────────┼────────────────────────────────────────┤
│ Autonomous    │ ENABLED       │ Agent has autonomous execution         │
├───────────────┼───────────────┼────────────────────────────────────────┤
│ Service       │ Running       │ ai.openclaw.gateway                    │
├───────────────┼───────────────┼────────────────────────────────────────┤
│ Gateway       │ Listening     │ Port 18789                             │
├───────────────┼───────────────┼────────────────────────────────────────┤
│ Docker        │ Not found     │ -                                      │
└───────────────┴───────────────┴────────────────────────────────────────┘

Agent Permissions:
┌──────────────────────────────────────────────────┐
│ Granted Permissions                              │
├──────────────────────────────────────────────────┤
│ workspace: /Users/{path}/.openclaw/works…        │
└──────────────────────────────────────────────────┘

Running Processes:
┌──────┬──────────────────┬──────┬─────────┐
│ PID  │ Name             │ User │ Memory  │
├──────┼──────────────────┼──────┼─────────┤
│ 6688 │ openclaw-gateway │ -    │ 385.1MB │
├──────┼──────────────────┼──────┼─────────┤
│ 4861 │ openclaw         │ -    │ 54.9MB  │
├──────┼──────────────────┼──────┼─────────┤
│ 4888 │ openclaw-onboard │ -    │ 381.8MB │
└──────┴──────────────────┴──────┴─────────┘

nox purge

Purge all OpenClaw components from the system.

nox purge --dry-run         # Preview what will be purged
sudo nox purge              # Execute purge
sudo nox purge --force      # Skip confirmation

Example output (after a successful purge):

Enforcement Results:

┌────────────────┬────────────────────────────────┬──────────┬────────────┐
│ Action         │ Target                         │ Status   │ Details    │
├────────────────┼────────────────────────────────┼──────────┼────────────┤
│ process-kill   │ openclaw-gateway               │ Success  │            │
├────────────────┼────────────────────────────────┼──────────┼────────────┤
│ process-kill   │ openclaw                       │ Success  │            │
├────────────────┼────────────────────────────────┼──────────┼────────────┤
│ process-kill   │ openclaw-onboard               │ Success  │            │
├────────────────┼────────────────────────────────┼──────────┼────────────┤
│ service-stop   │ ai.openclaw.gateway            │ Success  │            │
├────────────────┼────────────────────────────────┼──────────┼────────────┤
│ binary-remove  │ /usr/local/bin/openclaw        │ Success  │            │
├────────────────┼────────────────────────────────┼──────────┼────────────┤
│ config-remove  │ /Users/{user}/.openclaw        │ Success  │            │
└────────────────┴────────────────────────────────┴──────────┴────────────┘

Summary:
  Total: 6
  Success: 6
  Failed: 0
  Skipped: 0

nox isolate

Isolate the device by blocking ports, quarantining files, and preventing reinstallation.

nox isolate --dry-run       # Preview isolation actions
sudo nox isolate            # Apply isolation
sudo nox isolate revert     # Revert isolation
nox isolate list            # List quarantined items

nox export

Generate MDM deployment scripts for fleet-wide hunting.

nox export --platform jamf --mode detect
nox export --platform intune --mode purge
nox export --platform jumpcloud --mode detect --webhook https://siem.example.com

Supported platforms: jamf, intune, jumpcloud


What It Detects

| Component | Detection Method | |-----------|------------------| | CLI Binary | Known paths, which lookup | | App Bundle | /Applications/OpenClaw.app (macOS) | | Config | ~/.openclaw, ~/.clawdbot, ~/.moltbot | | Gateway | TCP port scan (auto-detects port) | | Processes | Process name matching | | Service | launchctl / systemctl / sc | | Docker | Containers and images |


MDM Deployment

OpenClaw Hunter can be deployed across your fleet via MDM (Mobile Device Management). Use nox export to generate scripts (or download the scripts nox-scan, nox-purge.sh), then add them to your MDM.

Supported MDMs:

| MDM | Platforms | Modes | |-----|-----------|--------| | Jamf | macOS | detect, purge | | Intune | Windows, macOS | detect, purge | | JumpCloud | Windows, macOS, Linux | detect, purge (enforce) |

JumpCloud

JumpCloud Commands

Step 1 — Use the scripts

Use nox-scan.sh and nox-scan.ps1 for detection, and nox-purge.sh and nox-purge.ps1 for purge.


Step 2 — Create a command in JumpCloud

| # | What to do | |---|------------| | 1 | In JumpCloud go to Device Management → Commands. | | 2 | Click + (Add Command). | | 3 | Name: e.g. Nox OpenClaw Detection (macOS). | | 4 | Command: Paste the full contents of nox-scan.sh. | | 5 | Command Type: Mac (or Linux / Windows for the matching script). | | 6 | Run As: Root (required for full detection). | | 7 | Timeout: 120 seconds. | | 8 | Launch Options: Trigger (e.g. nox-openclaw-detect) or Schedule (e.g. daily). | | 9 | Click Save. |


Step 3 — Repeat for each OS (and optionally purge)

| OS | Command type | Script | |----|--------------|--------| | macOS | Mac | nox-scan.sh | | Linux | Linux | nox-scan.sh | | Windows | Windows, Shell = PowerShell, Run As = Administrator | nox-scan.ps1 |

For purge, use nox-purge.sh / nox-purge.ps1; set Timeout to 300 seconds.


Step 4 — Assign to devices

Open the command → Device Groups or Systems tab → select the groups or systems → Save.


Step 5 — Run the command

  • Manual run: Open the command → Systems tab → select one or more systems → Run (or use Run from the Commands list).
  • Scheduled: If you set a Schedule in Step 2, the command runs automatically (e.g. daily).
  • Trigger: If you set a Trigger, run it via the JumpCloud API using the trigger name.
  • View results: Open the command → Results tab to see exit codes and output per system (e.g. 0 = clean, 1 = OpenClaw detected).

Exit Codes

| Code | Status | Description | |------|--------|-------------| | 0 | CLEAN | Not detected | | 1 | DETECTED | OpenClaw found | | 2 | ERROR | Runtime error | | 3 | REMEDIATED | Purge successful | | 4 | PURGE_FAILED | Purge failed | | 5 | ISOLATED | Isolation applied |


Platform Support

  • macOS — Full support (CLI, app bundle, launchd services)
  • Linux — Full support (CLI, systemd services)
  • Windows — Full support (CLI, Windows services)

License

MIT


Support: [email protected], [email protected]
Issues: github.com/Arampc/OpenClaw-Hunter/issues


OpenClaw Hunter ©