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

@dainamite/cpq-billing-connector

Latest version: v5.3.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: dainamite-acc, kamyyylo
1 Stars
0 Forks
6 Versions
1.4K Downloads
TypeScript Repo language

Scan summary

@dainamite/cpq-billing-connector was last scanned on 26 Nov 2026 at version 5.3.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 6 versions; the latest was published on 26 Nov 2026.
  • Findings: No rules fired in version 5.3.0.
  • Downloads: 1,399 downloads.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
5.3.0 LATEST 26 Nov 2026 No rules fired
5.2.0 16 Nov 2026 No rules fired
5.1.0 16 Nov 2026 No rules fired
3.0.0 11 Nov 2026 Not shown
2.0.0 10 Nov 2026 Not shown

No rules fired in 5.3.0

Findings

Findings for v5.3.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 5.3.0; other versions have their own rules, not their own score.

README

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

@dainamite/cpq-billing-connector

Pre-built integration that wires @dainamite/cpq subscription lifecycle events to @dainamite/billing API calls.

It depends on both @dainamite/cpq and @dainamite/billing (as peers) and must be registered after both so their services are resolvable when its subscribers fire:

// src/modules.ts — order matters
{ id: 'cpq', from: '@dainamite/cpq' }
{ id: 'billing', from: '@dainamite/billing' }
{ id: 'cpq_billing_connector', from: '@dainamite/cpq-billing-connector' }
yarn generate
yarn mercato db migrate

It ships one table (cpq_billing_connector_order_setups) and one UI: the Billing tab on the CPQ order detail page (see below). Everything else is event glue. Engines: Node ≥ 24.

The connector subscribes to six CPQ lifecycle events and translates each to the billing API contract:

CPQ event Connector action
cpq.subscription.activated Resolve the Billing Account from the order billing setup (or reuse / create one); create Billing Items per charge (one-time + recurring split) with the per-line bill start
cpq.subscription.amended Create new Billing Items for added subscription items on the subscription's own account (billing prorates); set bill_end_date on removed items
cpq.subscription.renewed Extend bill_end_date on Billing Items that run to the old term end; end the Items of removed subscription items the day before the new term; create new Items for any added subscription items
cpq.subscription.cancelled Set bill_end_date on all Billing Items for the subscription
cpq.subscription.merged Move Billing Items from source subscriptions to the merged subscription (update subscription_id)
cpq.subscription.superseded Set bill_end_date on all Billing Items for the superseded subscription

Order billing setup (Billing tab)

Spec: .ai/specs/2026-11-15-cpq-billing-connector-order-billing-setup.md.

CPQ exposes a neutral injection spot, cpq.order.detail:tabs. The connector fills it with a Billing tab, editable while a new-sale order is draft / pending_activation:

  • Billing account. Use existing lists only active accounts of the customer in the order's currency (one candidate is preselected). Create new is prefilled from the sales order's customer snapshot; only the fields the operator changes are stored as overrides.
  • Bill start. One default for the order (empty = activation date) plus an optional date per line. Effective bill start of a line: line override → CPQ service start → order default → activation date.

Amend / renew orders show only the bill start of the lines they add (empty = the effective date for amend, the new term start for renew); those lines always bill to the subscription's existing account. Multi-subscription (merge) renewals are not covered.

Saving is optional — without a saved setup, activation uses the customer's data, reuses the newest matching account, and bills from the activation date. Activation records the account it used (applied_at), which makes the setup read-only and keeps a re-fired event on the same account.

API GET / PUT /api/cpq_billing_connector/order-setups/:orderId
Command cpq_billing_connector.order_setup.save (undoable)
ACL cpq_billing_connector.order_setup.view, cpq_billing_connector.order_setup.manage
DI cpqBillingOrderSetupService

Without the connector, CPQ's spot stays empty and the order page looks as it always did — CPQ never references billing.

Status

Built — publishing soon (alongside @dainamite/billing; not yet on npm). All six subscribers are wired end-to-end — @dainamite/cpq emits the matching events (cpq.subscription.activated on new-sale activation, the ARC events on amend / renew / cancel / merge). Proration math lives in this package: the amended subscriber derives the bill cycle from the billing account via billing's cycleContaining (CPQ stays neutral on billing-calendar semantics).

See specs/implementation/xd-249-billing-spec.md § CPQ Integration for the full design.

License

MIT

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 @dainamite/cpq-billing-connector

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

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229