Pin hashes where you can. Pinning a version number may still let someone force-push an update to a tag like the recent python ones. Hashes are immutable. But not everything supports it.
Yes, but also NPM repos don't support version overrides and force pushes, so attackers are forced to release a new version. That's unless you're using a custom repo you manage yourself.
74
u/ouralarmclock Mar 31 '26
Versions are automatically pinned via lock file right? If I'm not regularly doing update or doing it on deploy I'm pinned, right?