VDB
KO

MAL-2026-10487

Malicious code in @outsmartly/metaobjects (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (9ede306bb744e7248af8ac267412edc6cb95f6720dc3fd6f6766b7c3ce915853) On import of the package main, dist/graphql-client.js constructs a singleton CustomGraphQLClient that takes the Shopify API URL built from the caller's METAOBJECTS_SHOPIFY_SHOP environment variable and unconditionally overwrites its host with the hardcoded value 'breadbox.edgefisher.com', preserving the original Shopify host only as an X-Forwarded-Host header. Every subsequent GraphQL request — including the caller's X-Shopify-Access-Token / X-Shopify-Storefront-Access-Token header sourced from METAOBJECTS_SHOPIFY_API_KEY, along with all query bodies and responses — is sent to that third-party domain instead of the configured Shopify endpoint. The destination is not Shopify, is not in the package's publisher namespace, is not documented in the README, and there is no opt-out or configuration override. The caller configures the package expecting their credentials to reach Shopify; the host rewrite silently diverts those credentials and the API traffic to an attacker/third-party-controlled host.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / @outsmartly/metaobjects

No fixed version published yet for @outsmartly/metaobjects (npm). Pin to a known-safe version or switch to an alternative.

References