# Compromised Flutter package on pub.dev contains XCSSET malware

DevFeed: [Compromised Flutter package on pub.dev contains XCSSET malware](<https://devfeed.tech/articles/compromised-flutter-package-on-pub-dev-contains-xcsset-malware-51614.md>)

Original publisher: [Read original article](<https://www.aikido.dev/blog/compromised-flutter-package-on-pub-dev-contains-xcsset-malware>)

Author: Ilyas Makari

Published: 2026-09-08T16:12:00Z

Content type: article

Language: en

Sources: [Aikido Security's Blog](<https://devfeed.tech/sources/aikido-security-s-blog.md>)

Topics: [ransomware](<https://devfeed.tech/topics/ransomware.md>), [software supply-chain attack](<https://devfeed.tech/topics/software-supply-chain-attack.md>), [Flutter](<https://devfeed.tech/topics/flutter.md>), [Dart](<https://devfeed.tech/topics/dart.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [High Profile Threats](<https://devfeed.tech/topics/high-profile-threats.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [macOS](<https://devfeed.tech/topics/macos.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>)

Tags: [attacks](<https://devfeed.tech/tags/attacks.md>), [dart](<https://devfeed.tech/tags/dart.md>), [dev](<https://devfeed.tech/tags/dev.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [github](<https://devfeed.tech/tags/github.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [infection-chain](<https://devfeed.tech/tags/infection-chain.md>), [macos](<https://devfeed.tech/tags/macos.md>), [malware](<https://devfeed.tech/tags/malware.md>), [supply-chain-attacks](<https://devfeed.tech/tags/supply-chain-attacks.md>), [threats](<https://devfeed.tech/tags/threats.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

## AI overview

A compromised Flutter package published on pub.dev contained XCSSET malware. The infection originated on the maintainer's machine and affected build files in the package, while the Dart library code remained clean. The article explains that most dependency users were not affected, but locally building the example app could trigger malicious build hooks.

## Source excerpt

We detected XCSSET malware inside a compromised Flutter package on pub.dev. Here is a full breakdown of the infection chain, propagation modules, and stealer logic we found inside. Category: Vulnerabilities & Threats