Scan your whole stack
From OX Research Newsroom
Are you using saasfunnels?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.13.1
saasfunnels was last scanned on 29 Nov 2026 at version 0.13.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.13.1 LATEST | 29 Nov 2026 | No rules fired |
| 0.13.0 | 29 Nov 2026 | No rules fired |
| 0.12.1 | 28 Nov 2026 | No rules fired |
| 0.12.0 | 28 Nov 2026 | Not shown |
| 0.11.0 | 28 Nov 2026 | Not shown |
Findings for v0.13.1. 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 0.13.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The saasfunnels package provides local event and Feature validation, implementation handoffs, customer-safe live diagnostics, and a local stdio MCP server.
This repository contains only the MIT-licensed CLI and its bounded runtime contracts. The SaaSFunnels application, hosted MCP implementation, data layer, environment configuration, and other product packages remain private. See docs/extraction-boundary.md.
Start in your app repository:
npx --yes saasfunnels@latest setup
The explicit version tag avoids running an older project-local CLI. With no key loaded, setup signs you in with the browser: it prints a link and a code, opens the browser, and carries on once you approve (new accounts are created on that page, along with connecting Stripe and your site). It can also load an existing key from Doppler or .env.local. Setup requests approval before uploading findings and shows each discovery stage. It never prints keys, rewrites env files, deploys your app, or approves inferred plans. setup run remains a compatible entry point.
npx --yes saasfunnels@latest login # browser sign-in; --no-browser prints the link only
npx --yes saasfunnels@latest whoami # workspace and key name, never the key
npx --yes saasfunnels@latest logout # revokes the key and deletes it from this computer
The key is saved in ~/.config/saasfunnels/credentials.json (%APPDATA%\saasfunnels on Windows) with owner-only permissions. SAASFUNNELS_API_KEY and --env-file take precedence over it. --save-env .env.local also writes it to that file, but only when git ignores the file.
When a coding agent or CI runs the command (no terminal), it never prompts. It prints the link and code, waits about 90 seconds, and if you haven't approved yet, exits with "Approve in the browser, then run the same command again"; the next run picks up the same code. --json prints one JSON object per line, each with schema_version. --non-interactive (CI) never starts a sign-in.
The CLI sends no usage analytics, so there's nothing for DO_NOT_TRACK to turn off.
For scripts, use --env-file .env.local --send --non-interactive, or inject SAASFUNNELS_API_KEY from your secret manager. Without explicit approval, non-interactive runs stop without uploading. Run setup --help for setup-only guidance. Runtime implementation and payment verification remain in the web Setup.
saasfunnels --help
saasfunnels verify --json
saasfunnels mcp serve
saasfunnels funnels types <funnel_id> --out src/funnel-types.ts # typed steps, answers and buttons
saasfunnels plans discover # propose files, no network call
saasfunnels plans discover --apply # write .saasfunnels/plan-sources.json
saasfunnels plans handoff --integration-id <id> \
--repository-key <repo> --repository-revision <sha> --send
plans discover reads the working tree and proposes files that define plans and
prices. Files that reference a Stripe price are reported as evidence; files that
only look commercial by name and content are reported separately as guesses.
Nothing leaves the machine until .saasfunnels/plan-sources.json lists the files
and plans handoff --send is run. The CLI extracts normalized mapping evidence
locally; source contents stay on your machine. Commit the approval file so the
approved set is reviewable.
- uses: LeadEngine-ai/saasfunnels-cli/action@v0.13.1
with:
api-key: ${{ secrets.SAASFUNNELS_API_KEY }}
cli-version: 0.8.0 # pin it; a floating version rebaselines drift
discovery-roots: app,lib
The Action uploads an existing feature manifest; it does not freshly scan application source. On a pull request the upload is a candidate: the result is compared
against the branch's baseline and discarded. Only the default branch advances
the lineage. Changing discovery-roots starts a new lineage, so drift is
measured against a comparable scan rather than a wider or narrower one.
Plan and pricing upload is opt-in:
plan-sources: "true"
integration-id: <stripe integration id>
It runs only on the default branch, requires a committed
.saasfunnels/plan-sources.json, and fails with an explanation rather than
uploading anything if that file is missing.
Local validation does not require credentials. Live reads use SAASFUNNELS_API_KEY; Direct API smoke events use SAASFUNNELS_INGEST_API_KEY. Set SAASFUNNELS_API_BASE_URL to target a controlled preview or the current SaaSFunnels host.
Hosted interactive MCP uses Clerk OAuth at the application /mcp URL and does not require this CLI or a copied API key.
The application imports the exact versioned MCP registry through the server-side saasfunnels/library export. This keeps hosted Streamable HTTP and local stdio MCP on one package owner; it is not a browser API.
In hosted OAuth, list_workspaces discovers accessible workspace names and IDs. Live read, inspect, and plan tools accept an optional workspace_id. The hosted application must select the sole accessible workspace automatically, require an explicit ID when several are accessible, recheck authorization for every call, and include the selected workspace name and ID in each live response. The application passes the selection through to its developer API as the workspace_id query parameter. Local stdio API-key tools do not expose workspace selection; their key stays pinned to its workspace.
For Funnel discovery, hosted MCP offers list_funnels and get_funnel_state. list_funnels returns at most 50 summaries per page; follow page.hasMore with the next offset to cover the workspace. The app returns the selected workspace and evaluation time with each read. get_funnel_state reports the current lifecycle and publication readiness for one Funnel. These reads do not include Funnel definitions, customer data, or Results. Signals remain supporting evidence and enrollment inputs.
For performance, get_portfolio_results and get_funnel_results use a 7d, 30d, 90d, or 12m reporting window (30d by default). Portfolio rows are paged at 50 Funnels and cover at most the first 100; check page.has_more and funnels_truncated before claiming complete coverage. Stage counts and revenue rows retain their distinct attribution, value basis, and currency. list_opportunities and list_leads return at most 50 records per page with page.total_count and page.has_more; get_opportunity and get_lead return one bounded record. Opportunity reads omit private evidence and money; Lead reads omit personal identity and raw responses. These six reads require hosted OAuth, an accessible selected workspace, and the app's funnels.view role check.
npm ci
npm run release:verify
The package allowlist is enforced as LICENSE, README.md, package.json, the saasfunnels executable bundle, and the typed server-side library bundle/declarations.
Documentation: https://docs.saasfunnels.com/developer-tools/saasfunnels-cli
Support: support@saasfunnels.com
Use saasfunnels setup run from the application repository after creating app credentials in Setup. Load SAASFUNNELS_API_KEY from Developer setup access into the local process environment. Its scopes are developer:read and features:write; it is not a browser or payment-administration key.
The command asks before uploading structured discovery proposals. --send provides explicit non-interactive approval. It coordinates features, pricing extraction, and plan branches, reports progress, and waits for the Stripe catalog. Run saasfunnels setup run --resume after an interruption. Existing accepted stages and customer review decisions are preserved. Coverage questions include a SHA-256 fingerprint of their affected files so changed application behavior can reopen an answer while unrelated file changes keep it. Only the fingerprint and bounded paths are uploaded, never source contents.
The scanner reads supported application files one at a time without the old 500-file, 2 MB repository, or 200-candidate cutoffs. Generated code, tests, and symlinks are excluded. Files over 2 MB and uploads over the server limit stop with a specific recovery message.
Static pricing supports literal spreads, capability/quota maps, unlimited limits, and exact Stripe lookup-key matching. It never executes customer code. Pricing definitions are inspected beyond the first ten filename matches; unrelated helpers do not count as plans.
If extraction is unsupported, .saasfunnels/setup-review.json lists the files and reasons. Correct those declarations or prepare a targeted .saasfunnels/setup-pricing.json patch such as { "plans": [{ "key": "pro", "features": { "export": true } }] }, then start a fresh setup run (changed inputs cannot resume an older run). The CLI fetches the existing normalized evidence as its baseline, including in a fresh worktree. Omitted plans, features, quotas, components, and prices are retained. Source content and credentials are never uploaded.
Patch mode is the default. Components replace only their matching component key; prices change only when explicitly supplied. Use removals: [{ "planKey": "pro", "componentKey": "extra_seats" }] for an exact removal. A full replacement must explicitly use "mode": "snapshot". Removed commercial evidence is held for administrator review, preserving the current review until selected. withdrawDeveloperAnswers takes question IDs; withdrawLifecycle takes {family, subjectKey} identities for explicit withdrawals. Submission and selection do not publish configuration.
CLI 0.5.0 requires Setup contract 4 and stops before creating a run against an older application. Deploy the compatible server and preservation migration before releasing this CLI. Supported 0.4.x installers retain their v3 contract, with server-side completeness and removal guards.
Discovery follows Git ignore rules (including custom build folders) while keeping tracked application sources and new, non-ignored source files. Standalone folders without Git use the standard source filters.
The coding-agent installation handoff can also create .saasfunnels/shared-installation.json with the shared host's source binding, supported entry families, and entryBindings naming each installed application event, API invocation, or lifecycle entry by its exact kind and key. Setup submits that binding once using the existing workspace, integration, environment, and installation revision. It records progress after each accepted stage. If the file is absent, existing workspace installation evidence is preserved; creating another Funnel never requires this file or another catalog upload. The application must still verify the installed host and hooks at runtime before Setup marks them connected.
The command does not implement arbitrary payment code, approve feature access, or verify transactions. Complete Review and verify in Setup after deploying the runtime and payment integration. Requires the server's guided setup API release.
Guided setup proposes supported JavaScript/TypeScript gates and static JS/TS/JSON/YAML catalogs. Tests, fixture/demo scopes, comments, and generic role permissions are excluded. Named capabilities and numeric/unlimited limits remain separate; units, reset periods, and aggregation require review in Setup's existing Plans & pricing editor.
A frontend scan is not evidence of complete backend coverage. Setup flags unsupported application languages, unresolved dynamic access, and optional add-on/capacity/trial declarations. Review these against the actual application's entitlement owner before confirming. Imported or dynamic pricing that cannot be statically resolved needs reviewed literal .saasfunnels/setup-pricing.json evidence or manual configuration; source is never executed. Arbitrary helper names and external services cannot be exhaustively discovered automatically.
Feature configuration must be saved and published in Plans & pricing before Setup can confirm it. Naming an unnamed restriction records a review decision; it does not implement access. A new scanner version may require running without --resume; guided rescans preserve human decisions and leave local generated catalogs untouched.
CLI 0.4.x coordinates with the guided configuration review. Run
npx --yes saasfunnels@latest setup run to submit proposals; workspace
administrators review and publish them in Setup. The developer key never approves
configuration or payment connections.
Supported literal pricing declarations may include quotas with explicit unit,
period, aggregation, and usageSource: "customer_reported", plus components
with exact Stripe product/price IDs, included quantities and quantity sources.
Use quantityBasis: "total" for sources reporting all units, or "additional"
for sources already reporting units above the allowance. Missing semantics require
review rather than guessed defaults.
A coding agent can place reviewed declarations in .saasfunnels/setup-pricing.json
and question explanations in .saasfunnels/setup-answers.json. Explanations are
bounded {id, fingerprint, disposition, reason} records; disposition is
configuration, not_applicable, or unresolved. Configuration answers include
configuration: [{planKey, featureKey}] or [{planKey, componentKey}] referencing
corrected declarations. Required unsupported behavior must remain unresolved.
Corrected configuration belongs in the pricing
file. No source files or credentials belong in either upload.
Changes to those files or application source require a fresh run. Use --resume
only for unchanged interrupted work. The scan identity includes reviewed inputs
and scanner contract version, so accepted old submissions cannot hide corrections.
The plans stage can also submit .saasfunnels/setup-lifecycle.json, a JSON array
of reviewed application findings. The coding agent should inspect the actual
billing and entitlement code and include only established facts with relative
source paths and line numbers. This file is a structured discovery input, not an
authorization to change subscriptions or publish Funnels. It is sent only through
the existing approved setup upload.
Each finding has family, subjectKey, state (supported, not_applicable, or
unknown), provenance, reason, nullable entry/action, and family-specific
terms. For example:
[
{
"family": "trial_conversion",
"subjectKey": null,
"state": "supported",
"provenance": [{ "file": "src/billing.ts", "line": 42 }],
"reason": "Subscription creation configures a trial.",
"entry": null,
"action": null,
"terms": {
"durationDays": 14,
"endBehavior": "paid_conversion",
"paymentRequirement": "required",
"paidPlanKey": "pro"
}
}
]
These example terms are not defaults. Use null/unknown for unresolved terms
and real discovered keys for references. Supported families and their terms are:
trial_conversion: durationDays, endBehavior, paymentRequirement, paidPlanKey.feature_trial: durationDays, endBehavior, paymentRequirement, trialKey; subjectKey identifies the feature.cancellation_save: cancellationTiming.failed_payment_recovery: recoveryAction, providerRecovery.reactivation: restoration, paidPlanKey.seat_expansion and add_on_expansion: quantitySourceKey, quantityBasis, includedQuantity, billingTiming; subjectKey identifies the quantity dimension or add-on.See src/setup-lifecycle-contract.ts for the exact enum values and bounds. Missing
findings do not establish that a journey is unsupported. A supported or
not-applicable finding requires source evidence. Do not infer cancellation,
recovery, restoration or seat semantics from a plan name. Runtime connection
verification always remains a separate application check; submitted connections
are classified as discovered even when a local declaration says tested.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.