pkg.sopackage field notes

brew / rank 7730

Install stripe-mock with Homebrew

Mock HTTP server that responds like the real Stripe API. Version 0.202.0 via Homebrew; verified 2026-07-26.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install stripe-mock

provider-native install command

overview

Package summary

Mock HTTP server that responds like the real Stripe API

Commands and aliases

  • stripe-mock

history

Project history and usage

stripe-mock is Stripe's official mock HTTP server for basic sanity checks against the Stripe API shape. It is used in CLI and package-manager contexts as a local binary or service that lets SDKs and integration tests validate request paths and parameters without calling the live Stripe API.

Project history

Stripe's README says the project was first released in 2017 and that its original ambition was broader: returning responses that were realistic as well as type-correct. The same source explains that the scope has since narrowed; stripe-mock is deliberately stateless, hardcoded, and aimed at basic validation rather than full API behavior simulation.

The project is generated from Stripe's OpenAPI specification, which keeps the mock aligned with the latest methods, resources, and fields. That makes it part of Stripe's broader API tooling pipeline rather than a hand-maintained fake service.

Adoption history

Stripe documents use of stripe-mock inside server-side SDK test suites such as stripe-ruby and stripe-go. Package availability in the input shows distribution through Homebrew and zypper, while the official README also documents release downloads, Docker usage, and a Homebrew service.

How it is used

Common usage is to start the `stripe-mock` server locally, then run tests or sample requests against its HTTP and HTTPS ports. The README also documents automatic port selection, Unix socket mode, Docker execution, and Homebrew service management.

Why package nerds care

Package maintainers care about stripe-mock because it turns a remote payments API into a reproducible local fixture for SDK testing. It is intentionally not a full emulator, but its OpenAPI-driven route and schema validation make it useful for packaging, CI, and client-library smoke tests.

Timeline

  • 2017: Stripe first released stripe-mock.
  • Current: Stripe documents a narrowed scope focused on stateless basic sanity checks backed by the Stripe OpenAPI specification.

Related projects

  • Stripe OpenAPI specification, Stripe server-side SDKs such as stripe-ruby and stripe-go, Docker images, Homebrew services, and playback-testing tools such as VCR are documented adjacent points in the official README.

security posture

Risk level: orange

formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • formula declares a Homebrew service

Signals

  • metadata:service

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
stripe-mockexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version0.202.0
manager updated2026-07-26
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:stripe-mock
Version0.202.0
Package managerHomebrew
Homepagehttps://github.com/stripe/stripe-mock
Repositoryhttps://github.com/stripe/stripe-mock
Last updated2026-07-26T04:03:47+02:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation