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

creem

Latest version: v2.1.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: alecerasmus, creem.samuel, gabriel_creem, vumck
39 Stars
17 Forks
13 Versions
297.1K Downloads
TypeScript Repo language

Scan summary

creem was last scanned on 27 Nov 2026 at version 2.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 13 versions; the latest was published on 27 Nov 2026.
  • Findings: No rules fired in version 2.1.0.
  • Downloads: 297,089 downloads.

Versions

13 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.1.0 LATEST 27 Nov 2026 No rules fired
2.0.0 20 Nov 2026 No rules fired
1.14.0 12 Nov 2026 No rules fired
1.13.0 17 Sep 2026 Not shown
1.12.0 16 Sep 2026 Not shown

No rules fired in 2.1.0

Findings

Findings for v2.1.0. 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 2.1.0; other versions have their own rules, not their own score.

README

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

Creem

Developer-friendly & type-safe Typescript SDK specifically catered to leverage creem API.

Summary

Creem API: Creem is an all-in-one platform for managing subscriptions and recurring revenue, tailored specifically for today's SaaS companies. It enables you to boost revenue, enhance customer retention, and scale your operations seamlessly.

For more information about the API: Creem Documentation

Table of Contents

  • Creem
    • SDK Installation
    • Requirements
    • SDK Example Usage
    • Authentication
    • Available Resources and Operations
    • Standalone functions
    • Pagination
    • Retries
    • Error Handling
    • Server Selection
    • Custom HTTP Client
    • Debugging
  • Development
    • Maturity
    • Contributions

SDK Installation

The SDK can be installed with either npm, pnpm, bun or yarn package managers.

NPM
npm add creem
PNPM
pnpm add creem
Bun
bun add creem
Yarn
yarn add creem

[!NOTE] This package is published with CommonJS and ES Modules (ESM) support.

Model Context Protocol (MCP) Server

This SDK is also an installable MCP server where the various SDK methods are exposed as tools that can be invoked by AI applications.

Node.js v20 or greater is required to run the MCP server from npm.

Add the following server definition to your claude_desktop_config.json file:

{
  "mcpServers": {
    "Creem": {
      "command": "npx",
      "args": [
        "-y", "--package", "creem",
        "--",
        "mcp", "start",
        "--api-key", "..."
      ]
    }
  }
}

Create a .cursor/mcp.json file in your project root with the following content:

{
  "mcpServers": {
    "Creem": {
      "command": "npx",
      "args": [
        "-y", "--package", "creem",
        "--",
        "mcp", "start",
        "--api-key", "..."
      ]
    }
  }
}

You can also run MCP servers as a standalone binary with no additional dependencies. You must pull these binaries from available Github releases:

curl -L -o mcp-server \
    https://github.com/{org}/{repo}/releases/download/{tag}/mcp-server-bun-darwin-arm64 && \
chmod +x mcp-server

If the repo is a private repo you must add your Github PAT to download a release -H "Authorization: Bearer {GITHUB_PAT}".

{
  "mcpServers": {
    "Todos": {
      "command": "./DOWNLOAD/PATH/mcp-server",
      "args": [
        "start"
      ]
    }
  }
}

For a full list of server arguments, run:

npx -y --package creem -- mcp start --help

Requirements

For supported JavaScript runtimes, please consult RUNTIMES.md.

SDK Example Usage

Example
import { Creem } from "creem";

const creem = new Creem({
  apiKey: process.env["CREEM_API_KEY"] ?? "",
});

async function run() {
  const result = await creem.products.search({
    externalId: "pro-monthly",
  });

  for await (const page of result) {
    console.log(page);
  }
}

run();

Authentication

Per-Client Security Schemes

This SDK supports the following security scheme globally:

Name Type Scheme Environment Variable
apiKey apiKey API key CREEM_API_KEY

To authenticate with the API the apiKey parameter must be set when initializing the SDK client instance. For example:

import { Creem } from "creem";

const creem = new Creem({
  apiKey: process.env["CREEM_API_KEY"] ?? "",
});

async function run() {
  const result = await creem.products.search({
    externalId: "pro-monthly",
  });

  for await (const page of result) {
    console.log(page);
  }
}

run();

Available Resources and Operations

Affiliates
  • createInvite - Create an affiliate invitation
  • listInvites - List affiliate invitations
  • list - List all affiliates
  • retrieve - Retrieve an affiliate
  • listCommissions - List affiliate commissions
Catalog
  • validate - Validate a batch of catalog writes together, without writing anything.
  • promote - Promote the test catalog to live (meters and products).
Checkouts
  • retrieve - Retrieve a checkout session.
  • create - Creates a new checkout session.
CustomerCredits
  • createAccount - Create a customer credits account
  • listAccounts - List customer credits accounts
  • getAccount - Retrieve a customer credits account
  • getAccountBalance - Get account balance
  • listEntries - List account entries
  • freezeAccount - Freeze an account
  • unfreezeAccount - Unfreeze an account
  • creditAccount - Credit an account
  • debitAccount - Debit an account
  • reverseTransaction - Reverse a transaction
  • closeAccount - Close an account
  • postTransaction - Post a transaction
  • listTransactionsByReference - List transactions by reference
  • getTransaction - Retrieve a transaction
  • reverseTransactionById - Reverse a transaction
Customers
  • list - List all customers
  • getOrders - List customer orders
  • listSubscriptions - List customer subscriptions
  • listLicenses - List customer licenses
  • retrieve - Retrieve a customer
  • create - Create a customer
  • update - Update a customer
  • generateBillingLinks - Generate Customer Links
Discounts
  • search - Search discounts
  • get - Retrieve discount
  • create - Creates a discount, or updates the one with the same external_id.
  • update - Update a discount.
  • delete - Delete a discount.
Events
  • ingestEvents - Ingest usage events
  • previewEvents - Preview usage events
  • listEvents - List usage events
Files
  • createUpload - Upload a file
  • confirmUpload - Confirm an uploaded file
Licenses
  • activate - Activates a license key.
  • deactivate - Deactivate a license key instance.
  • validate - Validates a license key or instance.
  • listInstances - List license instances.
Meters
  • createMeter - Create a meter
  • listMeters - List meters
  • previewMeter - Preview an unsaved meter definition
  • getMeter - Retrieve a meter
  • updateMeter - Update a meter
  • previewExistingMeter - Preview an existing meter
  • getConsumedUnits - Get consumed units for a customer
  • archiveMeter - Archive a meter
  • unarchiveMeter - Unarchive a meter
Moderation
  • screenPrompt - Screen a prompt
ProductGroups
  • create - Create a product group
  • list - List product groups
  • get - Retrieve a product group
  • update - Update a product group
  • delete - Delete a product group
  • addProduct - Add a product to a product group
  • removeProduct - Remove a product from a product group
Products
  • search - List all products
  • create - Creates a product, or updates the one with the same external_id.
  • get - Get a product by ID
  • update - Update a product
  • archive - Archive a product
  • listPrices - List the price versions of a product
Splits
  • create - Create a split
  • list - List all splits
  • retrieve - Retrieve a split
  • delete - Delete a split
Stats
  • getSummary - Get store metrics summary
Subscriptions
  • get - Retrieve a subscription
  • search - List all subscriptions
  • cancel - Cancel a subscription.
  • update - Update a subscription.
  • upgrade - Upgrade a subscription to a different product
  • pause - Pause a subscription.
  • resume - Resume a subscription.
Transactions
  • getById - Get a transaction by ID
  • search - List all transactions
  • refund - Refund a payment
Webhooks
  • list - List webhook endpoints
  • create - Create a webhook endpoint
  • get - Retrieve a webhook endpoint
  • update - Update a webhook endpoint
  • delete - Delete a webhook endpoint
  • getSecret - Retrieve a webhook signing secret
  • listPendingEvents - List pending events for a CLI webhook endpoint
  • acknowledgeEvent - Acknowledge a CLI webhook event

Standalone functions

All the methods listed above are available as standalone functions. These functions are ideal for use in applications running in the browser, serverless runtimes or other environments where application bundle size is a primary concern. When using a bundler to build your application, all unused functionality will be either excluded from the final bundle or tree-shaken away.

To read more about standalone functions, check FUNCTIONS.md.

  • affiliatesCreateInvite - Create an affiliate invitation
  • affiliatesList - List all affiliates
  • affiliatesListCommissions - List affiliate commissions
  • affiliatesListInvites - List affiliate invitations
  • affiliatesRetrieve - Retrieve an affiliate
  • catalogPromote - Promote the test catalog to live (meters and products).
  • catalogValidate - Validate a batch of catalog writes together, without writing anything.
  • checkoutsCreate - Creates a new checkout session.
  • checkoutsRetrieve - Retrieve a checkout session.
  • customerCreditsCloseAccount - Close an account
  • customerCreditsCreateAccount - Create a customer credits account
  • customerCreditsCreditAccount - Credit an account
  • customerCreditsDebitAccount - Debit an account
  • customerCreditsFreezeAccount - Freeze an account
  • customerCreditsGetAccount - Retrieve a customer credits account
  • customerCreditsGetAccountBalance - Get account balance
  • customerCreditsGetTransaction - Retrieve a transaction
  • customerCreditsListAccounts - List customer credits accounts
  • customerCreditsListEntries - List account entries
  • customerCreditsListTransactionsByReference - List transactions by reference
  • customerCreditsPostTransaction - Post a transaction
  • customerCreditsReverseTransaction - Reverse a transaction
  • customerCreditsReverseTransactionById - Reverse a transaction
  • customerCreditsUnfreezeAccount - Unfreeze an account
  • customersCreate - Create a customer
  • customersGenerateBillingLinks - Generate Customer Links
  • customersGetOrders - List customer orders
  • customersList - List all customers
  • customersListLicenses - List customer licenses
  • customersListSubscriptions - List customer subscriptions
  • customersRetrieve - Retrieve a customer
  • customersUpdate - Update a customer
  • discountsCreate - Creates a discount, or updates the one with the same external_id.
  • discountsDelete - Delete a discount.
  • discountsGet - Retrieve discount
  • discountsSearch - Search discounts
  • discountsUpdate - Update a discount.
  • eventsIngestEvents - Ingest usage events
  • eventsListEvents - List usage events
  • eventsPreviewEvents - Preview usage events
  • filesConfirmUpload - Confirm an uploaded file
  • filesCreateUpload - Upload a file
  • licensesActivate - Activates a license key.
  • licensesDeactivate - Deactivate a license key instance.
  • licensesListInstances - List license instances.
  • licensesValidate - Validates a license key or instance.
  • metersArchiveMeter - Archive a meter
  • metersCreateMeter - Create a meter
  • metersGetConsumedUnits - Get consumed units for a customer
  • metersGetMeter - Retrieve a meter
  • metersListMeters - List meters
  • metersPreviewExistingMeter - Preview an existing meter
  • metersPreviewMeter - Preview an unsaved meter definition
  • metersUnarchiveMeter - Unarchive a meter
  • metersUpdateMeter - Update a meter
  • moderationScreenPrompt - Screen a prompt
  • productGroupsAddProduct - Add a product to a product group
  • productGroupsCreate - Create a product group
  • productGroupsDelete - Delete a product group
  • productGroupsGet - Retrieve a product group
  • productGroupsList - List product groups
  • productGroupsRemoveProduct - Remove a product from a product group
  • productGroupsUpdate - Update a product group
  • productsArchive - Archive a product
  • productsCreate - Creates a product, or updates the one with the same external_id.
  • productsGet - Get a product by ID
  • productsListPrices - List the price versions of a product
  • productsSearch - List all products
  • productsUpdate - Update a product
  • splitsCreate - Create a split
  • splitsDelete - Delete a split
  • splitsList - List all splits
  • splitsRetrieve - Retrieve a split
  • statsGetSummary - Get store metrics summary
  • subscriptionsCancel - Cancel a subscription.
  • subscriptionsGet - Retrieve a subscription
  • subscriptionsPause - Pause a subscription.
  • subscriptionsResume - Resume a subscription.
  • subscriptionsSearch - List all subscriptions
  • subscriptionsUpdate - Update a subscription.
  • subscriptionsUpgrade - Upgrade a subscription to a different product
  • transactionsGetById - Get a transaction by ID
  • transactionsRefund - Refund a payment
  • transactionsSearch - List all transactions
  • webhooksAcknowledgeEvent - Acknowledge a CLI webhook event
  • webhooksCreate - Create a webhook endpoint
  • webhooksDelete - Delete a webhook endpoint
  • webhooksGet - Retrieve a webhook endpoint
  • webhooksGetSecret - Retrieve a webhook signing secret
  • webhooksList - List webhook endpoints
  • webhooksListPendingEvents - List pending events for a CLI webhook endpoint
  • webhooksUpdate - Update a webhook endpoint

Pagination

Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the returned response object will also be an async iterable that can be consumed using the [for await...of][for-await-of] syntax.

Here's an example of one such pagination call:

import { Creem } from "creem";

const creem = new Creem({
  apiKey: process.env["CREEM_API_KEY"] ?? "",
});

async function run() {
  const result = await creem.products.search({
    externalId: "pro-monthly",
  });

  for await (const page of result) {
    console.log(page);
  }
}

run();

Retries

Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.

To change the default retry strategy for a single API call, simply provide a retryConfig object to the call:

import { Creem } from "creem";

const creem = new Creem({
  apiKey: process.env["CREEM_API_KEY"] ?? "",
});

async function run() {
  const result = await creem.products.search({
    externalId: "pro-monthly",
  }, {
    retries: {
      strategy: "backoff",
      backoff: {
        initialInterval: 1,
        maxInterval: 50,
        exponent: 1.1,
        maxElapsedTime: 100,
      },
      retryConnectionErrors: false,
    },
  });

  for await (const page of result) {
    console.log(page);
  }
}

run();

If you'd like to override the default retry strategy for all operations that support retries, you can provide a retryConfig at SDK initialization:

import { Creem } from "creem";

const creem = new Creem({
  retryConfig: {
    strategy: "backoff",
    backoff: {
      initialInterval: 1,
      maxInterval: 50,
      exponent: 1.1,
      maxElapsedTime: 100,
    },
    retryConnectionErrors: false,
  },
  apiKey: process.env["CREEM_API_KEY"] ?? "",
});

async function run() {
  const result = await creem.products.search({
    externalId: "pro-monthly",
  });

  for await (const page of result) {
    console.log(page);
  }
}

run();

Error Handling

CreemError is the base class for all HTTP error responses. It has the following properties:

Property Type Description
error.message string Error message
error.statusCode number HTTP response status code eg 404
error.headers Headers HTTP response headers
error.body string HTTP body. Can be empty string if no body is returned.
error.rawResponse Response Raw HTTP response
error.data$ Optional. Some errors may contain structured data. See Error Classes.
Example

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 creem

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

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

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

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229