What would be a security measure that should only be selectively enforced?
(application security and vulnerability management is a component of my work in financial services, thoughts and opinions always my own)
- Restricting packages with similar names as of popular packages restrict expres because express is a popular package.
- Imposing stricter 2FA checks on accounts of authors of these packages.
- Making sure that published packages don't have vulnerabilities and clear npm audit.
- Alerts in case these packages contain a dependency which is new / relatively new.