🔐Dependency Scanning
Also known as npm audit, Dependabot, Software Composition Analysis, SCA
A check of the packages you use. It looks for known holes.
Think of it like
Think of it like a list of foods that were called back. You check your cupboard against it.
Example
Emma runs npm audit on an old project. It flags lodash 4.17.20 as high severity and says npm audit fix will update it.
Why it matters
Most of an app's code comes from packages. Scanning is how you learn when one of them turns dangerous.
Definition
Example code
console
$ npm audit
lodash <=4.17.23
Severity: high
fix available via `npm audit fix`
1 high severity vulnerabilityCommon mistake
Key takeaways
- 1Checks your packages. Against known holes.
- 2Names the fix. Which version is safe.
- 3Run it every change. New holes appear daily.