RL Blog

Topics

All Blog PostsAppSec & Supply Chain SecurityDev & DevSecOpsProducts & TechnologySecurity OperationsThreat Research

Follow us

XX / TwitterLinkedInLinkedInFacebookFacebookInstagramInstagramYouTubeYouTubeblueskyBluesky

Subscribe

Get the best of RL Blog delivered to your in-box weekly. Stay up to date on key trends, analysis and best practices across threat intelligence and software supply chain security.

ReversingLabs: The More Powerful, Cost-Effective Alternative to VirusTotalSee Why
Skip to main content
Contact UsSupportLoginBlogCommunity
reversinglabsReversingLabs: Home
Solutions
Secure Software OnboardingSecure Build & ReleaseProtect Virtual MachinesIntegrate Safe Open SourceGo Beyond the SBOM
Increase Email Threat ResilienceDetect Malware in File Shares & StorageAdvanced Malware Analysis SuiteICAP Enabled Solutions
Scalable File AnalysisHigh-Fidelity Threat IntelligenceCurated Ransomware FeedAutomate Malware Analysis Workflows
Products & Technology
Spectra Assure®Software Supply Chain SecuritySpectra DetectHigh-Speed, High-Volume, Large File AnalysisSpectra AnalyzeIn-Depth Malware Analysis & Hunting for the SOCSpectra IntelligenceAuthoritative Reputation Data & Intelligence
Spectra CoreIntegrations
Industry
Energy & UtilitiesFinanceHealthcareHigh TechPublic Sector
Partners
Become a PartnerValue-Added PartnersTechnology PartnersMarketplacesOEM Partners
Alliances
Resources
BlogContent LibraryCybersecurity GlossaryConversingLabs PodcastEvents & WebinarsLearning with ReversingLabsWeekly Insights Newsletter
Customer StoriesDemo VideosDocumentationOpenSource YARA Rules
Company
About UsLeadershipCareersSeries B Investment
EventsRL at RSAC
Press ReleasesIn the News
Pricing
Software Supply Chain SecurityMalware Analysis and Threat Hunting
Request a demo
Menu
AppSec & Supply Chain SecurityFebruary 1, 2024

Lessons from the Mercedes-Benz GitHub source code leak

Here's what we know about the automaker's latest secrets breach — and lessons your security team can draw from it.

paul roberts headshot black and white
Paul Roberts, Director of Content and Editorial at RLPaul Roberts
FacebookFacebookXX / TwitterLinkedInLinkedInblueskyBlueskyEmail Us
multi story glass car dealership

The German automotive giant Mercedes-Benz found itself on the wrong end of a software supply chain incident after RedHunt Labs found a leaked GitHub token belonging to an employee of the carmaker that granted "'unrestricted’ and 'unmonitored'" access to the entirety of source code hosted on Mercedes’ internal GitHub Enterprise Server.

In a post published on Monday, RedHunt Labs said that the exposed token “laid bare sensitive repositories housing a wealth of intellectual property.” That included Mercedes’ “Database Connection Strings, Cloud Access Keys, Blueprints, Design Documents, SSO Passwords, API Keys, and Other Critical internal information.”

The leaked GitHub access token was contained in a public GitHub repository belonging to the employee. In a statement issued to TechCrunch, a Mercedes representative Katja Liesenfeld acknowledged the security lapse. The statement came after the publication informed Mercedes-Benz of RedHunt’s discovery. Mercedes revoked the leaked API token and removed the public repository immediately.

We can confirm that internal source code was published on a public GitHub repository by human error. The security of our organization, products, and services is one of our top priorities. We will continue to analyze this case according to our normal processes. Depending on this, we [may] implement remedial measures.

Katja Liesenfeld

Here's what we know about the source code leak — and lessons to draw from it.

Special Report: The State of Software Supply Chain Security (SSCS) 2024Download Report: State of SSCS

Leaked development secrets: A common problem

Leaked secrets are a problem facing many organizations amidst the shift to modern, agile development with its heavy reliance on open source, third party codes, and platforms. ReversingLabs most recent State of Software Supply Chain Security report, for example, found more than 40,000 secrets spread across four major open-source repositories: npm, PyPI, RubyGems, and NuGet.

In many cases, loose developer practices and the absence of adequate checks for both raw and compiled code were the reason for the security exposure. For example, in the many cases of secret leaks via open source platforms that ReversingLabs observed during 2023, developers placed access tokens in their code or in comments to streamline publishing to these platforms. However, many forgot to remove these access tokens prior to uploading their code. For example, ReversingLabs found a package on an open-source repository with a “notes” file that included the developer’s log along with several tokens.

Mercedes-Benz and security: The best or nothing?

This isn’t the first time Mercedes-Benz has been tripped up by software supply chain security blunders. In May, 2020, for example, ZDNet reported that source code used in smart car components designed by Mercedes-Benz was exposed online as a result of a misconfigured Git registration system.

In that incident, Till Kottmann, a software engineer based in Switzerland, discovered a Git web portal belonging to Daimler AG, Mercedes-Benz’s parent company. According to the ZDNet report, Kottmann said he was able to register an account on Daimler's code-hosting portal, and then download more than 580 Git repositories containing the source code of onboard logic units (OLUs) installed in Mercedes vans.

In January, Mercedes-Benz also featured prominently in the report Web Hackers Versus The Auto Industry, in which a group of independent security researchers led by Sam Curry gained access to hundreds of mission-critical internal Mercedes-Benz applications via improperly configured single sign-on servers. That included accessing multiple Mercedes-Benz Github instances; SonarQube, Jenkins and other build servers; internal cloud deployment services for managing AWS instances; and internal Vehicle related APIs.

When every company is a software company

The struggles of legacy automotive and industrial firms to adapt to a modern and quickly evolving cyber threat landscape are well documented. (Curry and team ultimately discovered serious issues at 19 different automakers and suppliers to the automotive industry.)

What is less appreciated is the way in which cyber risks like software supply chain security lapses can quickly become matters of life and death, said Saša Zdjelar, Chief Trust Officer at ReversingLabs.

Repositories such as GitHub can include software that eventually makes it to the vehicle as well (as part of the CAN, Car Area Network) and ultimately plays a role in safety and other critical systems such as breaking, sensing, steering, security (eg. Alarm, locking/unlocking), location/tracking, etc. not just media and entertainment.

Saša Zdjelar

That raises the stakes for companies like Mercedes-Benz to prioritize software supply chain security.

It’s more critical than ever in world of escalating software supply chain breaches such as this one that companies can attest to regulators, customers, and investors that their software is free of malware; hasn’t been tampered with by a malicious actor; is cryptographically sound; doesn’t include embedded secrets; doesn’t exhibit overly permissive behaviors (including network connections to nefarious hosts); and has been compiled with appropriate hardening and secure configuration.

Saša Zdjelar

Supply chain security must go beyond legacy AppSec

Traditional application security tools such as static- and dynamic-application security testing (SAST and DAST), and software composition analysis (SCA) products generally overlook such threats because they were designed in a different era and for different purposes, he said.

But pressure is mounting on companies like Mercedes to address gaps in detection and awareness around software supply chain risk. In its October 2023 report, Mitigate Enterprise Software Supply Chain Security Risks, the analyst firm Gartner noted that the presence of operational and supply chain risks including technical debt and software are “lacking appropriate security controls and checks. Poor maintenance and security hygiene practices suggest an increased risk of vulnerabilities, project abandonment, and other risks at some point in the future.”

Keep learning

  • Get up to speed on the state of software security with RL's Software Supply Chain Security Report 2026. Plus: See the the webinar to discussing the findings.
  • Learn why binary analysis is a must-have in the Gartner® CISO Playbook for Commercial Software Supply Chain Security.
  • Take action on securing AI/ML with our report: AI Is the Supply Chain. Plus: See RL's research on nullifAI and watch how RL discovered the novel threat.
  • Get the report: Go Beyond the SBOM. Plus: See the CycloneDX xBOM webinar.

Explore RL's Spectra suite: Spectra Assure for software supply chain security, Spectra Detect for scalable file analysis, Spectra Analyze for malware analysis and threat hunting, and Spectra Intelligence for reputation data and intelligence.

Tags:AppSec & Supply Chain Security

More Blog Posts

AI coding racing

Can AppSec keep pace with AI coding?

AI lets software teams generate code at a rate faster than security can validate it. One way to win the race: more AI.

Learn More about Can AppSec keep pace with AI coding?
Can AppSec keep pace with AI coding?
Finger on map

LLMmap puts its finger on ML attacks

Researchers show how LLM fingerprinting can be used to automate generation of customized attacks.

Learn More about LLMmap puts its finger on ML attacks
LLMmap puts its finger on ML attacks
Vibeware bad vibes

Vibeware: More than bad vibes for AppSec

Threat actors are leveraging the freewheeling vibe-coding trend to deliver malicious software at scale.

Learn More about Vibeware: More than bad vibes for AppSec
Vibeware: More than bad vibes for AppSec
CRA accelerates advantage

The CRA is coming: Are you ready?

Here's how the EU's Cyber Resilience Act will reshape the software industry — and how that accelerates advantages.

Learn More about The CRA is coming: Are you ready?
The CRA is coming: Are you ready?

Spectra Assure Free Trial

Get your 14-day free trial of Spectra Assure for Software Supply Chain Security

Get Free TrialMore about Spectra Assure Free Trial
Blog
Events
About Us
Webinars
In the News
Careers
Demo Videos
Cybersecurity Glossary
Contact Us
reversinglabsReversingLabs: Home
Privacy PolicyCookiesImpressum
All rights reserved ReversingLabs © 2026
XX / TwitterLinkedInLinkedInFacebookFacebookInstagramInstagramYouTubeYouTubeblueskyBlueskyRSSRSS
Back to Top