CanopiiCanopiiAll serversEnterprise →
io.github.SKalinin909/tradingcalc

io.github.SKalinin909/tradingcalc v2.14.0

Security Trust Score
Grade C · Needs review
Tier 1 · Public sourceHigh confidence · 96%
Declared MCP capabilities
ResourcesPrompts

Run it through Canopii Gateway — policy enforcement, audit trail, and per-user attribution on every call.

1 issue capping this score
  • mediumNo over-broad / destructive tools — 2 over-broad tool(s)
Reputation2stars1forks0open issues10d agolast commit<1yage

Security controls

Deterministic, evidence-backed. Score earned from passing controls; a failed guard caps it.

Model–MCP Runtime Guardrails

  • Fail
    User-in-the-Loop / Approval Scopeguard2 over-broad tool(s)

    No over-broad or destructive tools (arbitrary shell, bulk-delete) that warrant human approval. How many servers fail this?

    system.verifysystem.pubkey

    Fix: Scope tools narrowly; avoid arbitrary command execution and destructive defaults.

  • Warn
    Strict JSON Schema Enforcementschemas not strict

    Tool inputs are constrained (additionalProperties:false), so unexpected arguments can't be smuggled in.

    Fix: Set additionalProperties:false and require explicit parameters on every tool.

  • Pass
    Indirect Prompt Injection (IPI) Defensesguardno injection markers

    Tool/prompt/resource text is free of hidden instructions that could hijack the agent.

  • Pass
    Tool Definition Integrityguardtool definitions stable; no risky changes in version history

    Every consecutive version pair is diffed for new injection markers or destructive scope — a risky diff anywhere in history is a rug-pull (fail, durable); benign description drift warns.

  • Pass
    In-Session Definition Integrityguardno call-gated or call-time tool definition changes

    Tool and prompt definitions stay fixed during a session — they don't change after a few calls, which is how runtime-gated rug-pulls slip past one-time review.

Application Security Checks

  • Warn
    No command-injection sinksguard1 occurrence (build/test paths only)

    Untrusted tool input reaching a shell yields remote code execution.

    scripts/blogger/auth.mjs:39

    Fix: Never pass tool arguments to a shell; use argv arrays with shell disabled.

  • Warn
    No SSRF sinksguard4 occurrences (build/test paths only)

    Fetching tool-supplied URLs can pivot into internal networks and metadata services.

    examples/verify-anchors.mjs:19examples/verify-anchors.mjs:25scripts/blogger/publish.mjs:54scripts/blogger/publish.mjs:57

    Fix: Allow-list destinations; reject arbitrary/loopback/link-local URLs.

  • Warn
    Has a security policyno security policy

    A SECURITY.md gives a private path to report vulnerabilities.

    Fix: Add SECURITY.md with a disclosure contact and process.

  • Warn
    Adoption & popularitylimited adoption

    A small, capped nudge from stars/downloads — widely-used servers get more eyes on bugs. It can never offset a real security failure.

    Fix: Adoption grows naturally with real-world use; this never gates the score.

  • Pass
    No dynamic code executionguardno sinks found

    eval()/exec()/Function() on tool-derived strings allows arbitrary code execution.

  • Pass
    No path traversalguardno sinks found

    Naive path checks let tools read/write outside intended directories (EscapeRoute-class).

  • Pass
    No unsafe deserializationguardno sinks found

    pickle/yaml.load/etc. on untrusted data can execute code.

  • Pass
    No committed secretsguardno secrets found

    Hardcoded keys/tokens in published source are live credentials an attacker can use.

  • Pass
    Credentials sourced from environmentreads credentials from environment

    Reading secrets from env/secret stores avoids hardcoding them.

  • Pass
    No known-vulnerable dependencies1 runtime deps, no known CVEs

    Runtime dependencies (parsed from the lockfile) are scanned against OSV.dev for published CVEs. Advisory: flagged dependencies lower the score but don't hard-cap it, since transitive reachability is unproven.

  • Pass
    Dependencies pinned (lockfile)lockfile present

    A lockfile makes installs reproducible and resistant to silent dependency swaps.

  • Pass
    Actively maintainedrecent commits

    Unmaintained servers don't receive security fixes.

  • Pass
    Repository not archivedguardactive

    Archived repositories will never be patched.

  • Pass
    Declares a licenseMIT

    A clear license is required for legal enterprise use.

  • Not checked
    Signed releasesnot evaluated

    Signed releases let consumers verify artifacts weren't tampered with.

  • N/A
    No install/post-install scriptsguardno published package

    install hooks run arbitrary code on every consumer at install time.

  • N/A
    Package name not typosquattingguardno published package

    Names mimicking popular packages are a common malware delivery vector.

  • N/A
    Published with provenanceno published package

    Build provenance attests the artifact was built from the claimed source by CI.

  • N/A
    Established maintainerno published package

    Brand-new / single anonymous maintainers raise takeover and malware risk.

Transport & Trust Model

  • Warn
    Execution Sandboxingruns natively (no container image)

    A container/sandbox image limits blast radius; a server that runs natively has full host access.

    Fix: Ship a Dockerfile/Containerfile (or document a sandboxed run) so the server runs isolated.

  • Pass
    Transport Encryption (TLS)guardall remotes use HTTPS

    Plaintext HTTP exposes traffic and bearer tokens to interception.

  • Pass
    IAM / Authentication ScopingOAuth / PRM handling detected

    OAuth 2.1 / Protected Resource Metadata gates who can invoke tools.

  • Pass
    No Token Passthroughguardno inbound token forwarded downstream

    The client's token is never forwarded to downstream APIs — the server obtains its own, correctly-scoped credential instead.

  • Pass
    Network Exposureno bind-all detected

    Binding 0.0.0.0 or exposing debug inspectors widens the attack surface.

  • Not checked
    DNS-Rebinding ProtectionHTTP transport not found in source

    HTTP endpoints reject requests carrying an unlisted Origin, so a malicious web page can't drive the server through the user's browser.

  • N/A
    Live Endpoint Reachablenot dynamically scanned

    A dynamic scan connected to the declared remote endpoint and it responded — verified live, not a dead URL.

  • N/A
    Authentication Enforced (live)not dynamically scanned

    If the server declares auth is required, it must actually reject anonymous clients. Serving tools to unauthenticated callers is a real exposure.

Tools (76)

system.pubkeysystem.verifyworkflow.run_dsrworkflow.run_garchprimitive.hedge_ratioworkflow.run_var_cvarworkflow.run_dca_entryworkflow.run_forex_pnlworkflow.run_scale_outprimitive.average_entryworkflow.run_carry_tradeworkflow.run_exit_targetworkflow.run_risk_parityworkflow.run_risk_rewardworkflow.run_unsmoothingworkflow.run_average_downworkflow.run_funding_costworkflow.run_max_leverageworkflow.run_pnl_planningworkflow.run_sharpe_statsworkflow.run_black_scholesworkflow.run_bonding_curveworkflow.run_cointegrationworkflow.run_evt_tail_riskworkflow.run_open_analysisworkflow.run_spread_payoffworkflow.run_spread_readerworkflow.run_forex_scenarioworkflow.run_hurst_exponentworkflow.run_kelly_frontierworkflow.run_odds_converterworkflow.run_options_payoffworkflow.run_portfolio_riskworkflow.run_forex_breakevenworkflow.run_forex_pip_valueworkflow.run_forex_swap_costworkflow.run_position_sizingworkflow.run_pre_trade_checkworkflow.run_price_consensusworkflow.run_value_migrationworkflow.run_compound_fundingworkflow.run_impermanent_lossworkflow.run_orderbook_impactworkflow.run_token_risk_checkworkflow.run_forex_correlationworkflow.run_forex_risk_rewardworkflow.run_funding_arbitrageworkflow.run_funding_breakevenworkflow.run_scenario_planningworkflow.run_session_structureworkflow.run_straddle_strangleworkflow.run_swap_price_impactworkflow.run_wallet_flag_checkworkflow.run_window_fair_valueworkflow.run_black_scholes_liveworkflow.run_breakeven_planningworkflow.run_forex_margin_levelworkflow.run_implied_volatilityworkflow.run_liquidation_safetyworkflow.run_breakout_acceptanceworkflow.run_forex_average_entryworkflow.run_market_implied_oddsworkflow.run_portfolio_tearsheetworkflow.run_forex_pip_value_liveworkflow.run_forex_swap_cost_liveworkflow.run_cross_venue_arbitrageworkflow.run_forex_margin_requiredworkflow.run_impermanent_loss_liveworkflow.run_market_cap_comparisonworkflow.run_forex_correlation_liveworkflow.run_prediction_market_edgeworkflow.run_forex_currency_converterworkflow.run_forex_position_size_liveworkflow.run_forex_margin_required_liveworkflow.run_covered_call_protective_putworkflow.run_forex_currency_converter_live