
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
@esthe/totp
Advanced tools
A TOTP (Time-based one-time password) / HOTP (HMAC-based one-time password) implementation in TypeScript.
ESM-only, no dependencies, browser-first. (but also works in Node.js)
pnpm install @esthe/totp
import { generateSeed, generateTOTP, verifyTOTPLaxed } from "@esthe/totp"
// server, generate a seed/secret
const seed = generateSeed()
// client, generate the one-time password for the current time, using the seed
const totp = await generateTOTP(seed)
// server, verify the one-time password. Allows about 1 minute of drift.
const correct = await verifyTOTPLaxed(seed, totp)
if (!correct) res.status(401).send("Invalid one-time password.") // or whatever
FAQs
A TOTP / HOTP implementation
We found that @esthe/totp 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.