Close Menu
TechurzTechurz
    What's Hot

    The Future of AI Systems: 7 Architectural Shifts Driving the AI Revolution

    June 13, 2026

    Andrew Yang thinks the next big startup opportunity is lowering the cost of living

    June 13, 2026

    Theker just raised $85M to build the factory robot that doesn’t specialize in anything

    June 12, 2026
    X (Twitter) Pinterest YouTube LinkedIn WhatsApp
    Tech Pulse
    • The Future of AI Systems: 7 Architectural Shifts Driving the AI Revolution
    • Andrew Yang thinks the next big startup opportunity is lowering the cost of living
    • Theker just raised $85M to build the factory robot that doesn’t specialize in anything
    • Bluesky launches group chats, as company shifts focus to community features
    • Quantum Space’s military SPAC is trying to catch SpaceX’s IPO wave
    X (Twitter) Pinterest YouTube LinkedIn WhatsApp
    TechurzTechurz
    • Home
    • Tech Pulse
    • Future Tech
    • AI Systems
    • Cyber Reality
    • Disruption Lab
    • Signals
    TechurzTechurz
    Home - Security - Prettier-ESLint npm packages hijacked in a sophisticated supply chain attack
    Security

    Prettier-ESLint npm packages hijacked in a sophisticated supply chain attack

    TechurzBy TechurzJuly 23, 2025No Comments3 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Display Showing Stages of Hacking in Progress: Exploiting Vulnerability, Executing and Granted Access.
    Share
    Facebook Twitter LinkedIn Pinterest Email


    Popular configuration packages for integrating Prettier with ESLint, the widely used code formatting tools within JavaScript and TypeScript projects, were hijacked after a maintainer fell victim to a phishing scheme.

    According to a Socket observation, packages like eslint-config-prettier and eslint-plugin-prettier were compromised hours after the open-source supply chain security firm reported an npm phishing campaign using the typosquatted npnjs.com domain.

    “The attacker published malicious versions with no corresponding commits or PRs on GitHub,” a Socket blog post explained, “including a payload that executes a DLL on Windows via rundll32.”

    Socket added that the attackers had published four new versions of eslint-config-prettier by the time of detection.

    npm token phished for planting backdoors

    The incident began with an email sent on July 17, impersonating npm support and linking to the look-alike domain npnjs.com. Unaware, the maintainer entered their credentials, giving away their npm token.

    Attackers used the token to publish malicious versions 8.10.1,9.1.1,10.1.6, and 10.1.7 of eslint-config-prettier, along with poisoned updates to eslint-plugin-prettier, synckit,@pkgr/core, and napi-postinstall.

    “Registration emails and maintainer metadata are easily accessible in npm’s package info, which threat actors scrape to build target lists of package maintainers,“ the Socket team said. The malicious versions carried an install-script malware targeting Windows machines by loading a malicious node-gyp.dll.

    Prettier and ESLint integrations are widely used capabilities with popular tools like Dependabot and Renovate automatically picking up the “latest“ versions of packages. CI/CD pipelines and a number of developers may already have unknowingly installed compromised versions, according to Socket.

    Automated GitHub alarms triggered a quick response

    Detection was swift once the updates bypassed GitHub’s usual commit-based alerts and raised red flags in registry logs. The maintainer revoked the compromised token, deprecated the malicious releases, and collaborated with npm to remove them.

    Socket noted that the attack is a textbook example of “multi-stage supply chain compromise,” which involves harvesting maintainer credentials, publishing malicious versions on npm, and potentially infecting thousands of projects.

    “More reports of compromised credentials are likely to roll in as attackers target other maintainers, leveraging scraped npm metadata and what has so far proved to be a very convincing automated phishing campaign,” it added.

    Developers are recommended to audit lockfiles, clear caches, reinstall clean versions, pin specific package versions, and enable two-factor authentication on npm accounts.

    npm, the default package manager for the JavaScript runtime Node.js, has seen increased abuse in recent times, owing to its reach and popularity. Last month, Socket observed two malicious npm packages capable of wiping out production systems with a single request. Previously, a score of npm packages were caught snooping on dev machines in addition to a clever campaign that dropped typo-squatted packages with stealers and RCE codes.

    Attack Chain Hijacked npm packages PrettierESLint sophisticated Supply
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleOpenAI CEO Sam Altman Is Terrified About AI Bank Fraud
    Next Article OpenAI’s New CEO of Applications Strikes Hyper-Optimistic Tone in First Memo to Staff
    Techurz
    • Website

    Related Posts

    Opinion

    Loop raises $95M to build supply chain AI that predicts disruptions

    April 17, 2026
    Cyber Reality

    AI is becoming introspective – and that ‘should be monitored carefully,’ warns Anthropic

    November 3, 2025
    Cyber Reality

    Perplexity’s new AI tool lets you search patents with natural language – and it’s free

    November 3, 2025
    Add A Comment
    Latest Tech Pulse

    College social app Fizz expands into grocery delivery

    September 3, 20252,289

    SolarSquare in talks to raise up to $60M as India’s rooftop solar market draws major VC interest

    May 23, 202621

    Future of Digital Privacy and Security: 7 Truths Nobody Tells You

    May 25, 202618
    Stay In Touch
    • YouTube
    • WhatsApp
    • Twitter
    • Pinterest
    • LinkedIn

    Techurz helps readers stay ahead of digital change with clear, practical, future focused technology intelligence written today,searched tomorrow.

    X (Twitter) Pinterest YouTube LinkedIn WhatsApp
    Company
    • About Us
    • Contact Us
    • Our Authors / Editorial Team
    • Write For Us
    • Advertise
    Policy
    • Editorial Policy
    • Privacy Policy
    • Terms and Conditions
    • Affiliate Disclosure
    • Cookie Policy
    • Disclaimer
    • DMCA
    Explore
    • AI Systems
    • Cyber Reality
    • Future Tech
    • Disruption Lab
    • Signals
    • Tech Pulse
    • Sitemap

    Join the Techurz Brief

    The future does not arrive suddenly.
    Stay ahead with fast, sharp tech signals.

    Type above and press Enter to search. Press Esc to cancel.