Hyperlight-wasm and Hyperlight-js could use this to prevent accidental misuse for loading hyperlight snapshots. For example (proposed api) LoadedJsSnapshot::load(...) API should reject arbitrary hyperlight snapshots. It should validate that a snapshot represents a loaded JS sandbox saved through (proposed api) LoadedJSSandbox::snapshot(&mut self).save() API. But there's currently no way to do this.
Hyperlight-wasm and Hyperlight-js could use this to prevent accidental misuse for loading hyperlight snapshots. For example (proposed api)
LoadedJsSnapshot::load(...)API should reject arbitrary hyperlight snapshots. It should validate that a snapshot represents a loaded JS sandbox saved through (proposed api)LoadedJSSandbox::snapshot(&mut self).save()API. But there's currently no way to do this.