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

@firsthandjs/data-apollo

Latest version: v0.12.3

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: igoranowsky
1 Stars
0 Forks
15 Versions
109 Downloads
TypeScript Repo language

Scan summary

@firsthandjs/data-apollo was last scanned on 24 Nov 2026 at version 0.12.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 15 versions; the latest was published on 24 Nov 2026.
  • Findings: No rules fired in version 0.12.3.
  • Downloads: 109 downloads.

Versions

15 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

No rules fired in 0.12.3

Findings

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.

README

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

@firsthandjs/data-apollo

Apollo Client as a client for @firsthandjs/data.

npm install @firsthandjs/data-apollo

0.65 kB gzip. It has no dependency on Apollo and no peer dependency either — the three methods it uses are declared structurally. That also keeps your copy of graphql the only copy, which is a category of afternoon worth avoiding.

import { gql } from '@apollo/client';
import { createApolloClient } from '@firsthandjs/data-apollo';
import { useAction, useResource } from '@firsthandjs/data';
import InvoicesDocument from './invoices.gql';

export const billing = createApolloClient(apollo, gql, {
  // Read per request and untracked: the token may change, and a resource must
  // not depend on it.
  headers: () => ({ authorization: `Bearer ${session.token.peek()}` }),
});

function Invoices() {
  const invoices = useResource(({ request }) =>
    billing.query(InvoicesDocument, { month: month.value })(request),
  );
  return <List items={invoices.data.value?.invoices ?? []} />;
}

createApolloClient(client, parse, options?) takes the parse function too — gql from @apollo/client, or parse from graphql — because Apollo wants a parsed DocumentNode and that parser should be yours, not ours.

The client

billing.query(Document, variables); // a loader; declares @tag
billing.mutate(Document, variables); // a loader; declares @invalidates
billing.watch(Document, variables); // what `fromObservable` takes
billing.with({ options: { errorPolicy: 'all' } }); // a variation

An operation with required variables cannot be called without them: the generated types travel with the document.

The decision this package leaves to you: the cache

Apollo requires an InMemoryCache, and it is a normalising cache — a different thing from a store of resources. There are two ways to run them together, and only two:

  • Apollo as transport. The resources are your state. force is passed on as fetchPolicy: 'network-only', so an invalidation reaches past the cache; set no-cache on the client if you want it out of the way entirely.

  • Apollo as the store. Use watch instead. One write in Apollo's cache then updates every view of that entity at the same moment, which is what a per-call-site resource cannot do:

    const user = fromObservable(...billing.watch(UserDocument, { id: props.id }));

If you do give this client a cache, its keys carry the operation, the variables (in any order they were written) and an identity — the authorization header by default, or a scope you give.

What is not on the list is both caches at once, with the same data living in two places under two invalidation rules. See ADR-0022.

Tags come out of the document

@firsthandjs/data/vite reads @tag and @invalidates at build time and strips them, so what reaches Apollo is a plain GraphQL document. A query declares its @tag directives before the request goes out; a mutation declares its @invalidates — and inside an action the request's tags are the store's invalidation, so nothing at the call site wires them:

const pay = useAction((id: string, { request }) => billing.mutate(PayDocument, { id })(request));

MIT licensed. See the data guide.

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 @firsthandjs/data-apollo

References

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

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

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

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229