Skip to content

Security: Coneja-Chibi/Hoplight

Security

SECURITY.md

· A CONEJA-CHIBI PRODUCTION ·

Hoplight

Security Policy

Reporting a vulnerability

Email chibiconeja@gmail.com with a description and, if you have one, a reproduction. Please report privately before disclosing publicly.

What to expect:

  • An acknowledgment within a few days
  • A fix on Mainstage as fast as severity warrants
  • Credit in the release notes if you want it

Scope

Hoplight is a local-first app: a loopback-only server plus a CLI, no accounts, no cloud. Reports most valuable here:

  • Path escape from the studio folder (id validation, archive extraction)
  • Anything that lets a web page reach the local API despite the token, Origin, and Sec-Fetch-Site checks
  • Content-Security-Policy bypasses in the served shell
  • Card payloads (Lua, macros, regex, archives) achieving execution or resource exhaustion despite the sealed-data rule and decompression caps
  • Escapes from the test-bench sandbox: out of the wasmoon Lua VM, out of its worker, or off the isolated sandbox origin (which serves only worker.js + glue.wasm and 404s all /api/*)
  • Corruption of user pieces despite atomic writes and escrow

Out of scope: issues requiring an attacker who already runs code on the same machine as the user.

Posture

The technical safety model is summarized in the README's FAQ ("What's been done to keep this thing safe?"). Short version: loopback bind, per-launch session token, fetch-metadata refusal, hashed-script CSP, path containment, atomic writes, fail-closed parsing, bounded decompression, no automatic execution of card payloads, no telemetry or background content upload. Deliberate network access is limited to the model-provider endpoint the user configures, fixed GitHub release endpoints used for update operations, and remote access the user explicitly enables. ~2,000 tests run in CI on every commit, including the path-containment, server-security, sandbox, round-trip, and Go sidecar authorization suites.

There aren't any published security advisories