Is HARPA AI: Web Automation with ChatGPT, Claude, Gemini, Grok safe?
HARPA AI is medium risk. Opening HARPA's AI chat on a Google Sheets tab and sending a message fetches the full spreadsheet via Google's CSV export API using your session cookies, including rows off screen. The CSV is forwarded to the AI model as chat context.…
Who publishes itHARPA AI TECHNOLOGIES OY - 1 other listing from the same operator, none carrying a finding
HARPA AI TECHNOLOGIES OY - 1 other listing from the same operator, none carrying a finding
Same store account
1 other listing published from this account, 1k+ users between them, none of them carrying a finding.
Shared hosts - 1 hostname
Hostnames hardcoded in this extension that few other listings call. That can mean one operator behind both, and it can equally mean a small shared vendor, so it is context rather than a conclusion. Hosts that many listings call are left out: they are services, not connections.
HARPA AI findings
Full Google Sheet Content Forwarded to AI Backend on Each Chat Message
Opening HARPA's AI chat on a Google Sheets tab and sending a message fetches the full spreadsheet via Google's CSV export API using your session cookies, including rows off screen.
The CSV is forwarded to the AI model as chat context.
What actually happens
You send any AI chat message via HARPA while viewing a Google Sheets document.
This includes the HARPA sidebar, slash commands, and automated agent steps that reference the current page.
The extension fetches the full spreadsheet as CSV using your session, including rows/columns off screen, and includes it in the message sent to the AI model.
The export uses the Google Sheets /export?format=csv endpoint with credentials:'same-origin', which returns all cell data regardless of visibility or scroll position.
Data from your Google Sheet that HARPA includes in the AI chat context
- All visible cell valuesRevenue,Q1,Q2,Q3,Q4\nProduct A,142000,198000,231000,287000
Every cell in the current sheet, regardless of whether it fits on your screen.
- Collapsed from view row contentInternal margin: 43%, Cost basis: $83,000
Rows you have collapsed from view in the sheet view are still included in the export; they are not filtered out.
- Collapsed from view column contentSSN,Employee ID\n***-**-1234,EMP-00392
Columns collapsed from view from view are exported in full alongside visible columns.
- Spreadsheet ID1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms
The unique document identifier embedded in the export URL, which identifies the specific sheet being accessed.
Captured request
200 OK, CSV response containing all rows and columns including those collapsed from view in the current Sheets view (illustrative spreadsheet ID)
- Cookie
- <google session cookies — same-origin>
The code that does this
Sheet export functions in nj-engine.js (shipped vs. annotated)
fetchExportCsv — main export path
// nj-engine.js: fetches the full Google Sheet as CSV using the authenticated sessionasync fetchExportCsv(spreadsheetId, gid) { const url = `https://docs.google.com/spreadsheets/d/${spreadsheetId}/export?format=csv&gid=${gid || this.getActiveGid()}`; const response = await fetch(url, { credentials: 'same-origin' }); // uses Google session cookies if (!response.ok) throw new Error(`GSheets export failed: ${response.status} ${response.statusText}`); return response.text(); // returns full CSV including collapsed from view rows and columns}fetchCsv — alternative path using gviz endpoint
// Alternative CSV export using the Google Visualization API endpointasync fetchCsv(spreadsheetId, options = {}) { let url = `https://docs.google.com/spreadsheets/d/${spreadsheetId}/gviz/tq?tqx=out:csv`; if (options.sheet) { url += `&sheet=${encodeURIComponent(options.sheet)}`; } else { url += `&gid=${options.gid || this.getActiveGid()}`; // defaults to active tab } if (options.range) url += `&range=${encodeURIComponent(options.range)}`; const response = await fetch(url, { credentials: 'include' }); // includes all cookies // ... parses and returns CSV}Reads all your grok.com cookies and sends chats using your Grok login
When Grok is chosen, HARPA reads every grok.com cookie, including the session token and cf_clearance.
It then rewrites Origin and Referer headers so its prompts are sent as you on your signed-in Grok session.
What actually happens
You select Grok as your AI backend in HARPA's settings and send a chat message.
The Grok integration is user-configured; it does not activate unless the user explicitly selects it.
The extension reads all of your grok.com session cookies and registers a request-header rewriting rule that makes extension-originated requests appear to come from grok.com itself.
Cookie collection includes the Cloudflare bot-clearance token (cf_clearance) and cookies stored in partitioned storage. The DNR rule overwrites Origin, Referer, and Sec-Fetch-Site headers on all xmlhttprequest traffic matching grok.com/rest/app-chat/*.
The code that does this
Cookie harvest and header injection in bg.js (shipped vs. annotated)
_getAllCookies — collects all grok.com cookies including partitioned and cf_clearance
// bg.js GrokSessionApi: reads every grok.com cookie the browser holdsasync _getAllCookies() { const seen = new Map; const merge = cookies => cookies.forEach(c => { if (!seen.has(c.name)) seen.set(c.name, c); }); // Standard domain cookies merge(await chrome.cookies.getAll({ domain: '.grok.com' })); merge(await chrome.cookies.getAll({ url: 'https://grok.com' })); // Partitioned (CHIPS) cookies try { merge(await chrome.cookies.getAll({ domain: '.grok.com', partitionKey: { topLevelSite: 'https://grok.com' } })); } catch {} // Cloudflare bot-clearance token specifically (also partitioned) try { const cfCookie = await chrome.cookies.get({ url: 'https://grok.com', name: 'cf_clearance', partitionKey: { topLevelSite: 'https://grok.com' } }); if (cfCookie) seen.set(cfCookie.name, cfCookie); } catch {} return [...seen.values()];}_injectHeaders — builds cookie string and registers DNR header-rewrite rule
// Registers a declarativeNetRequest session rule that rewrites headers on grok.com API trafficasync _injectHeaders() { const headers = []; // Attach all harvested grok.com cookies to every matching request const cookies = await this._getAllCookies(); if (cookies.length) { headers.push({ header: 'cookie', operation: 'set', value: cookies.map(c => `${c.name}=${c.value}`).join('; ') }); } // Spoof browser security headers to make requests appear same-origin headers.push( { header: 'origin', operation: 'set', value: 'https://grok.com' }, { header: 'referer', operation: 'set', value: 'https://grok.com/' }, { header: 'sec-fetch-dest', operation: 'set', value: 'empty' }, { header: 'sec-fetch-mode', operation: 'set', value: 'cors' }, { header: 'sec-fetch-site', operation: 'set', value: 'same-origin' } ); // Apply rule to all XHR traffic matching grok.com/rest/app-chat/* await declarativeNetRequest.register({ key: this._ruleKey, // 'grok-headers' condition: { urlFilter: 'https://grok.com/rest/app-chat/*', resourceTypes: ['xmlhttprequest'] }, action: { type: 'modifyHeaders', requestHeaders: headers } });}Cookies the extension collects from grok.com
- Grok session cookies (sso, etc.)sso=eyJhbGci... (JWT-format session token)
Authentication tokens that identify you as a logged-in Grok user and authorize API access.
- Cloudflare clearance (cf_clearance)cf_clearance=Xbf7kP2..._1751059200.0.0.0
Cloudflare clearance token issued after a browser challenge. Bypasses rate-limiting and anti-bot checks when attached to requests.
- Partitioned storage cookies__Secure-grok-session-partitioned=...
Cookies stored under the Storage Access API partition for grok.com, which may include additional session or preference state.
Captured request
200 OK, streaming NDJSON Grok response read by GrokSessionApi.ask()
- Cookie
- <all grok.com cookies including sso and cf_clearance — set by DNR rule>
- Origin
- https://grok.com
- Referer
- https://grok.com/
- Sec-Fetch-Site
- same-origin
{ "message": "<user's HARPA chat prompt>", "temporary": false, "disableMemory": true, "modelId": "auto", "fileAttachments": [], "imageAttachments": []}ChatGPT Conversation Timestamps Collected and Forwarded to harpa.ai
If HARPA's chatActivity flag is on (10% rollout), an alarm fires daily: HARPA fetches the ChatGPT JWT, reads the last 100 conversations, builds a 7-day histogram with a UUID, attached as the xcs header on every feature call.
What actually happens
A Chrome alarm named 'chat.activity' fires approximately every 24 hours in the background.
The alarm is registered at extension startup when the chatActivity feature flag is enabled server-side.
Fetches the ChatGPT session JWT, reads the last 100 conversations, computes a daily-activity histogram, and attaches it as the xcs header on requests to api.harpa.ai.
A persistent UUID (stored in chrome.storage as chatgpt.uuid) links successive histogram transmissions, enabling harpa.ai to track your ChatGPT activity level across time.
When this fires
Every 1 day
The chatActivity alarm fires once at extension startup (after 1 minute) and then every 24 hours. On each tick it reads your ChatGPT conversation history and updates the histogram sent to harpa.ai.
Data collected from ChatGPT and forwarded to harpa.ai in the xcs header
- Persistent tracking UUIDa3f7c921-4d2b-48e1-b5f3-9a0e7c1d2084
A randomly generated identifier created once and stored permanently, letting harpa.ai link successive activity reports to the same install.
- 7-day conversation count histogram[3, 0, 5, 2, 7, 1, 4] (counts for today through 6 days ago)
Count of ChatGPT conversations updated each day for 7 days, revealing usage frequency even if HARPA was never connected to ChatGPT.
The code that does this
chatActivity collection and transmission in bg.js (shipped vs. annotated)
statsBgController — schedules collection and attaches xcs header
// bg.js: collects ChatGPT activity stats and transmits them to harpa.aiconst statsBgController = { init() { if (!features.enabled('chatActivity')) return; // server-side gate const intervalHours = features.chatActivity?.collectIntervalHours || 24; // Fire once after 1 minute, then every 24 hours chrome.alarms.create('chat.activity', { delayInMinutes: 1, periodInMinutes: 60 * intervalHours }); chrome.alarms.onAlarm.addListener(alarm => { if (alarm.name === 'chat.activity') this._collect(); }); }, async _collect() { if (!features.enabled('chatActivity')) return; // re-check on each tick const token = await this._fetchToken(); if (!token) return; const convData = await this._fetchConversations(token); if (!convData) return; // Build 7-day histogram and store with persistent UUID const buckets = this._computeBuckets(convData.items); storage.chatgpt.activityStats = { uuid: storage.chatgpt.uuid || (storage.chatgpt.uuid = crypto.randomUUID()), data: buckets // e.g. [3, 0, 5, 2, 7, 1, 4] }; }, // Called before every api.harpa.ai/api/v1/feature request _getChatgptStatsHeader() { const stats = storage.chatgpt?.activityStats; if (!stats?.uuid || !Array.isArray(stats.data)) return null; return { xcs: JSON.stringify(stats) }; // attached as HTTP request header }, async _fetchToken() { const resp = await fetch('https://chatgpt.com/api/auth/session', { credentials: 'include' }); return (await resp.json())?.accessToken || null; }, async _fetchConversations(token) { const resp = await fetch( 'https://chatgpt.com/backend-api/conversations?offset=0&limit=100&order=updated', { headers: { Authorization: `Bearer ${token}` } } ); if (!resp.ok) return null; const data = await resp.json(); return data?.items ? data : null; }};External endpoints accessed during the collection cycle
- chatgpt.com
Source of the JWT and conversation list. Extension reads /api/auth/session and /backend-api/conversations on the user's active session, even without connecting HARPA to ChatGPT.
- api.harpa.ai
Receives the 7-day activity histogram and persistent UUID in the xcs request header on every feature-flag polling call (approximately every 3 hours).
+1 more finding not shown
HARPA AI version history
12.2.0
Mar 4, 2026
+14 more
18.0.1
Nov 19, 2026
19.1.0
Nov 27, 2026
19.2.0
Nov 28, 2026
Where HARPA AI sends data
- api.harpa.ai/api/v1/…16 calls
From its background script · only this extension
- chatgpt.com/api/auth/…3 calls
From its background script · 30 other extensions
- chatgpt.com/backend-api/models3 calls
From its background script · 30 other extensions
- region1.analytics.google.com/g/collect3 calls
From a script it injects into websites · 20 other extensions
- api.mixpanel.com/track2 calls
From its background script · 24 other extensions
- cdn.jsdelivr.net/npm/katex@0.16.11/…1 call
From its own pages · 25 other extensions
- csp.withgoogle.com/csp/gws/…1 call
From a script it injects into websites · 2 other extensions
- fonts.googleapis.com/css21 call
From its own pages · 391 other extensions
- fonts.gstatic.com/s/montserrat/…1 call
From its own pages · 329 other extensions
- harpa.ai/login1 call
From a script it injects into websites · only this extension
- ogs.google.com/_/OneGoogleWidgetUi/…1 call
From a script it injects into websites · 2 other extensions
Named inside its requests but not contacted (servers it tested or reported on): app.harpa.ai.
Chrome Web Store listing
- Versions
- 19.2.0 latest of 18 seen since March 4, 2026
- Store rating
- 4.5 from 3,175 ratings
- Last updated
- November 27, 2026
- Size
- 5.94 MiB
- Privacy policy
- harpa.ai
