supply-chain attacks are big problem for the javascript ecosystem. in this short post i will outline a straightforward security measure that can be implemented by all javascript runtimes, both...
供应链攻击是javascript生态系统中的一个重大问题。文章提出了一种新型的每模块权限系统,允许应用和模块在配置文件中声明所需权限,从而限制权限继承。这种方法有效防止大多数供应链攻击,并确保在未知模块中也能进行权限检查,提升安全性。