Scan your whole stack
From OX Research Newsroom
Are you using @vicacha-devs/medusa-plugin-barcode?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.1
@vicacha-devs/medusa-plugin-barcode was last scanned on 23 Nov 2026 at version 0.1.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.1 LATEST | 23 Nov 2026 | No rules fired |
| 0.1.0 | 23 Nov 2026 | No rules fired |
| 0.0.1 | 23 Nov 2026 | No rules fired |
| 0.0.0-stage | 23 Nov 2026 | Not shown |
Findings for v0.1.1. 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.1.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The Complete GS1 Barcode, Dynamic QR, Thermal/Sheet Label Printing, 10-Provider GTIN Product Lookup & Warehouse Inventory Stock-Take Suite for Medusa v2.
medusa-plugin-barcode unifies and supersedes four separate Medusa ecosystem capabilities—external barcode product enrichment (@bambiste/medusa-barcode), dynamic QR & barcode generation (@bambiste/medusa-qr), POS/warehouse barcode scanning (medusa-pos-plugin), and physical stock-take auditing (inventory-count)—into one cohesive, zero-external-runtime-dependency Medusa v2 plugin.
medusa-plugin-barcodemedusa-plugin-barcode/sdk)medusa-plugin-barcode/hooks)medusa-plugin-barcode/ui)/app/barcodes) & Product Detail Widget@bambiste/medusa-barcode & @bambiste/medusa-qrmedusa-plugin-barcode| Feature / Capability | @bambiste/medusa-barcode (0.0.2) |
@bambiste/medusa-qr (0.0.2) |
medusa-pos-plugin (0.0.36) |
inventory-count (0.0.6) |
medusa-plugin-barcode (1.0.0) |
|---|---|---|---|---|---|
| Medusa Version | v2 | v2 | v2 | v2 | v2 (>=2.4.0) |
| GS1 Check Digit Validation | Buggy left-to-right loop (fails on even-length UPC-A, EAN-8, GTIN-14) |
N/A | None | None | Spec-compliant right-to-left 3,1,3,1 GS1 Modulo-10 across all odd & even lengths |
| Supported Symbologies | EAN-13, UPC-A, EAN-8, ISBN-13 |
QR only |
barcode string |
barcode string |
EAN-13, EAN-8, UPC-A, UPC-E, GTIN-14, ISBN-13, Code128, GS1-128, Code39, QR, DataMatrix |
| GS1-128 AI & Digital Link | No | No | No | No | Full (01) GTIN, (10) Batch/Lot, (11)/(15)/(17) Dates, (21) Serial, (30)/(37) Qty, (310n) Net Weight + GS1 Digital Link URI |
| External GTIN Providers | 8 providers (first-hit only) |
None | None | None | 10 providers (adds free keyless OpenLibrary & Brocade) + first-hit & deep-merge strategies + smart ISBN routing |
| Batch Import Workflow | Saves dummy pending_${barcode} rows without creating products |
N/A | N/A | N/A | Creates real Medusa Products & Variants with transaction compensation/rollback |
| Auto Variant Barcode Gen | No | No | No | No | GS1 In-Store (200–299) deterministic & sequential EAN-13 generator + product.created subscriber |
| 1D/2D Barcode & QR Rendering | None | QR PNG/SVG | None | None | Zero-dependency crisp SVG renderer for all 1D & 2D symbologies + optional File Module upload |
| Anti-Counterfeit Verification | None | None | None | None | Constant-time HMAC-SHA256 signed tags + /store/barcodes/[code]/verify + <AuthenticityVerifierBadge /> |
| Thermal & Sheet Label Printing | None | None | None | None | 7 built-in presets (Thermal 50×25, 57×32, 100×50, 30×15 Jewelry + A4 24/40/65-up), multi-currency MRP/Sale formatting, print-ready HTML+SVG & raw Zebra ZPL II (^XA...^XZ) |
| Warehouse Stock-Take | None | None | Basic POS scan | Separate plugin | Built-in BarcodeCountSession & BarcodeCountItem with live scan variance & 1-click Inventory Module reconciliation |
| Admin UI & Scanners | Empty 431-byte stub | Empty 431-byte stub | External POS | Basic | 5-Tab Admin Studio (/app/barcodes), Product Detail Widget (product.details.after), USB HID Keyboard-Wedge & WebRTC Camera hooks |
graph TD
subgraph "Admin & Storefront Clients"
AdminUI["Admin Studio (/app/barcodes) & Product Widget"]
StoreUI["Storefront UI Kit (BarcodeImage, Scanner, HMAC Verifier)"]
HID["USB/Bluetooth HID Keyboard-Wedge Hook"]
Cam["WebRTC Camera BarcodeDetector Hook"]
SDK["Typed SDK Client (createBarcodeSdk)"]
end
subgraph "Medusa v2 API Layer (src/api)"
AdminRoutes["15 Admin Endpoints (/admin/barcodes/*)"]
StoreRoutes["2 Store Endpoints (/store/barcodes/[code]/*)"]
Validators["Zod Schemas & Middlewares"]
end
subgraph "Medusa v2 Workflows, Subscribers & Jobs"
WF1["lookupAndCreateProductWorkflow"]
WF2["batchBarcodeImportWorkflow"]
WF3["bulkGenerateVariantBarcodesWorkflow"]
WF4["generateBarcodeTagWorkflow"]
WF5["scanInventoryCountWorkflow"]
WF6["applyInventoryCountWorkflow"]
Sub["product-created Subscriber"]
Job["purge-expired-barcode-cache Cron Job"]
end
subgraph "Barcode Module (BARCODE_MODULE = 'barcode')"
Service["BarcodeModuleService (BarcodeService)"]
Parser["GS1 Checksum, UPC-E, GS1-128 & Digital Link Parser"]
SVG["1D/2D Pure SVG Renderer"]
Printer["Thermal & A4 Label Engine (HTML+SVG & Zebra ZPL II)"]
Sec["HMAC-SHA256 Signer & SSRF Guard"]
Chain["10-Provider Lookup Chain (first-hit / deep-merge)"]
Models[("6 DML Models: Product, Cache, Tag, Template, Session, Item")]
end
AdminUI --> SDK
StoreUI --> SDK
HID --> AdminUI
Cam --> StoreUI
SDK --> AdminRoutes
SDK --> StoreRoutes
AdminRoutes --> Validators
StoreRoutes --> Validators
AdminRoutes --> WF1 & WF2 & WF3 & WF4 & WF5 & WF6
AdminRoutes --> Service
StoreRoutes --> Service
Sub --> WF3
Job --> Service
WF1 & WF2 & WF3 & WF4 & WF5 & WF6 --> Service
Service --> Parser & SVG & Printer & Sec & Chain & Models
OpenFoodFacts, OpenBeautyFacts, OpenPetFoodFacts, OpenProductsFacts, GoogleBooks, OpenLibrary, Brocade, UpcItemDb, EanSearch, BarcodeLookup).978/979) Priority Routing: Promotes GoogleBooks and OpenLibrary to the front of the chain whenever a book barcode is scanned."first-hit": Returns immediately on the highest-priority provider match for minimum latency."deep-merge": Queries all active providers and merges missing fields (backfilling descriptions, ingredients, dimensions, suggested prices, and deduplicating image/category/author arrays).https: public hosts and 8 MB size cap) and uploads them directly to Medusa's File Module (Modules.FILE).EAN-13, ISBN-13, UPC-A, UPC-E, EAN-8, GTIN-14, Code128, GS1-128, Code39, QR, and DataMatrix.200–299) Auto-Assignment: Automatically generates valid 13-digit EAN-13 barcodes for new or existing Medusa product variants and syncs barcode, ean, and upc fields.BarcodeTag Tokens: Supports "view", "add_to_cart", "verify" (anti-counterfeit), and "gs1_digital_link" scan actions with live scan_count and last_scanned_at analytics.crypto.timingSafeEqual.thermal_50x25 (50×25mm), thermal_57x32 (57×32mm), thermal_100x50 (100×50mm Warehouse Carton), jewelry_30x15 (30×15mm Dumbbell Tag).a4_24up_70x37 (3×8), a4_40up_52x30 (4×10), a4_65up_38x21 (5×13 Mini).Intl.NumberFormat.@page CSS rules for browser/OS printing.^XA...^XZ): Native 203 DPI / 300 DPI commands (^BEN, ^B8N, ^BCN, ^BQN, ^FO, ^FD, ^PQ) for direct thermal printer streaming./app/barcodes): 5-tab management center in Medusa Admin.product.details.after): Generate variant barcodes and print thermal labels directly on any product page.useHidBarcodeScanner (USB/Bluetooth keyboard-wedge) and useCameraBarcodeScanner (WebRTC BarcodeDetector).BarcodeCountSession audits, scan items rapidly (+1 / -1 / set), inspect expected vs. counted variance, and apply adjustments directly to Medusa's Inventory Module (Modules.INVENTORY).npm install medusa-plugin-barcode
# or
yarn add medusa-plugin-barcode
# or
pnpm add medusa-plugin-barcode
medusa-config.tsimport { defineConfig } from "@medusajs/framework/utils"
export default defineConfig({
projectConfig: {
databaseUrl: process.env.DATABASE_URL,
},
plugins: [
{
resolve: "medusa-plugin-barcode",
options: {
cacheEnabled: true,
cacheTtlSeconds: 86400,
enrichmentStrategy: "deep-merge",
autoGenerateVariantBarcode: true,
internalBarcodePrefix: "200",
defaultProductStatus: "draft",
downloadProductImages: false,
requestTimeoutMs: 5000,
storefrontBaseUrl:
process.env.STOREFRONT_URL || "https://store.example.com",
hmacSecret: process.env.MEDUSA_BARCODE_HMAC_SECRET,
providers: {
openFoodFacts: { enabled: true, priority: 10 },
googleBooks: {
enabled: true,
priority: 15,
apiKey: process.env.GOOGLE_BOOKS_API_KEY,
},
openLibrary: { enabled: true, priority: 18 },
openBeautyFacts: { enabled: true, priority: 20 },
openPetFoodFacts: { enabled: true, priority: 25 },
openProductsFacts: { enabled: true, priority: 30 },
brocade: { enabled: true, priority: 35 },
upcItemDb: {
enabled: true,
priority: 40,
apiKey: process.env.UPCITEMDB_API_KEY,
},
eanSearch: {
enabled: Boolean(process.env.EAN_SEARCH_TOKEN),
priority: 60,
apiKey: process.env.EAN_SEARCH_TOKEN,
},
barcodeLookup: {
enabled: Boolean(process.env.BARCODE_LOOKUP_KEY),
priority: 70,
apiKey: process.env.BARCODE_LOOKUP_KEY,
},
},
},
},
],
})
npx medusa db:migrate
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.