
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
docnumbering
Advanced tools
docnumbering is a flexible and customizable identity generation library. It allows you to define a sequence of rules to generate structured IDs dynamically.
npm install docnumbering
import { factory, MemoryStore, Rule, RuleFormat, RuleType } from "docnumbering";
const rules: Rule[] = [
{ type: RuleType.STATIC, value: "IT" },
{ type: RuleType.STATIC, value: "-" },
{ type: RuleType.INPUT },
{ type: RuleType.STATIC, value: "-" },
{ type: RuleType.DATETIME, format: RuleFormat.YEAR_4 },
{ type: RuleType.STATIC, value: "-" },
{ type: RuleType.INCREMENT, format: RuleFormat.BASE_10, fixedLength: 3 },
];
const store = new MemoryStore();
const idgen = factory(rules, store, { now: new Date("2025") });
async function generateId() {
console.log(await idgen.nextId(["LAPTOP"])); // IT-LAPTOP-2025-001
}
generateId();
Try out the ID generator at: numbering demo
FAQs
Document Number/ID Generator with ability to auto increment
The npm package docnumbering receives a total of 6 weekly downloads. As such, docnumbering popularity was classified as not popular.
We found that docnumbering demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.