Skip to content

Getting Started

LavaMoat is distributed as a Node.js command-line tool. You’ll need an LTS version of Node.js:

  • Node.js LTS (recommended) or
  • Node.js v22 (minimum)

How to Secure Your App Against Supply-Chain Attacks

Section titled “How to Secure Your App Against Supply-Chain Attacks”
  1. Harden your project’s configuration with @lavamoat/harden
    1. Or control dependency lifecycle scripts (eg. “postinstall”) via @lavamoat/allow-scripts
  2. Run your server or tooling with @lavamoat/node
  3. Build your UI with the LavaMoat Webpack plugin or use LavaMoat for Browserify