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

@stonecrop/graphql-client

Latest version: v0.64.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: alchez, knuckledown
14 Stars
5 Forks
70 Versions
6.0K Downloads
TypeScript Repo language

Scan summary

@stonecrop/graphql-client was last scanned on 26 Nov 2026 at version 0.64.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 70 versions; the latest 5 were published within 4 days (23–26 Nov 2026).
  • Findings: No rules fired in version 0.64.0.
  • Downloads: 6,013 downloads.

Versions

70 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.64.0 LATEST 26 Nov 2026 No rules fired
0.63.2 25 Nov 2026 No rules fired
0.63.1 25 Nov 2026 No rules fired
0.63.0 25 Nov 2026 Not shown
0.62.8 23 Nov 2026 Not shown

No rules fired in 0.64.0

Findings

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

README

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

@stonecrop/graphql-client

Transport layer for Stonecrop GraphQL APIs. Handles HTTP communication, response parsing, and metadata caching.

Why transport-only?

This client intentionally never constructs GraphQL queries. All query generation — including PostGraphile-specific field naming (inflection), nested link sub-selections, link display enrichment, and fetch strategy dispatch — lives in the server-side middleware (@stonecrop/graphql-middleware).

This boundary exists because PostGraphile's schema naming is configurable. An application might use ById for UUID primary keys, ByRowId for row_id columns, or entirely custom conventions. If the client hardcoded any of these conventions, it would silently produce wrong queries for non-default setups. The middleware owns the single StonecropInflectionConfig — the client only knows how to pass options.includeNested through to the stonecropRecord resolver and receive pre-merged flat data.

Responsibilities

Transport — The client sends requests and parses responses. It doesn't construct queries.

Caching — Metadata is cached in memory after first fetch.

Contract — The client expects the server to expose these operations:

Operation Arguments Returns
stonecropRecord doctype, id, options? { data, unknownLinks? }
stonecropRecords doctype, filters?, orderBy?, limit?, offset?, options? { data[], count }
stonecropMeta doctype DoctypeMeta
stonecropAllMeta — DoctypeMeta[]
stonecropAction doctype, action, args? { success, data, error, record }

The client has no opinions about how the server implements these — naming conventions, query construction, nested data merging are all the server's concern.

Assumptions

  • All record operations accept a doctype string argument
  • stonecropRecord accepts options: { includeNested?, maxDepth? }
  • The server handles query building and field naming

Usage

import { StonecropClient } from '@stonecrop/graphql-client'

const client = new StonecropClient({
  endpoint: 'http://localhost:4000/graphql',
  headers: { Authorization: `Bearer ${token}` }, // optional
})

// Fetch a record
const result = await client.getRecord({ name: 'SalesOrder' }, 'so-1')
result.record  // plain object with the record fields
result.unknownLinks  // links requested but not found in schema

// Fetch with nested links
const withNested = await client.getRecord({ name: 'SalesOrder' }, 'so-1', {
  includeNested: true,
})

// Custom queries
const custom = await client.query<{ myData: unknown[] }>(`query { myData { id } }`)

Data Shapes

  • getRecord returns { record: Record<string, unknown> | null, unknownLinks?: string[] }. The record field contains the record's fields. Nested links are merged into the same object when includeNested is used. Inline link fields are enriched by the middleware as { id, displayText } objects where displayText comes from the target doctype's displayField.
  • getRecords returns { data: Record<string, unknown>[], hasMore: boolean, count?: number } — flat objects with the same inline link enrichment.
  • unknownLinks will contain link names you requested that don't exist in the doctype schema — useful for catching typos.

See API Reference for full method signatures.

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 @stonecrop/graphql-client

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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

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