Security & Data Flow
Audience: Chrome Web Store reviewers, agency InfoSec teams, and security researchers · Last reviewed 19 May 2026 · Version 1.0.1
1. Single purpose statement
FBA Profit Coach helps Indian Amazon FBA sellers calculate accurate landed cost + GST + FBA margin by overlaying an on-page calculator on amazon.in product detail pages. All other features (saved-ASIN tracker, AI listing rewriter, agency multi-client workspaces, custom fee-card upload, PDF reports) exist to support that single workflow.
2. What we read
The content script runs only on amazon.in pages, and only after the user explicitly grants the optional host permission via Chrome's standard runtime prompt.
| Field | Source | Purpose |
|---|---|---|
| ASIN, title, price, category, weight, dimensions, BSR | DOM (publicly visible) | Margin calculation inputs |
| Bullets (up to 5) | DOM | AI Listing Coach input |
| Star rating, review count | DOM | Listing-quality signal |
We never read: Seller Central, private inventory, customer PII, any non-amazon.in domain.
3. Permission justifications
sidePanel
Required to display Tracked Products, Settings, License, Team (Agency), and Custom Fee Card (Enterprise) panels in Chrome's side panel.
storage
Required to persist saved ASINs, workspace data, audit log, license tier, daily quota counter, brand theme, and API-key hash ledger. All on the user's device via chrome.storage.local only.
scripting
Required to programmatically register the amazon.in content script after the user explicitly grants host permission. No auto-injection on install.
optional_host_permissions: *://*.amazon.in/*
Marked optional. User must click "Allow" on Chrome's runtime prompt before the content script registers.
We do NOT request:
4. What leaves your device
| Trigger | Payload | Destination |
|---|---|---|
| Activate license | License key + random machine ID | Firebase Function verifyLicense (asia-south1) |
| AI Listing Coach (Pro / Agency) | Public competitor copy + license key | Firebase Function → Google Gemini API |
| Studio / Agency BYOK path | Profile data + user's own Gemini key | Google Gemini API directly — never our server |
| White-label PDF (Agency) | Client report HTML | Firebase Function → Puppeteer |
| Team invite | Inviter UID, invitee email, role | Firebase Function → Resend |
| Drift alert (Pro+) | ASIN + price delta | User-supplied Slack/Zoho webhook |
| Enterprise API access | Bearer pck_live_<hex> | Firebase Function workspaceApi |
| Purchase | Email + payment | Lemon Squeezy (Merchant of Record) |
We never:
- Submit forms on amazon.in or Seller Central
- Click, type, or interact with Amazon UI on your behalf
- Bypass, manipulate, or under-report Amazon fees
- Transmit sourcing costs to our server
- Transmit BYOK Gemini keys to our server
- Use cookies, third-party analytics, or tracking pixels
- Sell, share, rent, or monetise user data
5. India FBA fee table — source of truth
Fee tables in lib/fee-tables.json are derived from publicly published Amazon India schedules (last refreshed 16 March 2026, source URLs cited in the JSON header). Every margin number is labelled "Estimated — verify in Seller Central Fee Preview" in the UI. Enterprise customers can upload a custom Amazon SPN rate-card that overrides public defaults — that card stays in their own workspace document only.
6. Compliance posture
| Standard | Posture |
|---|---|
| Chrome Web Store User Data Policy | Compliant — no broad host perms, no transmission of sourcing data or BYOK keys |
| Amazon AUP & ToS | Compliant — read-only on public PDP, no Seller Central automation, no scraping infra |
| India DPDP Act 2023 | Compliant — data residency in Mumbai, export/deletion endpoint, no third-party tracking |
| GDPR (EU) | Compliant — Lemon Squeezy MoR handles EU buyers |
| GST (India) | Lemon Squeezy issues GST-compliant invoices on every transaction |
7. Local data lifecycle
| Data | Retention | Deletion trigger |
|---|---|---|
| Saved ASINs + notes | Until removed or uninstalled | User remove / bulk delete / uninstall |
| Workspace + seats + audit log | Same | Same; audit log ring-buffered at 5000 entries |
| Daily quota counter | Auto-reset every UTC midnight | Date rollover |
| License key | Until deactivated or uninstalled | User deactivation / cancellation via Lemon Squeezy |
| API key hash ledger | Until revoked (raw keys never stored) | User revokes via Settings → API Access |
Uninstalling wipes everything from the user's machine. Server-side residue: license activation record (subscription lifetime + 90 days) and Agency workspace metadata in Firestore.
8. Subprocessors
| Service | Purpose | Region |
|---|---|---|
| Firebase (Google) | Auth + Firestore + Cloud Functions | asia-south1 (Mumbai) |
| Google Gemini API | LLM inference (Pro / Agency proxy; BYOK direct) | Google global |
| Lemon Squeezy | Payments + MoR tax + GST invoicing | US-based |
| Resend | Transactional email | EU (configurable to US) |
| Slack / Zoho (user-configured) | Drift alert webhooks | User's own infra |
9. Reporting a security issue
Email yogesh@pixelforgehub.pro with [SECURITY] in the subject line. We respond within 24 hours IST. Responsible disclosure: please do not publish the issue until we have had 14 days to investigate and patch.
10. Open-source / inspection
Source code is available for inspection on request to verified Chrome Web Store reviewers, enterprise customers under NDA, and security researchers. Per-release SHA-256 manifest is published alongside each CWS submission.