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

n8n-nodes-litesoc

v1.2.0

Published

n8n community node for LiteSOC - Security Observability for Startups. Track security events and manage alerts.

Readme

n8n-nodes-litesoc

npm version CI Tests Coverage License: MIT npm provenance

This is an n8n community node for LiteSOC - Security Observability for Startups.

Track security events and manage alerts directly from your n8n workflows.

n8n is a fair-code licensed workflow automation platform.

Installation

Follow the installation guide in the n8n community nodes documentation.

npm

npm install n8n-nodes-litesoc

n8n Desktop

  1. Go to SettingsCommunity Nodes
  2. Click Install a community node
  3. Enter n8n-nodes-litesoc
  4. Click Install

Operations

Event

Track security events in your application:

| Operation | Description | |-----------|-------------| | Create | Track a security event (login, logout, role change, etc.) | | Get | Retrieve a specific event by ID | | Get Many | List events with optional filters |

Supported Event Types:

  • Authentication: auth.login_success, auth.login_failed, auth.logout, auth.mfa_enabled, auth.mfa_disabled
  • Authorization: authz.access_denied, authz.role_changed, authz.permission_granted
  • Admin: admin.user_created, admin.user_deleted, admin.privilege_escalation
  • Data: data.export, data.bulk_delete, data.sensitive_access
  • Security: security.suspicious_activity, security.brute_force_detected
  • Custom: Define your own event types

Alert

Manage security alerts generated by LiteSOC:

| Operation | Description | |-----------|-------------| | Get | Retrieve a specific alert by ID | | Get Many | List alerts with filters (severity, status, type) | | Resolve | Mark an alert as resolved | | Mark Safe | Mark an alert as a false positive |

Alert Types:

  • Brute Force Attack
  • Impossible Travel
  • Geo Anomaly
  • New Device
  • Privilege Escalation
  • Data Exfiltration
  • Rate Limit Exceeded

Credentials

To use this node, you need a LiteSOC API key:

  1. Sign up at litesoc.io
  2. Go to SettingsAPI Keys
  3. Click Generate API Key
  4. Copy the key and add it to your n8n credentials

Usage Examples

Track Failed Login Attempts

1. Trigger: Webhook (receives login failure from your app)
2. LiteSOC Node: Create Event
   - Event Type: auth.login_failed
   - Actor ID: {{ $json.user_id }}
   - Actor Email: {{ $json.email }}
   - User IP: {{ $json.ip_address }}
   - Metadata: { "reason": "invalid_password" }

Auto-respond to Critical Alerts

1. Trigger: Schedule (every 5 minutes)
2. LiteSOC Node: Get Many Alerts
   - Filters: severity=critical, status=open
3. IF Node: Check if alerts exist
4. Slack Node: Send notification to #security channel
5. LiteSOC Node: Resolve Alert

Route Alerts by Severity

1. Trigger: Webhook (alert webhook from LiteSOC)
2. Switch Node: Route by {{ $json.severity }}
   - critical → PagerDuty
   - high → Slack #security
   - medium → Email security team
   - low → Log for review

Severity

Important: Severity is automatically assigned by LiteSOC based on the event type and threat detection rules. You cannot manually set severity when creating events.

Event Severity Levels:

  • critical - Immediate action required (privilege_escalation, brute_force)
  • warning - Requires attention (login_failed, mfa_disabled)
  • info - Normal activity (login_success, logout)

Alert Severity Levels:

  • critical - Active attack or breach
  • high - Significant threat detected
  • medium - Suspicious activity
  • low - Minor anomaly

Plan Restrictions

Some features require a Pro or Enterprise plan:

| Feature | Free | Pro | Enterprise | |---------|------|-----|------------| | Track Events | ✅ | ✅ | ✅ | | Get Events (last 7 days) | ✅ | ✅ | ✅ | | Get Events (30+ days) | ❌ | ✅ | ✅ | | Get Alerts | ❌ | ✅ | ✅ | | Resolve Alerts | ❌ | ✅ | ✅ | | Mark Alerts Safe | ❌ | ✅ | ✅ | | IP Enrichment (VPN/Proxy) | ❌ | ✅ | ✅ | | Geo Location Maps | ❌ | ✅ | ✅ |

If you attempt a restricted operation on the Free plan, you'll receive a clear error message with upgrade instructions.

Resources

Development

Setup

npm install

Build

npm run build

Testing

# Run all tests
npm test

# Run tests in watch mode
npm run test:watch

# Run tests with coverage
npm run test:coverage

Linting

# Check for lint errors
npm run lint

# Fix lint errors automatically
npm run lintfix

CI/CD

This package uses GitHub Actions for continuous integration and publishing with npm provenance.

Continuous Integration

The CI workflow (.github/workflows/ci.yml) runs on every push and pull request:

  • Tests run on Node.js 18 and 20
  • ESLint checks code quality
  • Test coverage is collected

Publishing with Provenance

This package is published with npm provenance, which provides a verifiable link between the published package and its source code.

To publish a new version:

  1. Update the version in package.json
  2. Commit and push the changes
  3. Create a new GitHub Release with a tag matching the version (e.g., v1.0.0)
  4. The publish workflow will automatically build, test, and publish to npm with provenance

n8n Requirement: Starting May 1st, 2026, all n8n community nodes must be published using GitHub Actions with provenance. This package already meets this requirement.

License

MIT