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

@huloglobal/vendure-plugin-fraud-prevention

v0.8.0

Published

Full fraud-prevention suite for Vendure: signal-based risk scoring (velocity, disposable emails, block/allow lists, CIDR ranges, high-risk countries, failed-payment patterns), real server-side enforcement with monitor/enforce modes, a manual review queue

Readme

@huloglobal/vendure-plugin-fraud-prevention

Full fraud-prevention suite for Vendure. Every placed order is risk-scored server-side the moment it lands — no storefront integration required — and what happens next is up to your per-channel policy: log it, hold it for manual review, or hold it and tell the customer it's being verified.

Plugin page & pricing: https://huloglobal.com/vendure-plugins/fraud-prevention/

Signals

Each fired signal adds weighted points (all weights overridable per channel):

| Signal | Default points | |---|---| | Blocklisted email / domain | 60 / 45 | | Blocklisted IP / IP in CIDR range | 55 | | Disposable email domain | 50 | | Failed payments from IP (1h) | 45 | | IP order velocity (hour / day) | 40 / 30 | | High-risk country | 40 | | Email order velocity (24h) | 35 | | Email daily value ceiling | 30 | | Order value ceiling | 25 | | First order + high value | 18 | | Plus-addressed email (x+7@gmail) | 12 |

Emails are canonicalised before velocity counting — [email protected], [email protected] and [email protected] all count as one identity. Allowlisted identities bypass everything.

Enforcement modes (per channel)

  • Off — nothing, not even logging.
  • Monitor — score + log every order; risky orders are flagged but never held. Start here and tune thresholds against the Activity tab.
  • Enforce — score ≥ review threshold opens a case in the Review queue and (with the host integration below) holds licence-key/goods fulfilment until a human approves; score ≥ block threshold additionally emails the customer that their order is under verification. Approve releases + notifies; reject cancels + notifies.

Threat feeds

Daily sync (03:00) into the blocklist: FireHOL Level 1, Spamhaus DROP (CIDR ranges are matched properly), Tor exit nodes, and the community disposable-email-domains list. Manual allow/block entries ride on top.

Install

npm i @huloglobal/vendure-plugin-fraud-prevention
import { FraudPreventionPlugin } from '@huloglobal/vendure-plugin-fraud-prevention';

plugins: [
    FraudPreventionPlugin.init({
        publicBaseUrl: 'https://shop.example.com',
        licenceKey: process.env.HULO_FRAUD_LICENCE,
    }),
],

Admin UI (multi-tab dashboard: Overview, Rules, Review queue, Lists, Simulate, Activity, Settings):

// in your compileUiExtensions extensions array:
FraudPreventionPlugin.uiExtensions,

Holding fulfilment on pending cases

The plugin marks orders as held; your fulfilment path asks before shipping:

import { FraudPreventionService } from '@huloglobal/vendure-plugin-fraud-prevention';

const held = new Set(await this.fraudService.pendingOrderIds());
if (held.has(orderId)) continue; // skip until a human approves

Storefront pre-check (optional)

POST /fraud-prevention/check { email, orderValuePence, channelId }{ allowed, riskLevel } — rate-limited, minimal response shape by design.

Licensing

Without a licence key the plugin runs in the free tier: monitor mode, manual lists and simulate. Enforce mode, review-queue holds, threat-feed sync and email alerts require a licence from https://huloglobal.com/vendure-plugins/fraud-prevention/.

Compatibility

Vendure >=3.5 <4. MariaDB/MySQL. Tables are created/migrated automatically on boot; upgrading from the pre-plugin HULO implementation preserves all existing config, log and list data.

License

AGPL-3.0-or-later — commercial licences available from HULO Global.