{"id":1887,"date":"2025-06-07T22:31:21","date_gmt":"2025-06-07T19:31:21","guid":{"rendered":"https:\/\/trustcrypt.com\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/"},"modified":"2025-06-07T22:31:21","modified_gmt":"2025-06-07T19:31:21","slug":"supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads","status":"publish","type":"post","link":"https:\/\/trustcrypt.com\/ar\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/","title":{"rendered":"Supply Chain Compromise Affects Gluestack NPM Packages with 960,000 Weekly Downloads"},"content":{"rendered":"<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"NPM\" height=\"900\" src=\"https:\/\/trustcrypt.com\/wp-content\/uploads\/2025\/06\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads.jpg\" width=\"1600\"><\/p>\n<p>A significant supply chain compromise has occurred within the Node Package Manager (NPM) ecosystem, impacting 16 widely utilized Gluestack packages, specifically &#8216;react-native-aria&#8217;. These packages collectively account for over 950,000 downloads weekly and now contain malicious code that functions as a remote access trojan (RAT).<\/p>\n<p>The attack was identified on June 6 at 4:33 PM EST, following the publication of a new version of the react-native-aria\/focus package to NPM. Since this initial compromise, the threat actors have updated 16 out of the 20 Gluestack react-native-aria packages, with the latest version being released just two hours prior.<\/p>\n<div style=\"text-align:center\">\n<figure class=\"image\" style=\"display:inline-block\"><img loading=\"lazy\" decoding=\"async\" alt=\"Ongoing compromise of NPM packages\" height=\"600\" src=\"https:\/\/trustcrypt.com\/wp-content\/uploads\/2025\/06\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads-1.jpg\" width=\"812\"><figcaption><strong>Ongoing compromise of NPM packages<\/strong><br \/><em>Source: BleepingComputer<\/em><\/figcaption><\/figure>\n<\/div>\n<p>This supply chain attack was uncovered by Aikido Security, which detected obfuscated code infiltrating the <code>lib\/index.js<\/code> file across several affected packages:<\/p>\n<table align=\"center\" cellspacing=\"0\">\n<colgroup>\n<col span=\"2\">\n<col><\/colgroup>\n<tbody>\n<tr>\n<td><strong>Package Name<\/strong><\/td>\n<td><strong>Version<\/strong><\/td>\n<td><strong>Weekly Downloads<\/strong><\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/button<\/td>\n<td>0.2.11<\/td>\n<td>51,000<\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/checkbox<\/td>\n<td>0.2.11<\/td>\n<td>81,000<\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/combobox<\/td>\n<td>0.2.10<\/td>\n<td>51,000<\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/disclosure<\/td>\n<td>0.2.9<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/focus<\/td>\n<td>0.2.10<\/td>\n<td>100,000<\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/interactions<\/td>\n<td>0.2.17<\/td>\n<td>125,000<\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/listbox<\/td>\n<td>0.2.10<\/td>\n<td>51,000<\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/menu<\/td>\n<td>0.2.16<\/td>\n<td>22,000<\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/overlays<\/td>\n<td>0.3.16<\/td>\n<td>96,000<\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/radio<\/td>\n<td>0.2.14<\/td>\n<td>78,000<\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/switch<\/td>\n<td>0.2.5<\/td>\n<td>477<\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/toggle<\/td>\n<td>0.2.12<\/td>\n<td>81,000<\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/utils<\/td>\n<td>0.2.13<\/td>\n<td>120,000<\/td>\n<\/tr>\n<tr>\n<td>gluestack-ui\/utils<\/td>\n<td>0.1.17<\/td>\n<td>55,000<\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/separator<\/td>\n<td>0.2.7<\/td>\n<td>65<\/td>\n<\/tr>\n<tr>\n<td>react-native-aria\/slider<\/td>\n<td>0.2.13<\/td>\n<td>51,000<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Collectively, these packages are extensively used, with a striking total of approximately 960,000 weekly downloads, underscoring the potential widespread implications of this breach.<\/p>\n<p>The obfuscation of the malicious code complicates its detection, as it is designed to blend within the legitimate code by being appended to the end of the <code>index.js<\/code> file, framed by excessive whitespace.<\/p>\n<div style=\"text-align:center\">\n<figure class=\"image\" style=\"display:inline-block\"><img loading=\"lazy\" decoding=\"async\" alt=\"Malicious code added to end of index.js file\" height=\"600\" src=\"https:\/\/trustcrypt.com\/wp-content\/uploads\/2025\/06\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads-2.jpg\" width=\"980\"><figcaption><strong>Malicious code added to end of index.js file<\/strong><br \/><em>Source: BleepingComputer<\/em><\/figcaption><\/figure>\n<\/div>\n<p>Aikido&#8217;s findings indicate that this malicious code closely resembles a RAT associated with a previous NPM compromise identified the prior month.<\/p>\n<p>The analysis of this earlier incident reveals that the RAT actively connects to an attacker-controlled command and control server, which enables the execution of remote commands.<\/p>\n<p>Commands leveraged by the trojan include:<\/p>\n<ul style=\"list-style-type:square\">\n<li><strong>cd &#8211;<\/strong> Change the current working directory<\/li>\n<li><strong>ss_dir &#8211;<\/strong> Reset directory to the script&#8217;s path<\/li>\n<li><strong>ss_fcd:<path> &#8211;<\/strong> Force change directory to <path><\/li>\n<li><strong>ss_upf:f,d &#8211;<\/strong> Upload a specific file f to a destination d<\/li>\n<li><strong>ss_upd:d,dest &#8211;<\/strong> Upload all files from directory d to destination dest<\/li>\n<li><strong>ss_stop &#8211;<\/strong> Set a flag to interrupt the current upload process<\/li>\n<li><strong>Any other input &#8211;<\/strong> Treated as a shell command, executed via child_process.exec()<\/li>\n<\/ul>\n<p>Additionally, the trojan facilitates Windows PATH hijacking by modifying the PATH environment variable to prepend a counterfeit Python path (%LOCALAPPDATA%ProgramsPythonPython3127). This enables the execution of malicious binaries under the guise of legitimate python or pip commands.<\/p>\n<p>Researcher Charlie Eriksen from Aikido has made several attempts to communicate with Gluestack regarding the compromise through the issuance of GitHub issues on each relevant repository, but as of this moment, no response has been received.<\/p>\n<p>&#8220;We have yet to receive a response from the package maintainers, which may be attributed to it being early on a Saturday morning in the US,&#8221; remarked Eriksen.<\/p>\n<p>Aikido has also reported this incident to NPM and is currently awaiting their response, which typically involves several days for resolution.<\/p>\n<p>Aikido attributes this attack to the same threat actors responsible for compromising four additional NPM packages earlier in the week, namely <em>biatec-avm-gas-station<\/em>, <em>cputil-node<\/em>, <em>lfwfinance\/sdk<\/em>, and <em>lfwfinance\/sdk-dev<\/em>.<\/p>\n<p>Attempts to reach out to Gluestack for comments concerning the compromised packages have yielded no response to date.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A significant supply chain compromise has occurred within the Node Package Manager (NPM) ecosystem, impacting 16 widely utilized Gluestack packages,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1888,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"Default","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[28],"tags":[824,123,143],"class_list":["post-1887","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-malicious-code","tag-remote-access","tag-supply-chain"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Supply Chain Compromise Affects Gluestack NPM Packages with 960,000 Weekly Downloads - Trustcrypt<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/trustcrypt.com\/ar\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/\" \/>\n<meta property=\"og:locale\" content=\"ar_AR\" \/>\n<meta property=\"og:locale:alternate\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Supply Chain Compromise Affects Gluestack NPM Packages with 960,000 Weekly Downloads\" \/>\n<meta property=\"og:description\" content=\"A significant supply chain compromise has occurred within the Node Package Manager (NPM) ecosystem, impacting 16 widely utilized Gluestack packages,...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/trustcrypt.com\/ar\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/\" \/>\n<meta property=\"og:site_name\" content=\"Trustcrypt\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-07T19:31:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/trustcrypt.com\/wp-content\/uploads\/2025\/06\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads.jpg\" \/>\n<meta name=\"author\" content=\"Trustscrypt\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0643\u064f\u062a\u0628 \u0628\u0648\u0627\u0633\u0637\u0629\" \/>\n\t<meta name=\"twitter:data1\" content=\"Trustscrypt\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0648\u0642\u062a \u0627\u0644\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u064f\u0642\u062f\u0651\u0631\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u062f\u0642\u0627\u0626\u0642\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/trustcrypt.com\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/\",\"url\":\"https:\/\/trustcrypt.com\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/\",\"name\":\"Supply Chain Compromise Affects Gluestack NPM Packages with 960,000 Weekly Downloads\",\"isPartOf\":{\"@id\":\"https:\/\/trustcrypt.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/trustcrypt.com\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/trustcrypt.com\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/trustcrypt.com\/wp-content\/uploads\/2025\/06\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads.webp\",\"datePublished\":\"2025-06-07T19:31:21+00:00\",\"author\":{\"@id\":\"https:\/\/trustcrypt.com\/#\/schema\/person\/469b1cf97b9f7ea4e4d7fa31689dfa9f\"},\"inLanguage\":\"ar\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/trustcrypt.com\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ar\",\"@id\":\"https:\/\/trustcrypt.com\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/#primaryimage\",\"url\":\"https:\/\/trustcrypt.com\/wp-content\/uploads\/2025\/06\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads.webp\",\"contentUrl\":\"https:\/\/trustcrypt.com\/wp-content\/uploads\/2025\/06\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads.webp\",\"width\":1792,\"height\":1024,\"caption\":\"Supply Chain Compromise Affects Gluestack NPM Packages with 960,000 Weekly Downloads\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/trustcrypt.com\/#website\",\"url\":\"https:\/\/trustcrypt.com\/\",\"name\":\"Trustcrypt\",\"description\":\"\u0627\u0644\u0623\u0645\u0646 \u0647\u0648 \u0627\u0633\u0645\u0646\u0627 \u0627\u0644\u062b\u0627\u0646\u064a\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/trustcrypt.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ar\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/trustcrypt.com\/#\/schema\/person\/469b1cf97b9f7ea4e4d7fa31689dfa9f\",\"name\":\"Trustscrypt\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ar\",\"@id\":\"https:\/\/trustcrypt.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4c36ff3376565a0f4981e9397667feb08d5e09acacce32a52ea4a3f628e03692?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4c36ff3376565a0f4981e9397667feb08d5e09acacce32a52ea4a3f628e03692?s=96&d=mm&r=g\",\"caption\":\"Trustscrypt\"},\"sameAs\":[\"http:\/\/trustcrypt.com\"],\"url\":\"https:\/\/trustcrypt.com\/ar\/author\/trustscrypt\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Supply Chain Compromise Affects Gluestack NPM Packages with 960,000 Weekly Downloads - Trustcrypt","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/trustcrypt.com\/ar\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/","og_locale":"ar_AR","og_type":"article","og_title":"[:en]Supply Chain Compromise Affects Gluestack NPM Packages with 960,000 Weekly Downloads[:] - Trustcrypt","og_description":"A significant supply chain compromise has occurred within the Node Package Manager (NPM) ecosystem, impacting 16 widely utilized Gluestack packages,...","og_url":"https:\/\/trustcrypt.com\/ar\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/","og_site_name":"Trustcrypt","article_published_time":"2025-06-07T19:31:21+00:00","og_image":[{"url":"https:\/\/trustcrypt.com\/wp-content\/uploads\/2025\/06\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads.jpg","type":"","width":"","height":""}],"author":"Trustscrypt","twitter_card":"summary_large_image","twitter_misc":{"\u0643\u064f\u062a\u0628 \u0628\u0648\u0627\u0633\u0637\u0629":"Trustscrypt","\u0648\u0642\u062a \u0627\u0644\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u064f\u0642\u062f\u0651\u0631":"3 \u062f\u0642\u0627\u0626\u0642"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/trustcrypt.com\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/","url":"https:\/\/trustcrypt.com\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/","name":"Supply Chain Compromise Affects Gluestack NPM Packages with 960,000 Weekly Downloads","isPartOf":{"@id":"https:\/\/trustcrypt.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/trustcrypt.com\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/#primaryimage"},"image":{"@id":"https:\/\/trustcrypt.com\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/#primaryimage"},"thumbnailUrl":"https:\/\/trustcrypt.com\/wp-content\/uploads\/2025\/06\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads.webp","datePublished":"2025-06-07T19:31:21+00:00","author":{"@id":"https:\/\/trustcrypt.com\/#\/schema\/person\/469b1cf97b9f7ea4e4d7fa31689dfa9f"},"inLanguage":"ar","potentialAction":[{"@type":"ReadAction","target":["https:\/\/trustcrypt.com\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/"]}]},{"@type":"ImageObject","inLanguage":"ar","@id":"https:\/\/trustcrypt.com\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads\/#primaryimage","url":"https:\/\/trustcrypt.com\/wp-content\/uploads\/2025\/06\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads.webp","contentUrl":"https:\/\/trustcrypt.com\/wp-content\/uploads\/2025\/06\/supply-chain-compromise-affects-gluestack-npm-packages-with-960-000-weekly-downloads.webp","width":1792,"height":1024,"caption":"Supply Chain Compromise Affects Gluestack NPM Packages with 960,000 Weekly Downloads"},{"@type":"WebSite","@id":"https:\/\/trustcrypt.com\/#website","url":"https:\/\/trustcrypt.com\/","name":"Trustcrypt","description":"\u0627\u0644\u0623\u0645\u0646 \u0647\u0648 \u0627\u0633\u0645\u0646\u0627 \u0627\u0644\u062b\u0627\u0646\u064a","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/trustcrypt.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ar"},{"@type":"Person","@id":"https:\/\/trustcrypt.com\/#\/schema\/person\/469b1cf97b9f7ea4e4d7fa31689dfa9f","name":"Trustscrypt","image":{"@type":"ImageObject","inLanguage":"ar","@id":"https:\/\/trustcrypt.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4c36ff3376565a0f4981e9397667feb08d5e09acacce32a52ea4a3f628e03692?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4c36ff3376565a0f4981e9397667feb08d5e09acacce32a52ea4a3f628e03692?s=96&d=mm&r=g","caption":"Trustscrypt"},"sameAs":["http:\/\/trustcrypt.com"],"url":"https:\/\/trustcrypt.com\/ar\/author\/trustscrypt\/"}]}},"_links":{"self":[{"href":"https:\/\/trustcrypt.com\/ar\/wp-json\/wp\/v2\/posts\/1887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trustcrypt.com\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trustcrypt.com\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trustcrypt.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/trustcrypt.com\/ar\/wp-json\/wp\/v2\/comments?post=1887"}],"version-history":[{"count":0,"href":"https:\/\/trustcrypt.com\/ar\/wp-json\/wp\/v2\/posts\/1887\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/trustcrypt.com\/ar\/wp-json\/wp\/v2\/media\/1888"}],"wp:attachment":[{"href":"https:\/\/trustcrypt.com\/ar\/wp-json\/wp\/v2\/media?parent=1887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trustcrypt.com\/ar\/wp-json\/wp\/v2\/categories?post=1887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trustcrypt.com\/ar\/wp-json\/wp\/v2\/tags?post=1887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}