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

payback-check

Latest version: v1.0.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: fss3096
0 Stars
0 Forks
2 Versions
JavaScript Repo language

Scan summary

payback-check was last scanned on 26 Nov 2026 at version 1.0.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 26 Nov 2026.
  • Findings: No rules fired in version 1.0.0.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.0 LATEST 26 Nov 2026 No rules fired
0.0.0-stage 26 Nov 2026 Not shown

No rules fired in 1.0.0

Findings

Findings for v1.0.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 1.0.0; other versions have their own rules, not their own score.

README

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

payback-check

Give it a few numbers about a business and it works out the unit economics. If something looks weak, it tells you in plain English.

Try it

npx payback-check --price 500 --cost 200 --cac 3000 --churn 8 --fixed 150000
Margin per customer per month   ₹300
Average customer lifetime       12.5 months
Lifetime value (LTV)            ₹3,750
Payback period                  10 months
LTV : CAC                       1.25
Break-even customers            500

Warnings
- LTV is only 1.25 times CAC. A common rule of thumb is at least 3.

Inputs

Flag Meaning Allowed
--price monthly revenue per customer above 0
--cost monthly variable cost per customer 0 or more
--cac cost to get one customer above 0
--churn percentage of customers lost each month above 0, up to 100
--fixed monthly fixed costs (optional) 0 or more

Type numbers without commas or the rupee sign: 150000, not 1,50,000.

Use it in code

npm install payback-check
import { calculate } from 'payback-check';

const result = calculate({ price: 500, cost: 200, cac: 3000, churn: 8 });
console.log(result.ltv);      // 3750
console.log(result.warnings); // array of strings

It returns margin, lifetimeMonths, ltv, paybackMonths, ltvToCac, breakEvenCustomers and warnings. It throws an error if an input is missing or not allowed. paybackMonths is null when the margin is 0 or less. breakEvenCustomers is also null if you leave out fixed.

Formulas

  • Margin = price - cost
  • Lifetime in months = 100 / churn
  • LTV = margin x lifetime
  • Payback in months = cac / margin
  • LTV : CAC = LTV / cac
  • Break-even customers = fixed / margin, rounded up

When it warns you

  • The margin is 0 or less. This is then the only warning.
  • Payback takes longer than the average customer stays.
  • LTV is less than 3 times CAC.
  • Payback takes more than 12 months.

The last two are rules of thumb. What counts as healthy depends on the business.

Limits

  • LTV is the simple version. It does not discount future money.
  • Break-even does not include what you spend on getting customers.
  • All inputs are monthly, and churn is assumed to stay the same.
  • Output is in rupees only.

Needs Node 18.3 or newer.

Licence

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 payback-check

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

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Vulnerability Insights

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

Frame 2085668439 (1)
Group 1261154229