Skip to content

Security: codehornets/agent-beacon

Security

SECURITY.md

Security

Beacon is endpoint-local telemetry for supported AI agent runtimes. It collects supported local runtime activity, normalizes that activity into Beacon endpoint events, and writes those events to local JSONL for local review or customer-controlled forwarding.

For the full enterprise review package, see the Beacon security review.

Default Posture

Area Default behavior
Collection Local OpenTelemetry receivers on 127.0.0.1, local beacon-hooks adapter execution, or the optional browser extension posting to the same loopback receiver
Content handling Retained local telemetry is subject to secret redaction, sanitization, truncation, and event-size limits
Forwarding Optional and customer configured
Hosted dependency None required for normal endpoint collection or hook execution
LLM gateway (optional) beacon-gateway listeners bind 127.0.0.1 by default; calls it lets through unanalyzed are recorded as gateway.call_unrecorded
Removal Endpoint uninstall removes managed service and configuration files, with explicit flags to keep logs or config
Storage Local runtime.jsonl on the endpoint, bounded by rotation at 10 MiB with five numbered archives

Data Flow and Threat Model

Beacon receives supported runtime signals through localhost OpenTelemetry receivers or local hook execution, normalizes them locally, and writes one JSON object per line to the runtime log. The local dashboard reads that log over loopback, and any SIEM forwarding is configured and controlled by the customer.

Read the full data flow and threat model.

Data Inventory

Beacon writes normalized endpoint events only when a supported runtime provides telemetry through a configured local surface. Required event fields identify the event, endpoint, and harness; optional entities add session, tool, command, file, approval, MCP-like, prompt, destination, and health context when available.

The optional browser extension is a distinct surface. It observes only the chat request and response streams on claude.ai, chatgpt.com, and chat.openai.com, and posts them as OTLP logs to the same loopback receiver as every other source. It has no access to other tabs, browsing history, or page content elsewhere, and it never writes files. Its retention setting defaults to full, so complete prompt and assistant response text is retained in the local runtime log unless an operator changes it in the extension's options page. Retention is enforced in the browser before anything is sent.

Review the full data inventory.

Redaction and Size Limits

Beacon may write prompt text, command output, raw attributes, tool input, and diff content to local JSONL. Secret redaction, sanitization, truncation, and event-size limits are applied before events are written or forwarded through supported customer-managed destinations.

Review the controls in retention and redaction.

Endpoint Operations

Beacon endpoint operations are local to the managed machine. User-mode installs use per-user paths, while system-mode installs use root-managed configuration, log paths, and a local macOS LaunchDaemon. Runtime log storage is bounded: the active log rotates at 10 MiB and Beacon keeps up to five numbered local archives. Normal endpoint collection does not require a hosted account, remote policy fetch, MDM API credentials, or external network connection.

The one opt-in network channel for telemetry is Asymptote Beacon Cloud forwarding: a Vector forwarder on the endpoint posts the local runtime and inventory JSONL over HTTPS with a per-device key that a member of the organization approved in the browser. The key lives in a 0600 secrets file outside Beacon configuration, hooks never touch the network, and revoking the device from the Asymptote dashboard stops ingestion within about a minute. See Asymptote Managed.

See paths, permissions, network behavior, and uninstall guarantees in endpoint operations.

LLM Gateway

beacon-gateway is an optional, separately deployed component that records the model calls an LLM gateway (LiteLLM, Envoy, Portkey) sends it, as the same endpoint events, to JSONL files the operator names. Its boundary is the network between the gateway and beacon-gateway:

  • Every listener binds 127.0.0.1 unless configured otherwise. The Envoy listener has no authentication and must be reachable only by Envoy. The Portkey webhook checks a bearer token when one is configured; a token given as an unset or empty variable stops it from starting, and listening beyond loopback without one logs a warning.
  • It fails open, so a model call is never blocked by Beacon being down, overloaded or unable to read it. A call it lets through without analyzing its content writes a gateway.call_unrecorded event, which a bundled rule reports: up to 100 a second, in bursts of 1,000, for each caller the event names (its identity, else its address), and 1,000 a second, in bursts of 4,096, for all of them together. Events naming no caller (LiteLLM and Portkey callouts refused or too large before their payload was read, which carries the caller) have 100 a second, in bursts of 1,000, of their own, which no named caller uses, and past it share the named callers' limit less one caller's burst, kept for named callers: at most 1,100 events a second are written in all, in bursts of at most 5,096. Past that such calls are counted in /stats (unrecorded_unwritten, unrecorded_ceiling). A streamed reply past the size limit is recorded up to it, and the rest reported the same way.
  • Memory is reserved as a body arrives, decoding is bounded, and every event line fits the same 64 KiB limit and secret redaction as the endpoint's writers.
  • Identity comes from request headers or gateway metadata only when the operator names them, and is only as trusted as what sets them. The shipped Envoy configuration removes client-sent copies of the identity headers it names; Portkey identity metadata is the client's unless it is pinned on the Portkey API key or workspace (identity_pinned), and beacon-gateway warns at startup when it is not. Credential headers are never recorded or accepted as identity.
  • The history a client resends is checked against what that caller's earlier calls carried, not trusted: earlier turns no call carried are recorded and flagged (gateway.history_unverified), and a model turn the client sent among them is recorded as input the client sent (prompt.submitted, role assistant), never as the model's output. What has been recorded is tracked per caller, and a record an output drops is not counted as recorded.
  • Output files are created owner-only, existing ones lose other users' access, and a symbolic link in an output's place is refused.

See LLM gateways.

Security Policy

Report suspected vulnerabilities or security concerns to security@asymptotelabs.ai. Include the affected Beacon version, operating system and architecture, install mode, reproduction steps, expected impact, and any coordinated disclosure constraints when available.

For disclosure guidance and release verification details, see the security policy.

Endpoint Event Schema

Beacon endpoint events are JSONL records with a stable schema contract for local inspection and customer-managed ingestion pipelines. Each event includes required context such as timestamp, vendor, product, schema_version, event, severity, endpoint, and harness, with optional entities added when the source provides them.

Inspect the normalized contract in the endpoint event schema.

Related Resources

There aren't any published security advisories