Skip to content

Manual review request for tzero-mcp@12.3.0 (GHSA-pm3r-rxg9-cj5j / MAL-2026-20659) #12015

Backlog

Description

@toprakahmetaydogmus

Summary — Urgent Request to Withdraw False-Positive Advisory (GHSA-pm3r-rxg9-cj5j / MAL-2026-20659)

I am the sole maintainer of tzero-mcp (npm username: toprakk, GitHub: https://github.com/toprakahmetaydogmus/TZeroAlgorithm) and I respectfully request the urgent review and withdrawal of GHSA-pm3r-rxg9-cj5j / MAL-2026-20659 (Malware in tzero-mcp).

This automated malware classification is a false positive that is actively damaging an open-source project's reputation and blocking thousands of legitimate developers (26,290+ downloads across PyPI, npm, Open VSX, VS Code Marketplace, and GitHub Releases, plus 119+ GitHub stars), while leaving our npm maintainer account locked (npm Support Ticket ID: 5067983).


Evidence This Is Not Malware

Even the original GitHub Issue #47 reporter who called attention to tzero-mcp@12.3.0 explicitly stated in the issue body (toprakahmetaydogmus/TZeroAlgorithm#47):

"I'm not saying that version 12.3.0 is malware, but the README presents your package as a small, private, offline AST/MCP utility..."

The package is a legitimate, open-source (AGPL-3.0) AST codebase context pruner and Model Context Protocol (MCP) server built with Python and Rust (crates/tzero_core). Automated scanners misclassified legitimate defensive/developer tooling (e.g., optional local security/anti-reverse-engineering hardening module tzero/anti_rea/, postinstall.js, and optional AI provider endpoints) combined with overly broad "100% offline" documentation phrasing.


Security & Transparency Hardening Completed in Latest Release (v12.3.1)

We treated the feedback seriously and immediately tightened security boundaries and disclosures in PR #48 (9e31324) and commit ea7c42b, shipped as v12.3.1 (https://github.com/toprakahmetaydogmus/TZeroAlgorithm/releases/tag/v12.3.1):

  1. Zero Install Lifecycle Hooks: Deleted installers/npm/bin/postinstall.js and removed the postinstall script from installers/npm/package.json (verified by installers/npm/test/package.test.js).
  2. Removed All Implicit Cloud Fallbacks: Removed all automatic fallback requests to pollinations.ai across the CLI/Ollama router (tzero/tzero_jarvis/zero_key_router.py), architecture exporter (ContextExportManager.generate_architecture_blueprint), and desktop generator (AutoReadmeGUI.async_generate_payload). Missing credentials or errors strictly fall back locally without outbound calls, enforced by automated tests in tests/test_network_disclosure.py.
  3. No Implicit System / PATH / pip / Git-Hook Changes: Startup and installation no longer run pip install automatically or mutate PATH / .bashrc / .zshrc / core.hooksPath; setup actions are strictly explicit opt-in (python -m tzero.tzero_deps --add-to-path).
  4. Full Privacy Transparency (PRIVACY.md & README.md): Removed blanket "100% offline" claims and documented every local vs. optional network behavior clearly.
  5. Independent Verification Status:
    • Issue Contribution to "Optimism before @eth-optimism/l2geth@0.5.11 allows econom..." #47: Closed as completed (2026-11-27).
    • CodeQL Analysis: Passed with 0 open alerts across Python, JavaScript/TypeScript, and GitHub Actions.
    • CI Matrix: All tests passing across Ubuntu, Windows, and macOS.
    • Live across ecosystems: Cleanly published on PyPI (tzero-mcp==12.3.1), VS Code Marketplace (12.3.1), and Open VSX (12.3.1).

Action Requested

Given that there was no malicious payload and all underlying triggers have been removed and hardened in v12.3.1:

  1. Please withdraw / retract GHSA-pm3r-rxg9-cj5j (MAL-2026-20659) as a false positive (or mark it as resolved/retracted so tzero-mcp is no longer flagged as compromised).
  2. Please coordinate/allow our npm Support Ticket #5067983 so our maintainer account (toprakk) is unlocked and the clean, hardened v12.3.1 release can be published via our existing GitHub Trusted Publisher configuration (oidcConfigId: d1773b9c-9ea1-46ad-95b5-f99c6df3e601).

Thank you for your prompt review to prevent ongoing reputational and distribution harm to an open-source project.

Activity

  1. toprakahmetaydogmus commented on Nov 27, 2026

    @toprakahmetaydogmus
    Author

    Update: ** zero-mcp@12.3.2** has now been published cleanly to npm via GitHub Actions with verifiable Sigstore Provenance (transparency log: https://search.sigstore.dev/?logIndex=4151452018) and GitHub Release �12.3.2:

    • Completely removed FreePollinationsProvider / ext.pollinations.ai from runtime code (PROVIDERS) and legacy MCP schema ( zero/tzero_mcp.py).
    • Sanitized opt-in tamper webhook headers/docstrings ( zero/anti_rea/canary_beacon.py) and replaced child_process.exec in installers/npm/bin/tzero.js with shell: false spawn.
    • Added strict CI regression check est_runtime_package_contains_no_pollinations_or_evasive_scanner_triggers ( ests/test_network_disclosure.py), passing with 0 open CodeQL alerts.

    Please withdraw/retract GHSA-pm3r-rxg9-cj5j (MAL-2026-20659) or mark only 12.3.0 as remediated in >=12.3.2 as appropriate. Thank you!

  2. toprakahmetaydogmus commented on Nov 30, 2026

    @toprakahmetaydogmus
    Author

    Additional clarification from a static review of the v12.3.0 GitHub release source:

    • The Anti-REA Armor feature intentionally generates anti-debugging/anti-VM checks, a marshal/exec wrapper, and a synthetic MCP completion marker when explicitly invoked. These are anti-reverse-engineering behaviors and can resemble malware-analysis evasion. They are generated by the Armor feature, not by npm installation.
    • The reviewed postinstall.js only prints a welcome message; it does not spawn processes, make network requests, or access credentials.
    • The repository contains an optional canary feature that can send limited host/process metadata to an explicitly configured endpoint. The static review found no default endpoint or automatic dispatch, and no automatic credential harvesting or default exfiltration.

    The npm registry currently returns 404 for both the tzero-mcp@12.3.0 metadata and tarball, so the exact npm-served bytes cannot currently be verified. I inspected the GitHub release asset without executing it: SHA-256 ac9d8dc85f603f032161b9f57646f612d4ac4e055ce831aa051c496aa797bf41, matching the GitHub release API digest. Its contents match source commit 773a432 (release). This does not establish that the unavailable npm tarball was byte-for-byte identical.

    Could you share the specific sample, hash, or behavior behind this advisory and confirm whether it refers to the npm-served artifact? Please manually review the evidence and clarify whether the advisory’s classification and affected scope are accurate. The separate npm account-support request is being handled with npm Support.

  3. toprakahmetaydogmus commented on Nov 30, 2026

    @toprakahmetaydogmus
    Author

    Further evidence: I added a full, source-linked static review to the repository: SECURITY-REVIEW.md (commit e7cfa0e). It separates confirmed intentional Anti-REA behavior from behaviors not observed in the reviewed source, and documents the optional canary, npm lifecycle script, dependency bootstrap, release artifact comparison, and limitations.

    The review confirms anti-debug/anti-VM checks, a marshal/exec envelope, and a synthetic MCP marker when Armor is explicitly invoked; these can resemble malware-analysis evasion. It did not find automatic credential harvesting or a default exfiltration endpoint. The exact npm 12.3.0 metadata and tarball currently return 404, so the unavailable npm artifact cannot be compared byte-for-byte. The GitHub release asset's SHA-256 matches the release API digest and its contents match the tagged source, but this does not prove it is identical to the npm artifact.

    Please review the linked evidence, share the specific sample/hash/behavior behind the advisory, and reassess whether GHSA-pm3r-rxg9-cj5j should be retracted as a false positive or otherwise clarified. We are not claiming the unavailable npm artifact has been proven safe.

  4. toprakahmetaydogmus commented on Nov 30, 2026

    @toprakahmetaydogmus
    Author

    Maintainer clarification on intended use: Anti-REA is designed to help protect software the maintainer creates, or is authorized to protect, against unauthorized copying, cracking, and reverse engineering. The user deliberately invokes Armor for code they choose to protect; this is not intended to conceal the npm package's installation behavior. The updated SECURITY-REVIEW.md records this context alongside the observed technical behavior and artifact-verification limitations.

    Please consider this intended-use context in the manual review. It does not by itself prove the unavailable npm 12.3.0 artifact was safe; we are asking for the specific sample or indicator behind the advisory so the finding can be assessed accurately.

  5. toprakahmetaydogmus commented on Dec 1, 2026

    @toprakahmetaydogmus
    Author

    Maintainer correction to the original request: I am withdrawing my request to retract the advisory as a false positive and asking for a manual review of its evidence and scope.

    The tagged v12.3.0 npm source included an automatic Pollinations fallback when local Ollama was unavailable. It could send the prompt and system instruction to a third party without a separate consent prompt. The source also included a GET fallback that placed prompt content in the URL. This is documented in the repository's static security review and was removed in subsequent versions.

    The evidence is the tagged npm source and the matching GitHub release archive, not a byte-for-byte copy of the original npm-served package. npm currently returns 404 for version 12.3.0. I cannot determine which specific behavior caused the classification or why the npm artifact became unavailable. Please keep the advisory in place while it is reviewed and clarify the evidence or affected range if you can.

  6. changed the title [-][Urgent False-Positive Withdrawal] GHSA-pm3r-rxg9-cj5j / MAL-2026-20659 on npm tzero-mcp — Remediated & Hardened in v12.3.1[/-] [+]Manual review request for tzero-mcp@12.3.0 (GHSA-pm3r-rxg9-cj5j / MAL-2026-20659)[/+] on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions