Privacy Policy
Effective date: October 26, 2026 Draft for legal review. Not yet reviewed by a lawyer.
NPXGuard ("NPXGuard", "we", "us") is a LouChi AI product, operated by Louis Davis, doing business as LouChi AI (Alameda County, California). Questions or requests: support@npxguard.dev.
NPXGuard checks npm packages for security risks before you install or run them. This policy explains what we collect, why, who we share it with, how long we keep it, and how to delete it.
The short version
- The NPXGuard CLI sends us only the name (and version) of the package you ask about, plus your API key if you set one. It never sends your code, files, environment variables or command line.
- We store your account details, your API keys (hashed), the packages you scanned and your usage, so the service works and so we can bill you.
- Deep AI analysis sends public npm package code (never your code) to an AI provider.
- You can delete your account yourself at any time in Dashboard → Settings.
- We don't sell your data.
What we collect
Account information
- Email address and password (the password is stored by our authentication provider in hashed form; we never see it), or your Google account's email and name if you sign in with Google.
- The name and workspace name you enter at sign-up (optional).
What you scan and how you use the service
- The npm package names and versions you score or analyze, where the request came from (CLI, CI, dashboard, API, or an AI agent), the result, and when.
- For AI agents using the
/checkendpoint: each allow/block decision (package, policy, score). - Deep-analysis jobs and their results, and whether you asked to be emailed when one finishes (emails go to your account email).
- Package watch alerts you set up, including whether to email you and any webhook URL you give us.
- Usage counters (how many scans and AI analyses you've used this period) and records of AI usage (model, number of tokens, cost).
API keys
- We store a one-way hash of each API key and its first few characters (so you can recognize it). We can't recover the full key.
Your own AI keys ("bring your own key")
- If you add your own AI provider key (paid plans), we store it encrypted and use it only to send your requests to the provider you chose. It is deleted the moment you cancel your subscription, when your plan ends, or when you delete it or your account.
Payment information
- Payments are handled by Stripe, which acts as the merchant of record for NPXGuard subscriptions. Stripe collects your card and billing details; we never see or store your full card number. We store your Stripe customer and subscription IDs, your plan, its status and billing dates.
Assistant (chat) messages
- Messages you send to the dashboard assistant are sent to the AI provider to produce an answer, together with a short summary of your recent scans and usage. We don't currently store assistant conversations.
Technical and security information
- IP address: used to rate-limit requests made without an account (scans, report pages, CLI crash reports). When you're signed in to the dashboard, we keep a hash of your IP address and browser in a cookie, and if either changes we record the new IP address and browser (user agent) in your account's security log.
- Our authentication provider (Supabase) keeps its own sign-in logs, including your email and IP address, for 7 days.
- Error reports (via Sentry). Automatic collection of personal data is off, but reports can include your account ID and a request ID.
- If the CLI crashes, it sends a crash report with the error message, stack trace (with your home directory removed), CLI version, operating system and Node.js version, and nothing else. We forward it to Sentry. Turn this off with
NPXGUARD_NO_TELEMETRY=1. - Product analytics (via PostHog):
- in your browser: pages you visit and clicks on our website, with your IP address and device/browser details; these aren't linked to your account; session recording is turned off;
- from our servers: key product events (for example "scan completed"), linked to your account ID. PostHog sets a cookie and uses your browser's local storage.
Cookies
We use cookies to keep you signed in, to protect forms against cross-site request forgery (csrf_token), to detect a stolen session (sf, a hash of your IP address and browser), and for product analytics (PostHog). We don't use advertising cookies, and we don't sell or share your personal information for advertising. The site works if you block analytics cookies in your browser.
How we use it
To provide and secure the service; to enforce plan limits and prevent abuse; to bill you; to send account emails (sign-in links, password resets, payment problems, plan changes, the notifications you ask for; Stripe sends receipts); to fix bugs; and to understand how the product is used so we can improve it.
If you're in the EU or UK, we rely on: performing our contract with you (running your account, scans and billing); our legitimate interests (security, preventing abuse, fixing bugs, understanding usage); legal obligations (tax and accounting records); and your consent where the law requires it.
AI providers
- Deep AI analysis sends the code changes of a public npm package to Anthropic (Claude) to look for malicious behavior. Your own code is never sent. Results of analyses run on our key are shared across all users (a package's analysis is the same for everyone).
- If you use your own AI key, the request goes to the provider you chose instead (Anthropic, OpenAI, Google, Mistral, DeepSeek, xAI or OpenRouter), under your agreement with them. Results made with your own key are shown only to your account and are never shared.
- Assistant messages go to Anthropic, or to your own provider if you set one up.
Who we share data with
We share data only with the services we use to run NPXGuard. Stripe acts as the merchant of record and handles payment data under its own privacy policy; the others process data on our behalf.
| Service | What for | Data |
|---|---|---|
| Supabase | Database and sign-in | Everything listed above, plus its own sign-in logs |
| Vercel | Hosting | Requests, including IP address, in server logs |
| Stripe | Payments (merchant of record) | Billing details, subscription, receipts |
| Resend | Sending email | Your email address and the email content (welcome, invitation, scan, billing and sign-in emails) |
| Upstash | Rate limiting, job queue, shared analysis cache | Account, workspace, key IDs and IP addresses as counters |
| Anthropic | AI analysis and the assistant | Public package code; your assistant messages |
| Sentry | Error reports, CLI crash reports | Error details, account ID, request ID |
| PostHog | Product analytics | Page views and clicks (with IP and device details), product events with your account ID |
| The AI provider you choose | Your own-key requests | As above |
We may also disclose information if the law requires it. If NPXGuard is sold or merged, your information may be transferred to the new owner under this policy.
How long we keep it
- While your account exists: account details, API keys, scan history, jobs, alerts and usage records.
- Your own AI keys: until you delete them, cancel, your plan ends, or you delete your account.
- Rate-limit counters: expire on their own (from seconds up to about two months).
- Error reports and hosting logs: kept by Sentry for up to 90 days and by Vercel for up to 30 days.
- Analytics: kept by PostHog for up to 1 year; deleted when you delete your account (see below).
- Stripe keeps payment records as required by law.
Deleting your account
Go to Dashboard → Settings → Delete account. This:
- cancels your subscription immediately (no further charges) and deletes your Stripe customer record, which removes saved cards (Stripe keeps the invoices it must keep by law);
- deletes your workspace, your subscription record, usage counters, your own AI keys, API keys, scan jobs, package alerts, preferences, sign-in security records (with IP address and user agent), and any invitations sent to your email;
- deletes your sign-in account;
- deletes your analytics profile and the events linked to your account from PostHog (PostHog removes the events in the background; we complete deletion requests within 30 days).
These records are kept without your name, email or account ID, because we need them for accounting, security and service statistics:
- the AI cost ledger (model, tokens, cost);
- the log of which public npm packages were scanned and their verdicts;
- the security and billing audit trail (for example "API key created" with its first characters, plan changes, and AI agents' allow/block decisions).
Public package scores aren't personal data and stay, since they're shared by everyone. Copies in backups are removed as backups expire (within 7 days). Error reports (which can contain your account ID), hosting logs, Supabase's own sign-in logs and email logs are deleted on those services' schedules (see above).
If you own a workspace that other people belong to, remove them first.
Your rights
Depending on where you live, you may have the right to access, correct, delete or export your data, or to object to some uses. Most of this you can do yourself in the dashboard. For anything else, email support@npxguard.dev. We'll answer within 30 days, and we won't treat you differently for using these rights.
California residents: you have the right to know what personal information we collect (listed above), to delete it, to correct it, and to opt out of its sale or sharing. We don't sell your personal information or share it for cross-context behavioral advertising.
EU and UK residents: you can also restrict processing, and you can complain to your local data protection authority.
Security
API keys are stored hashed, your own AI keys are encrypted, connections use HTTPS, and access to the database is restricted to the server. No system is perfectly secure; tell us at support@npxguard.dev if you find a problem.
Children
NPXGuard isn't meant for children under 16, and we don't knowingly collect their data.
Changes
If we make material changes, we'll update this page and the effective date, and email account holders when the change affects them.