Advisory

GHSA-qcr8-x557-7cp3

Also known as: None

Summary

@asymmetric-effort/specifyjs: Production console warnings may leak internal framework state

Details

Finding

Location: core/src/core/scheduler.ts:23, core/src/hooks/dispatcher.ts:100, core/src/client/graphql.ts:71

Several console.warn calls are not gated behind __DEV__ and will fire in production builds, potentially exposing internal framework state such as queue sizes, component names, and query fragments to users viewing the browser console.

Status

Open — These warnings serve as development-time diagnostics. They do not expose credentials or PII, but may reveal internal architecture details.

Recommendation

Gate all development-time console.warn and console.error calls behind process.env.NODE_ENV !== 'production' or a __DEV__ constant that build tools can tree-shake.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-07-02 19:03 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

@asymmetric-effort/specifyjs

npm · All systems

Affected

  • introduced 0, fixed 0.2.140 (semver)

Fixed versions

0.2.140

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences