MCP ScannerCustom audit
All servers

goldspanlabs/optopsy-mcp

Rust-based rewrite of Optopsy: An options backtesting engine exposed via Model Context Protocol (MCP)

Packageoptopsy-mcp
Version0.1.0 in Cargo.toml
Publishergoldspanlabs community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 26Forks 8Last push 2026-04-07
Rust 100.0%by source files the scanner reads
Code safetypartly tracedExposure9.8Promptsnot analysedSupply chain2.0Secretsnot analysedTransparencynot analysed
Analysis confidence94%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure9.8/10Good

How much power the tools give an agent over the machine

Prompt Integritynot analysed—

Hidden instructions and poisoning in text for the model

Supply Chain2.0/10Poor

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnot analysed—

How the server reads credentials and where they can go

Behavior Transparencynot analysed—

Whether the tools do only what their descriptions say

How far the analysis went

Prompt Integrity, Secrets & Credentials and Behavior Transparency are not analysed and have no number.

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • Prompt Integrity and Secrets & Credentials: no tool description could be read from the code
  • Behavior Transparency: no tool description could be read to compare with the code
  • In 54 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there

Top risks in plain words

  • CRITICAL31 production dependencies have known vulnerabilities (worst: critical).

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Update its vulnerable packages

    Use anyhow 1.0.103 or later, crossbeam-epoch 0.9.20 or later, event-listener 5.4.2 or later, h2 0.4.16 or later and 17 more.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 14 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read or write filesopen, create, change or delete files
scripting_guide
1 of 14

No tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; read environment variables; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • files1 tool · scripting_guide
Reads private data1 tool
Takes text from outside0 tools
Can send data out0 tools

Not all three are present in the tools the scanner traced.

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (14: 14 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

aggregate_pricestool
No description.
backtesttool
No description.
benchmark_analysistool
No description.
cointegration_testtool
No description.
correlatetool
No description.
distributiontool
No description.
drawdown_analysistool
No description.
factor_attributiontool
No description.
generate_hypothesestool
No description.
monte_carlotool
No description.
portfolio_optimizetool
No description.
regime_detecttool
No description.
rolling_metrictool
No description.
scripting_guidetool Filesoutside text
No description.

Text the model reads (14)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

aggregate_prices tool
distribution tool
correlate tool
rolling_metric tool
regime_detect tool
generate_hypotheses tool
drawdown_analysis tool
cointegration_test tool
monte_carlo tool
factor_attribution tool
portfolio_optimize tool
benchmark_analysis tool
scripting_guide tool
backtest tool

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure9.8
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 14 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 14 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 14 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 14 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 14 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 14 capabilities; 14 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    1 of 14 capabilities touch files; 13 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 14 capabilities; 14 more call code the scanner could not follow, where it may happen
Where the code is: 14 handlers in 1 file at commit ce3740b12713
Prompt Integritynot analysed
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Not checked: no tool description could be read from the code
Supply Chain2.0
  • Dependency manifests
    1 manifest: Cargo.toml
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database
  • Known vulnerabilities in production dependencies CRITICAL
    31 production packages with known advisories
  • Known vulnerabilities in other dependencies
    1 package with advisories used only for development, tests or examples; an install of the server leaves them out
  • MCP SDK version
    rmcp 0.17
Secrets & Credentialsnot analysed
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Not checked: no tool description could be read from the code
  • Tools that read credentials
    Not seen in the traced code of 14 capabilities; 14 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparencynot analysed
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Not checked: no tool description could be read to compare with the code
  • Tool descriptions present
    Every tool has a description the model and the user can read (14 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (31 in production)

PackageInstalledWorstAdvisoriesFixed in
zipcrates.io 2.4.2 CRITICAL 9 advisories 9.0.09.0.5
  • CRITICALGHSA-m665-v7pm-7grj CVE-2026-115905 RUSTSEC-2026-0548zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE
  • HIGHGHSA-q7v9-x93c-xqv3 CVE-2026-115909 RUSTSEC-2026-0429zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction
  • MEDIUMRUSTSEC-2026-0367 GHSA-vv5m-jxxh-4627 Insecure Preservation of SUID/SGID Bits during ZIP Extraction Leading to Potential Privilege Escalation
  • MEDIUMRUSTSEC-2026-0369 GHSA-4684-h2q9-2vcpZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target
  • MEDIUMRUSTSEC-2026-0545 CVE-2026-115906 GHSA-8hxf-qr8p-62x4AES entries returned without checking their authentication code when the data ends early or is empty
  • MEDIUMRUSTSEC-2026-0548 CVE-2026-115905 GHSA-m665-v7pm-7grj`ZipStreamReader` extracts entries under local-header names that can differ from the central directory
  • MEDIUMRUSTSEC-2026-0368 GHSA-4v9h-p7m9-rh26zip: `ZipArchive::extract` creates symbolic links whose attacker-controlled targets are outside the destination directory
  • MEDIUMRUSTSEC-2026-0429 CVE-2026-115909 GHSA-q7v9-x93c-xqv3zip: `ZipArchive::extract` aborts the process on a symlink entry with a large declared size
  • MEDIUMGHSA-8hxf-qr8p-62x4 CVE-2026-115906 RUSTSEC-2026-0545zip: AES Entry HMAC Authentication Bypass on Premature EOF
quinn-protocrates.io 0.11.13 HIGH 10 advisories 0.11.140.11.150.11.17+2 more
  • HIGHGHSA-4w2j-m93h-cj5j CVE-2026-25800 RUSTSEC-2026-0185Quinn: Remote memory exhaustion in quinn-proto from unbounded out-of-order stream reassembly
  • HIGHGHSA-6xvm-j4wr-6v98 CVE-2026-31812 RUSTSEC-2026-0037Quinn affected by unauthenticated remote DoS via panic in QUIC transport parameter parsing
  • MEDIUMRUSTSEC-2026-0037 CVE-2026-31812 GHSA-6xvm-j4wr-6v98Denial of service in Quinn endpoints
  • MEDIUMRUSTSEC-2026-0339 GHSA-hmxj-32vh-65vrUnbounded growth of pending connection ID retirements in quinn-proto
  • MEDIUMRUSTSEC-2026-0340 GHSA-3g6h-r5qx-f6hqPeer minimum ACK delay can panic quinn-proto when ACK_FREQUENCY transmission is enabled
  • MEDIUMRUSTSEC-2026-0342 GHSA-2hv7-gw8g-gpq5Zero-length DATAGRAM frames bypass the receive buffer limit in quinn-proto
  • MEDIUMRUSTSEC-2026-0523 GHSA-53rm-773f-4q8cMAX_STREAM_DATA frame can open streams beyond the stream limit
  • MEDIUMRUSTSEC-2026-0185 CVE-2026-25800 GHSA-4w2j-m93h-cj5j Remote memory exhaustion in quinn-proto from unbounded out-of-order stream reassembly
  • MEDIUMRUSTSEC-2026-0524 GHSA-wppq-2f6r-wfvmLong Retry token can panic or exhaust memory in a QUIC client
  • MEDIUMRUSTSEC-2026-0338 GHSA-465w-v9q3-7j98Remote peer can panic quinn-proto with zero-length STREAM frames during unordered reads
rustls-webpkicrates.io 0.103.9 HIGH 9 advisories 0.103.100.103.120.103.13+5 more
  • HIGHGHSA-82j2-j2ch-gfr8 CVE-2026-93599 RUSTSEC-2026-0104rustls-webpki: Denial of service via panic on malformed CRL BIT STRING
  • MEDIUMGHSA-pwjx-qhcg-rvj4 CVE-2026-93602 RUSTSEC-2026-0049webpki: CRLs not considered authoritative by Distribution Point due to faulty matching logic
  • MEDIUMRUSTSEC-2026-0099 CVE-2026-93601 GHSA-xgp8-3hg3-c2mhName constraints were accepted for certificates asserting a wildcard name
  • MEDIUMRUSTSEC-2026-0382 BIT-golang-2026-111943 CVE-2026-111943 GO-2026-6809 RUSTSEC-2026-0381 RUSTSEC-2026-0383Certificate verification may accept distrusted intermediates
  • MEDIUMRUSTSEC-2026-0104 CVE-2026-93599 GHSA-82j2-j2ch-gfr8Reachable panic in certificate revocation list parsing
  • MEDIUMRUSTSEC-2026-0098 CVE-2026-93600 GHSA-965h-392x-2mh5Name constraints for URI names were incorrectly accepted
  • MEDIUMRUSTSEC-2026-0049 CVE-2026-93602 GHSA-pwjx-qhcg-rvj4CRLs not considered authoritative by Distribution Point due to faulty matching logic
  • LOWGHSA-965h-392x-2mh5 CVE-2026-93600 RUSTSEC-2026-0098webpki: Name constraints for URI names were incorrectly accepted
  • LOWGHSA-xgp8-3hg3-c2mh CVE-2026-93601 RUSTSEC-2026-0099webpki: Name constraints were accepted for certificates asserting a wildcard name
rmcpcrates.io 0.17.0 HIGH 7 advisories 1.4.02.0.02.1.0+1 more
  • HIGHGHSA-33f5-2c5q-wgwj CVE-2026-63127RMCP: Missing Resource Field Validation in OAuth Protected Resource Metadata Discovery
  • HIGHGHSA-9pj6-vhgr-3mwh CVE-2026-63128RMCP: Unauthenticated permanent session-table leak in rmcp Streamable HTTP server transport leads to remote denial-of-service
  • HIGHGHSA-89vp-x53w-74fx CVE-2026-42559 GHSA-fvh2-gm75-j4j7 RUSTSEC-2026-0140 RUSTSEC-2026-0189rmcp Streamable HTTP server transport has a DNS rebinding vulnerability
  • MEDIUMRUSTSEC-2026-0189 CVE-2026-42559 GHSA-89vp-x53w-74fx GHSA-fvh2-gm75-j4j7 RUSTSEC-2026-0140DNS rebinding vulnerability in rmcp Streamable HTTP server transport
  • MEDIUMGHSA-c9xm-49cp-xcr9rmcp OAuth client fetches server-controlled resource_metadata URLs
  • MEDIUMRUSTSEC-2026-0462 GHSA-c9f9-cp8h-jcj5Unbounded response body buffering in Streamable HTTP clients
  • MEDIUMGHSA-9g45-5xwm-f3wc CVE-2026-64684RMCP: Custom HTTP headers leak to cross-origin redirect targets
thin-veccrates.io 0.2.14 HIGH 2 advisories 0.2.16
  • HIGHGHSA-xphw-cqx3-667j CVE-2026-6654 RUSTSEC-2026-0103thin-vec: Use-After-Free and Double Free in IntoIter::drop When Element Drop Panics
  • MEDIUMRUSTSEC-2026-0103 CVE-2026-6654 GHSA-xphw-cqx3-667jUse-After-Free and Double Free in IntoIter::drop When Element Drop Panics
zstd-safecrates.io 7.2.4 MEDIUM 12 advisories 7.4.08.2.0
  • MEDIUMRUSTSEC-2026-0402Heap buffer overflow in `CCtx::try_clone` on a multithreaded context
  • MEDIUMRUSTSEC-2026-0403Uninitialized memory exposed when streaming decompression of a legacy frame fails
  • MEDIUMRUSTSEC-2026-0398`Seekable::decompress` sets a `Vec` length beyond its capacity for offsets past the end
  • MEDIUMRUSTSEC-2026-0396`Seekable` reads a NULL or out-of-bounds seek table
  • MEDIUMRUSTSEC-2026-0400Use-after-free of a dictionary after a one-shot call on a context with an open stream
  • MEDIUMRUSTSEC-2026-0405Out-of-bounds read with an out-of-range `InBuffer::pos`
  • MEDIUMRUSTSEC-2026-0399Use-after-free through `init_using_cdict` and `init_using_ddict`
  • MEDIUMRUSTSEC-2026-0404Double free in `DCtx::try_clone`
  • MEDIUMRUSTSEC-2026-0395Use-after-free with `CParameter::StableInBuffer`
  • MEDIUMRUSTSEC-2026-0401Out-of-bounds read in `train_from_buffer` when sample sizes overflow
  • MEDIUMRUSTSEC-2026-0397`OutBuffer::around_pos` exposes uninitialized memory
  • MEDIUMRUSTSEC-2026-0406Use-after-free when changing a multithreaded context with an unfinished frame
rustlscrates.io 0.23.37 MEDIUM 8 advisories 0.23.450.23.460.24.0-dev.2
  • MEDIUMGHSA-c8m5-c952-6cm4 CVE-2026-123609 RUSTSEC-2026-0346Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKs
  • MEDIUMRUSTSEC-2026-0348 CVE-2026-123610 GHSA-h2v8-394m-p7vvBrotli certificate decompression can allocate up to 1 GiB before authentication
  • MEDIUMRUSTSEC-2026-0346 CVE-2026-123609 GHSA-c8m5-c952-6cm4`Debug` impls for client session values expose TLS secrets
  • MEDIUMRUSTSEC-2026-0349 CVE-2026-123611 GHSA-w44r-93j7-qv28Unauthenticated ServerHello can downgrade later connections to classical key exchange
  • MEDIUMRUSTSEC-2026-0285 CVE-2026-123613 GHSA-2mjx-qc3c-rqvcTLS 1.3 handshake messages incorrectly accepted across encryption level boundaries
  • MEDIUMGHSA-2mjx-qc3c-rqvc CVE-2026-123613 RUSTSEC-2026-0285Rustls: TLS 1.3 handshake messages incorrectly accepted across encryption level boundaries
  • LOWGHSA-h2v8-394m-p7vv CVE-2026-123610 RUSTSEC-2026-0348Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.
  • LOWGHSA-w44r-93j7-qv28 CVE-2026-123611 RUSTSEC-2026-0349rustls: An unauthenticated ServerHello poisons the per-name key-exchange record, so later ClientHellos carry only a classical X25519 share
quick-xmlcrates.io 0.38.4 MEDIUM 2 advisories 0.41.0
  • MEDIUMRUSTSEC-2026-0195Unbounded namespace-declaration allocation in `NsReader` enables memory-exhaustion denial of service
  • MEDIUMRUSTSEC-2026-0194Quadratic run time when checking a start tag for duplicate attribute names
randcrates.io 0.8.5 MEDIUM 2 advisories 0.8.60.9.30.10.1
  • MEDIUMRUSTSEC-2026-0097 GHSA-cq8v-f236-94qcRand is unsound with a custom logger using `rand::rng()`
  • LOWGHSA-cq8v-f236-94qc RUSTSEC-2026-0097Rand is unsound with a custom logger using rand::rng()
randcrates.io 0.9.2 MEDIUM 2 advisories 0.8.60.9.30.10.1
  • MEDIUMRUSTSEC-2026-0097 GHSA-cq8v-f236-94qcRand is unsound with a custom logger using `rand::rng()`
  • LOWGHSA-cq8v-f236-94qc RUSTSEC-2026-0097Rand is unsound with a custom logger using rand::rng()
randcrates.io 0.10.0 MEDIUM 2 advisories 0.8.60.9.30.10.1
  • MEDIUMRUSTSEC-2026-0097 GHSA-cq8v-f236-94qcRand is unsound with a custom logger using `rand::rng()`
  • LOWGHSA-cq8v-f236-94qc RUSTSEC-2026-0097Rand is unsound with a custom logger using rand::rng()
anyhowcrates.io 1.0.102 MEDIUM 1 advisory 1.0.103
bincodecrates.io 2.0.1 MEDIUM 1 advisory no fix yet
chronocrates.io 0.4.41 MEDIUM 1 advisory no fix yet
chrono-tzcrates.io 0.10.4 MEDIUM 1 advisory no fix yet
crossbeam-epochcrates.io 0.9.18 MEDIUM 1 advisory 0.9.20
  • MEDIUMRUSTSEC-2026-0204Invalid pointer dereference in `fmt::Pointer` impl for `Atomic` and `Shared` when the underlying pointer is invalid
event-listenercrates.io 5.4.1 MEDIUM 1 advisory 5.4.2
  • MEDIUMRUSTSEC-2026-0221`event-listener` allows `!Send` tags to cross thread boundaries via `StackSlot`
h2crates.io 0.4.13 MEDIUM 1 advisory 0.4.16
humantimecrates.io 2.3.0 MEDIUM 1 advisory no fix yet
libsqlite3-syscrates.io 0.33.0 MEDIUM 1 advisory 0.39.0
  • MEDIUMRUSTSEC-2026-0459 BIT-sqlite-2026-119375 CVE-2026-119375 GHSA-72w2-rjgg-q729 RUSTSEC-2026-0502`libsqlite3-sys` via C SQLite CVE-2026-119375
memmap2crates.io 0.9.10 MEDIUM 1 advisory 0.9.11
number_prefixcrates.io 0.4.0 MEDIUM 1 advisory no fix yet
pastecrates.io 1.0.15 MEDIUM 1 advisory no fix yet
pin-utilscrates.io 0.1.0 MEDIUM 1 advisory no fix yet
quinn-udpcrates.io 0.5.14 MEDIUM 1 advisory 0.5.160.6.3
  • MEDIUMRUSTSEC-2026-0538 GHSA-6pp4-4cxf-xf88Receive loop can spin after a truncated datagram
rustixcrates.io 1.1.4 MEDIUM 1 advisory 1.1.6
  • MEDIUMRUSTSEC-2026-0486 GHSA-jh2m-fhpj-3vr7xattr functions mark unwritten bytes as initialized when given a zero-length buffer
smartstringcrates.io 1.0.1 MEDIUM 1 advisory no fix yet
tokiocrates.io 1.50.0 MEDIUM 1 advisory 1.51.61.53.3
urlcrates.io 2.5.8 MEDIUM 1 advisory 2.5.9
  • MEDIUMRUSTSEC-2026-0592 GHSA-hrj5-67jp-wqp9Stack overflow in `Url::origin()` on nested `blob:` URLs
zstdcrates.io 0.13.3 MEDIUM 1 advisory 0.13.40.14.3
  • MEDIUMRUSTSEC-2026-0391Data from an abandoned stream leaks into the next stream on a reused context
zstd-syscrates.io 2.0.16+zstd.1.5.7 MEDIUM 1 advisory 2.1.2
  • MEDIUMRUSTSEC-2026-0410WebAssembly allocator shim corrupts memory on allocation failure
1 vulnerable package outside the server itself (used only for development, tests or examples, not shipped)
PackageInstalledWorstAdvisoriesFixed in
xxhash-rustcrates.io 0.8.15 LOW 1 advisory 0.8.16
  • LOWGHSA-6g2r-675j-hx59xxhash-rust: Safe xxh3 custom-secret API accepts too-short secret in release

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
MCP SDKrmcp 0.17

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-04-07
Signed releasesnot checked yet

Where it is published

Listed in1 catalog (github_search)
Licensenot stated
Created2026-02-28
Topicsai-agents ai-assistant ai-backtesting ai-tools ai-trading ai-trading-bots algorithmic-trading backtesting backtesting-trading-strategies mcp-server

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.