Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

345 B
Raw Blame
(() => {
  const attempt = callback => {
    try {
      callback();
      return 'allowed';
    } catch (error) {
      return error.name;
    }
  };
  return [
    attempt(() => eval('21 * 2')),
    attempt(() => new Function('return 42')()),
    attempt(() => new WebAssembly.Module(new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0]))),
  ];
})()