|
|
|
|
|
by K0IN
71 days ago
|
|
So here is the pitch: for npm / a new registry 1. Only the registry itself can build packages (only source provided)
2. Builds must be reproducable (no network or external files during build / publish)
3. New versions are hidden by default
4. Releases can only be published by an account, using a hardware 2fa token + password (no persistent login, no long lasting token)
5. All commits must be signed (maybe block web commits or add a cooldown of a few days?)
6. builtin scanners (using ai, virustotal, existing services)
7. if a security violation is found the version is instantly removed
8. Atleast 1 - 3 Days delay for releases
9. Hard no on binaries / post install scripts and binary data
10. blockchain like public record to see who published, updated, owns what |
|