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

winsechunter

v2.1.1

Published

Incident-response toolkit for Windows security events: collect by IP, analyze, report, preserve evidence. Thin CLI launcher for the WinSecHunter PowerShell module.

Readme

winsechunter

Incident-response toolkit for Windows security events — as an npm launcher.

This package bundles the WinSecHunter PowerShell module and exposes a small CLI, so an npm-managed environment can install and call it without cloning the repository.

npm install -g winsechunter
winsechunter help

Requirements

| Component | Version | Notes | |---|---|---| | Node.js | 18+ | the launcher only | | PowerShell | 7.6+ (pwsh) | the actual engine; must be in PATH | | Windows | 10/11/Server 2016+ | for event-log collection; the Security log needs elevation | | Any OS | — | analysis, reporting and evidence verification work cross-platform |

If pwsh is not on PATH, point to it explicitly:

WINSECHUNTER_PWSH=/opt/microsoft/powershell/7/pwsh winsechunter help

Commands

winsechunter --version
winsechunter help
winsechunter help Get-WinSecEventByIp
winsechunter catalog
winsechunter catalog --profile BruteForce
winsechunter sweep 203.0.113.7 --last-hours 24
winsechunter sweep 203.0.113.0/24 --last-hours 12 --json

winsechunter sweep returns events and per-channel status (-PassHostStatus). With --json the output is a JSON array suitable for pipelines.

What is inside

  • module/ — the complete WinSecHunter 2.1.0 module (20 cmdlets, 156-event catalog).
  • bin/winsechunter.js — a thin launcher that imports the module and calls its cmdlets.

For the full workflow — incident reports, abuse reports, IOC/STIX export, evidence bundles — use the module directly:

Import-Module "$(npm root -g)/winsechunter/module/WinSecHunter.psd1"
Show-WinSecHunterHelp
New-WinSecIncidentReport -Case $case -Event $events -Format Both -PassThru

Security

  • No telemetry, no phone-home.
  • API keys are read only from environment variables (ABUSEIPDB_KEY, OTX_API_KEY).
  • The launcher passes arguments through environment variables; addresses are validated before they reach PowerShell.
  • The npm package contains the same code as the GitHub release; compare module/ if in doubt.

Bugs

Please report issues at https://github.com/paulmann/Get-Windows-Security-Events-By-IP/issues/new/choose with the npm package version, pwsh --version, OS and the exact command.

Licence

PolyForm Noncommercial License 1.0.0 — see LICENSE. Commercial use requires a licence from [email protected]. WinSecHunter is a derivative work of Get-SecurityEventsByIP.ps1 by Mikhail Deynekin.