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

dtp-tripwire-agent

v1.0.7

Published

A service for protecting your node against malicious attacks and scans.

Readme

DTP Tripwire

🛡️ Your Web Server's First Line of Defense

Tripwire monitors and blocks malicious HTTP/HTTPS requests before they can cause harm to your web server. It acts as a protective shield against various attack vectors, including protocol confusion attacks, malformed requests, and scanning attempts.

Key Features:

  • Intelligent Detection: Uses pattern recognition and anomaly detection to identify suspicious traffic.
  • Customizable Rules: Define your own protection policies based on specific threats you want to block.
  • Real-time Blocking: Immediate action against detected threats without compromising legitimate traffic.
  • Flexible Integration: Works seamlessly with popular web servers like NGINX, Apache, etc.
  • Detailed Reporting: Comprehensive logs and analytics for security monitoring and compliance.

Use Cases:

  • Protecting APIs from malicious requests
  • Securing web applications against protocol abuse
  • Blocking scanning attempts by automated tools
  • Preventing tunneling attacks via HTTP/HTTPS
  • Adding an extra layer of security to existing defenses

Getting Started:

  1. Install Tripwire:
npm install dtp-tripwire

Configuration

It is important to let the configuration download from tripwire.digitaltelepresence.com before binding your ExpressJS app to a listen socket to accept new connections and reqeusts. The service middleware will block all incoming requests if the configuration isn't loaded.

import tripwire "dtp-tripwire";

// Load Tripwire Configuration from tripwire.digitaltelepresence.com
await tripwire.loadConfig();
app.use(tripwire.middleware());

// Bind your ExpressJS app to a listen socket to accept new connections and requests
app.listen(3000);

Configurations (when received successfully) are always valid, always provide protection, and will always be locally cached on disk. This enables Tripwire to provide protective services even when it can't fetch an updated configuration data from the Tripwire API.

Tripwire will continuously try to download updated configurations as part of normal operation at runtime. When it fetches any successful configuration, it will automatically also update the local cache on disk.

Environment Configuration

Tripwire makes use of environment variables to configure its behavior. These can be set in a .env file or passed directly to NodeJS when running your application.

| Variable | Description | | -------------------------- | ----------------------------------------------------------------------------------- | | TRIPWIRE_API_URL | The URL (string) of the API to use for fetching configurations and reporting events | | TRIPWIRE_API_CLIENT_ID | Your assigned Client ID (string) from the API | | TRIPWIRE_API_CLIENT_SECRET | Your assigned Client Secret (string) from the API | | TRIPWIRE_N8N_AUTH_TOKEN | Your assigned N8N Auth Token (string) from the API | | TRIPWIRE_N8N_EVENT_URL | The URL (string) of the N8N Webhook for reporting events | | TRIPWIRE_N8N_ERROR_URL | The URL (string) of the N8N Webhook for reporting errors | | TRIPWIRE_LOG | Set to enabled or disabled to enable or disable logging to the console | | TRIPWIRE_LOG_DEBUG | Set to enabled or disabled to enable or disable detailed debug logs | | TRIPWIRE_LOG_INFO | Set to enabled or disabled to enable or disable info level logs | | TRIPWIRE_LOG_WARN | Set to enabled or disabled to enable or disable warning level logs |