
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@multiversx/sdk-epoch-watcher
Advanced tools
Package for monitoring when an epoch changes.
The epoch watcher service must be called inside a scheduler task how often it's needed.
An external storage is needed for storing MultiversX Stats data of current epoch. (e.g.: Redis)
MultiversX Stats must be loaded from an instance of MultiversX API, route: GET /stats.
await new EpochWatcher({
getEpochWatcherInfo: () => redisClient.get(key),
setEpochWatcherInfo: (epochWatcherInfo) => redisClient.set(key, info, TTL), /* 1 day */,
loadMultiversXStats: () => multiversxApi.getStats(),
callback: (info) => { console.log(`Epoch has changed. New epoch: ${info.newEpoch}.`); },
}).execute();
Models:
export class EpochChangedInfo {
newEpoch: number;
}
export class EpochWatcherInfo {
statsLoadTime: number;
timeLeftUntilEpochChange: number;
epoch: number;
}
FAQs
Real-time epoch-watcher
We found that @multiversx/sdk-epoch-watcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers 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
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.