Skip to main content
Scans/pypi/tokenpak

tokenpak

pypi

Share

Summary

tokenpak v1.0.0 was classified as CRITICAL RISK with a risk score of 1806. Sigil detected 165 findings across 667 files, covering phases including network exfiltration, code patterns, obfuscation, credential access, install hooks. Review the findings below before installing this package.

Package description: Slash LLM costs with intelligent context compression, smart routing, and cost tracking

CRITICAL RISK(1806)

v1.0.0

22 March 2026, 01:01 UTC

by Sigil Bot

Risk Score

1806

Findings

165

Files Scanned

667

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-pip-setup-exec

CRITICAL

setup.py executes code at install time

tokenpak-1.0.0/tokenpak/cli.py:176


def cmd_setup(args):
    """Interactive wizard for first-time TokenPak configuration."""
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/tokenpak

Markdown

[![Sigil Scan](https://sigilsec.ai/badge/pypi/tokenpak)](https://sigilsec.ai/scans/9D079541-7019-4E45-8F3F-3AAA8D031E3D)

HTML

<a href="https://sigilsec.ai/scans/9D079541-7019-4E45-8F3F-3AAA8D031E3D"><img src="https://sigilsec.ai/badge/pypi/tokenpak" 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