{"id":67581,"date":"2025-09-06T19:54:30","date_gmt":"2025-09-06T22:54:30","guid":{"rendered":"https:\/\/mastertrend.info\/?p=67581"},"modified":"2026-01-21T01:05:13","modified_gmt":"2026-01-21T04:05:13","slug":"singularity-filtration","status":"publish","type":"post","link":"https:\/\/mastertrend.info\/en\/filtracion-s1ngularity\/","title":{"rendered":"S1ngularity filtering: 2,180 accounts and 7,200 repos."},"content":{"rendered":"<h2>S1ngularity leak: GitHub and NPM affected \ud83d\udea8<\/h2>\n<div>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/09\/Malware-impulsado-por-IA-afecto-a-2180-cuentas-de-GitHub.jpg\" alt=\"GitHub \u2014 illustration related to token and secret leak\" width=\"1600\" height=\"900\" title=\"\"><\/p>\n<p>Recent investigations into the supply chain attack dubbed &quot;s1ngularity&quot; against Nx reveal a massive credential leak: thousands of account tokens and repository secrets were exposed, with repercussions across multiple phases of the incident. A post-incident report from Wiz documents the scope and provides insight into how the exfiltration evolved and its impact. \ud83d\udea8\ud83d\udcca<\/p>\n<p>According to the assessment published by Wiz researchers, the breach resulted in the exposure of 2,180 accounts and 7,200 repositories in three distinct phases, with many secrets still valid and <a title=\"Update Chrome Sync 2025: Keep your browser secure.\" href=\"https:\/\/mastertrend.info\/en\/update-chrome-sync-2025\/\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"6389\">risk of continued damage<\/a>The white paper provides details on the timeline, the attacker&#039;s techniques, and the nature of the leaked secrets. \ud83d\udd0d\ud83d\udcc8<\/p>\n<h2>The Nx Supply Chain Attack \u26a0\ufe0f\ud83d\ude80<\/h2>\n<p>Nx is an open-source, single-repository build and management system widely used in enterprise-scale JavaScript\/TypeScript ecosystems. With millions of weekly downloads on the NPM registry, a compromised package has a far-reaching impact on numerous integrations and development pipelines. \u2699\ufe0f<\/p>\n<h3>Compromise vector and incident date \ud83d\udcc5<\/h3>\n<p>On August 26, 2025, a malicious actor exploited a vulnerable GitHub Actions workflow in the Nx repository to publish a malicious version of the package to NPM. The package included a malicious post-install script called &quot;telemetry.js&quot; that acted as <a class=\"wpil_keyword_link\" href=\"https:\/\/mastertrend.info\/en\/ransomware-and-malware-on-android\/\" target=\"_blank\"  rel=\"noopener\" title=\"Ransomware and Malware on Android: An Easy Guide to Protect Yourself\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"33585\">malware<\/a> Credential extractor on affected systems. \ud83d\udd25<\/p>\n<h3>How telemetry.js malware works \ud83d\udd75\ufe0f\u200d\u2642\ufe0f<\/h3>\n<p>The malware telemetry.js acted as a credential stealer on Linux and macOS, attempting to steal GitHub tokens, npm tokens, SSH keys, .env files, cryptocurrency wallets, and other secrets, and then upload them to public GitHub repositories named \u00abs1ngularity-repository. This pattern allowed the attacker to centralize and expose the stolen information. \ud83d\udd10<\/p>\n<div style=\"text-align: center\">\n<figure class=\"image\"><img decoding=\"async\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/09\/1757188361_133_Malware-impulsado-por-IA-afecto-a-2180-cuentas-de-GitHub.jpg\" alt=\"Prompt LLM used to find and steal credentials and secrets\" width=\"1488\" height=\"600\" title=\"\"><figcaption><strong>Prompt LLM to find and exfiltrate credentials and other secrets<\/strong><br \/>\n<em>Source: Wiz<\/em><\/figcaption><\/figure>\n<\/div>\n<p>The attacker also integrated command-line tools for AI platforms (e.g., Claude, Q, and Gemini) to automate search and harvesting using targeted prompts. Wiz documents how the prompt evolved during the attack, optimizing extraction and circumventing model rejections for certain instructions, reflecting the actor&#039;s active attunement to LLM techniques. \u2728\ud83d\udca1<\/p>\n<h2>Impact range: damage radius and phases \ud83d\udcc8\ud83d\udd25<\/h2>\n<p>The incident unfolded in three phases. In the first, between August 26 and 27, compromised versions of Nx directly affected 1,700 users and leaked more than 2,000 unique secrets, in addition to exposing around 20,000 files from infected systems. GitHub intervened, but much of the data had already been duplicated.<\/p>\n<ul>\n<li>\ud83d\udd39 <strong>Phase 1 (August 26\u201327):<\/strong> 1,700 users affected, ~2,000 leaked secrets, 20,000 compromised files.<\/li>\n<li>\ud83d\udd38 <strong>Phase 2 (August 28\u201329):<\/strong> Using leaked tokens to convert private repositories to public ones; 480 additional accounts compromised and 6,700 repositories exposed.<\/li>\n<li>\ud83d\udd39 <strong>Phase 3 (from August 31):<\/strong> attack targeting a victim organization using <a title=\"Protect your PC on Public Wi-Fi Networks: 2025 Guide\" href=\"https:\/\/mastertrend.info\/en\/public-wi-fi-networks\/\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"6388\">accounts compromised to publish<\/a> 500 more private repositories.<\/li>\n<\/ul>\n<p>During the second phase, the attackers used stolen GitHub tokens to make private repositories public and rename them with the string &#039;s1ngularity,&#039; amplifying the exposure. In the third phase, a specific target was exploited to publish hundreds of additional private repositories, demonstrating the attacker&#039;s persistence and escalation. \ud83c\udfaf<\/p>\n<div style=\"text-align: center\">\n<figure class=\"image\"><img decoding=\"async\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/09\/1757188361_498_Malware-impulsado-por-IA-afecto-a-2180-cuentas-de-GitHub.jpg\" alt=\"Overview of the attack and its impact\" width=\"1100\" height=\"600\" title=\"\"><figcaption><strong>Visual summary of the s1ngularity attack<\/strong><br \/>\n<em>Source: Wiz<\/em><\/figcaption><\/figure>\n<\/div>\n<h2>Nx Project Response and Mitigation \ud83d\udd27\u2705<\/h2>\n<p>The Nx team published a root cause analysis on GitHub explaining how an injection in the title of a pull request combined with insecure use of pull_request_target allowed arbitrary code to be executed with elevated permissions, triggering the publishing pipeline and facilitating the exfiltration of the npm publishing token. \ud83d\udee0\ufe0f<\/p>\n<p>The actions implemented included removing malicious packages, revoking and rotating compromised tokens, and mandating two-factor authentication for all publisher accounts. Additionally, Nx adopted NPM&#039;s Trusted Publisher model and added manual approval for PR-triggered workflows. \ud83d\udd10\ud83d\udccc<\/p>\n<h3>Quick tips and key points \u270f\ufe0f<\/h3>\n<ul>\n<li>\u2705 Review and rotate tokens and secrets immediately if compromise is suspected.<\/li>\n<li>\ud83d\udccc Avoid unsafe use of pull_request_target and enforce manual approvals on sensitive flows.<\/li>\n<li>\ud83d\udd27 Implement multi-factor authentication and trusted publishing models like Trusted Publisher.<\/li>\n<li>\u26a1 Monitor public repositories and perform automated secret searches for early detection.<\/li>\n<\/ul>\n<section>\n<h3>Defining Snippets and FAQs \u2728<\/h3>\n<h4>What is telemetry.js?<\/h4>\n<p>telemetry.js is the name of the malicious post-install script included in the compromised version of the Nx package; it acted as a credential stealer on Linux and macOS systems to harvest and exfiltrate secrets to public repositories controlled by the attacker. \ud83d\udd0d<\/p>\n<h4>How many accounts and repositories were affected?<\/h4>\n<p>According to Wiz&#039;s report, the attack exposed 2,180 accounts and 7,200 repositories throughout the three documented phases of the incident, with many secrets still valid and a risk of continued impact. \ud83d\udcca<\/p>\n<\/section>\n<div class=\"ia_ad\">\n<div class=\"ia_rig\">\n<p>46% environments presented <a class=\"wpil_keyword_link\" href=\"https:\/\/mastertrend.info\/en\/google-chrome-passwords\/\" target=\"_blank\"  rel=\"noopener\" title=\"Google Chrome passwords: Fix the problem easily now! \u26a1\ufe0f\ud83d\udd27\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"34437\">passwords<\/a> compromised, almost double the 25% of the previous year. Get the Picus Blue Report 2025 for a complete analysis of data exfiltration prevention, detection, and trends. \ud83d\udcc8<\/p>\n<p>The report provides metrics, recommendations, and case studies to strengthen defenses and improve response to secret leaks.<\/p>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>s1ngularity leak: telemetry.js stole tokens, SSH keys and .env; secrets uploaded to public repositories.<\/p>","protected":false},"author":1,"featured_media":67790,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ai_generated_summary":"","iawp_total_views":24,"jnews-multi-image_gallery":[],"jnews_single_post":{"format":"standard","override":[{"template":"1","parallax":"1","fullscreen":"1","layout":"right-sidebar","sidebar":"default-sidebar","second_sidebar":"default-sidebar","sticky_sidebar":"1","share_position":"top","share_float_style":"share-monocrhome","show_share_counter":"1","show_view_counter":"1","show_featured":"1","show_post_meta":"1","show_post_author":"1","show_post_author_image":"1","show_post_date":"1","post_date_format":"default","post_date_format_custom":"Y\/m\/d","show_post_category":"1","show_post_reading_time":"1","post_reading_time_wpm":"300","post_calculate_word_method":"str_word_count","show_zoom_button":"1","zoom_button_out_step":"2","zoom_button_in_step":"3","show_post_tag":"1","show_prev_next_post":"1","show_popup_post":"1","number_popup_post":"1","show_author_box":"1","show_post_related":"0","show_inline_post_related":"0","show_comment_section":"1"}],"image_override":[{"single_post_thumbnail_size":"crop-500","single_post_gallery_size":"crop-500"}],"trending_post_position":"meta","trending_post_label":"Trending","sponsored_post_label":"Sponsored by","disable_ad":"0","subtitle":""},"jnews_primary_category":[],"jnews_social_meta":[],"jnews_review":[],"enable_review":"","type":"percentage","name":"","summary":"","brand":"","sku":"","good":[],"bad":[],"score_override":"","override_value":"","rating":[],"price":[],"jnews_override_counter":{"view_counter_number":"0","share_counter_number":"0","like_counter_number":"0","dislike_counter_number":"0"},"footnotes":""},"categories":[308],"tags":[1639,1445,1425],"class_list":["post-67581","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seguridad","tag-ciberseguridad","tag-evergreencontent","tag-malware"],"_links":{"self":[{"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/posts\/67581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/comments?post=67581"}],"version-history":[{"count":44,"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/posts\/67581\/revisions"}],"predecessor-version":[{"id":105480,"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/posts\/67581\/revisions\/105480"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/media\/67790"}],"wp:attachment":[{"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/media?parent=67581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/categories?post=67581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/tags?post=67581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}