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

@fabrknt/sentinel-core

v1.0.3

Published

Transaction guard, execution patterns, and Jito bundle management

Downloads

48

Readme

@fabrknt/sentinel-core

npm version npm downloads

Transaction security analysis, execution pattern builders, and atomic bundle management for Solana and EVM chains.

Not every DeFi protocol needs TradFi compliance -- but if yours does, you shouldn't have to rebuild from scratch. Fabrknt plugs into your existing protocol with composable SDKs and APIs. No permissioned forks, no separate deployments.

Install

npm install @fabrknt/sentinel-core

Quick Start

import {
  Guard,
  buildDCAPlan,
  FlashbotsBundleManager,
} from '@fabrknt/sentinel-core';

// Analyze a transaction before execution
const guard = new Guard({ mode: 'block', riskTolerance: 'strict' });
const result = await guard.validateTransaction({
  id: 'tx-1',
  chain: 'evm',
  status: 'pending',
  instructions: [{ programId: '0xContract', keys: [], data: '0x...' }],
});

if (!result.allowed) {
  console.log('Blocked:', result.warnings);
}

Features

  • 17 security pattern detectors -- 8 Solana-specific (P-101 to P-108), 9 EVM-specific (EVM-001 to EVM-009)
  • Pre-execution simulation sandbox -- EVM (eth_call, trace_call, debug_traceCall) and Solana (simulateTransaction)
  • Three enforcement modes (block, warn) and risk tolerances (strict, moderate, permissive)
  • Chainlink Oracle Registry integration for price manipulation detection
  • 6 execution pattern builders -- batch payout, recurring payment, vesting, grid trading, DCA, rebalance
  • Jito bundle submission for Solana (tip management, region routing)
  • Flashbots/MEV-Share bundle submission for EVM (private transactions, bundle simulation)
  • Bring-your-own AuthSigner interface for Flashbots relay authentication

API Summary

Guard

| Export | Description | |--------|-------------| | Guard | Main class -- configure mode, risk tolerance, simulation, oracles | | analyzeTransaction | Standalone analysis function | | analyzeSolanaTransaction | Solana-specific analysis | | analyzeEvmTransaction | EVM-specific analysis | | SimulationSandbox | Pre-execution simulation with automatic RPC fallback | | resolveOracleFromRegistry | Resolve Chainlink price feeds dynamically |

Patterns

| Export | Description | |--------|-------------| | buildBatchPayout | Optimized multi-recipient payout batching | | buildRecurringPaymentSchedule | Payment schedule builder | | buildVestingSchedule | Cliff + linear vesting schedule | | buildGridTradingPlan | Buy/sell grid level planning | | buildDCAPlan | Dollar-cost averaging schedule | | buildRebalancePlan | Portfolio rebalancing with drift detection |

Bundles

| Export | Description | |--------|-------------| | BundleManager | Solana/Jito bundle submission | | FlashbotsBundleManager | EVM/Flashbots bundle submission and simulation | | BaseBundleManager | Abstract base class for custom implementations |

All pattern and bundle types are fully exported (e.g., GridTradingConfig, FlashbotsBundleConfig, AuthSigner).

Documentation

Full documentation, REST API reference, and QuickNode add-on details are available in the main repository README.

License

MIT