Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@altopelago/sansa

Latest version: v0.16.0-rc.1

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: altopelago
0 Stars
0 Forks
11 Versions
1.5K Downloads
JavaScript Repo language

Scan summary

@altopelago/sansa was last scanned on 29 Nov 2026 at version 0.16.0-rc.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 11 versions; the latest 4 were published within 7 days (23–29 Nov 2026).
  • Findings: No rules fired in version 0.16.0-rc.1.
  • Downloads: 1,532 downloads.

Versions

11 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.16.0-rc.1 LATEST 29 Nov 2026 No rules fired
0.15.0 24 Nov 2026 No rules fired
0.15.0-rc.3 24 Nov 2026 No rules fired
0.15.0-rc.2 23 Nov 2026 Not shown
0.14.2 15 Oct 2026 Not shown

No rules fired in 0.16.0-rc.1

Findings

Findings for v0.16.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.16.0-rc.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

SANSA

Shared Semantic Address NameSpace Abstraction (SANSA) address, resolve, query, instruction, and mutation-planning model.

This package is the first implementation package for SANSA Address, SANSA Resolve, and SANSA.Query, with experimental SANSA.Instruction parsing/lowering and an experimental structured-plan API for SANSA.Mutate. It parses and renders SANSA address expressions, resolves those expressions against a host-supplied namespace adapter, parses the SANSA.Query clause and expression surfaces, and evaluates a bounded query subset over host-neutral bindings. It also exposes the Shared AEON Value Semantics minimum consumer contract used by Query for concrete value predicates, equality, ordering behavior, and string profile hooks. The experimental Instruction API parses human-authored change intents, lowers them into structured Mutate requests, and can bridge into mutation planning. The experimental Mutate API plans exact create, replace, remove, insert, and same-container move operations, preserves datatype/kind value intent, enforces operation/precondition/value budgets, validates target-surface representability through a separate post-plan API, and applies plans only through host-supplied mutation hooks. It does not inspect host values directly beyond host-exposed binding metadata, apply host-specific authorization, provide transactions, decide schema legality, or assign semantics to qualifiers.

Implementation capability metadata is recorded in docs/capabilities.json. The package currently advertises AEON.ValueSemantics, SANSA.Addressing, SANSA.Resolve, SANSA.Query, Query budget controls, the experimental validation Query policy, experimental SANSA.Transform library extensions for objectFrom and fieldsFrom, experimental SANSA.Instruction parse/lower/plan bridging, an experimental SANSA.Mutate plan API, and the workbench-only experimental sansa.mutate.policy.planFilter slice.

CTS snapshot claims are recorded in conformance/cts-claims.json.

0.15 stable release preparation

The accepted 0.15.0-rc.3 scope advances to 0.15.0 metadata: read-only child identities, capable-provider property Resolve/direct Query, ordinary empty keys, Unicode fixes and bounded JavaScript wildcard expansion. RC3 registry consumers and selected downstream/combined acceptance are complete. Read the migration and support boundaries before upgrading. Stable publication still requires independent delta QA, owning checks and exact stable registry consumers; source metadata alone establishes none. Newline warnings and local positions remain deferred to tentative AEON 0.17.1. Experimental APIs described below retain their separate documented status.

The unreleased JavaScript Aeonic comparison entry points implement frozen comparison snapshot 0.1's baseline through evaluateAeonicComparison and evaluateAeonicComparisonText. They return symbolic outcomes and staged fail-closed diagnostics, with a separate comparison claim. Historical value-semantics profiles and Query behavior retain their existing contracts.

The separate unreleased JavaScript Aeonic arithmetic API adds exact finite-number operations and explicit materialization against arithmetic snapshot 0.1. It returns exact value/history bundles and fail-closed diagnostics.

The separately selected rational arithmetic API adds exact division, rational chaining, seven explicit quantization modes and snapshot 0.2 conformance. Finite/rational convenience helpers can calculate and materialize in one call with explicit policies and per-step metadata. Try the linked arithmetic playground from the source playground. These are unreleased JavaScript APIs; Query and Rust retain their own capability boundaries.

The separately selected civil-date API adds evaluateAeonicTemporal and evaluateAeonicTemporalText against frozen snapshot 0.1. Exact date-range bundles preserve origin and clamping history for chaining; Relations and Calendar are independently complete capabilities. The source playground includes twelve civil-date examples and explicit bundle continuations. These are unreleased JavaScript APIs; Query's temporal completion-set relations, Rust and timezone/WTC resolution keep their separate boundaries.

The standalone civil date-time API adds evaluateAeonicCivilDateTime and evaluateAeonicCivilDateTimeText against frozen snapshot 0.1. Exact point/interval sets preserve excluded endpoints, both origins and clamping/approximation histories. Independently complete Relations and Arithmetic cover symbolic relations, calendar/clock shifts, complete-form stepping and exact materialization. Try Civil date-times in the value operations playground. Explicit profile selection is required; this adds no Query/Rust integration, timezone resolution or package release.

The standalone date-anchoring API adds evaluateAeonicCivilAnchor and evaluateAeonicCivilAnchorText against frozen anchoring snapshot 0.1. It translates signed clock day carry onto one exact date, returning a date-time bundle with both origins and histories preserved. The Value operations playground includes Date anchoring and explicit cross-lane continuation.

The standalone civil-clock API adds evaluateAeonicCivilClock and evaluateAeonicCivilClockText against frozen snapshot 0.1. Signed relative days and exact point/interval sets survive midnight and chaining, with symbolic relations and approximation history. Try Civil clocks in the value operations playground. Explicit profile/clock selectors control stepping and materialization; no date or timezone is supplied.

Current Scope

  • root selectors: $, ?
  • member selectors: .name, .["quoted.name"]
  • positional selectors: [0], [2..5], [2..], [..5]
  • parent selector: .^
  • attribute address-space selector: .@
  • local address-space selector: .<"namespace">
  • expansion selectors: .*, .**
  • filters: #type, %kind
  • name pattern selector: .("pattern")
  • qualified address literals with top-level qualifier unions
  • structural resolve over host bindings with exact selectors, parent traversal, position ranges, expansion selectors, name patterns, semantic type filters, and representation kind filters
  • deterministic preorder descendant expansion with explicit attribute and local address-space traversal
  • SANSA.Query parsing for from, where, order by, offset, limit, and select
  • query comment stripping, clause-order validation, and canonical query rendering
  • SANSA.Query expression parsing for resolution expressions, literals, comparisons, Boolean operators, membership, cardinality operators, function-call shape, and projection shape
  • SANSA.Query evaluation for from, Boolean where, order by, offset, limit, and select over literals, resolution expressions, comparisons, Boolean operators, membership, cardinality predicates, built-in string functions, function-like operators, and projection expressions
  • experimental SANSA.Mutate structured planning for exact create, replace, remove, ordered insert, and same-container move
  • experimental SANSA.Mutate value-intent preservation and operation, precondition, and value budgets
  • experimental SANSA.Mutate target-surface validation for AEON, JSON-compatible, Telex scalar replacement, and custom target representability checks
  • experimental workbench-only SANSA.Mutate policy plan filter for trusted consumer authorization tests
  • experimental mutation apply through explicit host mutation hooks with stale-target checks
  • experimental SANSA.Instruction parsing, candidate-relative lowering, and mutation-planner bridging for conservative mutation verbs

Host implementations decide which qualifier surface they accept. This parser accepts the SANSA qualifier grammar and preserves it structurally.

Host implementations also decide which address spaces they expose during resolution. Attribute and local address-space traversal are entered explicitly with .@ and .<"namespace">. They fail explicitly unless the host exposes those capabilities through the resolve namespace adapter or binding model.

Resolve returns ordered Binding Sets. Supported selectors that miss on one branch contribute no bindings for that branch; unsupported or forbidden operations fail explicitly. The resolver preserves duplicate traversal occurrences and does not deduplicate by address. Parent traversal from the effective resolution root resolves empty by default, but callers can request stricter policy diagnostics with failOnParentFromEffectiveRoot: true or forbid parent traversal entirely with parentTraversal: "forbid".

Name patterns use ? for one Unicode code point and * for zero or more Unicode code points. Within the decoded pattern payload, \?, \*, and \\ match literal question mark, asterisk, and backslash characters respectively.

The current API and AST contract is documented in docs/api-contract.md.

The CTS runner covers address parsing, resolve behavior, query parsing, and query evaluation:

npm run cts
npm run cts:value-semantics
npm run cts:resolve
npm run cts:query
npm run cts:query:experimental
npm run cts:instruction
npm run cts:mutate

The default Query CTS lane runs core conformance and skips experimental extension cases. cts:query:experimental includes experimental extension coverage. The value-semantics runner targets the mutable value-semantics-cts-v1-snapshot-0.2 development manifest, including the explicit same-base and cross-base radix numeric profiles. Pass --cts <manifest> to run an older compatibility target explicitly. The Instruction and Mutate CTS lanes are experimental and are not included in npm run cts while SANSA.Instruction and SANSA.Mutate remain proposal-stage. The Mutate lane includes structured planning, apply, target-surface, and experimental policy plan-filter cases.

Source playground

Unreleased property selectors have opt-in read-only Resolve and direct Query support in the JavaScript/TypeScript and Rust cores. Hosts must implement the authoritative facet. Current-row .&key("x") retains its originating scope; explicit ? starts a boundary at the row. Mutation and literal activation remain closed. See the provider/host support matrix and implementation limits.

Run the website-derived playground directly against this checkout's SANSA source:

npm run playground -- --aeon-root /path/to/aeon

Open http://127.0.0.1:4174/tools/playground/. A matching, built AEON checkout provides the document runtime and SDK adapter; sibling checkouts are detected automatically. No SANSA bundle, package release or PHP server is needed. Edit src/index.js and reload to test changes. See playground setup and scope.

Child identities are also admitted explicitly in read-only Query sources and address expressions. For example, from $.items.\first\ followed by select .\label\ returns the original bindings with structural candidate/value paths. resolve.maxIdentityInspections is shared across the entire Query call. Dynamic identity activation requires its own explicit constrained policy; references, Instruction, mutation and SO retain their separate boundaries. See candidate semantics.

Query Tool

The package includes a standalone query tool for exercising SANSA.Query against AEON source, portable Telex AES, reader-only Film AES, or a host-neutral JSON namespace fixture:

npm run query -- --query 'from $.inventory.items.* where contains(.sku, "B") select .sku'

The default CLI fixture is fixtures/query-inventory.json, which keeps sansa-query self-contained after package install. .aeon fixture support is optional and uses an AEON TypeScript Core runtime when one is available. .telex.aes fixture support uses the optional @altopelago/aeon-aes runtime and projects complete portable records directly into a SANSA namespace without rebuilding an AEON parser AST. .film.aes fixtures use the same portable-record namespace after complete Film and AES validation. Film support is query-only; SANSA does not expose a Film mutation target or writer.

Namespace adapters may optionally expose structurallyEqual(leftBinding, rightBinding). SANSA uses this hook only for == and != between one binding on each side when both bindings are containers of the same representation kind. A Boolean result is authoritative; returning undefined, or omitting the hook, retains SANSA's generic structural materialization and comparison. The hook receives the active value-semantics profile and must decline profiles it cannot implement. This lets retained binary document models compare native container handles without making their storage topology part of SANSA.Query.

The CLI adapters do not expose the property facet: property expressions can parse, but evaluation returns SANSA_RESOLVE_UNSUPPORTED_PROPERTY_SCOPE. Use a capable SDK namespace or the source playground for property evaluation. See the host boundaries.

For browser-based technical testing, run the Query Workbench:

npm run query:web

Then open http://127.0.0.1:4173/tools/query-web/.

The same local server also exposes the experimental Mutate Workbench:

npm run mutate:web

Then open http://127.0.0.1:4173/tools/mutate-web/.

The Mutate Workbench accepts AEON source or complete portable Telex AES plus either structured mutation-request JSON or proposal-stage SANSA Instruction source, then uses the same plan/apply preview surface. It also includes an experimental target selector so planned mutations can be checked against AEON, JSON-compatible, or Telex representation surfaces before apply/render. JSON responses include targetProfile metadata that names the selected representability boundary. Its phase model is intentionally explicit: parse Instruction source when present, lower to exact structured mutation operations, plan through SANSA.Mutate, run optional consumer policy, run optional target-surface validation, then preview or apply through host mutation hooks. Telex apply currently supports replacement of existing scalar events only. It re-emits a complete Telex stream without reconstructing AEON source, preserves event order, path, structural identity, datatype components, and separate attribute events, and clears stale origin/span coordinates on the changed event. Structural operations remain explicit target-surface failures until a portable path-rewrite contract is defined. The optional policy panel is a workbench-only prototype of the experimental sansa.mutate.policy.planFilter slice for trusted consumer authorization tests; its current boundary is documented in docs/mutate-policy.md.

Both the CLI and browser workbench can select an explicit query value-semantics profile, such as the default codepoint profile, the Natural ASCII numeric-region profile, the French locale profile, the explicit same-base radix-numeric profile, or the exact radix-numeric-cross-base profile, to test comparison, ordering, and case-mapping behavior under different consumer contexts. Radix representation scale is independently available through radixScale(value) in queries and radixScaleOf(payload, base?) in the API; for example, %19.9900 has scale 4 even when a numeric profile treats it as equal to %19.99. Conservative temporal completion-set relations are available through temporalRelation(left, right) in queries and compareTemporalClaims(left, right) in the API. Date literals may use year (2026-), month (2026-07), or day (2026-07-25) granularity; coarser forms contain compatible finer forms under those completion-set semantics.

Full CLI, workbench, Query semantics, and recipe details live in docs/query-tool.md.

Library use of Query path(...) requires explicit dynamic-address authority. Use addressActivation: "trusted" only when the caller already controls the query, Address values, and exposed namespace. Cross-boundary consumers should provide constrained structural roots, selector capabilities, and result bounds; reading an Address value does not authorize resolving it. Child identities require the explicit constrained childIdentity feature and scope checks; trusted mode does not enable them.

Instruction Tool

The package includes an experimental instruction tool for exercising SANSA.Instruction parse, lower, and plan behavior:

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @altopelago/sansa

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229