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

@falconhunter-sec/agent

v0.1.0

Published

FalconHunter Kali agent — connects your Kali box to the FalconHunter dashboard for live, push-style command execution and real-time stdout streaming.

Readme

@falconhunter-sec/agent

Live push-style Kali agent for the FalconHunter dashboard. Replaces the legacy bash poller with a Node.js client that:

  • dispatches commands <500 ms after the dashboard queues them
  • streams stdout line-by-line to the dashboard's terminal pane while the command is still running (no more waiting for nmap to finish to see output)
  • handles long-running scans (20–30 min nuclei / sqlmap / nmap) without hitting any server request timeout
  • runs many commands in parallel
  • needs only outbound HTTPS — no inbound ports, NAT-safe

Quick start

On your Kali box:

npx -y @falconhunter-sec/agent@latest --token sk_kali_XXXX --server https://your-app.example

Copy the exact command from the dashboard's Connect your Kali screen — it already includes both --token and --server filled in for your account.

Ctrl+C to stop. Re-running picks up where it left off.

Options

| Flag | Default | Description | | ---------------- | ------- | ---------------------------------------------------------- | | --token, -t | — | Install token from the dashboard (sk_kali_…) | | --server, -s | — | FalconHunter server origin | | --poll | 500 | Dispatch poll interval in ms (min 150) | | --debug, -d | off | Verbose logs |

Env equivalents: FALCONHUNTER_TOKEN, FALCONHUNTER_SERVER.

How it works

┌─────────────┐  POST /api/public/agent/checkin (every 500ms)     ┌──────────┐
│  Kali (npx) │ ◄──── new pending commands (JSON batch) ───────── │  Server  │
│   Node 18+  │                                                   │ (worker) │
│             │  POST /api/public/agent/chunk (every ~750ms)      │          │
│             │ ────► incremental stdout/stderr (rolling buffer)─►│ DB row   │
│             │                                                   │ UPDATEs  │
│             │  POST /api/public/agent/chunk {done:true}         │          │
│             │ ────► final stdout + exit_code ─────────────────► │ realtime │
└─────────────┘                                                   └──────────┘
                                                                       │
                                                                       ▼
                                                    Dashboard terminal pane
                                                    subscribes via realtime
                                                    and renders live output.

The server's terminal pane is already subscribed to postgres_changes on the agent_commands row, so every chunk push appears as a live UI update.

Publishing (maintainer)

cd agent-cli
npm login
npm publish --access public

Until the package is published, you can run the agent straight from this repo:

node agent-cli/bin/falconhunter-agent.mjs --token sk_kali_... --server https://...

Troubleshooting

  • HTTP 401 bad token — copy a fresh token from the dashboard, or click Rotate in Settings → Connect.
  • No output in the dashboard but the local terminal shows the command running — check that chunk POSTs aren't blocked by an outbound firewall.
  • Command fails with bash: <tool>: command not found — the dashboard auto-installs missing tools on the next attempt; just let it retry.