Scan your whole stack
From OX Research Newsroom
Are you using @spmos/local-proxy?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.4
@spmos/local-proxy was last scanned on 30 Nov 2026 at version 0.1.4. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.4 LATEST | 30 Nov 2026 | No rules fired |
| 0.1.3 | 30 Nov 2026 | No rules fired |
| 0.1.2 | 26 Aug 2026 | No rules fired |
Findings for v0.1.4. 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.1.4; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
SPM Local Proxy is a standalone terminal application that keeps the upstream provider credential on the user's machine while using hosted SPM memory and deterministic context compression.
Codex / Claude Code / SDK
|
| local harness token
v
http://127.0.0.1:8765/v1
|
+-- SPM key ------> api.spmos.ai memory
|
+-- provider key -> configured provider Base URL
The proxy owns only the provider Base URL, provider API key, SPM key, and local
listener authentication. It does not select, validate, cache, or rewrite a
model. Downstream harnesses can call GET /v1/models through the proxy and
send their selected model unchanged in Chat Completions, Responses, or
Anthropic Messages requests.
npm install --global @spmos/local-proxy
spm
The first run opens an English-only terminal wizard with blue SPM ASCII art.
Provider search is derived from the models.dev models.json dataset delivered
through jsDelivr, so it remains reachable in environments where models.dev
cannot be fetched directly. Catalog model counts are discovery metadata only;
model selection is never written to Local Proxy configuration.
spm setup
spm start
spm catalog --refresh
spm config
spm config path
spm config token
spm doctor
spm print-config codex
spm print-config claude
The Custom BYO flow accepts:
x-api-key, or api-key authenticationUse the literal value $API_KEY in a custom header or query parameter when the
provider requires its secret outside the standard authentication header.
The configuration is written atomically to
$SPM_CONFIG_HOME/local-proxy.json, $XDG_CONFIG_HOME/spm/local-proxy.json, or
~/.config/spm/local-proxy.json, with mode 0600 where supported. Secrets are
masked by spm config and request/response bodies are never logged.
The following environment variables override stored secrets:
SPM_API_KEY
SPM_LOCAL_PROVIDER_API_KEY
SPM_LOCAL_PROXY_TOKEN
For the strongest process boundary, run the proxy in a dedicated shell or user service and remove the provider/SPM keys from the downstream harness process.
127.0.0.1, ::1, or localhost.Origin requests and unexpected Host values are rejected.previous_response_id requests bypass recall mutation and compression.SPM still receives recall queries and memory content. This package keeps the provider credential local; it is not an offline or zero-disclosure memory mode.
Version 0.1.1 adds a stricter continuity contract:
status=recalled,
gate_reason=passed, and evidence from the exact removal set;x-spm-continuity-state with the commit or safe-bypass reason;source_kind and role_spans to hosted ingest while retaining a
stable identity for exact repeated content.The same release narrows streamed assistant capture to visible Chat content,
Responses output_text, and Anthropic text_delta. Reasoning/thinking, tool
arguments, signatures, and partial JSON are not sent to memory. These changes
are covered by the repository's 32-test Local Proxy suite. The continuity gate
also recognizes deterministic input identities created by 0.1.0, so an
upgrade does not require old content to be re-ingested before it can prove
continuity.
Version 0.1.2 ports the hosted gateway's tool-output elision to the local
path, across all three protocols (Chat Completions tool messages, Responses
function_call_output, Anthropic tool_result blocks):
proxy.elisionKeepRounds assistant rounds
(default 4) become candidates;tool_use/tool_result pairing is never broken: only the
block content is stubbed, and blocks carrying cache_control breakpoints
are never touched;x-spm-elided-items / x-spm-elided-tokens, and
x-spm-continuity-state reports elided_tool_output when a request was
served with stubs.Configuration (all optional):
proxy.elisionEnabled (default true);proxy.elisionKeepRounds (default 4);proxy.elisionCaptureLimit (default 8, bounds background capture work
per request).Elision is best-effort: any readiness-check or capture failure leaves the request body untouched.
Version 0.1.3 adds tenant-internal end-user partitions and a live doctor.
Partitions let one SPM key serve many end users with isolated memory spaces
(the key needs the memory:partition scope):
spm.userPartition in the configuration (the setup wizard asks for it)
sets the default partition for every memory call;SPM_USER_PARTITION overrides it without editing the file;x-spm-user-partition overrides it for a single
request, so one Local Proxy can serve many downstream users.Partition values must match ^[A-Za-z0-9][A-Za-z0-9._:@-]{0,127}$ — use a
stable opaque id (for example your internal user UUID), not a secret or a
display name. An invalid header value fails the request closed with
400 spm_invalid_user_partition rather than silently mixing memory spaces.
spm doctor now also verifies the node.js version, that the configured port
is free, and — live — that the SPM API is reachable and accepts the key,
closing the "doctor passes but the live request fails" gap. spm start
prints the active memory mode and partition at launch.
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.