Scan your whole stack
From OX Research Newsroom
Are you using @altopelago/aeon-typegen?
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-typegen 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.
TypeScript type generation from AEOS schemas.
This package converts exact AEOS schema rules (path + constraints) into a
deterministic TypeScript interface definition.
import { generateTypes } from '@altopelago/aeon-typegen';
const schema = {
rules: [
{ path: '$.name', constraints: { type: 'StringLiteral', required: true } },
{ path: '$.port', constraints: { type: 'NumberLiteral' } },
],
};
const result = generateTypes(schema, {
rootName: 'AppConfig',
});
console.log(result.code);
console.log(result.diagnostics);
Typical output:
export interface AppConfig {
name: string;
port?: number;
}
AEOS selector rules are accepted in SchemaV1, but they do not identify one
concrete property path. Typegen therefore reports selector rules with
UNSUPPORTED_SCHEMA_SELECTOR and leaves them out of the generated static
interface. Use exact path rules for fields that should appear in generated
TypeScript types.
const result = generateTypes(schema, {
datatypeMap: {
uuid: 'string & { readonly __brand: "uuid" }',
},
});
const result = generateTypes(schema, {
rootName: 'AppConfig',
emitRuntimeBinder: true,
});
When emitRuntimeBinder is enabled, the generated code also includes:
SchemaV1 constant for the schemabind... helper backed by createTypedRuntimeBinder(...)generateTypes() always returns both generated code and diagnostics:
for (const diag of result.diagnostics) {
console.log(diag.level, diag.code, diag.message);
}
Common diagnostic cases include:
unknownInfinityLiteral therefore emits as 'Infinity' | '-Infinity' rather than number, because JSON finalization materializes infinity values as strings to remain JSON-safe.NaNLiteral likewise emits as 'NaN' | '-NaN' rather than number, because JSON finalization materializes NaN values as strings to remain JSON-safe.export function generateTypes(schema: SchemaV1, options?: TypegenOptions): TypegenResult;
TypegenOptions highlights:
rootName - interface name (default AeonDocument)datatypeMap - map AEOS datatype labels to TS typesemitRuntimeBinder - emit schema const + typed runtime binder helperschemaConstName - override emitted schema constant namebinderName - override emitted binder function nameruntimeModule - runtime import path (default @altopelago/aeon-runtime)schemaModule - schema type import path (default @altopelago/aeos-core)TypegenResult:
code - generated TypeScript sourcediagnostics - warnings and errors found during generationrequired: true and required descendants.unknown with warnings.datatypeMap.Find 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.