티스토리 뷰

Wait, the App I Use Got Hacked? You Really Need to Understand What Supply Chain Attacks Are

 

I got a text from a friend yesterday. "Hey, the shopping app I use is acting weird. Do I need to change my password?" I use that app too. But here's the thing—the problem isn't actually with the app itself, it's that the tools the developers who made the app use might be compromised. Today's story is exactly that kind of case.

But I'm not a developer, so why should I care?

Every app or website we use every day was made by someone, right? Those developers don't write every single line of code from scratch. They use ready-made components that already exist. In tech terms, we call these 'packages' or 'libraries.' Think of them like LEGO blocks. They grab building blocks that someone else made and snap them together to create their final product faster.

But what if there was a secret listening device hidden inside one of those LEGO blocks? The developer using it wouldn't know, we wouldn't know using the app, and only the hackers would be having a good time. That's exactly what a Supply Chain Attack is. Seriously scary stuff. Because no matter how careful I am, the service I'm using is already compromised from the start.

TIP A 'supply chain attack' is when hackers don't go after the end user directly, but instead attack the process of making the software that person uses. It's like instead of robbing a restaurant, you rob the food supplier and poison the ingredients.

So what actually happened in this incident?

Recently, a security research team called Socket discovered something really serious. A malicious attack called 'TrapDoor' was targeting three huge package repositories where developers download components—npm, PyPI, and Crates.io all at the same time. These repositories are where developers around the world grab code components every single day. In Korea, it'd be like Coupang or Naver Smart Store—they're essential in the developer world.

The attackers planted 34 malicious packages in these repositories, and when you count by version, we're talking hundreds. The names of these packages are super cleverly disguised to look legitimate, so developers can accidentally install the wrong ones without noticing. This is called 'Typosquatting.' For example, if the real package is called 'react,' they'll create a fake one called 're-act' or 'reakt' with a slightly different name.

So what does this malicious package do when it gets installed? It secretly steals cryptocurrency wallet info, API keys (basically passwords to access services), and cloud server authentication info. Since it specifically targets cryptocurrency, it got the name 'Crypto Stealer.'

WARNING This attack doesn't stop at the developer's computer. If it makes its way into the CI/CD pipeline (the automated app deployment system) of an infected developer, the personal information of regular users who actually use the service that developer made can be at risk too.

Honestly, I put together a table showing just how dangerous this is

I made a table so you can see at a glance just how big this incident is and what kind of information is at risk. Numbers really help you understand the gravity of a situation.

Category Details
Number of malicious packages 34
Number of infected versions Hundreds
Target repositories npm (JavaScript), PyPI (Python), Crates.io (Rust)
Main targets for theft Cryptocurrency wallet info, API keys, cloud authentication info
Risk to regular users If you use an infected service, your account info and personal data could be exposed
Discovering organization Socket Security Research Team

Honestly, attacks like this aren't new. A few years back, services used by tens of millions of people got hit simultaneously using similar methods. But experts are saying this time is more sophisticated and larger in scale because three major repositories were targeted simultaneously.

TIP npm, PyPI, and Crates.io are package repositories used by developers of JavaScript, Python, and Rust respectively. Since millions of developers worldwide use these every single day, if even one of them gets breached, the ripple effect is enormous.

So what can we actually do about it?

If you're not a developer, you might think, "I don't use packages or anything, so what should I do?" But honestly, there are real things we can do. While we can't achieve perfect defense, we can definitely minimize damage.

1
Never store your cryptocurrency wallet private keys online. The main target of this attack was cryptocurrency wallet information. Private keys or seed phrases (the recovery text for your wallet) should be kept separately somewhere not connected to the internet. Saving them in Notepad or cloud storage is seriously dangerous.
2
Change your passwords regularly for services you use often, and turn on two-factor authentication. Even if a service gets breached, if you have two-factor authentication enabled (OTP, text message verification, etc.), hackers can't log in even if they know your password. Yeah, I know it's annoying. But this is the most reliable defense wall out there.
3
If you're a developer, double-check package names before installing them. Typosquatting attacks use names that are just slightly different. It's important to develop the habit of checking the exact package name in official documentation or GitHub before installing. Adopting security monitoring tools like Socket is also a good idea.

Ultimately, the reason these attacks keep happening is because we've all gotten too comfortable with convenience. Developers have to move fast, so they grab packages without verification. Regular people find it annoying so they use the same password everywhere. And that's exactly the gap hackers exploit.

WARNING You might already be infected. If you see unfamiliar login records or unknown withdrawal transactions in your crypto exchange account or main services, change your password immediately and report it to customer service. Quick action reduces damage.

Frequently Asked Questions

Q. I don't have cryptocurrency and I'm not a developer—does this attack affect me?

A. The direct impact might be minimal. But all the shopping apps, delivery apps, and financial apps we use every day were made by developers, right? If those developers were hit in this attack, your personal info and account info could indirectly be at risk too. That's why it's important to have two-factor authentication turned on normally.

Q. How do people find these malicious packages?

A. Security companies like Socket constantly monitor open-source repositories and hunt for suspicious code patterns. They use AI and automated analysis tools to scan huge amounts of code really quickly. That's how this one was discovered too, and as soon as it was found, they reported it to npm, PyPI, and Crates.io who took the malicious packages down.

Pretty heavy stuff today, huh? But honestly, knowing about it isn't scary. While we can't prevent everything, just taking care of the basics can seriously lower your chances of getting hurt. Password management and two-factor authentication—just these two things make a real difference. Now that you've read this, go turn on two-factor authentication for your main services right now. I'm doing it too! 😄

#SupplyChainAttack #SecurityNews #CryptocurrencySecurity #Cybersecurity #PrivacyProtection #TwoFactorAuthentication #OpenSourceSecurity