Skip to main content
Scans/pypi/flax

flax

pypi

Share

Summary

flax v0.12.6 was classified as CRITICAL RISK with a risk score of 671. Sigil detected 56 findings across 638 files, covering phases including provenance, network exfiltration, credential access, install hooks, code patterns, obfuscation. Review the findings below before installing this package.

Package description: Flax: A neural network library for JAX designed for flexibility

CRITICAL RISK(671)

v0.12.6

20 March 2026, 21:11 UTC

by Sigil Bot

Risk Score

671

Findings

56

Files Scanned

638

Provenance

Findings by Phase

Phase Ordering

Phases are ordered by criticality, with the most dangerous at the top. Click any phase header to expand or collapse its findings. Critical phases are expanded by default.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

flax-0.12.6/.github/workflows/flaxlib_publish.yml:41

        CIBW_BEFORE_BUILD_LINUX: |
          curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=stable --profile=minimal -y &&
          rustup show
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-pip-setup-exec

CRITICAL

setup.py executes code at install time

flax-0.12.6/examples/mnist/train_test.py:39


  def setUp(self):
    super().setUp()
Why was this flagged?

This setup.py calls subprocess, os.system, exec, or eval during package installation. Legitimate packages rarely need to execute arbitrary commands at install time. This pattern is commonly used by malicious packages to download and run payloads, exfiltrate environment variables, or establish persistence. Rated CRITICAL because it runs with the installer's full permissions.

Badge

Sigil scan badge for pypi/flax

Markdown

[![Sigil Scan](https://sigilsec.ai/badge/pypi/flax)](https://sigilsec.ai/scans/C8A694B5-A177-453A-A56F-C23D26866E70)

HTML

<a href="https://sigilsec.ai/scans/C8A694B5-A177-453A-A56F-C23D26866E70"><img src="https://sigilsec.ai/badge/pypi/flax" alt="Sigil Scan"></a>

Run This Scan Yourself

Scan your own packages

Run Sigil locally to audit any package before it touches your codebase.

curl -sSL https://sigilsec.ai/install.sh | sh
Read the docs →Free. Apache 2.0.

Early Access

Get cloud scanning, threat intel, and CI/CD integration.

Join 150+ developers on the waitlist.

Get threat intelligence and product updates

Security research, new threat signatures, and product updates. No spam.

Other pypi scans

Believe this result is incorrect? Request a review or see our Terms of Service and Methodology.

Scanned bySigil Bot