Skip to content
ai-supply.store
खोजेंश्रेणियाँलीडरबोर्डसमुदायAgent APIFAQ
साइन इनमुफ़्त साइन अप
catalog / Healthcare / Nilearn — Machine Learning for NeuroImaging
⬡PipelineHealthcareFree

Nilearn — Machine Learning for NeuroImaging

Python library for ML on brain imaging data: fMRI decoding, connectivity analysis, surface plotting.

@ai-supply
इंस्टॉल43k
⟳ upstream 0.14.0 · updated 26d ago
↗ सोर्स रिपॉज़िटरी
← More HealthcareHealthcare leaderboard →How we grade security →Source ↗
✓ Grade A · 95/100 · SafeSecurity assessment
✓No compromise signals27capabilities surfaced1known CVE9of 20 OWASP controls clear
External endpoints declaredExternal endpoints declaredExternal endpoints declaredExternal endpoints declared
scanned 18d ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

Nilearn — Machine Learning for NeuroImaging

Nilearn is a Python library for machine learning on neuroimaging data (fMRI, MRI). It bridges scikit-learn with nibabel/NifTI data formats, enabling brain decoding, functional connectivity analysis, and biomarker extraction without low-level data wrangling.

Key features

  • Mass-univariate GLM for fMRI task analysis (SPM-compatible)
  • Functional connectivity matrices and ICA-based parcellations
  • 30+ built-in brain atlases (AAL, Destrieux, Schaefer, DiFuMo)
  • High-quality 3D/4D brain plot functions (glass brain, stat maps, surfaces)
  • Compatible with BIDS-formatted datasets via niworkflows

Quick start

pip install nilearn
from nilearn import datasets, plotting
from nilearn.connectome import ConnectivityMeasure

# Load example resting-state data
data = datasets.fetch_development_fmri(n_subjects=5)
measure = ConnectivityMeasure(kind="correlation")
matrices = measure.fit_transform([img for img in data.func])
plotting.plot_matrix(matrices[0], colorbar=True)
plotting.show()
npx ai-supply add nilearn-neuroimaging-ml

Curated mirror of the open-source Nilearn (BSD-3-Clause). Get it from the source.

Rating rank
#1
of 11 in Healthcare
Install rank
#6
of 11 in Healthcare
Security score
95/100 · A
safe
Security rank
#7
of 11 in Healthcare
Installs
43k
cat avg 63k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Healthcare leaderboard →
✓ Security: Safe · 9595/100 · grade Ascanned 18d ago
✓ no compromise signals28 risk-surface · 6/20 OWASP controls flagged

Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.

What this capability can do · med confidence (static)
⚑ filesystem⚑ shell⚑ network⚑ secrets
egress → nilearn.github.io, json.schemastore.org, stackoverflow.com, docs.github.com, neurostars.org, api.github.com, asv.readthedocs.io, www.sourcery.ai +32
206 steps⚑ uses secretsnilearn.github.iojson.schemastore.orggithub.comstackoverflow.comdocs.github.comneurostars.orgapi.github.combubkoo/auto-comment@v1.1.2

Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).

OWASP Top 10 for LLM Applications
⚠LLM06Excessive Agencyhigh
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 1 distinct host(s) · nilearn-nilearn-9926131/.binder/postBuildrisk surface
•External endpoints declared — 3 distinct host(s) · nilearn-nilearn-9926131/.github/ISSUE_TEMPLATE/bug.ymlrisk surface
•External endpoints declared — 2 distinct host(s) · nilearn-nilearn-9926131/.github/ISSUE_TEMPLATE/config.ymlrisk surface
•External endpoints declared — 4 distinct host(s) · nilearn-nilearn-9926131/.github/workflows/benchmark.ymlrisk surface
•Broad capability surface — 3 high-impact capability categories referenced — verify least-privilege · nilearn-nilearn-9926131/.github/workflows/test_with_tox.yml (CWE-272)risk surface
•External endpoints declared — 6 distinct host(s) · nilearn-nilearn-9926131/.github/workflows/trigger_hosting_on_pr.ymlrisk surface
•External endpoints declared — 10 distinct host(s) · nilearn-nilearn-9926131/AUTHORS.rstrisk surface
•External endpoints declared — 44 distinct host(s) · nilearn-nilearn-9926131/CITATION.cffrisk surface
•External endpoints declared — 24 distinct host(s) · nilearn-nilearn-9926131/CONTRIBUTING.rstrisk surface
•External endpoints declared — 14 distinct host(s) · nilearn-nilearn-9926131/README.rstrisk surface
•External endpoints declared — 40 distinct host(s) · nilearn-nilearn-9926131/doc/changes/names.rstrisk surface
•Egress to a private/loopback host — fcon_1000.projects.nitrc.org.* · nilearn-nilearn-9926131/doc/conf.py (CWE-918)risk surface
•External endpoints declared — 52 distinct host(s) · nilearn-nilearn-9926131/doc/conf.pyrisk surface
•External endpoints declared — 5 distinct host(s) · nilearn-nilearn-9926131/doc/glm/glm_intro.rstrisk surface
•External endpoints declared — 12 distinct host(s) · nilearn-nilearn-9926131/doc/maintenance.rstrisk surface
•External endpoints declared — 16 distinct host(s) · nilearn-nilearn-9926131/doc/references.bibrisk surface
•Egress to a private/loopback host — fcon_1000.projects.nitrc.org · nilearn-nilearn-9926131/doc/soft_references.bib (CWE-918)risk surface
•External endpoints declared — 11 distinct host(s) · nilearn-nilearn-9926131/doc/soft_references.bibrisk surface
⚠LLM03Supply Chainmedium
Vulnerable/compromised dependencies, models or archives in the artifact.
•Dependency manifest — 2 pip requirements declared · nilearn-nilearn-9926131/.binder/requirements.txtrisk surface
•Dependency manifest — 7 pip requirements declared · nilearn-nilearn-9926131/maint_tools/requirements.txtrisk surface
•Dependency manifest — 8 npm dependencies declared · nilearn-nilearn-9926131/package.jsonrisk surface
•Vulnerable dependencies — 2 known vulnerabilities in: idna@3.9.0 (CWE-1395)known CVE · -5 pts
⚠LLM05Improper Output Handlingmedium
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — OS command execution · nilearn-nilearn-9926131/build_tools/github/build_type.py (CWE-78)risk surface
•Suspicious code patterns — unsafe yaml.load · nilearn-nilearn-9926131/maint_tools/citation_cff_maint.py (CWE-502)risk surface
•Suspicious code patterns — dynamic code execution · nilearn-nilearn-9926131/nilearn/_assets/js/jquery.min.js (CWE-95)risk surface
•Suspicious code patterns — pickle deserialization · nilearn-nilearn-9926131/nilearn/_utils/estimator_checks.py (CWE-502)risk surface
⚠LLM10Unbounded Consumptionmedium
Unbounded loops/recursion causing DoS or runaway cost.
Enforced at runtime by the gateway (rate limits + spend caps + size caps); static check flags unbounded loops.
•Potentially unbounded loop — an infinite loop (while True / while(1) / for(;;)) may cause runaway consumption · nilearn-nilearn-9926131/nilearn/datasets/_utils.py (CWE-835)risk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
✓LLM01Prompt InjectionPassed
✓LLM02Sensitive Information DisclosurePassed
✓LLM04Data and Model PoisoningPassed
Backdoors/poisoning in training data or serialized models.
Behavioral poisoning needs model execution; static check covers unsafe serialization + dataset skew only.
✓LLM07System Prompt LeakagePassed
✓LLM08Vector and Embedding WeaknessesPassed
PII or plaintext source leakage in embedding/vector exports.
Embedding inversion/poisoning is largely runtime; static check covers PII in vector exports.
OWASP Machine Learning Security Top 10
⚠ML06AI Supply Chainmedium
Compromised PyPI/npm packages, typosquats, unsafe serialized models.
•Dependency manifest — 2 pip requirements declared · nilearn-nilearn-9926131/.binder/requirements.txtrisk surface
•Dependency manifest — 7 pip requirements declared · nilearn-nilearn-9926131/maint_tools/requirements.txtrisk surface
•Dependency manifest — 8 npm dependencies declared · nilearn-nilearn-9926131/package.jsonrisk surface
•Vulnerable dependencies — 2 known vulnerabilities in: idna@3.9.0 (CWE-1395)known CVE · -5 pts
⚠ML09Output Integritymedium
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — OS command execution · nilearn-nilearn-9926131/build_tools/github/build_type.py (CWE-78)risk surface
•Suspicious code patterns — unsafe yaml.load · nilearn-nilearn-9926131/maint_tools/citation_cff_maint.py (CWE-502)risk surface
•Suspicious code patterns — dynamic code execution · nilearn-nilearn-9926131/nilearn/_assets/js/jquery.min.js (CWE-95)risk surface
•Suspicious code patterns — pickle deserialization · nilearn-nilearn-9926131/nilearn/_utils/estimator_checks.py (CWE-502)risk surface
§ML01Input Manipulation (Adversarial)Governance
Models vulnerable to adversarial perturbations.
Requires runtime robustness evaluation; addressed via publisher robustness attestation.
§ML03Model InversionGovernance
Training data reconstructable from a model's outputs.
Runtime/evaluation property; addressed via model-card data-provenance + DP attestation.
§ML04Membership InferenceGovernance
Determining whether a record was in the training set.
Runtime/evaluation property; addressed via overfitting disclosure + DP attestation.
§ML08Model SkewingGovernance
Models trained on skewed data producing biased output.
Requires fairness evaluation; addressed via model-card bias/limitations disclosure.
✓ML02Data PoisoningPassed
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
✓ML07Transfer Learning AttackPassed
Backdoored base models / LoRA adapters propagating to derivatives.
Backdoor detection needs behavioral probing; static check covers unsafe serialization + provenance.
✓ML10Model Poisoning (Weights)Passed
Tampered model weight files; integrity must be verifiable.
Static check enforces safe formats + records a content hash for downstream verification.
Other findings (17) · hygiene / uncategorized
•Unrecognized file type — '.?' is not on the allowlist · nilearn-nilearn-9926131/.binder/postBuildrisk surface
•Unrecognized file type — '.coveragerc' is not on the allowlist · nilearn-nilearn-9926131/.coveragercrisk surface
•Unrecognized file type — '.git-blame-ignore-revs' is not on the allowlist · nilearn-nilearn-9926131/.git-blame-ignore-revsrisk surface
•Unrecognized file type — '.gitignore' is not on the allowlist · nilearn-nilearn-9926131/.gitignorerisk surface
•Unrecognized file type — '.mailmap' is not on the allowlist · nilearn-nilearn-9926131/.mailmaprisk surface
•Unrecognized file type — '.npmrc' is not on the allowlist · nilearn-nilearn-9926131/.npmrcrisk surface
•Unrecognized file type — '.cff' is not on the allowlist · nilearn-nilearn-9926131/CITATION.cffrisk surface
•Unrecognized file type — '.jinja' is not on the allowlist · nilearn-nilearn-9926131/doc/ci.jinjarisk surface
•Suspicious network references — suspicious TLD (42 URLs) · nilearn-nilearn-9926131/doc/maintenance.rstrisk surface
•Disallowed file type — '.bat' executables are not permitted · nilearn-nilearn-9926131/doc/make.bat (CWE-434)risk surface
•Unrecognized file type — '.mmd' is not on the allowlist · nilearn-nilearn-9926131/doc/mermaid/doc_deploy.mmdrisk surface
•Unrecognized file type — '.bib' is not on the allowlist · nilearn-nilearn-9926131/doc/references.bibrisk surface
•Suspicious network references — suspicious TLD (38 URLs) · nilearn-nilearn-9926131/nilearn/datasets/atlas.pyrisk surface
•Suspicious network references — suspicious TLD (6 URLs) · nilearn-nilearn-9926131/nilearn/datasets/description/icbm152_2009.rstrisk surface
•Suspicious network references — suspicious TLD (1 URLs) · nilearn-nilearn-9926131/nilearn/datasets/tests/data/archive_contents/mixed_gambles.txtrisk surface
•Unrecognized file type — '.label' is not on the allowlist · nilearn-nilearn-9926131/nilearn/surface/tests/data/test.labelrisk surface
•Unrecognized file type — '.ini' is not on the allowlist · nilearn-nilearn-9926131/tox.inirisk surface
✔ verified source · pinned nilearn-nilearn-9926131
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/nilearn-neuroimaging-ml/check). Click a policy:

Consume Nilearn — Machine Learning for NeuroImaging programmatically. Authenticate with an API key or session — see Authorize an agent.

# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/nilearn-neuroimaging-ml

# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/nilearn-neuroimaging-ml/check \
  -H "Content-Type: application/json" \
  -d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'

# CLI
npx ai-supply add nilearn-neuroimaging-ml

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/nilearn-neuroimaging-ml/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "nilearn-neuroimaging-ml" })
OpenAPI spec →
vlatest
✓ Security: Safe · 951mo ago

Curated mirror — latest upstream source. See the repository for tagged releases.

Sign in and install this listing to leave a review.

More from @ai-supply

View profile →
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 1.0M
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 892k
⇄Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
↓ 811k
△Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
↓ 784k
ai-supply.store

मुफ़्त, सुरक्षा-जाँची गई AI क्षमताएँ — skills, MCPs, plugins, agents, datasets और बहुत कुछ, हर एक ग्रेडेड और ताज़गी-ट्रैक्ड, और इंसानों तथा agents दोनों के लिए बनाई गई।

api · v3.1status · all green
संपर्क करें
support@ai-supply.storesecurity@ai-supply.store
कैटलॉग
  • खोजें
  • श्रेणियाँ
  • लीडरबोर्ड
  • बेंचमार्क
  • सुरक्षा
  • Scan a repo
समुदाय
  • समुदाय
  • FAQ
एजेंट के लिए
  • क्विकस्टार्ट (60s)
  • एजेंट अधिकृत करें
  • Agent API
  • OpenAPI स्पेसिफिकेशन
बिल्डर्स के लिए
  • प्रकाशित करें
  • डैशबोर्ड
खाता
  • खाता बनाएँ
  • साइन इन
  • सेटिंग्स
कानूनी
  • नियम व शर्तें
  • प्रकाशक अनुबंध
  • स्वीकार्य उपयोग नीति
  • गोपनीयता