Scan your whole stack
From OX Research Newsroom
Are you using @firsthandjs/data-axios?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.12.3
@firsthandjs/data-axios was last scanned on 24 Nov 2026 at version 0.12.3. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.12.3 LATEST | 24 Nov 2026 | No rules fired |
| 0.12.2 | 26 Sep 2026 | No rules fired |
| 0.12.1 | 25 Sep 2026 | No rules fired |
| 0.12.0 | 24 Sep 2026 | Not shown |
| 0.11.0 | 23 Sep 2026 | Not shown |
Findings for v0.12.3. 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.12.3; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Axios as a client for @firsthandjs/data.
npm install @firsthandjs/data-axios
0.58 kB gzip. It has no dependency on Axios and no peer dependency either — the one method it uses is declared structurally, so it has no opinion about which version you run, and nothing to follow when that version changes.
import axios from 'axios';
import { createAxiosClient } from '@firsthandjs/data-axios';
import { tag, useResource } from '@firsthandjs/data';
const instance = axios.create({ baseURL: '/api' });
instance.interceptors.response.use(undefined, retryOnce);
export const api = createAxiosClient(instance, {
// Read per request and untracked: the token may change, and a resource must
// not depend on it.
headers: () => ({ authorization: `Bearer ${session.token.peek()}` }),
cache: { ttl: 30_000 },
});
function Profile(props: { id: string }) {
const profile = useResource(({ request, tags }) => {
tags(tag('profile', { id: props.id }));
return api.get<Profile>(`/profiles/${props.id}`)(request);
});
return <h1>{profile.data.value?.name ?? '…'}</h1>;
}
request, plus get, post, put, patch and remove as the shortcuts you
would otherwise write. Each returns a loader — a function waiting for the
request — so a call site reads api.get<T>(url)(request).
api.get<Profile>('/profiles/7');
api.post<Profile>('/profiles', { name: 'Ada' });
api.request<Row[]>({ url: '/rows', method: 'report' });
api.with({ config: { timeout: 1000 } }); // a variation; the cache is shared
api.cache?.forget(); // a sign-out: frees the memory, not a correctness fix
Base URL, interceptors, authentication, retries, transformers and
paramsSerializer stay on the instance you built. What the client adds is what
Axios has no way of knowing about:
force drops the entry, which is how an invalidation reaches
through. A key carries the base URL, the path and the params, because
that is where Axios keeps the query string, plus an identity — the
authorization header by default, or a scope you give — so that two
accounts in one session cannot read each other's answers.Two APIs are two instances and two clients, and one component may read from both.
MIT licensed. See the data guide.
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.