Repository navigation
Security Review
Repository source:
SECURITY-REVIEW.md
Snapshot of the source document; follow the repository link for the current version.
Package: tzero-mcp@12.3.0
Advisory: GHSA-pm3r-rxg9-cj5j
Repository: toprakahmetaydogmus/TZeroAlgorithm
Review date: 2026-11-30
Review type: Static inspection only; no package code was installed or executed.
The review found intentional anti-reverse-engineering behavior that plausibly triggers malware and analysis-evasion heuristics. The most notable features are anti-debugging and anti-VM checks, generated bytecode loaded with marshal/exec, and a synthetic MCP completion marker inserted into protected source. These behaviors are invoked through the Armor feature; the reviewed code does not show them running as an npm installation payload.
The review did not find evidence in the inspected source of automatic credential harvesting, browser-data collection, a hard-coded command-and-control endpoint, a persistence implant, or default credential exfiltration. There is an optional canary feature that can send limited host/process metadata to a user-configured endpoint. This capability is described below because it is relevant to a malware classification.
The maintainer clarified that Anti-REA is intended to protect software they create (or are authorized to protect) from unauthorized copying, cracking, and reverse engineering. The Armor feature is meant to be deliberately invoked on code the user chooses to protect. This intended purpose is relevant context for review, but it does not change the observed technical behavior or establish that the unavailable npm artifact was safe.
The npm registry currently returns 404 for the 12.3.0 version metadata and tarball. A matching GitHub release archive was available and was inspected, but this does not prove that the bytes previously served by npm were identical. Therefore this review supports a request for manual review; it cannot establish that the original npm artifact was harmless or prove an absolute absence of malware.
- Reviewed the repository source and publishing configuration, with particular attention to the npm package and the
v12.3.0source tag. - Retrieved and statically inspected the GitHub release asset
tzero-mcp-12.3.0.tgz. No scripts, entry points, or package code were run. - Compared the release archive contents with
installers/npmat source commit773a432415aa01b59a6c8365c8ebcf7700886d23, normalizing line endings. All archived files matched; no unexpected packaged files were found. - Checked the npm registry endpoints for the
12.3.0metadata and tarball. Both currently return 404. The corresponding unpkg package metadata is also unavailable. - Reviewed adjacent npm releases
12.3.2and12.3.3as separate artifacts. Their registry metadata includes GitHub Actions trusted-publisher provenance, and neither declares apostinstallscript. This does not by itself clear the advisory for12.3.0.
- GitHub release:
v12.3.0 - Source commit:
773a432415aa01b59a6c8365c8ebcf7700886d23 - GitHub release archive SHA-256:
ac9d8dc85f603f032161b9f57646f612d4ac4e055ce831aa051c496aa797bf41 - The hash matched the GitHub release API digest.
- Unavailable npm endpoints:
https://registry.npmjs.org/tzero-mcp/12.3.0https://registry.npmjs.org/tzero-mcp/-/tzero-mcp-12.3.0.tgz
The GitHub release archive is evidence of the tagged source distribution only. It is not a byte-for-byte comparison with the unavailable npm-served tarball.
Assessment: Confirmed intentional anti-reverse-engineering behavior; a strong malware-heuristic trigger. This is not, by itself, evidence of credential theft or an npm install-time payload.
The Armor engine enables anti-debugging, anti-VM, bytecode-envelope, and MCP-poison features in its defaults when the Armor functionality is invoked:
engine.py, lines 92-114 and 169-210- The generated anti-debugger checks
IsDebuggerPresent, callsNtSetInformationThread, and can exit the process:anti_debugger.py, lines 225-259. - The generated VM guard can call
os._exitwhen it detects VM artifacts:anti_vm.py, lines 113-132. - The bytecode envelope checks for tracing, then uses
marshal.loadsandexec:crypto_loader.py, lines 83-125. - The Armor functionality is exposed through an MCP tool:
tzero_mcp.py, lines 4819-4823.
This behavior can be detected as anti-analysis or evasive code even when its stated purpose is to hinder reverse engineering. It is important to disclose it clearly when requesting a false-positive review.
Assessment: Confirmed analysis-manipulation behavior; likely to trigger security or AI-scanner detections.
The marker contains a fabricated JSON-RPC completion result claiming that reverse engineering has terminated successfully, and the Armor path inserts it into protected source:
mcp_poison.py, lines 21-41- The Armor engine enables this insertion by default when invoked:
engine.py, lines 100 and 209-210.
This is not evidence that the npm installer steals credentials, but it can mislead an LLM-based scanner that treats source text as an instruction or authoritative result.
Assessment: Network-capable, configurable behavior; not evidence of automatic exfiltration in the reviewed call paths.
The canary implementation can send a timestamp, platform, Python version, process ID, and a truncated hostname to a supplied webhook/Telegram endpoint, or perform a supplied DNS canary lookup. In the reviewed v12.3.0 source it uses “stealth” wording, XOR-obfuscates endpoints, imitates an OS telemetry user-agent, and suppresses network errors:
The engine's webhook option defaults to None, and the reviewed source search found no caller that automatically dispatches this alert. The described capability should nevertheless be disclosed because it can look like covert telemetry.
Assessment: Present in the inspected v12.3.0 package metadata; its reviewed implementation is a welcome banner, not an observed payload.
The v12.3.0 package declares a postinstall script in package.json, line 39. The corresponding postinstall.js reads package metadata and prints a welcome banner; static inspection found no process spawning, network requests, or credential access in it. The later registry releases 12.3.2 and 12.3.3 do not declare a postinstall script.
Assessment: Real system-modifying behavior that can resemble persistence or a downloader; documented opt-out exists. No credential exfiltration was observed.
tzero_deps.py, lines 92-122 and 147-206 can invoke pip to install missing or outdated dependencies. Its environment-doctor path can add Python's Scripts/bin directory to the user's PATH. The source documents TZERO_NO_AUTO_INSTALL=1 as an opt-out.
- npm launchers spawn Python with
shell: false. - The
tzero starhelper uses a fixed platform command and a fixed GitHub URL. - Reviewed release and publishing workflows use expected release/publishing mechanisms; no workflow that prints or exfiltrates publishing credentials was found.
- The repository-wide static review found no browser-database harvesting, hard-coded C2, automatic credential-file transmission, or installer-triggered remote payload execution.
These are static-review observations, not proof that no such behavior exists anywhere or that the unavailable npm archive was identical to the inspected GitHub release.
Please manually review GHSA-pm3r-rxg9-cj5j and clarify:
- What exact file, hash, behavior, or report supports classifying
tzero-mcp@12.3.0as malware? - Does the finding refer to the npm-served
12.3.0tarball, the GitHub release asset, or repository source? - Given the intentional, source-visible Anti-REA behavior and the absence of an accessible npm
12.3.0artifact for comparison, should the advisory be retracted as a false positive or otherwise clarified/narrowed?
This request does not claim that the unavailable npm artifact has been proven safe. It asks for the specific evidence and a review of whether the current classification accurately describes that artifact. GitHub's Advisory Database maintainers retain authority to change the advisory.