Monday, September 7, 2026

Malicious NuGet Typosquat Targets Digitain Betting Platform and Rigs Game Results

JFrog Security Research has disclosed a precision supply-chain attack in which a typosquatted NuGet package, Newtonsoftt.Json.Net, impersonated the ubiquitous Newtonsoft.Json library while secretly rigging game outcomes at online betting operator Digitain.

Unlike typical info-stealers that harvest credentials indiscriminately, this trojan functions as a fully operational JSON library for every host except its single intended target.

Malicious NuGet Typosquat Targets Digitain Betting Platform

The malicious package’s .nuspec metadata forged the identity of James Newton-King, pointed directly to the legitimate Json.NET project URL, and used a plausible-looking 11.0.x version scheme. It differed from the genuine library by only a doubled “t” and a .Net suffix.

Under lib/net8.0/, it shipped a trojanized fork of Newtonsoft.Json 13.0.3 alongside a payload DLL and the legitimate HarmonyLib runtime-patching library, all designed to auto-load into host processes.

Package search result page.
Package search result page. (Image Source: jfrog.com)
Unlisted package details page
Unlisted package details page (Image Source: jfrog.com)

Crucially, the package’s .nuspec file repeatedly leaked an internal TFS repository URL belonging to Digitain’s “BetOnGames / FG-Crash” project—effectively naming the target seven times across seven published versions.

This degree of specificity highlights how threat actors leverage supply chain attacks to execute surgical corporate fraud rather than opportunistic data theft.

The trojan activates only when a host application assigns JsonConvert.DefaultSettings, silently swapping the contract resolver while arming a Harmony patch on a delayed timer. In the latest generation, this delay is set to ten minutes, ensuring activation occurs long after application startup when diagnostic logs appear clean.

Multi-generation attack flow chart
Multi-generation attack flow chart (Image Source: jfrog.com)

Once triggered, the payload patches Digitain.FG.SharedCrash.GameLogic.SharedCrashRules.GenerateGameResult, manipulating the crash-game coefficient using schedules keyed to date, time, and a special profile for the 22:00 UTC window. The rigging is bounded to a fixed number of rounds before the trojan unpatches itself to avoid ongoing detection.

The attacker iterated across seven package versions published between August and October 2025. The campaign progressed from a local-only proof of concept to an obfuscated exfiltration channel, and finally to an unobfuscated production build:

GenerationVersions PublishedCore Payload CapabilityApplied Obfuscation
Gen-111.0.7, 11.0.8Console-only rigging, no networking callsDotfuscator
Gen-211.0.4, 11.0.5, 11.0.9Reflection-based exfiltration pipelineConfuserEx (heavy)
Gen-311.0.10, 11.0.11Direct HTTP postfix exfiltration to C2Light to none

Gen-3 exfiltrated rigged results to a hardcoded command-and-control server disguised as a Seq structured-logging endpoint, using the header X-Seq-ApiKey: theperfectheist2025 to blend malicious traffic with normal application telemetry.

Trojanized package execution flow
Trojanized package execution flow (Image Source: jfrog.com)

JFrog disclosed the malicious package to Digitain on July 7, 2026, and the company confirmed on July 9 that it was already aware of the issue and had resolved it.

Although the package was unlisted from NuGet search after October 2025, its artifacts remained downloadable. This persistence highlights the ongoing malicious package risks across open-source ecosystems.

Key Defensive Actions:

  • Remove Dependencies: Delete Newtonsoftt.Json.Net from all project manifests and global package caches (~/.nuget/packages).
  • Block C2 Infrastructure: Restrict outbound traffic to the C2 IP 185.126.237.64:5341.
  • Lock Dependencies: Pin Newtonsoft.Json versions using lockfiles to prevent accidental typosquatting installations.

𝗔𝗜 𝗦𝗢𝗖 𝘃𝘀 𝗠𝗗𝗥 𝘃𝘀 𝗠𝗦𝗦𝗣 Which is Best in 2026? Compare costs, Automation, and response: Download Free Guide

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

Fake Minecraft Mod Drops Myth Stealer RAT to Steal Passwords and Remotely Control PCs

A trojanized Minecraft optimization mod posing as a companion...

Hackers Can Use PEEP Chrome Extension to Steal Credentials and Execute Shell Commands

A newly identified Chromium-based post-exploitation toolkit named PEEP can...

Hackers Actively Exploiting MikroTik RouterOS MikroTrick Flaws to Take Full Control of Routers

Threat actors are actively exploiting critical vulnerabilities in MikroTik...

CrowdStrike Launches SafeMind Agentic AI Cybersecurity System Built With NVIDIA Nemotron

CrowdStrike has launched SafeMind, an AI-driven cybersecurity system developed...

Chainguard Hits 1 Billion Build Manifests With AI-Powered Software Supply Chain Security

Chainguard has surpassed 1 billion container build manifests, doubling...

Russian Hackers Deploy New HOOKEDGE Backdoor in Espionage Attacks Across Europe

Russian state-sponsored threat actor BlueDelta, also tracked as APT28,...

Related Articles

Recent News