Scan your whole stack
From OX Research Newsroom
Are you using @mark1russell7/market-sources?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.6.14
@mark1russell7/market-sources was last scanned on 30 Nov 2026 at version 0.6.14. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.6.14 LATEST | 30 Nov 2026 | No rules fired |
| 0.6.13 | 30 Nov 2026 | No rules fired |
| 0.6.12 | 30 Nov 2026 | No rules fired |
| 0.6.11 | 30 Nov 2026 | Not shown |
| 0.6.10 | 29 Nov 2026 | Not shown |
Findings for v0.6.14. 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.6.14; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The adapters of the sellers of a market and of the price APIs of clouds. Each parser reads the answer of an official API at one instant. It gives the current offers and their price readings as records of @mark1russell7/market. The parsers of a cloud give metered offers and their metered readings.
pnpm add @mark1russell7/market-sources
A parser is a pure function. It sends no request, it keeps no store, and it reads no key.
A client sends the requests of one API, and gives the result of a parser. Its host gives the transport, the keys and the clock. The scheduler of polite-crawler keeps the pace of each host.
import { parseEbayItem, EBAY_TERMS } from "@mark1russell7/market-sources";
import { isKept } from "@mark1russell7/market";
const at = new Date().toISOString();
const result = parseEbayItem(await answer.json(), at);
if (!result.ok) throw new Error(result.problems.join(" "));
for (const { offer, reading } of result.observations) {
console.log(offer.title, reading.price, isKept(EBAY_TERMS, reading, at));
}
for (const note of result.notes) console.warn(note);
| Parser | The answer that it reads |
|---|---|
parseEbayItem |
getItem of the eBay Browse API: GET /buy/browse/v1/item/{item_id} |
parseEbaySearch |
search of the eBay Browse API: GET /buy/browse/v1/item_summary/search |
parseBestBuyProduct |
one product of the Best Buy Products API: GET /v1/products/{sku}.json |
parseBestBuyProducts |
a search of the Best Buy Products API: GET /v1/products(...)?format=json |
parseBestBuyOpenBox |
the Best Buy Open Box API: GET /beta/products/{sku}/openBox |
parseDigiKeyProductDetails |
ProductDetails of the Digi-Key Product Information API v4 |
parseDigiKeyKeywordSearch |
KeywordSearch of the Digi-Key Product Information API v4 |
parseAzureRetailPrices |
one page of the Azure Retail Prices API: GET /api/retail/prices |
parseAzureRetailPricePages |
all the pages of one read of the Azure Retail Prices API |
parsePlanLists |
all the pages of the plan list of a provider record, for example GET /v2/plans of the Vultr API |
parseBlsSeries |
version 1 of the BLS Public Data API: POST /publicAPI/v1/timeseries/data/ |
parseKrogerProduct |
Product details of the Kroger Products API: GET /v1/products/{id} |
parseKrogerProducts |
Product search of the Kroger Products API: GET /v1/products |
parseKrogerLocation |
Location details of the Kroger Locations API: GET /v1/locations/{id} |
parseKrogerLocations |
Location search of the Kroger Locations API: GET /v1/locations |
Each parser takes the JSON of the answer and the instant at of the answer. It gives one of two results:
{ ok: true, observations, notes }. The answer has the documented shape. Each observation is an offer and its reading, and the schemas of @mark1russell7/market accept both. Each note tells why the parser skipped a record or a field.{ ok: false, problems }. The answer does not have the documented shape, for example the error body of an API.The Azure parsers and the plan parser give metered observations of @mark1russell7/market, and next. The field next is the link of the next page, or null.
A parser throws a RangeError only for a bad at or a bad location id. The instant must be ISO 8601 in UTC. It does not throw on the answer, for any JSON value.
"129.99", must have digits, and a point and digits as an option. The parser refuses an exponent, a sign and a space. The currency must be a money unit of @mark1russell7/quantity. At this time, that unit is USD only.null, an empty text and a missing key as an absent value.offerSchema and priceReadingSchema. A record that a schema refuses becomes a note, and the parser skips it.| Field | Rule |
|---|---|
| Format | With FIXED_PRICE in buyingOptions, the offer is fixed-price, because a buyer can pay the price at once. With AUCTION only, the offer is an auction, and its price is currentBidPrice. With no buying options, the offer is fixed-price, the default of search. Other options give a note. |
| Condition | The condition id of eBay maps to a condition, for example 3000 gives used. The text of eBay is the grade. |
| Shipping | The cheapest FIXED option. A cost of 0 is free. With no fixed option, a CALCULATED option gives calculated. Else the shipping is unknown. |
| Stock | IN_STOCK, LIMITED_STOCK and OUT_OF_STOCK give in-stock, low-stock and out-of-stock. The count is the estimated quantity, but not with the threshold MORE_THAN. A count that does not agree with the status gives a note. |
| Ended listings | A listing that ended at or before at gives a note, and no observation. The terms delete it. |
| Identifiers | A valid GTIN, the brand and the MPN. The placeholder Does not apply gives no identifier. |
A search answer has no GTIN, no part number, no aspects and no stock. A getItem call gives them.
| Field | Rule |
|---|---|
| Price | salePrice. The list price is regularPrice when it is more. The field onSale is not used, because it can be true with equal prices. |
| Shipping | freeShipping gives free. A shippingCost above 0, as a number or a text, gives fixed. Else the shipping is unknown. |
| Stock | onlineAvailability: false or active: false gives out-of-stock. orderable: "Available" gives in-stock. Other values give unknown. |
| Open box | Each open-box offer of a SKU is its own offer, with the source id {sku}/open-box/{listingId}, the condition open-box and the grade of Best Buy. |
The US APIs of Best Buy give each price in US dollars.
| Field | Rule |
|---|---|
| Offers | Each variation of a product (a package type) is one offer. Its source id is the Digi-Key product number. |
| Seller | Digi-Key, or the supplier of a marketplace variation. |
| Price breaks | The minimum is the larger of MinimumOrderQuantity and the lowest break. The price is the price of the largest break at or below the minimum. The breaks above the minimum are the priceBreaks of the reading. |
| Stock | QuantityAvailableforPackageType: above 0 gives in-stock, and 0 gives out-of-stock. |
| Currency | The currency is SearchLocaleUsed.Currency. An answer with no currency gives a problem. |
The API has no GTIN and no shipping cost. The shipping of a reading is unknown.
The Azure Retail Prices API gives the public retail prices of Azure. It needs no key. Each observation goes through meteredObservationSchema.
| Field | Rule |
|---|---|
| Offers | Each SKU in a region on a term is one offer, with the source id {armRegionName}/{skuId}/{term}. Each meter of the SKU is a meter of the offer. |
| Terms | A Consumption row gives on-demand, or spot when its SKU name ends in Spot or Low Priority. Each entry of savingsPlan gives a committed offer at its rate. |
| Reservations | A Reservation row gives a committed offer. Its price is the total for the term. Thus it is the upfront money of the reading, and the rate is 0. |
| Dev/Test | A DevTestConsumption row gives its own offer, with Dev/Test in its title. |
| Units | The unit of measure gives a unit of @mark1russell7/quantity. 1 Hour gives h, 1 GB/Month gives GiB·mo and 10K gives 10,000 {count}. |
| Unit prices | The price of a unit is the price of the row over its count, with exact rationals. |
| Data | A GB of Azure is 2^30 bytes, from the pricing pages of Blob Storage. Thus GB, MB and TB give GiB, MiB and TiB. |
| Tiers | tierMinimumUnits is the start of a tier, in the unit of its meter. A free first amount stays a tier at the price 0. |
| Period | Each reading has the period of 1 month. |
| Specs | serviceName, serviceFamily, productName, skuName, armSkuName and location, and pricing: the key of the term, for example savings-plan-3y. |
| Sizes | A Virtual Machines row also gets vcpu and memory, for example 8 GiB, from AZURE_VM_SIZE_TABLE by its armSkuName. A size that the table does not have gets no size specs. |
| Operating system | A Virtual Machines row also gets os: windows when its product name has the word Windows, else linux. The price of a Windows product includes the license. |
| Pages | A page has 1,000 rows at most. The tiers of a meter can continue on the next page. Thus parseAzureRetailPricePages reads the pages of one read together. |
These rows give a note, and the parser skips them:
1 PB. The unit PiB is not in @mark1russell7/quantity.The Azure Retail Prices API gives no vCPUs and no memory. The size pages of the Azure documentation give them in tables. AZURE_VM_SIZE_TABLE keeps the vCPUs and the memory in GiB of each size, by its ARM SKU name.
articles/virtual-machines/sizes in MicrosoftDocs/azure-compute-docs, at the commit of AZURE_VM_SIZES_SOURCE.AZURE_VM_SIZES_SOURCE.Memory (GB) and Memory (GiB) both give GiB.parseAzureSizeTables(markdown) reads the size tables of one page. It also gives the include files of the page, because some pages keep their tables in an include file.node scripts/azure-sizes.ts in the package folder. It reads each page through the polite send of polite-crawler, and writes src/azure-sizes-data.ts.The Azure Retail Prices API gives the name of a region, but not its country. The list of the regions of the Azure documentation gives the country and the physical location of each region. AZURE_REGION_TABLE keeps these two facts, by the programmatic name of the region.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.