
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
Bufnița is a contract observer and indexer library, that reads events from a web3 provider, stores them into a MongoDB database, notify them to webhooks and execute callbacks.
Bufnița is a contract observer and indexer library, that reads events from a web3 provider, stores them into a MongoDB database, notify them to webhooks and execute callbacks.
Bufnița can be used as library or as command line interface.
# Installation
npm i -g bufnita
# Execution
bufnita [manifest-file, default=manifest.yml]
// Typescript
import Bufnita from "bufnita";
// Javascript
const Bufnita = require("bufnita");
Bufnita.create(options).then(() => {
console.log("Observer has been initialized.");
});
The manifest file and Bufnița options share the same schema, but they are in different situations. Manifest file is the input for the command line, and the Bufnița options object is the input for the Bufnița library.
interface IManifest {
version: string; // Version = "1"
mongoUrl: string; // MongoDB URL to connect
web3Rpc: string; // Web3 RPC to connect, websockets recommended
interval?: number; // How many time between http requests (Http web3rpc only)
contracts?: { // Contracts to observe
[contractName: string]: { // Contract Name
address: string; // Contract Address
events?: string[] // Events to Observe, All by default
abi: string; // ABI Json File Path
callbacks?: { // Not available in yml, callbacks
[event: string]: (data: any) => any // Callbacks are executed by event name
}
}
}
collections?: { // Mongodb data where events & contract meta will be stored
events?: string; // default = bufnita-events
contracts?: string; // default = bufnita-contracts
}
rsa?: { // RSA Keys to sign webhooks, default = no signature
priv: string; // Path to rsa priv key
pub: string; // Path to rsa pub key
}
webhooks?: string[]; // List of url where events will be notified
}

FAQs
Bufnița is a contract observer and indexer library, that reads events from a web3 provider, stores them into a MongoDB database, notify them to webhooks and execute callbacks.
We found that bufnita demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.