SR036
Severity: error
Summary: controller hook WASM path does not end with ‘.wasm’
What this means
A controller hook uses the wasm: prefix but the path that follows does not end with .wasm. Shaperail validates the extension to prevent accidental references to non-WASM files being loaded as plugins.
Example that triggers this
endpoints:
create:
input: [name]
controller: { after: "wasm:./plugins/my_plugin" }
How to fix it
Ensure the WASM plugin path ends with .wasm:
controller: { after: "wasm:./plugins/my_plugin.wasm" }