OpenClaw-Medical-Skills
FreedomIntelligence/OpenClaw-Medical-Skills
- Type
- MCP server
- Scanned
- Nov 18, 2026
- Version
- b1f9b6e3306f
- Files read
- 5106
OpenClaw Medical Skills is a collection of 869 guides and tools that teach AI assistants how to search medical databases, analyze biological data, draft clinical documents, and automate web research. Its biggest risk is that some bundled tools open passwordless web interfaces where outsiders can run commands on your computer, while pre-approved terminal and browser permissions let untrusted files, downloads, or webpages run code or upload local data without asking.
What it can reach
- Shell commands
- Runs terminal commands, Python and R scripts, bioinformatics tools, package installers, and Docker containers on your computer, with several skills pre-approved to run commands without asking.
- Files
- Reads, creates, and edits local files across your workspace and home folder, including genetic and medical datasets, personal health records, Office documents, PDFs, LibreOffice macros, and saved login files.
- Network
- Sends queries, documents, and biological sequences to biomedical databases, AI services, cloud labs, and unverified third-party URLs, downloads software and model files, and can expose local web servers or public internet tunnels.
- Secrets
- Reads and saves API keys, tokens, and passwords from environment variables and local config files for AI, cloud, and research services, and stores website login sessions in plain text.
- Browser
- Automates a web browser to visit any website, fill out forms, run page scripts, upload local files, take screenshots, and read or change cookies and saved login state.
- Other
- Includes workflows to control connected physical laboratory equipment such as liquid-handling robots, plate readers, heaters, incubators, and centrifuges.
Findings
-
HighUnencrypted HTTP download of PyTorch model weights enables code execution
skills/rfdiffusion/SKILL.md:66
The local installation workflow for RFdiffusion downloads a PyTorch checkpoint file (.pt) over plain HTTP instead of HTTPS and performs no SHA-256 checksum check. Because PyTorch checkpoints use Python pickle serialization, anyone on the same Wi-Fi or network path can tamper with the download in transit and run arbitrary code on the user's computer as soon as RFdiffusion loads the model.
Fix: Download the checkpoint over HTTPS and verify its SHA-256 hash before running inference.
-
HighBioMaster Gradio UI opens unauthenticated public tunnel with shell execution
skills/biomaster-workflows/repo/runv.py:742
When a user starts the BioMaster graphical interface (
python runv.py), it callsdemo.launch(share=True)with no password or authentication.share=Truecreates a public*.gradio.liveinternet tunnel in addition to the local web server. Through this interface, any visitor can overwrite workflow step shell scripts (./output/{id}_Step_{n}.sh) via the Save button and click Execute Plan to run arbitrary shell commands on the user's machine, while also reusing the globalmanagerinstance containing the user's LLM API key.Fix: Set
share=False, bind to127.0.0.1, require Gradio authentication (auth=(...)), avoid sharing a single globalmanageracross sessions, and do not allow arbitrary shell script editing from unauthenticated web requests. -
HighArbitrary code execution via eval() on CSV dataset cells
skills/cellagent-annotation/repo/CellTypeAgent/get_selection.py:475
When processing cell-type prediction CSV files, process_dataset and get_hit_rate parse string columns such as cell_type_pred, cell_type_pred_CLname, and agreement_score using Python's built-in eval() (and get_prediction.py does the same in get_CLname). If a user analyzes a crafted CSV dataset shared by a stranger, malicious Python expressions inside those cells will execute immediately on the user's machine.
Fix: Replace all calls to eval() on CSV fields with ast.literal_eval() or json.loads().
-
HighBiomni Gradio UI exposes unauthenticated code-execution agent on 0.0.0.0
skills/biomni-general-agent/repo/biomni/agent/a1.py:68
Calling launch_gradio_demo() starts a Gradio web server bound to 0.0.0.0:7860 by default with require_verification=False. Anyone on the local network can send prompts to this server, and the A1 agent executes resulting Python, Bash, and R code directly on the host machine. Even when require_verification=True is passed, it checks a hardcoded password (Biomni2025) and only toggles client-side UI visibility without protecting the backend Gradio API endpoints.
Fix: Default server_name to 127.0.0.1 and enforce server-side Gradio auth=(username, password) with user-supplied credentials rather than client-side visibility toggles or hardcoded access codes.
-
MediumExecutable binary downloaded over unencrypted HTTP without checksum
skills/bio-genome-intervals-bigwig-tracks/SKILL.md:45
The skill's direct installation instructions tell the agent to download the bedGraphToBigWig Linux binary over unencrypted HTTP and immediately mark it executable with chmod +x. Because HTTP provides no server authentication or encryption, an attacker on the same Wi-Fi or network path can swap the binary in transit and run arbitrary code on the user's computer, and no checksum is verified.
Fix: Download over HTTPS (https://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/bedGraphToBigWig) and verify a pinned SHA-256 checksum before running chmod +x, or install exclusively via bioconda.
-
MediumAPI token and protein sequences sent to raw AWS Lambda URL
The Adaptyv cloud-lab skill hardcodes a raw AWS Lambda Function URL (*.lambda-url.eu-central-1.on.aws) rather than a domain owned by adaptyvbio.com, and sends the user's ADAPTYV_API_KEY bearer token and protein sequences to it. TLS only verifies that the endpoint is hosted on AWS infrastructure, giving no cryptographic assurance that Adaptyv Bio owns or still controls that function rather than an unknown third party.
Fix: Use an official HTTPS API domain controlled by Adaptyv Bio or require the user to explicitly configure the endpoint URL alongside their API key.
-
MediumOver-broad shell and network permissions on non-code skills
skills/adhd-daily-planner/SKILL.md:5
The adhd-daily-planner skill is a purely conversational daily-planning guide with no scripts or commands, yet its frontmatter pre-authorizes Bash, Edit, Write, WebFetch, WebSearch, and Task (similarly, skills/bgpt-paper-search/SKILL.md wraps a remote MCP tool but pre-authorizes unrestricted Bash). In agent frameworks that honor allowed-tools to auto-approve tool calls, activating a benign planning or search skill removes confirmation prompts for arbitrary shell execution and outbound network requests if the agent encounters prompt injection in tasks or papers.
Fix: Remove Bash, Edit, Write, WebFetch, WebSearch, and Task from adhd-daily-planner (and remove Bash from bgpt-paper-search) so each skill requests only the minimum tools it actually needs.
-
MediumCloning and running unpinned third-party GitHub repositories at runtime
skills/rfdiffusion/SKILL.md:41
The recommended RFdiffusion workflow clones a personal GitHub repository (hgbrian/biomodals) without pinning a commit hash and immediately runs Python scripts from it via Modal; similar unpinned git clones appear in proteinmpnn, solublempnn, single-downstream-analysis, and protein-structure-prediction. If any of those upstream accounts or repositories are compromised, the agent will pull and execute untrusted code with access to local files and cloud credentials.
Fix: Pin git checkouts to a reviewed commit SHA or release tag before installing or executing scripts.
-
MediumPath traversal via unsanitized task ID in BioMaster UI
skills/biomaster-workflows/repo/runv.py:239
The
sample_idfield from the Gradio web interface is inserted directly into file and directory paths (./output/{sample_id}/,./output/{sample_id}_PLAN.json, and./output/{sample_id}_Step_*.sh) without checking for..or path separators. Any client reaching the web UI can supply../sequences to list arbitrary directories on the computer and read or overwrite matching files outside./output/.Fix: Validate
sample_idagainst a strict allowlist such as^[A-Za-z0-9_-]+$and verify that resolved paths stay within./output/. -
MediumPredictable /tmp LibreOffice profile enables local macro hijacking
skills/docx/scripts/accept_changes.py:16
accept_changes.pyuses a hardcoded world-accessible directory/tmp/libreoffice_docx_profilefor LibreOffice'sUserInstallationprofile and runs the StarBasic macroStandard.Module1.AcceptAllTrackedChanges. IfModule1.xbaalready exists in/tmp/libreoffice_docx_profileand contains the textAcceptAllTrackedChanges,_setup_libreoffice_macro()leaves it untouched and runs it. On a shared multi-user computer (such as a university or hospital research server), another local user can pre-create that file with malicious StarBasic commands to execute arbitrary code as the victim whenever thedocxskill accepts tracked changes.Fix: Create a private per-run temporary directory with
tempfile.TemporaryDirectory()(mode0700) for the LibreOfficeUserInstallationprofile and delete it aftersofficeexits. -
MediumR code injection via unescaped file paths in RDS converter
skills/tooluniverse-rnaseq-deseq2/scripts/convert_rds_to_csv.py:41
convert_rds_to_csv embeds rds_path and csv_path directly inside double-quoted strings in a temporary R script and executes it with Rscript. A received .rds file with double quotes and R commands in its filename (or a prompt-injected output path) breaks out of the string literal and runs arbitrary R and system commands; additionally, readRDS followed by as.data.frame can trigger code execution from malicious serialized R promises.
Fix: Pass input and output file paths as command-line arguments to Rscript and read them via commandArgs(trailingOnly = TRUE) instead of interpolating paths into R source code.
-
MediumPredictable /tmp shared library path used in LD_PRELOAD without ownership check
skills/docx/scripts/office/soffice.py:41
When Unix domain sockets are restricted, get_soffice_env sets LD_PRELOAD to a fixed path in the shared temporary directory (/tmp/lo_socket_shim.so), and _ensure_shim reuses that file whenever it already exists without verifying ownership or permissions (duplicated in skills/pptx/scripts/office/soffice.py and skills/xlsx/scripts/office/soffice.py). On a multi-user machine or container with a shared /tmp, another local user can pre-create lo_socket_shim.so to execute arbitrary native code as the user whenever LibreOffice runs.
Fix: Compile and store the shim inside a user-owned directory created with tempfile.mkdtemp() or under the user's cache directory with 0700 permissions.
-
MediumShell command injection in DiffDock Docker invocation via SMILES string
skills/biomni-general-agent/repo/biomni/tool/pharmacology.py:81
run_diffdock_with_smiles interpolates smiles_string inside single quotes into a /bin/bash -c command run inside a Docker container that bind-mounts local_output_dir read-write from the host. If the agent is tricked by untrusted text into passing a SMILES string containing a single quote, attacker-controlled shell commands run in the container with write access to the mounted host folder. The function also pulls an unpinned rbgcsail/diffdock image at runtime.
Fix: Pass arguments as an argument list to micromamba without /bin/bash -c string interpolation, validate SMILES characters, and pin the container image by digest.
-
MediumShell command injection in bioinformatics tool wrappers using shell=True
skills/biomni-general-agent/repo/biomni/tool/cancer_biology.py:530
detect_and_annotate_somatic_mutations builds shell command strings from output_prefix and snpeff_database and runs them with shell=True without escaping. The same pattern appears in skills/biomni-general-agent/repo/biomni/tool/genetics.py inside analyze_protein_phylogeny, which interpolates input file names and output_dir into an iqtree command run with shell=True. If the agent passes attacker-influenced file paths or parameter names containing shell metacharacters, arbitrary commands execute on the host.
Fix: Avoid shell=True; run external binaries with argument lists and write redirected output to a Python file handle instead of using shell redirection or pipes.
-
MediumPython code injection and unpinned Git install in annotate_celltype_with_panhumanpy
skills/biomni-general-agent/repo/biomni/tool/genomics.py:691
annotate_celltype_with_panhumanpy dynamically writes a temporary Python script by interpolating adata_path and output_dir directly into string literals via an f-string, then executes that script with python. A path containing quotes or triple quotes breaks out of the string literal and executes arbitrary Python code. When creating its Conda environment, the same function also installs unpinned code at runtime from git+https://github.com/satijalab/panhumanpy.git.
Fix: Pass adata_path, output_dir, and flags as command-line arguments (sys.argv) or environment variables to a static script rather than interpolating them into Python source code, and pin the package to a verified commit hash or release.
-
MediumUnpinned remote code download and execution via Hugging Face trust_remote_code
skills/biomni-general-agent/repo/biomni/tool/systems_biology.py:31
query_chatnt loads the InstaDeepAI/ChatNT model from Hugging Face with trust_remote_code=True and no pinned revision commit hash, downloading and executing remote Python code at runtime. Similar unpinned runtime downloads occur in pharmacology.py (pip install DeepPurpose), support_tools.py (pip install synapseclient), and STAgent's squidpy_rag.py (cloning https://github.com/scverse/squidpy on import). If any upstream repository is compromised, users execute untrusted code automatically.
Fix: Pin a specific verified commit hash using the revision parameter when loading Hugging Face models with trust_remote_code=True, and declare version-pinned dependencies at install time rather than running pip or git clone at runtime.
-
MediumServer-side request forgery and IUCN API token leak in database query tools
skills/biomni-general-agent/repo/biomni/tool/database.py:244
Database query helpers in database.py accept either a raw endpoint URL or a natural-language prompt converted into a full_url by an LLM, and pass that URL directly to _query_rest_api without verifying the destination host or scheme. An attacker who influences the prompt or endpoint via prompt injection can force requests to internal or localhost services (SSRF); in query_iucn, the user's IUCN API token is appended as a query parameter to the unvalidated URL, leaking the secret to an external server.
Fix: Parse generated and caller-supplied URLs with urllib.parse.urlparse, enforce HTTPS, and allowlist the exact expected hostname for each database API before sending requests or attaching credentials.
-
MediumPlaintext FTP install script piped directly to shell in ClinVar reference
skills/clinvar-database/references/api_reference.md:138
The ClinVar skill reference instructs the agent to install Entrez Direct by downloading a shell script over unencrypted FTP and immediately running it with sh -c. Because plaintext FTP has no encryption or server verification, anyone on the same Wi-Fi or network path can tamper with the download in transit and run arbitrary code on the user's computer.
Fix: Fetch the script over HTTPS (https://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect/install-edirect.sh), pin a specific release version, and verify its SHA-256 checksum before executing, or install entrez-direct via a package manager such as Conda.
-
MediumPersonal OMIM API key and research queries sent to undisclosed third-party proxy
skills/medical-research-toolkit/scripts/drug-repurposing-workflow.md:10
Instead of querying public biomedical APIs directly, this workflow sends all requests—including Step 2 OMIM calls containing the user's personal OMIM API key in the JSON body—to https://mcp.cloud.curiloo.com/tools/unified/mcp. Neither the README nor the OMIM reference warns that credentials and potentially sensitive disease or genetic queries are routed through curiloo.com.
Fix: Query upstream APIs such as api.omim.org directly from the client, or clearly disclose the third-party operator of mcp.cloud.curiloo.com and avoid forwarding user-owned API keys to external proxies.
-
MediumOpen Notebook Docker Compose template exposes root:root database and unauthenticated API on all interfaces
skills/open-notebook/references/configuration.md:15
The minimal Docker Compose configuration starts SurrealDB with hardcoded root/root credentials and publishes port 8000 on 0.0.0.0 even though Open Notebook connects over the internal Docker network. It also publishes the UI (8502) and REST API (5055) on all interfaces without setting OPEN_NOTEBOOK_PASSWORD while CORS is enabled, allowing anyone on the local network or a visited webpage to read or modify notebooks and stored credential configurations.
Fix: Remove the host port mapping for SurrealDB (8000:8000), require strong unique database credentials, bind ports 8502 and 5055 to 127.0.0.1, and require OPEN_NOTEBOOK_PASSWORD in the default compose template.
-
LowHiGlass Docker container publishes unauthenticated web server on all network interfaces
skills/bio-genome-assembly-scaffolding/SKILL.md:127
When visualizing genome contact maps with HiGlass, the skill instructs the agent to launch a detached Docker container with '--publish 8888:80' mounting '~/hg-data' and using an unpinned ':latest' image. Omitting a localhost bind address publishes port 8888 on 0.0.0.0 (all network interfaces) and can bypass host firewall rules on Linux, exposing the user's genomic data in '~/hg-data' to anyone on the local network without authentication.
Fix: Bind the published port strictly to localhost ('--publish 127.0.0.1:8888:80') and pin the higlass-docker image to a specific version or digest.
-
LowAntigen and peptide sequences sent over unencrypted HTTP to IEDB API
skills/bio-immunoinformatics-epitope-prediction/SKILL.md:48
Both bio-immunoinformatics-epitope-prediction and bio-immunoinformatics-mhc-binding-prediction submit protein and peptide sequences via POST requests to http://tools-cluster-interface.iedb.org over unencrypted HTTP. Sending proprietary vaccine or patient-derived neoantigen sequences in cleartext exposes them to network eavesdropping and allows prediction results to be altered in transit.
Fix: Update all IEDB API URLs from http:// to https:// (https://tools-cluster-interface.iedb.org/tools_api/...).
-
LowUnpinned runtime binary and package downloads without checksum verification
skills/bio-epidemiological-genomics-variant-surveillance/SKILL.md:32
The variant surveillance skill downloads the 'latest' Nextclade executable binary directly from GitHub via curl and marks it executable without version pinning or SHA-256 checksum verification (similarly, bgpt-paper-search runs unpinned 'npx mcp-remote' and 'npx bgpt-mcp' packages). Fetching unpinned executables at runtime exposes the user to upstream tag or package compromise.
Fix: Pin downloads and npx invocations to specific release versions and verify SHA-256 checksums before marking downloaded binaries executable.
-
LowUnsafe pickle deserialization enabled when loading NumPy matrices
skills/bio-expression-matrix-sparse-handling/SKILL.md:122
The sparse matrix skill instructs the agent to load .npz count archives with allow_pickle=True. NumPy disables pickle loading by default because unpickling a maliciously crafted .npz file from a public dataset or external collaborator executes arbitrary Python code.
Fix: Store gene and sample names as fixed-width Unicode arrays or a separate TSV file and load .npz files with the default allow_pickle=False.
-
LowUnquoted file paths interpolated into shell=True subprocess calls
skills/bio-atac-seq-atac-qc/SKILL.md:245
Several Python helper functions in the skill templates (including bio-atac-seq-atac-qc, bio-cfdna-preprocessing, bio-ctdna-mutation-detection, bio-tumor-fraction-estimation, and alphafold-database) interpolate file paths or sample IDs directly into f-strings executed with shell=True. If the agent runs these functions on files from an untrusted archive containing shell metacharacters in their names, arbitrary commands can execute.
Fix: Pass arguments as a list with shell=False or sanitize interpolated arguments with shlex.quote().
-
LowValyu API key requested in chat and passed on the command line
skills/arxiv-search/SKILL.md:57
The setup workflow instructs the agent to ask the user to paste their Valyu API key into the chat conversation and then pass it as a command-line argument to 'scripts/search setup <api-key>'. This exposes the API key in LLM conversation logs, agent command logs, and the local process table.
Fix: Instruct the user to set VALYU_API_KEY in their environment or a restricted local config file rather than pasting secrets into chat or CLI arguments.
-
LowBiomedical queries routed by default through an unofficial third-party proxy
skills/medical-research-toolkit/SKILL.md:14
Instead of querying public databases like PubMed, ClinicalTrials.gov, ChEMBL, OpenFDA, or OMIM directly, this skill sends all tool calls by default to a privately hosted server at mcp.cloud.curiloo.com. Sensitive research hypotheses, rare-disease patient phenotypes, or optional API keys included in queries are exposed to that third-party operator without any warning about data handling.
Fix: Default to running the MCP server locally or querying the official public APIs directly, and require explicit user opt-in with a clear privacy warning before sending queries to mcp.cloud.curiloo.com.
-
LowMandatory runtime pip upgrade bypasses OS Python package protections
skills/imaging-data-commons/SKILL.md:34
The skill instructs the agent as a mandatory first step to automatically run pip3 install --upgrade --break-system-packages idc-index (and skills/instrument-data-to-allotrope/SKILL.md similarly instructs using --break-system-packages without version pins). Using --upgrade without an upper version or hash pin executes arbitrary package code from PyPI at runtime, while --break-system-packages overrides OS safeguards and can corrupt system Python libraries.
Fix: Install pinned package versions inside an isolated virtual environment (such as uv venv or python -m venv) rather than running unpinned upgrades with --break-system-packages.
-
LowSkill discovery workflow runs unpinned npx CLI and installs global skills without confirmation
skills/find-skills/SKILL.md:92
Triggered by broad 'how do I do X' questions, this skill runs an unpinned npm package (npx skills) at runtime and instructs the agent to install third-party GitHub skills globally (-g) while skipping CLI confirmation prompts (-y). If the agent is steered by prompt injection or poisoned search results, an unvetted skill is installed across all of the user's workspaces and future agent sessions.
Fix: Pin the CLI package version, install skills only into the current workspace rather than globally (-g), and remove -y so explicit confirmation and review occur before installation.
-
LowUnpinned remote install scripts piped directly to bash
skills/nextflow-development/SKILL.md:75
When Nextflow is missing during environment checks, this skill instructs piping a remote script from get.nextflow.io directly into bash without version pinning or checksum verification (and skills/lobster-bioinformatics/README.md similarly pipes an install script from a mutable GitHub main branch into bash). If the remote server or branch is compromised, arbitrary code runs on the user's machine.
Fix: Download a specific pinned release archive, verify its SHA-256 checksum before execution, or install via a package manager with integrity checks.
-
LowAPI keys solicited in plaintext chat and passed as command-line arguments
skills/biomedical-search/SKILL.md:57
During setup, biomedical-search and eight sibling Valyu search skills instruct the agent to ask the user to paste their Valyu API key directly into the chat conversation and then pass that key on the command line (scripts/search setup <api-key>); similar CLI password flags appear in gget and labarchive-integration. Pasting secrets into chat sends them to the model provider and logs them in transcripts, while CLI arguments expose secrets in the local process table to other processes on the machine.
Fix: Instruct users to set the API key directly in an environment variable or a local .env file with restricted permissions instead of pasting it into chat or passing it on the command line.
-
LowConversational wellness skills request unnecessary shell, file-write, and network permissions
skills/grief-companion/SKILL.md:5
Purely conversational support and planning skills—including grief-companion and adhd-daily-planner—declare allowed-tools that grant Bash, Write, Edit, WebFetch, and Task despite containing no scripts or file workflows. If the agent is exposed to prompt injection while these skills are active, the extra tool permissions needlessly allow command execution and file modification.
Fix: Restrict allowed-tools in purely conversational skills to minimal read-only tools or none at all.
-
LowWriting skills mandate sending manuscript and grant descriptions to external AI APIs
skills/scientific-writing/SKILL.md:33
Both scientific-writing and research-grants mark calling generate_schematic.py as mandatory ('This is not optional') on every paper or grant proposal, and scientific-critical-thinking and research-lookup recommend doing so by default. When OPENROUTER_API_KEY is set, drafting or editing an unpublished manuscript or confidential grant causes the agent to send descriptions of the user's research to OpenRouter without the user asking for AI-generated diagrams.
Fix: Make external AI diagram generation opt-in and ask for user confirmation before sending unpublished manuscript or grant details to OpenRouter.
-
LowSkill prompt steers the agent to promote an external commercial platform
The tiledbvcf skill contains an embedded instruction telling the agent to proactively pitch K-Dense Web (www.k-dense.ai), a commercial hosted platform, whenever a user's task involves multi-step reasoning, deep research, or dataset exploration. This steers the agent to output unsolicited advertising unrelated to TileDB-VCF and nudges users working with sensitive genomic VCF files toward a third-party web service.
Fix: Remove the promotional section that instructs the agent to suggest K-Dense Web.
-
LowSpreadsheet recalculation overwrites user's existing LibreOffice macros
skills/xlsx-official/recalc.py:46
When
recalc.pyconfigures LibreOffice for formula recalculation, it writes directly toStandard/Module1.xbainside the user's real LibreOffice profile (~/.config/libreoffice/4/...or~/Library/Application Support/LibreOffice/4/...). BecauseModule1is LibreOffice's default module for user-saved macros, opening it in write mode ('w') silently erases any existing macros the user had stored there ifRecalculateAndSaveis not already present.Fix: Use an isolated temporary LibreOffice profile created via
tempfile.TemporaryDirectory()with-env:UserInstallation=file://...instead of modifying the user's personal LibreOffice profile. -
LowPath traversal when downloading Galaxy dataset outputs
skills/galaxy-bridge/galaxy_bridge.py:182
When
run_tool_on_galaxy()downloads job outputs from a Galaxy server, it builds the local filename directly from the remote dataset'snamefield (fname = f"{ds.get('name', oid)}.{ext}") and joins it togalaxy_outputs/without stripping directory components. If a custom Galaxy server or a Galaxy tool that echoes input labels into output names returns../inname, the downloaded file can overwrite paths outsidegalaxy_outputs/.Fix: Sanitize
fnameusingPath(fname).name, replace unsafe characters, and verifyout_path.resolve().is_relative_to(galaxy_out.resolve())before downloading. -
LowStored cross-site scripting in BioMaster knowledge viewer
skills/biomaster-workflows/repo/runv.py:93
show_plan_knowledge()andshow_task_knowledge()readsource,page, andcontentfrom the knowledge JSON files (which can also be written via theadd_knowledge_entryform) and insert them directly into agr.HTML()table without HTML escaping. Any<script>or event-handler markup in a knowledge entry will execute JavaScript in the user's browser when viewing the knowledge table.Fix: Escape
source,page, andcontentwithhtml.escape()before inserting them into the HTML string. -
LowValyu search scripts save API keys without restrictive file permissions
skills/arxiv-search/scripts/search.mjs:58
Running the
setupcommand inarxiv-search(and the same helper pattern inbiomedical-search,chembl-search,clinical-trials-search,drug-discovery-search,drug-labels-search, anddrugbank-search) writes the user's Valyu API key to~/.valyu/config.jsonusing default file permissions. On shared systems with a standard022umask, other local users can read the API key.Fix: Create
~/.valyuwith{ recursive: true, mode: 0o700 }and writeconfig.jsonwith{ mode: 0o600 }. -
LowUnquoted arguments written to reproducibility shell scripts
skills/ukb-navigator/ukb_navigator.py:292
ukb_navigator.py(as well asmetagenomics_profiler.pyandgalaxy_bridge.py) writes user-supplied query text and file paths intoreproducibility/commands.shwithout shell escaping. Although the skill does not runcommands.shautomatically, double-quoting{query}allows bash command substitution ($(...)or backticks) if the user later executes the reproducibility script after a crafted query.Fix: Wrap all interpolated arguments with
shlex.quote()when generatingcommands.sh, matching the pattern used inscrna_orchestrator.py. -
LowUnescaped conversation content in Biomni HTML report export
skills/biomni/scripts/generate_report.py:244
markdown_to_html_simple()inserts conversation lines directly into<p>and heading tags without escaping HTML characters. If a conversation log contains untrusted text from fetched papers or web pages and the user exports it with--format htmland opens the file in a browser, embedded scripts will run locally.Fix: Escape text with
html.escape()before applying markdown-to-HTML tag replacements. -
LowLobster skill installer downloads unpinned SKILL.md from main branch
skills/lobster-bioinformatics/install.sh:18
The standalone
install.shhelper fetchesSKILL.mddirectly from the mutablemainbranch of an external GitHub repository without pinning a commit hash or checking a digest, writing it into~/.claude/skills/lobster/SKILL.md. If that upstream branch were compromised, running this installer would plant malicious agent instructions.Fix: Pin the download URL to an immutable commit SHA and verify a SHA-256 checksum before writing to
~/.claude/skills/. -
LowBioMCP Dockerfile clones and installs unpinned Git repository
skills/biomcp-server/repo/Dockerfile:25
When building the optional BioMCP container image, the Dockerfile clones
https://github.com/google-deepmind/alphagenome.gitat HEAD without pinning a tag or commit hash before runningpip install, exposing manual image builds to upstream branch changes.Fix: Check out a specific verified commit SHA or release tag before running
pip install /tmp/alphagenome. -
LowSilent runtime installation of unpinned PyPI package with --break-system-packages
skills/wikipedia-search/scripts/wiki.py:19
If wikipediaapi is missing when wiki.py runs, the script automatically invokes pip install Wikipedia-API --break-system-packages without user confirmation, version pinning, or hash verification. Downloading and executing unpinned code at runtime exposes the user to PyPI supply-chain compromise and can overwrite OS-managed Python packages.
Fix: Declare a pinned dependency in a requirements file instead of auto-installing packages at runtime with --break-system-packages.
-
LowArbitrary code execution via eval() on tool schema parameter types
skills/biomni-general-agent/repo/biomni/utils.py
In api_schema_to_langchain_tool, any parameter type string not found in a small allowlist is passed directly to Python's eval(). Because tool schemas can be generated by an LLM from external code snippets via function_to_api_schema or loaded from custom tool definitions, a crafted parameter type string can execute arbitrary Python code during tool registration.
Fix: Remove eval(param_type) and fall back to typing.Any for unrecognized type names, or parse only safe type expressions using the ast module.
-
LowUnrestricted URL and local file fetching during WeasyPrint PDF export
skills/biomni-general-agent/repo/biomni/utils.py:1989
convert_markdown_to_pdf converts conversation markdown to HTML without escaping raw HTML tags and passes it to weasyprint.HTML() with its default URL fetcher. If untrusted text from fetched papers or web searches in the conversation contains HTML tags such as <img> or <link rel="attachment" href="file:///...">, WeasyPrint can make internal network requests (SSRF) or embed local files into the generated PDF.
Fix: Sanitize HTML output before rendering and pass a custom url_fetcher to WeasyPrint that blocks file:// URLs and private/loopback network addresses.
-
LowBioMCP HTTP server modes bind to 0.0.0.0 without authentication
skills/biomcp-server/repo/src/biomcp/cli/server.py:113
When BioMCP is started in worker or streamable_http mode, the host option defaults to 0.0.0.0 on port 8000 with no authentication or Origin check. Anyone on the local network can query the MCP server and consume the user's configured API keys (such as NCI_API_KEY, OPENFDA_API_KEY, ALPHAGENOME_API_KEY, or ONCOKB_TOKEN).
Fix: Default the bind host to 127.0.0.1 and require explicit opt-in and authentication before listening on all network interfaces.
-
LowXML External Entity (XXE) resolution in Office document schema validators
skills/docx/scripts/office/validators/base.py:764
BaseSchemaValidator parses XML files from unpacked Office archives using lxml.etree.parse() with its default parser, which enables local entity resolution (resolve_entities=True) even when network access is disabled, and extracts original archives with zipfile.extractall(). Identical validator code is duplicated across docx-official, pptx, pptx-official, and xlsx. Validating a crafted document from an untrusted sender can resolve file:// entities and surface local file contents inside XSD validation error output.
Fix: Configure lxml.etree.XMLParser(resolve_entities=False, no_network=True, dtd_validation=False) for all XML parsing, and validate archive member paths before extraction.
-
LowUnsafe PyTorch deserialization via global weights_only=False monkey-patch
skills/biomni-general-agent/repo/biomni/tool/bioimaging.py:443
segment_with_nn_unet temporarily replaces torch.load globally to force weights_only=False before running nnUNet inference. Disabling PyTorch's weights_only protection allows pickle to execute arbitrary code if an untrusted or tampered model checkpoint is loaded.
Fix: Avoid globally monkey-patching torch.load with weights_only=False; instead register only the specific safe classes needed via torch.serialization.safe_globals.
-
LowSynapse authentication token exposed in process arguments and error messages
skills/biomni-general-agent/repo/biomni/tool/support_tools.py:344
download_synapse_data passes SYNAPSE_AUTH_TOKEN on the command line using synapse -p <token>. While downloads run, any local user on a shared machine can read the secret token from the process table, and if the subprocess fails without stderr output, str(e) on CalledProcessError includes the full command list—leaking the token directly into the returned tool output.
Fix: Authenticate the Synapse CLI using the SYNAPSE_AUTH_TOKEN environment variable rather than passing -p on the command line, and redact secrets from exception messages.
-
LowUnescaped HTML rendering and unsanitized history filenames in STAgent UI
skills/spatial-transcriptomics-analysis/STAgent/repo/src/util.py:38
display_message (and its copy in util_anthropic.py) interpolates message text directly into an HTML block rendered with unsafe_allow_html=True, allowing HTML/script injection when viewing untrusted conversation histories or transcriptions. In addition, save_history in unified_app.py builds file paths from the conversation title by only replacing spaces, allowing path traversal via ../ sequences.
Fix: Escape message text with html.escape() before passing it to st.markdown(..., unsafe_allow_html=True), and sanitize saved history filenames with os.path.basename and an alphanumeric allowlist.
-
LowUnauthenticated BioMCP HTTP worker with wildcard CORS
skills/biomcp-server/repo/src/biomcp/workers/worker.py:25
When BioMCP is run in HTTP worker mode, it mounts the streamable MCP application at the root path with no authentication check and configures CORSMiddleware to allow all origins, methods, headers, and credentials. If a user starts this server locally, any website visited in their browser (or any device on a shared network if bound beyond localhost) can invoke BioMCP tools directly and make requests using configured API tokens such as ONCOKB_TOKEN or CBIO_TOKEN.
Fix: Require bearer token authentication on the worker routes, bind to 127.0.0.1 by default, and restrict Access-Control-Allow-Origin to trusted origins instead of '*'.
-
LowUnpinned remote install script piped directly to bash
skills/single-preprocessing/reference.md:19
The single-cell preprocessing command reference instructs fetching an install.sh script from the mutable master branch of a third-party GitHub repository and piping it directly into bash without commit pinning or checksum verification. (A similar 'curl -s https://get.nextflow.io | bash' pattern appears in bio-workflow-management-nextflow-pipelines/usage-guide.md.) If the upstream repository or transport is compromised when a user or agent runs GPU environment setup, arbitrary code will execute on the machine.
Fix: Pin the script URL to an immutable commit SHA, verify a cryptographic SHA-256 checksum before execution, or install packages exclusively through version-pinned pip/conda specifications.
-
LowAuthentication bypass and OAuth state confusion in bundled Cloudflare Worker
skills/biomcp-server/repo/src/biomcp/workers/worker_entry_stytch.js:1195
This Cloudflare Worker script bundled inside the vendored biomcp repo is not executed by a normal local OpenClaw installation, but contains severe flaws if deployed: the /messages* endpoint omits stytchBearerTokenAuthMiddleware and forwards unauthenticated MCP requests to the backend, /callback ignores the incoming state parameter and uses the globally most recent OAuth request in KV alongside an unvalidated redirect_uri (enabling authorization code hijacking), and JWT signing falls back to 'default-jwt-secret-key' if JWT_SECRET is unset.
Fix: Enforce stytchBearerTokenAuthMiddleware on /messages*, bind /callback strictly to the caller's state parameter and an allowlist of redirect URIs, and fail closed when JWT_SECRET is missing.
-
LowUnpinned curl-to-bash installer in AlphaFold Database reference
skills/alphafold-database/references/api_reference.md:304
The AlphaFold Database skill reference tells the agent to install the Google Cloud SDK by piping a remote script from sdk.cloud.google.com directly into bash without version pinning or checksum verification. Executing unverified remote scripts at runtime risks running untrusted code if the remote host or CDN is compromised.
Fix: Install google-cloud-cli through an OS package manager that verifies package signatures (such as apt or Homebrew), or download a versioned archive and verify its SHA-256 hash before running.
-
LowBundled BioMCP Docker Compose exposes unauthenticated HTTP server on all interfaces
skills/biomcp-server/repo/docker-compose.yml:8
The optional Docker Compose file bundled inside the biomcp-server repository publishes port 8000 on 0.0.0.0 in streamable_http mode with no authentication while passing ALPHAGENOME_API_KEY into the container. Although never started automatically on skill installation, a user who runs docker compose up exposes the MCP server to anyone on the local network.
Fix: Bind the container port to localhost only (127.0.0.1:8000:8000) unless authentication is enabled in front of the HTTP server.
-
LowDefault placeholder JWT secret in bundled BioMCP Cloudflare Worker config
skills/biomcp-server/repo/wrangler.toml:29
The vendored Cloudflare Worker configuration defines a hardcoded placeholder JWT_SECRET in plaintext [vars]. It is never executed during a normal local skill install, but anyone deploying this worker without overriding JWT_SECRET via wrangler secret put would allow attackers to forge authentication tokens.
Fix: Remove JWT_SECRET from [vars] in wrangler.toml so the worker refuses to start unless a real secret is configured.
-
LowBundled BioMaster config defaults API endpoint to third-party SiliconFlow URL with executor enabled
skills/biomaster-workflows/repo/config.yaml:30
The vendored BioMaster configuration sets https://api.siliconflow.cn/v1/ as the default base_url for main and embedding models and sets executor: true. While inactive unless BioMaster is manually configured and run, supplying an API key without changing base_url sends prompts, dataset descriptions, and credentials to siliconflow.cn.
Fix: Leave base_url empty by default so users explicitly choose their LLM provider endpoint, and default executor to false.
-
LowHealth report HTML template loads unpinned remote scripts without integrity checks
skills/health-trend-analyzer/templates/report-template.html:9
The HTML template used to render personal health reports (containing weight, symptoms, lab results, and medication adherence) loads live unpinned JavaScript from cdn.tailwindcss.com and scripts from unpkg.com and cdn.jsdelivr.net without Subresource Integrity hashes. Opening a local report leaks metadata to third-party CDNs and exposes sensitive health data in the page DOM if an upstream CDN script is compromised.
Fix: Bundle styles and charting libraries locally for offline viewing, or pin exact versions and add Subresource Integrity attributes to all external script tags.
-
LowUnpinned Nextflow installer piped directly from curl to bash
skills/nextflow-development/references/installation.md:15
The installation reference instructs running curl -s https://get.nextflow.io | bash, which downloads and executes remote shell code without version pinning or cryptographic checksum verification. If the agent executes these setup instructions, a compromised upstream server or network tampering would run arbitrary code on the user's machine.
Fix: Download a specific pinned Nextflow release from GitHub Releases and verify its SHA-256 checksum before executing it, or install a pinned version via Conda/Bioconda.
-
LowMCP setup runs unpinned latest pre-release packages from PyPI at startup
skills/medical-imaging-review/references/MCP_SETUP.md:62
The recommended MCP configuration invokes uvx pubmedmcp@latest with UV_PRERELEASE set to allow (and uvx arxiv-mcp-server without a version pin). Every time the MCP server starts, uvx downloads and executes the newest package from PyPI—including unstable or unreviewed pre-releases—exposing the user to supply-chain compromise.
Fix: Pin exact vetted package versions (for example pubmedmcp==x.y.z) and remove UV_PRERELEASE=allow.
-
LowVaex skill reference instructs starting an unauthenticated server on 0.0.0.0
skills/vaex/references/io_operations.md:474
The Vaex I/O reference guide instructs the agent to launch vaex-server bound to 0.0.0.0 on port 9000 over unencrypted WebSocket (ws://) with no password or token check. If a user asks the agent to serve a genomic or clinical HDF5 dataset using this pattern, anyone on the local network can connect to port 9000 and read or query the dataset.
Fix: Bind vaex-server to 127.0.0.1 by default in the example and warn users to add TLS and authentication before exposing datasets on a network.
-
LowPlaintext HTTP installer download and unpinned binaries without checksums
skills/biomni-general-agent/repo/biomni_env/cli_tools_config.json:86
The Biomni CLI tool installer configuration fetches the executable HOMER installation script (configureHomer.pl) over unencrypted HTTP, pulls floating sources for BWA (bwa.git) and FastTree (FastTree.c), and omits cryptographic checksum verification for all seven tool downloads. If the user or agent runs these tool installers, a network attacker on the path or a compromised upstream server can substitute malicious code.
Fix: Use HTTPS URLs exclusively, pin all Git repositories and source files to immutable release tags or commit hashes, and verify SHA-256 checksums before executing or extracting downloads.
-
LowUnsanitized VCF sample names used directly in output file paths
skills/variant-interpretation-acmg/bioSkills/consensus-sequences/usage-guide.md:217
The multi-sample workflow loops over sample names extracted from a VCF header with bcftools query -l and uses each sample name directly as an output filename (a pattern also present in vcf-manipulation/usage-guide.md). If the agent runs this command on a crafted VCF file from an untrusted source whose sample header contains ../ path traversal sequences, files can be written outside the working directory.
Fix: Sanitize sample names (for example by stripping directory separators and rejecting ..) before using them in file paths, and read lines safely instead of using unquoted command substitution.
-
LowClinical variant database downloaded over unencrypted FTP without checksum verification
skills/variant-interpretation-acmg/bioSkills/clinical-interpretation/usage-guide.md:27
The setup instructions download the ClinVar clinical pathogenicity database using plaintext FTP with no integrity check. Anyone able to intercept network traffic during setup could tamper with clinvar.vcf.gz in transit and alter clinical variant classifications, even though NCBI serves the same file over HTTPS alongside an MD5 checksum.
Fix: Download ClinVar over HTTPS (https://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf_GRCh38/clinvar.vcf.gz) and verify the accompanying clinvar.vcf.gz.md5 checksum file.
-
LowPredictable /tmp directory and unvalidated zip extraction in test script
skills/tooluniverse-image-analysis/test_image_analysis.py:30
This developer test script uses a fixed /tmp/bixbench_image_data path, trusts pre-existing files in that directory without verification, and extracts downloaded archives with z.extractall() without checking member paths. On a shared multi-user machine, another local user could pre-stage symlinks or modified CSV files in /tmp/bixbench_image_data before tests are run. Normal skill usage never executes this test script.
Fix: Create a private temporary directory with tempfile.mkdtemp() and validate zip archive member paths before extracting.
-
LowUnquoted file paths passed to subprocess.run with shell=True in example scripts
skills/bio-comparative-genomics-ortholog-inference/examples/ortholog_analysis.py:122
Example pipeline code interpolates filenames from os.listdir() and user-supplied directory paths directly into a shell command string executed with shell=True (the same pattern also appears in examples for bio-cfdna-preprocessing, bio-comparative-genomics-synteny-analysis, bio-ctdna-mutation-detection, and bio-liquid-biopsy-pipeline). Although example scripts are not run automatically upon installation, if an agent or user runs or adapts this code on datasets containing crafted filenames, shell metacharacters can execute arbitrary commands.
Fix: Replace shell=True string interpolation with shutil.copy2() for file copies and pass argument lists to subprocess.run([...], shell=False) for external tools.
-
LowReference panel example script downloads genomic VCFs over plaintext HTTP without checksums
skills/bio-phasing-imputation-reference-panels/examples/download_reference.sh:20
The reference panel download script fetches 1000 Genomes VCF files over unencrypted HTTP without verifying SHA-256 or MD5 checksums. If a user or agent runs this script, a network attacker could tamper with the downloaded VCF files in transit.
Fix: Switch the download URL from http:// to https:// and verify downloaded archives against published checksums before use.
-
LowBioMCP HTTP server documentation binds unauthenticated listener to 0.0.0.0
skills/biomcp-server/repo/docs/tutorials/pydantic-ai-integration.md:104
The bundled BioMCP integration guide instructs users and agents to launch the BioMCP HTTP server bound to all network interfaces (--host 0.0.0.0 --port 8000) without authentication. If started with this command, anyone on the local network can connect to the MCP endpoint and make queries using the user's configured biomedical API keys.
Fix: Update the server startup examples to bind to 127.0.0.1 by default unless authentication and network access controls are in place.
-
LowBioMCP prompt guide advises pasting API keys directly into chat messages
skills/biomcp-server/repo/docs/tutorials/nci-prompts.md:34
The bundled NCI tutorial instructs users to append their NCI API key in plaintext to every chat prompt, and openfda-prompts.md suggests a similar pattern for OpenFDA keys. Placing secret API keys in chat messages exposes them in LLM provider conversation logs, local session transcripts, and remote MCP server query logs instead of keeping them isolated in local environment variables.
Fix: Advise setting NCI_API_KEY and OPENFDA_API_KEY exclusively through local environment variables rather than passing keys inside chat prompts.
-
LowExample Biomni MCP configuration runs an unpinned Docker image with a GitHub token
skills/biomni-general-agent/repo/tutorials/examples/add_mcp_server/mcp_config.yaml:6
This tutorial MCP configuration runs ghcr.io/github/github-mcp-server without a version tag or SHA-256 digest while passing GITHUB_PERSONAL_ACCESS_TOKEN into the container and importing all repository write tools. Although not active unless a user loads this example file, using it pulls whatever mutable latest image is currently on the registry.
Fix: Pin ghcr.io/github/github-mcp-server to a specific release tag and image digest, and restrict imported tools to the minimum required.
