@asymmetric-effort/specifyjs: Production console warnings may leak internal framework stateGHSA-qcr8-x557-7cp3
Fix: asymmetric-effort/specifyjs@2ef791bGHSA-qcr8-x557-7cp3 is a security vulnerability in @asymmetric-effort/specifyjs. A fix is available for @asymmetric-effort/specifyjs — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
@asymmetric-effort/specifyjsnpmDescription
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | @asymmetric-effort/specifyjs | all versions | 0.2.140npm install @asymmetric-effort/specifyjs@0.2.140 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @asymmetric-effort/specifyjs, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update @asymmetric-effort/specifyjs to 0.2.140 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-qcr8-x557-7cp3 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-qcr8-x557-7cp3 in your dependencies?
Find it across npm, including transitive dependencies.