Habr•November 23, 2026•🇷🇺Translated from Russian

Scandal in Bohemia: How MaDaDev Hid OpenRails Code in TME Using .NET Native AOT While Leaving Clear Evidence

Many readers of the author’s previous publications know that he has been an active participant in the open-source community for many years, developing the Russian Railway Simulator (RRS) distributed under the GNU GPL v2 license. In the world of train simulators, both large commercial products and enthusiast projects exist, yet collisions between these worlds occasionally produce notable license disputes. Similar cases have already occurred abroad (Artifex Software v. Hancom, Entr’ouvert v. Orange S.A.) and in Russia (Red Soft GPL dispute). Until recently, the narrow niche of railway simulators had avoided such conflicts.

In November 2026, the MaDaDev RTS team, long known in the community for creating add-ons and multiplayer sessions for RTrainSim (RTS), announced its own project called TME (Train Multiplayer Experience). The product is currently in closed beta and is distributed via a paid subscription model. Several users who purchased early access noticed striking similarities between the executable modules in the TME CORE folder and those of the long-standing open-source simulator OpenRails, which has been developed for over 15 years under the GNU GPL v3 license and is hosted on GitHub with 37 contributors.

After receiving the CORE directory from concerned users, the researcher first performed a visual comparison of both projects’ root folders. The OpenRails 1.6.1 distribution contains well-known executables prefixed with Orts.*; the TME beta build from 16 November 2026 contained files with identical names but without the Orts. prefix. The presence of Copying.txt, Readme.txt, and Prerequisites.txt files immediately confirmed the origin: all three documents proved to be verbatim copies of OpenRails materials, including the full GNU GPL v3 license text.

Because the GPL v3 explicitly grants users the right to study and modify the code, the researcher proceeded with decompilation using the open-source tool dnSpy.Console.exe. The resulting source tree revealed that approximately 85 % of the recovered classes matched OpenRails implementations in namespace names, method signatures, parameter names, local variables, and member fields. Examples include Simulator.cs and FuelManager.cs, where even the internal helper methods and LINQ queries remained functionally identical despite minor renaming.

Analysis of AssemblyInfo.cs files showed that MaDaDev had altered only superficial metadata: company name changed to “TME”, product title changed, and copyright years set to 2009–2022 even though the TME project did not exist in 2022. New files such as GameAccount.cs, GamePresence.cs, GameTokenVerifier.cs, and a Dx12 rendering backend were added, while several core files received TME-specific calls for screenshot functionality, script messaging, and subscription checks. Hard-coded paths still referenced the original “Openrails” directory structure inside route folders.

The researcher submitted a detailed report to the official OpenRails Launchpad tracker (ticket #2174769) listing all modified and newly introduced files. The publication was prepared strictly for scientific, educational, and informational purposes in accordance with Articles 1274 and 1280 of the Russian Civil Code and the rights expressly granted by the GNU GPL v3 license.

Related articles

Habr•Supply Chain & Open Source

SAP Investigates GitHub Breach After Attackers Steal Employee Tokens to Modify Source Code

SAP has confirmed an ongoing investigation into a security incident in which attackers obtained employee authentication tokens and used them to access, copy, and modify source code on the company's GitHub infrastructure. The company stated that there is currently no evidence of unauthorized access to customer data. German outlet Der Spiegel reported that the incident was internally codenamed Project Granite, with employees instructed to maintain confidentiality. Attackers are believed to have leveraged AI-based tools during the operation, though SAP has not officially confirmed this detail. As a precaution, SAP restricted GitHub access, halted automated development processes, and replaced digital signing keys. The incident follows a separate compromise of official SAP npm packages earlier this year that targeted developer credentials.

AntiMalware•Supply Chain & Open Source

Pre-installed Android Malware Surges as Triada and Keenadu Trojans Infect Devices Through Supply Chain

The number of Android devices carrying pre-installed malware has more than doubled over the past year, with compromised firmware reaching consumers directly from manufacturers. According to Kaspersky Lab research covering the first ten months of 2026, 88 percent of detected cases involved the Triada and Keenadu trojan families, with Keenadu alone appearing on over 220,000 devices. Infections occur at multiple points in the production pipeline, including deliberate insertion by makers of low-cost and counterfeit hardware, compromised firmware builds supplied by contractors, and tainted open-source components. Triada operates with system-level privileges to inject malicious modules into application memory, intercept SMS and calls, and steal credentials, while Keenadu employs a delayed-activation mechanism that can remain dormant for roughly 2.5 months after initial contact with its command server. Similar threats have been identified beyond smartphones, including Dwphon on children's smartwatches and Vo1d on television set-top boxes. Kaspersky Lab's Denis Parinov warned that such devices can serve as entry points into corporate networks, sources of data leaks, and participants in DDoS attacks, recommending firmware verification and Zero Trust policies for mobile infrastructure.

Habr•Supply Chain & Open Source

Securing Secrets in GitLab CI/CD Against Merge Request Leaks and Unsafe Pipelines

The article explains how GitLab CI/CD pipelines run with elevated privileges and can leak secrets through misconfigured variables or overly permissive CI_JOB_TOKEN settings. It stresses that masked variables only hide values in logs while protected variables restrict access to protected branches and tags. Best practices include using protected and masked variables with environment scope, limiting CI_JOB_TOKEN to specific projects, and adopting external secret managers such as HashiCorp Vault with JWT authentication. The guide also covers OIDC federation for passwordless cloud access using Yandex Cloud as an example and recommends pinning images by digest and using ephemeral runners. Additional advice covers protecting pipeline configuration files and avoiding privileged runners for untrusted code.

安全客•Supply Chain & Open Source

Barracuda Cloud Breach: Unrevoked Key to Third-Party AI Provider Allowed AI Agent Deployment

Barracuda suffered a cloud intrusion after an access key issued to a third-party AI service provider was never revoked following the end of their collaboration. Attackers used the valid credential to access multiple cloud environments, including those managing the company's XDR security products. They then deployed the ARTEX AI penetration testing framework, which autonomously enumerated permissions, moved laterally, and searched for cryptocurrency wallet data such as mnemonic phrases and private keys stored in Kubernetes Secrets and environment variables. The incident remained undetected by internal monitoring for nearly two days until the AI provider and an engineer reported anomalies. Barracuda has since advised affected customers to reissue credentials, highlighting persistent risks in third-party access management and long-lived cloud keys. The case underscores how AI tools can accelerate post-compromise execution while the root cause remains classic credential hygiene failures.