Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

create-mercato-app

Latest version: v0.11.1-develop.8478.1.faf1cd2f6f

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: piotrkarwatka
1,957 Stars
500 Forks
139 Versions
65.0K Downloads
TypeScript Repo language

Scan summary

create-mercato-app was last scanned on 23 Nov 2026 at version 0.11.1-develop.8478.1.faf1cd2f6f. Risk score 0 of 100. High-severity rules fired.

  • Releases: 139 versions; the latest 5 were published on 23 Nov 2026.
  • Findings: 1 rule fired in version 0.11.1-develop.8478.1.faf1cd2f6f (1 high). The score describes this version only.
  • Downloads: 64,997 downloads.

Versions

139 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.11.1-develop.8478.1.faf1cd2f6f LATEST 23 Nov 2026 1 rule fired
0.11.1-develop.8477.1.a433fc7e8d 23 Nov 2026 Not shown
0.11.1-develop.8473.1.9f90793385 23 Nov 2026 1 rule fired
0.11.1-develop.8464.1.b5786bcf1c 23 Nov 2026 Not shown
0.11.1-develop.8463.1.fc649816ca 23 Nov 2026 Not shown

Rules fired in 0.11.1-develop.8478.1.faf1cd2f6f: 1

Findings

1 High

Findings for v0.11.1-develop.8478.1.faf1cd2f6f. 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.

Several suspicious behaviors form a known attack pattern

Several behaviors that are each common on their own, such as reading registry credentials, contacting a variable host or running shell commands, appear together in this package in a combination associated with attacks. The finding message lists the behaviors that were combined.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 0.11.1-develop.8478.1.faf1cd2f6f; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

create-mercato-app

Create a new Open Mercato application with a single command.

Quick Start

npx create-mercato-app my-app
cd my-app
yarn setup

yarn setup needs Node 24, Yarn 4 (corepack enable) and a running Docker engine. It checks Docker, starts PostgreSQL, Redis and Meilisearch from the app's docker-compose.yml, waits until they are healthy, then installs dependencies, migrates and initializes the database and starts the dev server. It copies .env.example to .env only when .env is missing and never overwrites it, so re-running is safe. Running PostgreSQL, Redis and Meilisearch yourself? Point .env at them and use yarn setup --no-infra (no Docker calls at all).

To start from a working app instead of the bare scaffold, create it from an app template or from any GitHub repository that holds a standalone app:

npx create-mercato-app my-crm --template crm
npx create-mercato-app my-portal --template some-agency/b2b-portal#v1.0.0
npx create-mercato-app my-marketplace --app-url https://github.com/some-agency/ready-app-marketplace

Usage

npx create-mercato-app <app-name> [options]
Arguments
Argument Description
app-name Name of the application (creates folder with this name)
Options
Option Description
--app <name> Bootstrap an official Open Mercato ready app from open-mercato/ready-app-<name>
--app-url <url> Bootstrap a ready app from a GitHub repository URL
--template <slug \| owner/repo>[#ref] Create the app from an app template: a slug listed at modules.openmercato.com/templates or any GitHub repository. See App Templates
--keep-name With --template, keep the template's package.json name
--preset <id> Select the classic, empty, crm, or wms starter without prompting
--agents <list> Set up claude-code, codex, cursor, a comma-separated subset, all, or none without prompting
--skip-agentic-setup Skip the interactive agentic setup wizard
--modules <list> Plan modules from the Open Mercato Modules catalog, verified on this Open Mercato line. Prints the yarn mercato module add commands; installs nothing
--module-picker Pick catalog modules interactively, with origin, license, level and any catalog warning shown first. Offered by default in a terminal when neither --preset nor --modules is given
--no-module-picker Do not offer the catalog module picker
--init-git Initialize a local Git repository after scaffolding
--no-init-git Do not prompt for or initialize a local Git repository
--registry <url> Custom npm registry URL
--verdaccio Use local Verdaccio registry (http://localhost:4873)
--help, -h Show help
--version, -v Show version
Examples
# Create a new app using the public npm registry
npx create-mercato-app my-store

# Create an app from a listed app template
npx create-mercato-app my-crm --template crm

# Create an app from a GitHub repository at a tag
npx create-mercato-app my-portal --template some-agency/b2b-portal#v1.0.0

# Create an app from an external GitHub-hosted ready app
npx create-mercato-app my-marketplace --app-url https://github.com/some-agency/ready-app-marketplace

# Create a new app using a local Verdaccio registry
npx create-mercato-app my-store --verdaccio

# Create a new app using a custom registry
npx create-mercato-app my-store --registry http://localhost:4873

# Create a new app without the agentic setup wizard
npx create-mercato-app my-store --skip-agentic-setup

# Create a classic app with every supported AI coding-tool configuration
npx create-mercato-app my-store --preset classic --agents all

# Create a warehouse and inventory app
npx create-mercato-app my-warehouse --preset wms

# Set up only Claude Code and Codex
npx create-mercato-app my-store --agents claude-code,codex

# Opt in to the experimental validation/typecheck hook layer
npx create-mercato-app my-store --agents claude-code,codex --experimental-hooks-validator

# Create a new app and initialize a local Git repository
npx create-mercato-app my-store --init-git

App Templates

An app template is a GitHub repository with a complete standalone app at its root. Listed templates are at modules.openmercato.com/templates. To save your own app as a template, use create-mercato-template.

npx create-mercato-app <app-name> --template <slug | owner/repo>[#ref] [--keep-name]
  • A slug is looked up in the template index (templates.json). owner/repo also works for a repository that is not listed, and for a private one when GITHUB_TOKEN is set. #ref is a branch, tag or commit.
  • The CLI picks one commit and prints it before anything is downloaded: Template: owner/repo@<sha> (<state>). The state is verified, not verified, not listed, not verified or catalog status unknown, not verified (the index could not be read). A #ref that points to another commit than the listed one prints not verified, no catalog facts for <sha>.
  • A template on hold is refused with its reason, and there is no override. An unmaintained template works and prints its reason.
  • The CLI warns and continues when the template is built on another Open Mercato line than the latest stable one (both lines are shown), and when it registers @open-mercato/enterprise modules on every start, which need an Open Mercato Enterprise license. A dependency on that package with its modules behind a flag such as OM_ENABLE_ENTERPRISE_MODULES (as in the stock scaffold) prints nothing; when src/modules.ts cannot be read, the CLI says the license may be needed but could not be confirmed.
  • --template cannot be combined with --app, --app-url, --modules, --module-picker, --agents, --experimental-hooks-validator or a --preset other than classic. The module picker and the agentic setup wizard are not offered. --registry and --verdaccio do not apply: the app keeps the registry settings of its own .yarnrc.yml.
  • The app is copied as it is, with three changes: the package.json name becomes the app name (unless --keep-name), package.json gets an openMercatoTemplate field with the repository, ref and commit, and the root mercato-template.json is removed.
  • If the import fails, the CLI removes the directory it created.
  • The next steps depend on the scripts in the created app's package.json. With setup and infra:up (apps scaffolded since yarn setup starts Docker), they are yarn setup and the yarn setup --no-infra alternative for your own services, like a normal scaffold; cp .env.example .env and the env keys come first only when the template declares keys. With setup but no infra:up, they are cp .env.example .env, the env keys, docker compose up -d (or a note to start PostgreSQL, Redis and Meilisearch yourself) and yarn setup. With neither, they are cp .env.example .env, the env keys, yarn install, yarn initialize and yarn dev.

Set OM_TEMPLATES_URL to read another index, for example a local copy. It must be an https URL, or http on localhost, 127.0.0.1 or [::1].

Ready App Behavior

  • --app <name> resolves to open-mercato/ready-app-<name> and fetches the exact tag v<create-mercato-app version>
  • --app-url <url> only supports GitHub repository URLs in v1 and honors /tree/<ref> when present
  • --app and --app-url are mutually exclusive
  • --skip-agentic-setup skips only the interactive agentic setup wizard
  • Imported ready apps are copied as raw source snapshots: the CLI does not rewrite dependency versions, package names, or application source files. --template makes the three changes listed under App Templates
  • Imported ready apps skip the interactive agentic setup wizard; if you want agentic tooling later, run yarn mercato agentic:init inside the generated app
  • --agents is only supported for bare scaffolds; use yarn mercato agentic:init after importing a ready app
  • Imported ready apps must not contain .template files; the scaffold fails closed if template files are found
  • When open-mercato/ready-app-<name> does not exist, the --app error points to app templates
  • Every import (--app, --app-url and --template) is inspected before the app directory is created: the download is at most 64 MiB, the archive holds at most 10,000 entries and 128 MiB unpacked, and only files and directories are allowed. A link, a special file, an absolute path or a .. segment stops the import and names the path

Standalone AI Harness

A bare scaffold can install a standalone-specific AI development harness for Claude Code, Codex, Cursor, or any selected subset. It combines a compact task router, module/task guides, local skills, an integrity-pinned subset of open-mercato/skills, exact installed-framework context, and a reproducible evaluation catalog.

The gate-evidence hooks that record validation outcomes and require a newer passing typecheck after source edits are experimental and disabled by default. Opt in with --experimental-hooks-validator during creation or yarn mercato agentic:init, or set OM_HARNESS_EXPERIMENTAL_HOOKS_VALIDATOR=1 before setup. The explicit flag takes precedence over the environment default.

Install or refresh skills

Agentic setup attempts installation automatically. Re-run it after cloning, after an offline setup, or when selecting another tier:

yarn install-skills --list
yarn install-skills
yarn install-skills --with automation # opt in to loop/issue/release-maintenance workflows

The default is the 13 local core skills plus the 15-skill dependency-closed daily external tier. Advanced loop engines, issue authoring, and upgrade-note maintenance stay opt-in through --with automation (or --all). .agents/skills/ is canonical; Claude Code receives compatibility links. The installer downloads the exact pinned open-mercato/skills archive, copies only individually hash-attested skill directories, and never executes archive or package-runner code. It activates the selected external set as one transaction: any failure restores the complete previous set before local installation continues. It preserves unknown user-owned skills and quarantines stale or modified installer-owned content.

Upgrade an existing generated harness

After upgrading Open Mercato, refresh generated harness assets without overwriting local context:

yarn mercato agentic:init --update-harness

The ownership-aware update replaces unchanged generated files, recreates missing owned files, and refreshes the manifest atomically. Modified or unknown files remain in place; exact generated-path conflicts get an adjacent .incoming candidate. Managed paths are resolved below the canonical app root and a symlinked ancestor is rejected before publication. Use --force only when intentionally replacing known generated targets. External skill installation is a separate retryable phase, so offline installation does not roll back the harness update.

Resolve installed framework context

Use the escape hatch when the routed guides do not contain an exact contract. It resolves the package versions selected by the app and their source/AGENTS.md chain without bulk-loading dependencies:

yarn framework:context --module customers --query makeCrudRoute
yarn framework:context --package @open-mercato/ui --query CrudForm
yarn framework:context --root

Bounded snapshots are written under ignored .ai/framework-context/; warnings make degraded dist/type-only context explicit.

Evaluate and maintain the harness

Use deterministic checks during development:

yarn harness:validate --case OMH-009
yarn harness:validate --family testing
yarn harness:validate --all

harness:validate --all is the deterministic catalog gate, not the full release suite. Authenticated --runner codex / --runner claude live routing uses host filesystem containment on macOS (sandbox-exec) and Linux (Bubblewrap). The model gets no shell, process, environment, discovery, browser, or network tool: both CLIs receive only an evaluator-owned, env -i MCP server for exact-path reads and case-allowlisted writes. The selected app is intentionally readable through that narrow tool, so use a fresh or otherwise non-sensitive generated app. macOS sandbox-exec can enforce network-free lanes but cannot isolate loopback from the host; native macOS and Windows must use a contained Linux VM/container with Bubblewrap for the complete release gate.

Run the full matrix once per Open Mercato release from a fresh scaffold:

yarn install-skills
yarn harness:release --runner codex --prepare-targets /absolute/empty-release-targets --acknowledge-writes

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm create-mercato-app

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229