shap

PyPI

Is shap safe to use?

The latest brin safety scan flagged shap v0.50.0 with risk indicators that warrant review. No known CVE vulnerabilities. Trust score: 90/100. Review the findings below before use. This is an automated assessment and may contain errors.

Install (safety-checked)

shap Has Warnings

Warnings detected due to potential concerns

warning
CVEs

0

Threats

0

Install Scripts

0

Risk Indicators

  • Package includes native code modules
  • Package can spawn child processes

brin Recommendations

  • This package has warnings detected. Evaluate the specific concerns before proceeding.

Install with brin add shap to automatically apply these checks before installation.

This is an automated, point-in-time assessment and may contain errors. Findings are risk indicators, not confirmed threats. Security posture may change over time. Maintainers can dispute findings via the brin review process.

shap Capabilities & Permissions

What shap can access when installed. Review these capabilities before using with AI agents like Cursor, Claude Code, or Codex.

Network Access

This package makes network requests.

ai.stanford.eduarchive.ics.uci.eduarxiv.orgcode.activestate.comdocs.python.orggithub.comgroups.google.comnumpy.orgraw.githubusercontent.comscientific-python.org+6 more
Protocols: http, https

Filesystem Access

Reads and writes to the filesystem.

/usr/ (rw).env (rw)setup.py (rw).env (rw)/usr/ (rw)site-packages (rw)

Process Spawning

This package can spawn child processes.

Environment Variables

Accesses the following environment variables.

CUDAHOMECUDA_PATHCUDA_VISIBLE_DEVICESGITHUB_ACTIONSMACOSX_DEPLOYMENT_TARGETPATH

Native Modules

Contains native code that runs outside the JavaScript sandbox.

native extensionnumpypandasscipy

AGENTS.md for shap

Good instructions lead to good results. brin adds shap documentation to your AGENTS.md so your agent knows how to use it properly—improving both safety and performance.

brin init

Vercel's research: 100% accuracy with AGENTS.md vs 53% without →

shap Documentation & Source Code

For the full shap README, API documentation, and source code, visit the official package registry.

Frequently asked questions about shap safety

Weekly Downloads

2.8M

Version

0.50.0

License

MIT

Last Scanned

Feb 5, 2026

Trust Score

90/100·Legitimacy signals, not safety

Capabilities

Network

Connects to: ai.stanford.edu, archive.ics.uci.edu, arxiv.org...

Filesystem

Reads & Writes files

Process

Spawns child processes

Environment

Accesses: CUDAHOME, CUDA_PATH, CUDA_VISIBLE_DEVICES...

Native

Contains native modules

Is shap Safe? | PyPI Safety Scan - brin