Skip to content

Security: Shataraimut/lla

Security

SECURITY.md

Security policy

LLA is a read-only analysis tool. Its security posture is part of the product:

  • No writes to targets. Targets are read (hash + bounded parse). The only writes are to the user-specified --jsonl benchmark output, the generated fixtures/skill, out/recovery/ slices produced by lla recover, and out/unsealed/ derived fixtures produced by lla unseal (new files; the original artifact is never modified and is re-hashed before every operation).
  • Unseal is static and self-sourced. lla unseal never executes the sealed binary as a whole and never patches it: containers are located structurally, decrypt keys and declared digests are harvested from loader text embedded in the artifact itself (no external key source, capped candidates), and a plaintext is accepted only on a declared-digest match or JS-structural validation. When a loader derives its key at runtime, only that loader text is evaluated — inside a node --permission child with per-file read grants, a stubbed fs that serves only the artifact's own ciphertext blobs, a require whitelist and a vm timeout — and keys are captured at the createDecipheriv boundary. Because the binary is only read, embedded integrity checks remain intact on disk; the recovered source is verified by the registered sandbox oracle instead. Derived fixtures are host-registered under out/unsealed/ with a plan-bound manifest entry and flow through the same scope/pin/sandbox gates as any fixture.
  • Recovery is differential and bounded. lla recover evaluates candidate deletions only inside the same permission-model sandbox worker as lla test (per-file read grants, vm timeout, wall budget). Nothing from the artifact executes on the host.
  • No code execution from inspected files. Adapters never import, eval, or execute inspected source. lla test executes only manifest-registered fixture entrypoints with a hash pin, inside node --permission with per-file read grants and a vm timeout.
  • Sandbox absence fails closed. If the child sandbox cannot start, tests return SANDBOX_UNAVAILABLE and nothing runs on the host. LLA_SANDBOX=off disables testing entirely.
  • Scope enforcement before reads. realpath containment, disabled-scope refusal, placeholder rejection, optional target allowlists, and hash re-verification (TARGET_CHANGED) before every operation.
  • Untrusted artifact text is data. Instructions found in comments, strings, metadata or manifests never change scope, budgets, or behavior; they are recorded as untrusted-artifact evidence.
  • Declarations never verify claims. Only independent-oracle or bounded-semantics evidence can reach verified.

Reporting

This is an owner-authorized lab tool distributed as source. If you find a security issue in the tool itself (sandbox escape, scope bypass, unbounded resource use), open a private report with the repository owner. Do not include third-party artifacts; reproduce with the synthetic fixtures.

Supported versions

Only the current main revision. There are no released binaries.

There aren't any published security advisories