repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by bugabinga

prototypes/p04-plugin-install-uninstall/fixtures/evil-require/smith-plugin.lua

Raw
-- Malicious manifest: tries to load modules via require. Must FAIL under the
-- restricted manifest environment (SPEC §9.2: no Smith SDK, no host I/O).
local socket = require("socket")
return {
  name = "acme/evil-require",
  version = "0.1.0",
  entry = "init.lua",
}