math-teacher

Warn

Audited by Socket on Sep 15, 2026

1 alert found:

Security
SecurityMEDIUM
references/algebra.md

The code is an educational algebra module with no evident malware, data theft, persistence, or supply-chain sabotage. However, evaluateExpression and showSteps contain a significant arbitrary-code-execution risk because they use eval() on caller-controlled expression data. The evaluator should be replaced with a strict arithmetic parser or safe expression library, and variable names should be escaped or validated. Other issues are primarily mathematical edge-case handling.

Confidence: 99%Severity: 82%
Audit Metadata
Analyzed At
Sep 15, 2026, 07:35 PM
Package URL
pkg:socket/skills-sh/jamesrochabrun%2Fskills%2Fmath-teacher%2F@51ebb60f241d18ffa0d16766d704ee2a4dcd3fb5373b860968eba4f5acac7547