Scan your whole stack
From OX Research Newsroom
Are you using @altopelago/aeon-core?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.18.0-rc.1
@altopelago/aeon-core was last scanned on 29 Nov 2026 at version 0.18.0-rc.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.18.0-rc.1 LATEST | 29 Nov 2026 | No rules fired |
| 0.17.0 | 24 Nov 2026 | No rules fired |
| 0.17.0-rc.3 | 24 Nov 2026 | No rules fired |
| 0.17.0-rc.2 | 23 Nov 2026 | Not shown |
| 0.16.0 | 17 Oct 2026 | Not shown |
Findings for v0.18.0-rc.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.18.0-rc.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The canonical, safe entry point for AEON processing.
pnpm add @altopelago/aeon-core
Implementation docs:
docs/implementations/typescript/api/core.mdimport { compile } from '@altopelago/aeon-core';
const input = `
config = {
host = "localhost"
port:int32 = 8080
}
`;
const result = compile(input);
if (result.errors.length === 0) {
for (const event of result.events) {
console.log(event.path, event.value);
}
} else {
for (const error of result.errors) {
console.error(error.message);
}
}
events: Assignment Events emitted from the source documenterrors: diagnostics from lexing, parsing, and downstream compile phasescompile() returns an empty events array if any phase reports errors.
That is the production-safe default.
Use recovery mode only when partial output is useful for editors or diagnostics:
const result = compile(input, { recovery: true });
console.log(result.events); // may be partial
console.log(result.errors); // all known issues
Warning: recovery mode is for tooling only.
If you need schema validation after compile, pass result.events to @altopelago/aeos-core.
The native workflow remains compile(). Use compileToTelex() when events
must cross a process or implementation boundary, or exportTelex() when you
already have Core assignment events:
import { compile, compileToTelex, exportTelex, parseTelex } from '@altopelago/aeon-core';
const native = compile('answer = 42');
const wire = exportTelex(native.events);
const portable = parseTelex(wire).records;
const direct = compileToTelex('answer = 42');
console.log(direct.telex);
Headers are excluded by default. Set includeHeaders: true to use the explicit
aeon.document.v1 header plane.
origin and span remain optional. Pass the exact, unnormalized UTF-8 artifact
as sourceBytes to compileToTelex() or exportTelex() to derive a
sha256:<digest> origin and convert Core's native UTF-16 source indexes to
portable UTF-8 byte ranges. The supplied bytes are an assertion that they are
the artifact from which the native events were compiled; do not pass a
normalized or re-encoded substitute.
For a legacy assignment-event boundary that also needs compatibility evidence,
use adaptTypeScriptAssignmentEventsToPortableAes(). It returns strict
portable events and a conversion report under the named
aeon.typescript.assignment-events.v0-to-aes.events.v1 adapter. Local spans
without an immutable origin are omitted and reported. Its optional
sourceBytes input enables the same source-backed conversion while preserving
the report.
Film v1 uses the same portable AES records through a binary reader boundary:
import { decodeFilm } from '@altopelago/aeon-core';
const stream = decodeFilm(filmBytes);
console.log(stream.records);
decodeFilm() returns only completely validated streams. decodeFilmSyntax()
and IncrementalFilmDecoder are available for provisional tooling. Film support
is reader-only; Core does not export a Film encoder or AEON-to-Film writer.
Use inspectFilePreamble() to read only the allowed file-header slot for:
#!... shebang//! format:<id> host directive on line 1, or line 2 after a shebangimport { inspectFilePreamble } from '@altopelago/aeon-core';
const info = inspectFilePreamble('#!/usr/bin/env aeon\n//! format:aeon.test.v1\nvalue = {');
console.log(info.format); // "aeon.test.v1"
compile(input, options?)Compiles an AEON document into Assignment Events.
Parameters:
input: string — AEON document source textoptions?: CompileOptionsrecovery?: boolean — Enable recovery mode (default: false)maxInputBytes?: number — Maximum accepted UTF-8 input size before fail-closed rejectionmaxAttributeDepth?: numbermaxSeparatorDepth?: numberemitAnnotations?: booleandatatypePolicy?: 'reserved_only' | 'allow_custom'Returns: CompileResult
events: AssignmentEvent[] — Assignment events (empty if errors and not in recovery mode)errors: AEONError[] — All errors from all phasesheader — Parsed header metadata for downstream finalization/runtime projectioninspectFilePreamble(input)Reads only the file-header preamble slot and returns:
shebanghostDirectiveformatspanCore re-exports aeonRadixDigitValue(character) and
aeonRadixBaseFromDatatype(datatype) so adapters and validators can share the
same case-sensitive base-2-through-base-64 definitions.
compileToTelex(input, options?)exportTelex(events, options?)parseTelex, encodeTelex, canonicalizeTelexvalidateTelex, validateTelexRecordsdecodeFilm(input, options?)decodeFilmSyntax(input, options?)IncrementalFilmDecodernormalizeFilmLimits(options?)aesStreamLimits(limits) selects the encoding-neutral structural/event
subset of an AltoPelago limits document without importing Telex byte limitsCompileResult — Return type of compile()CompileOptions — Options for compile()AssignmentEvent — Individual binding eventCanonicalPath — Path representationAEONError — Union of all error typesSpan, Position — Source location typesformatPath() — Utility to format paths as stringsFor advanced tooling, lower-level packages are available but considered unstable:
@altopelago/aeon-lexer — Tokenization@altopelago/aeon-parser — AST construction@altopelago/aeon-aes — Event emission and validationThese APIs may evolve. Prefer @altopelago/aeon-core for stable usage.
For the implementation-defined option surface and security-oriented controls, see:
docs/implementations/typescript/limits-and-policies.mdFind threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.