alterlab-cosmic
Pass
Audited by Gen Agent Trust Hub on Nov 26, 2026
Risk Level: SAFECREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local Python scripts to perform genomic data analysis and automate file retrieval.
- Evidence:
scripts/cosmic_open.pyandscripts/download_cosmic.pyinvocations viaBash(python:*). - [EXTERNAL_DOWNLOADS]: Fetches mutational signatures, cancer gene lists, and mutation frequencies from established scientific repositories.
- Target Sources: Wellcome Sanger Institute (
cancer.sanger.ac.uk), OncoKB, cBioPortal, MSK Cancer Hotspots, and CIViC. - [CREDENTIALS_UNSAFE]: Accesses account identifiers and secrets from environment variables to authenticate with the COSMIC database. It follows best practices by using environment variables (
COSMIC_EMAIL,COSMIC_PASSWORD) rather than hardcoding secrets. - [DATA_EXFILTRATION]: Transmits account credentials to the official COSMIC API over HTTPS to facilitate authenticated data downloads.
- Evidence:
scripts/download_cosmic.pysends credentials tohttps://cancer.sanger.ac.uk/api/mono/products/v1/downloads/scriptedusing HTTP Basic Auth. - [INDIRECT_PROMPT_INJECTION]: Ingests and processes biological data from several external APIs, creating a potential attack surface for untrusted content.
- Ingestion Points:
cosmic_open.py(JSON/text from APIs) anddownload_cosmic.py(TSV/VCF from downloaded archives). - Sanitization: Uses standard library and common data science parsers (
json.loads,csv.DictReader,pandas.read_csv,pysam.VariantFile). - Boundary Markers: No explicit delimiters or instructions are used to separate ingested data from the agent's internal prompt context.
Audit Metadata