Not as hot as lava, but still sticky.
A cursed attempt at rebuilding LavaMoat with Node.js' module customization hooks.
Node.js v20.0.0+
Install and run:
npm install && npm start
You can then:
- Open
register.js
and try different policies from the list. Try your own! - Feeling lazy? You can see what would happen if you did.
Note: It's using a simplified policy and doesn't support relative specifiers inside
node_modules
, so don't change the example too much
The gravy is not fit for human consumption.
Copyright © 2024 Consensys, Inc. Licensed MIT