npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vendorprint

v0.5.0

Published

A careful, evidence-first CLI for discovering company technology signals in public DNS.

Readme

vendorprint

vendorprint builds an evidence-backed vendor fingerprint from public DNS. It is a Node.js CLI that checks for:

  • the inbound email provider or security gateway;
  • recursive SPF, DMARC, and conventional plus evidence-guided DKIM selectors;
  • self-identifying TXT ownership proofs for SaaS products;
  • authorized third-party email senders and DMARC monitoring vendors;
  • short CNAME chains and delegated sending subdomains attributable to GTM vendors;
  • evidence-ranked profiles across sales engagement, CRM, marketing automation, customer data, analytics, support, education, events, payments, and delivery.

Demo and documentation

The product site includes an interactive sample replay and complete CLI documentation. The replay does not make browser-side DNS or website requests.

Why the result is a signal, not a verdict

The useful sales-engagement clue is a custom tracking subdomain whose CNAME target identifies a vendor. SPF and DKIM generally describe the connected mailbox provider, not the sequencing product. A positive CNAME is strong setup evidence, but it can be stale. A negative result is inconclusive because DNS cannot list arbitrary subdomains, the customer chooses the label, a proxy can hide the CNAME, or branded tracking can be disabled.

Run instantly

Node.js 20 or newer is the only requirement. Run a scan without installing a global command:

npx vendorprint@latest example.com

To keep the vendorprint command available globally:

npm install --global vendorprint
vendorprint --help

To use the library API from a Node.js project:

npm install vendorprint

Run

npm test
vendorprint example.com another.example
vendorprint example.com --full --pretty
vendorprint --input accounts.txt --output findings.json
vendorprint --input accounts.txt --format ndjson \
  --output findings.ndjson
vendorprint signatures --pretty
vendorprint signatures audit findings.ndjson --pretty
vendorprint diff prior.json current.json --pretty

The default output is a result-first JSON report: observed email and technology providers, confidence, relationship level, evidence, and caveats. It omits the candidate labels searched, raw DNS answers, query budgets, and empty technology categories. Use --full when you need that forensic scan detail.

This output choice is separate from scan depth. --mode full is still the accuracy-first scan default; balanced and fast remain explicit opt-ins for cases where reduced coverage is acceptable.

Input files may be comma-, space-, or newline-separated. To use a commented file:

rg -v '^\s*(#|$)' examples/accounts.txt |
  vendorprint --stdin > findings.json

If you know a company's naming convention, add candidate labels:

vendorprint sample.example \
  --labels news,updates,teamname,brandname

The output is formatted JSON on stdout unless --output is supplied. Diagnostics and CLI errors go to stderr, so redirecting stdout is safe. --pretty remains accepted for backwards compatibility and for the offline utility commands.

For large jobs, use NDJSON. Each completed domain is appended immediately, which keeps memory bounded and creates a durable checkpoint:

vendorprint --input accounts.txt --format ndjson --output findings.ndjson

# If the process is interrupted, rerun with the same original input:
vendorprint --input accounts.txt --resume findings.ndjson

Resume reads both full and compact result events, skips normalized domains already present, tolerates a final partially written line, and appends the remaining results. New output files are created without overwriting an existing file.

The default discovery view returns only non-empty arrays under technologyProfile, including aiWorkspaces, crm, salesEngagement, marketingAutomation, advertisingAndAbm, customerData, productAnalytics, customerSupport, customerSuccessAndEducation, eventsAndWebinars, meetingIntelligence, commerceAndPayments, emailDelivery, and businessSoftware. The profile also separates websiteAndContent, brandAndCreative, identityAndAccess, securityAndCompliance, and itServiceManagement. --findings-only remains as a backwards-compatible alias for this default. --full additionally includes the inference graph, deterministic technology fingerprint, raw DNS records, and scan diagnostics.

Each technology result retains the evidence, strongest confidence, product scope, relationship level, and a caveat. The relationship levels are: domain_relationship for ownership TXT records, sending_authorization for SPF, and platform_configuration for attributable CNAMEs. For example, an OpenAI ownership TXT record is useful evidence of an OpenAI domain relationship, but it does not by itself prove ChatGPT Enterprise. Likewise, a Salesforce-hosted custom domain proves Salesforce platform use without proving that Sales Cloud seats are active. Salesforce Marketing Cloud Engagement configuration also produces a medium-confidence Salesforce CRM inference, explicitly labeled inferred, because it proves a Salesforce customer relationship without directly proving Sales Cloud.

The inference graph never silently converts compatibility into an observed product. For example, Marketo produces a CRM candidate set containing Salesforce, Microsoft Dynamics 365, Veeva, and other/no native CRM. Independent CRM DNS evidence marks a candidate as corroborated and raises the candidate-set confidence, but the other possibilities remain because co-presence does not prove an enabled integration.

Library API

The scanner can be imported without invoking the CLI:

import { scanDomains } from "vendorprint";

const report = await scanDomains(["example.com"], {
  concurrency: 4,
  maxInflightDns: 32,
  qps: 100,
  // dnsTransport: "https", // opt in to Google DNS-over-HTTPS
});

scanDomainEvents() exposes the same scanner as an async iterator for completion-order streaming:

import { scanDomainEvents } from "vendorprint";

for await (const event of scanDomainEvents(domains)) {
  // meta, then one result per completed domain, then summary
  process.stdout.write(`${JSON.stringify(event)}\n`);
}

Signature catalog and offline maintenance

Signatures live in a versioned registry, and each scan identifies the catalog version it used:

vendorprint signatures --pretty

Audit an existing full JSON or NDJSON scan without making network requests. For discovery runs, retain the diagnostic fields and redacted unknown TXT keys:

vendorprint --input accounts.txt --full --include-unclassified \
  --format ndjson --output findings.ndjson

The audit ranks unmatched TXT keys and CNAME, MX, SPF, DKIM, and delegated-NS target domains. Counts are distinct scanned company domains, deduplicated across records and repeated scans. SPF includes/redirects include observed recursive references. Targets are grouped by registrable domain; tenant labels and first-party targets are omitted. TXT values are never included. Some variable verification-key suffixes are grouped for discovery, without assigning a vendor:

vendorprint signatures audit findings.ndjson --pretty

Audit schema 1.1 changes count from observations to distinct domains and groups spfMechanisms by registrable target domain. Compact scan output lacks the diagnostics needed for a complete audit. An unmatched pattern is a research lead, not an automatically learned signature. Validate it against vendor documentation and separate domains before updating the registry.

The 1,000-domain business-software research pass adds documented signals for Docusign, Twilio, Cloudflare Dashboard SSO, Lovable, PandaDoc, Remote, Sage Intacct, Snowflake, and Auth0, plus Statuspage CNAME and SPF coverage. These identify published configuration or domain relationships, not active usage or licensed editions.

Compare two JSON reports to identify category/provider additions and removals:

vendorprint diff before.json after.json --pretty

Optional certificate transparency discovery

--ct asks a third-party public certificate-transparency index for direct subdomains, then validates the resulting labels with DNS. It is disabled by default, limited to 100 domains per run, waits at least 500ms between index requests, rejects index responses larger than 5 MiB, and never contacts company web endpoints.

vendorprint --input accounts.txt --ct \
  --ct-cache .vendorprint-ct-cache.json \
  --output findings.json

Use a cache and small batches. Certificate data can be stale, and a certificate name alone never becomes a technology finding without live DNS corroboration.

Coverage and operational notes

  • Full mode prioritizes the base CNAME, supplied hostnames, www, and 50 common tracking, trust-center, help, community, education, and hosted-content labels, plus adaptive SPF, CNAME, DKIM, and delegated-NS checks. It is the default.
  • --mode fast uses 11 labels, including trust: 16 initial queries per domain.
  • --mode balanced uses 27 labels, including trust, security, and trustcenter: 32 initial queries per domain. Fast/balanced omit common DKIM selectors; SPF-guided DKIM and other adaptive queries may still run.
  • Vanta, SafeBase, and Drata trust centers are recognized by vendor-specific CNAME targets. A trust hostname or generic CDN target alone never identifies them. These findings describe trust-center hosting, not certification or licensed compliance modules. See the DNS research.
  • URLs and hostnames are normalized to their registrable company domain using the Public Suffix List. Use --preserve-hostname only when a specific delegated hostname should be scanned.
  • TXT verification records are often self-identifying (openai-domain-verification, slack-domain-verification, and similar). Their tokens are intentionally redacted. A live record proves that the domain was configured with that service, not that seats are paid, assigned, or recently active.
  • Generic verification-looking TXT records are excluded from named vendor evidence. --include-unclassified exposes them in a separate diagnostic array.
  • --concurrency 4 controls how many account domains run at once.
  • --timeout 1800 controls the resolver attempt timeout.
  • DNS uses the system's configured recursive resolver by default. Use --dns-transport https (or dnsTransport: "https" in the library) when native DNS is unavailable. This sends queried names to Google's public DNS-over-HTTPS service at https://dns.google/resolve. It honors HTTPS_PROXY/https_proxy and NO_PROXY/no_proxy; proxy credentials in the URL are supported. A failed HTTPS lookup is reported as a query error, with no silent fallback to the system resolver. Query caps, concurrency, retries, and --timeout still apply. The proxy and DoH service must be reachable; enabling HTTPS does not guarantee network access.
  • The default domain concurrency is four and the CLI rejects values above 12.
  • Each domain has a hard budget of 80 DNS attempts, no more than four logical queries in flight, and at least 25ms between per-domain query starts. A global default ceiling of 32 in-flight attempts and 100 starts per second protects the configured recursive resolver across concurrent domains.
  • Only MX, apex TXT, DMARC, and nameserver lookups receive one retry after a non-absence resolver failure. The retry reserve is included in the 80-attempt budget. Extra candidate labels are safely skipped when the budget is exhausted and reported in querySafety.
  • Recursive SPF follows include and redirect terms with a maximum of ten recursive lookups.
  • Positive CNAME answers can be followed for up to three hops. Delegated sending subdomains and evidence-guided DKIM selectors are checked only in full mode and remain inside the same hard budget.
  • A deterministic nonexistent-label preflight identifies wildcard DNS. Wildcard records can create irrelevant answers, but a vendor is emitted only when the CNAME target matches a supported vendor domain.
  • Wildcard-like CNAME answers are collapsed to one observation and reported in cnameDiagnostics, preventing dozens of guessed labels from inflating evidence.
  • Cloudflare-proxied records often expose only A/AAAA records and therefore hide the upstream CNAME.
  • vendorprint performs DNS lookups only; it does not request company websites, tracking endpoints, login pages, or application APIs.
  • See Responsible use before scanning at scale.

Sources behind the confidence model

Reproducible results

JSON reports and NDJSON metadata/summary events include packageVersion and signatureCatalogVersion, including compact output. Keep both with saved results; DNS records and signature interpretation can change independently. Older reports without version metadata remain readable and are not relabelled with the current version.

For restricted networks, use --dns-transport https to query Google DNS-over-HTTPS. It changes the DNS transport; it never visits company websites.

For discovery audits, retain full output and redacted unmatched-key diagnostics:

vendorprint --input accounts.txt --full --include-unclassified --format ndjson --output findings.ndjson
vendorprint signatures audit findings.ndjson --pretty

Browse the signature catalog for record families, scopes, confidence, and available sources. Coverage benchmarks describe a specific cohort and scan date, not vendor-detection accuracy or paid adoption.

Hostname coverage and scan completeness (0.5.0)

URL inputs retain their exact hostnames as DNS candidates while findings are grouped by registrable company domain. For example, vendorprint https://try.example.com/offer example.com scans one company, checks try.example.com, the base CNAME, and www.example.com, then the usual labels. No page is loaded. --preserve-hostname also checks the supplied hostname's own CNAME.

For research-derived names, supply a JSON file:

{"example.com": ["try.example.com", "join.campaign.example.com"]}
vendorprint example.com --hostname-hints hosts.json

The library accepts the same map as hostnameHintsByDomain. Hints must belong to their specified scan domain; unrelated names are rejected. Hints augment requested accounts rather than scheduling new accounts. Exact names precede guessed labels and share the 80-attempt budget, including nested wildcard checks. Excess names are reported as skipped. Query results retain the exact evidence hostname. Start a new output file after changing hints or package version: resume skips completed domains rather than rechecking them.

Every fresh result includes observedAt and scanCompleteness, including compact JSON and NDJSON. scanCompleteness.status is complete or partial for the bounded checks only. Reasons can include query_budget, dns_errors, spf_lookup_limit, cname_depth_limit, and discovery_errors. The object includes query attempts/limit, skipped hostnames, budget-blocked queries, and DNS error codes. Legacy status: "ok" describes DNS response availability and does not imply complete coverage. Finding confidence remains independent; absence is always inconclusive.

Validated research adds Smartsheet, Dynatrace, TeamViewer, and Adobe Acrobat Sign verification records as domain relationships. Wiz, Perplexity, Wrike, and ABM candidates remain unclaimed pending stronger attribution.