dsh-tool-calculator

DSH 计算器工具插件:安全的数学表达式求值器,零依赖递归下降解析器

PluginDeveloperSecurity
Verification
L2 · Structured
Security
Pending
Health
Active
Trust
Bronze

What it doesAI

A zero-dependency, zero-process math expression evaluator plugin for DSH, using a recursive descent parser.

  • No eval or new Function; uses whitelist-based recursive descent parser
  • Supports sqrt, sin, cos, log, pow and elementary math functions
  • Rejects NaN/Infinity and unknown identifiers for safe evaluation

AI-generated from the repo README — for reference only.

Installation

dsh plugin --profile web add dsh-tool-calculator

Install method: npm · not yet tested in container (L3+)

Compatibility

DSH VersionStatus
not statedDeclared — not tested

Requirements

  • • Node.js: not stated
  • • DSH: declared "not stated"
  • • External credentials: none detected

Security Report

Automated scan, not manual review.

• Dependency vulnerabilities: — (pending)

• Suspicious permissions: — (pending)

• Hardcoded secrets: — (pending)

• Supply chain risks: — (pending)

⚠ Security audit scheduled — results will appear here after the next scan.

Activity

Last commit 2026-08-14 · activity: active

6 mo

Source

GitHub: github.com/omdsh-dev/dsh-tool-calculator