tensordict

PyPI

Is tensordict safe to use?

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

Install (safety-checked)

tensordict 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 tensordict 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.

tensordict Capabilities & Permissions

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

Filesystem Access

Reads and writes to the filesystem.

.env (r).env (r).env (r).env (rw).env (rw)

Process Spawning

This package can spawn child processes.

Environment Variables

Accesses the following environment variables.

CAPTURE_NONTENSOR_STACKCOMPOSITE_LP_AGGREGATEDISPATCH_TDNN_MODULESEXCLUDE_TD_FROM_PYTREELAZY_LEGACY_OPLIST_TO_STACKMASTER_ADDRMASTER_PORTPYTORCH_TENSORDICT_IMPORT_VMAPTD_GET_DEFAULTS_TO_NONE+1 more

Native Modules

Contains native code that runs outside the JavaScript sandbox.

ctypesnative extensionnumpy

AGENTS.md for tensordict

Good instructions lead to good results. brin adds tensordict 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 →

tensordict Documentation & Source Code

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

Frequently asked questions about tensordict safety

Weekly Downloads

310.3K

Version

0.11.0

Last Scanned

Feb 4, 2026

Trust Score

70/100·Legitimacy signals, not safety

Capabilities

Filesystem

Reads & Writes files

Process

Spawns child processes

Environment

Accesses: CAPTURE_NONTENSOR_STACK, COMPOSITE_LP_AGGREGATE, DISPATCH_TDNN_MODULES...

Native

Contains native modules

Is tensordict Safe? | PyPI Safety Scan - brin