Validating Lightning Signer Beta Release

The Bitcoin Lightning Network has grown significantly in recent years, but this growth leads to increased security concerns. Lightning Network private keys are currently stored on the node; if the node is compromised, the attacker can steal the user's funds.

VLS (the Validating Lightning Signer), is an open-source Rust library and reference implementation of software that separates a user's private keys from their Lightning node, ensuring that if the node is compromised, the attacker cannot steal the user's funds. There are currently no other solutions in the ecosystem that provide the same level of security as VLS. Unlike VLS, Blind signers, for example, accept any transaction request the node sends them, and actually reduce security if deployed in production.

VLS also opens up the possibility of multi-signature Lightning network setups, similar to Bitcoin layer 1 multi-signature wallets (multi-sig).

We're thrilled to announce the VLS beta releasea major step forward for Lightning network security, and we're excited to share it with developers and companies in the Bitcoin ecosystem.


We propose to sequester the private keys and secrets in hardened policy signing devices. We have a reference Validating Lightning Signer implementation in Rust.

When run with VLS, the Lightning node uses an alternate signing module, replacing internal signing with proxy calls to the signing device.

The signing device applies a complete set of validation rules to ensure that the proposed transaction is safe to sign. Having a complete set of validation rules protects the funds even in the case of a complete compromise of the node software.


Users and merchants who do not want to maintain their own lightning node can also work with a Lightning Service Provider to host and manage their node, while maintaining custody of their funds by securing their Lightning private keys on a consumer device.
Some of the validation rules that VLS implements include:

  • Don't sign a revoked commitment transaction
  • Don't revoke a signed commitment transaction
  • Don't close a channel to an unapproved destination
  • Routed payments must have at least as much input as output value
  • Payments must claim at least as much from the input as was claimed from us on the output
  • And many more ...

VLS is also fully integrated with Blockstream's Greenlight service, which we discussed at Socratic Seminar 23:

On a related note, in mid-June 2023, Build on L2 (BOL2) announced support for the Validating Lightning Signer project (VLS) with a $150,000 grant. BOL2 is a community initiative spearheaded by Blockstream to connect developers building on technology related to Core Lightning and Liquid. VLS is an open source project that includes the ability to operate on hardware security modules HSMs. This will improve enterprise-level Lightning node security by helping to keep private keys segregated from the node itself. Users can define rules for the types of transactions that the VLS module will automatically sign (e.g., channel opens, routing forwards, etc.), which will enable more sophisticated and programatic node management without necessarily requiring direct human interaction or relinquishing full signing access. VLS is fully integrated with Blockstream's Greenlight, which means that developers can easily access this signer without custom modifications.

More Resources

Sponsors

USD/BTC