📖 Step 7: Testing & Quality#482 / 498

Supply Chain Attack

Software Supply Chain Attack

📖One-line summary

An attack that gets in by planting malicious code in the libraries, packages, or build tools you install rather than in your own code.

✨Example

// 공급망 공격

✓ 내 코드가 아니라 내가 설치해 쓰는 라이브러리·패키지·빌드 도구에 악성 코드를 심어 침투하는 공격

Tests: 1 passed

⚡Vibe coding prompt examples

>_

Find dependencies in package.json with low weekly downloads, a recent ownership change, or a postinstall script, and list them by risk.

>_

Switch CI to npm ci only, enforce committing package-lock.json, use npm install --ignore-scripts by default, and set up a review rule for adding new packages.

>_

Show me how to check before installing that a package name an AI suggested actually exists and isn't a look-alike fake (typosquatting).

Try these prompts in your AI coding assistant!