Skip to main content
Scans/pypi/tokenpak

tokenpak

pypi

Share

Summary

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

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

CRITICAL RISK(1353)

v1.0.2

25 March 2026, 14:04 UTC

by Sigil Bot

Risk Score

1353

Findings

124

Files Scanned

565

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.2/tokenpak/_cli_core.py:201


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.

install-pip-setup-exec

CRITICAL

setup.py executes code at install time

tokenpak-1.0.2/tokenpak/cli.py:182


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/C550B584-F95E-4367-BC64-4F353FD15678)

HTML

<a href="https://sigilsec.ai/scans/C550B584-F95E-4367-BC64-4F353FD15678"><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