safe-calculator

Warn

Audited by Socket on Feb 16, 2026

1 alert found:

Security
SecurityMEDIUM
calculate.py

The module uses eval() and exec() directly on external inputs, creating high-risk arbitrary code execution vectors. If these functions accept untrusted data they are exploitable for code execution, data exfiltration, and state manipulation. Fix by removing dynamic execution, using safe parsers, validating/whitelisting inputs, or sandboxing. Also correct the syntax error in the example invocation.

Confidence: 75%Severity: 80%
Audit Metadata
Analyzed At
Feb 16, 2026, 12:31 AM
Package URL
pkg:socket/skills-sh/cisco-ai-defense%2Fskill-scanner%2Fsafe-calculator%2F@8db94422b6ce68af1ddb6b4af3aace0b60104bd9