
Research
/Security News
TensorLake npm SDK Compromised in ChainDrop Shai-Hulud Credential-Stealing Attack
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.
kids-math-generator
Advanced tools
A small TypeScript package to generate math questions for grades 1–6.
seedKey features
easy, medium, hard, veryHard(6 × 4) - 5 = ?) for higher grades? × 12 = 144) for advanced practiceQuick usage (ESM):
import { generateQuestion } from 'kids-math-generator';
// Explicit multiplication question
const q1 = generateQuestion({ grade: 3, operation: 'mul', difficulty: 'easy', seed: 42 });
console.log(q1.text, '→', q1.answer);
// Explicit mixed question (available for grade >= 5)
const mixed = generateQuestion({ grade: 5, operation: 'mixed', difficulty: 'hard', seed: 123 });
console.log(mixed.text, '→', mixed.answer);
// Missing-operand (reverse) question example
// For deterministic transformation, import the helper and a RNG
import { makeMissingOperandQuestion, makeRng } from 'kids-math-generator';
const base = generateQuestion({ grade: 6, operation: 'add', difficulty: 'hard', seed: 7 });
const rng = makeRng(1); // deterministic helper RNG
const missing = makeMissingOperandQuestion(base, rng);
console.log(missing.text, '→', missing.answer);
Notes
operation is omitted, the generator will pick an operation appropriate for the grade and difficulty. For grades >= 5 and harder difficulties, it may produce mixed problems.difficulty allows it; the makeMissingOperandQuestion helper is provided for explicit transformations.Run a quick sample/tests locally:
npm run build
npm test
FAQs
Math question generator for grades 1-6
We found that kids-math-generator 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.

Research
/Security News
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.

Research
/Security News
Socket found 16 malicious Firefox extensions designed to steal crypto wallet recovery phrases and private keys using cloned Rabby and OKX interfaces.

Product
Socket now scans VS Code extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.