Global keystroke listener combined with data sent to another domain
behavior · 1 item Key listeners on input@document, keydown@document, keypress@document, keyup@document; the browser recorded 9 events, caused by scripts from dev.withcortex.ai, us.i.posthog.com.
Global keystroke listener combined with data sent to another domain| Script | Events | First at | Detail |
|---|
| https://dev.withcortex.ai/_next/static/chunks/0lrf.hx-wi5z1.js | 8 | 2.20 s | input@document, keydown@document, keypress@document, keyup@document |
| https://us.i.posthog.com/static/array.js | 1 | 3.92 s | keydown@document |
Fix: Remove document-level key listeners that forward input; legitimate hotkeys never read password fields.
Facebook Pixel 955812793517630 is set in the response of https://dev.withcortex.ai/ itself (text/html).
Context
ne" src="https://www.facebook.com/tr?id=9558…7630&ev=PageView&noscript=1"/></nosc
Fix: Nothing to change if the pixel is yours; name Meta in the privacy policy and load the pixel only after consent where the law asks for it.
Google Analytics measurement ID
identity · 1 item Google Analytics property G-F9D787F7WE is set in https://dev.withcortex.ai/_next/static/chunks/0sv7d~uwh374j.js (text/javascript).
Context
77f2b20a8840491dd1d20","measurementId":"G-F9D787F7WE"}'),p=null;function g(){return(0,t._)(f Fix: Nothing to change if the property is yours; load analytics only after consent where the law asks for it.
robots.txt points at 1 admin/backup-style path
exposure · 1 item https://dev.withcortex.ai/robots.txt lists: /api/unsubscribe.
Fix: Disallow lines are public and do not protect a path; protect those paths with authentication.
A value named like a secret is assigned in client-side code
values · 1 item A secret-looking value (AIza…TSJs) is written in https://dev.withcortex.ai/_next/static/chunks/0sv7d~uwh374j.js (text/javascript).
Context
h],834096);var v=JSON.parse('{"apiKey":"AIza…TSJs","authDomain":"trycortex-dev.firebaseap Fix: If the value is a real secret, move it to the server and replace it; if it is a public identifier, nothing to change.
Google API key exposed
values · 1 item A Google API key (AIza…TSJs) is written in https://dev.withcortex.ai/_next/static/chunks/0sv7d~uwh374j.js (text/javascript).
Context
h],834096);var v=JSON.parse('{"apiKey":"AIza…TSJs","authDomain":"trycortex-dev.firebaseap Fix: Restrict the key by HTTP referrer and API scope in Google Cloud Console.
1 JavaScript source map referenced in production
page · 1 item - https://us.i.posthog.com/static/array.js.map
Fix: Do not ship .map files or sourceMappingURL comments to production; they expose original source code.
The page posts data to another domain, w2-c9dea2a81a9e4d3c963d5887958afeb5.ecs.eu-west-1.on.aws, before any click (2 requests)
behavior · 1 item POST w2-c9dea2a81a9e4d3c963d5887958afeb5.ecs.eu-west-1.on.aws/events (+ 1 query parameter) · 474 B · 3.79 s · fields event_meta_info, event_name, automatic_parameters, smart_setup, event_id, fb.pixel_id, website_context, fb.fbp
POST w2-c9dea2a81a9e4d3c963d5887958afeb5.ecs.eu-west-1.on.aws/events (+ 1 query parameter) · 449 B · 3.80 s · fields automatic_parameters, smart_setup, custom_data, event_id, fb.pixel_id, website_context, fb.fbp, event_name
The page posts data to another domain, us.i.posthog.com, before any click
behavior · 1 item POST us.i.posthog.com/flags (+ 1 query parameter) · 301 B · 4.06 s
The response has no Referrer-Policy, X-Frame-Options, Permissions-Policy, X-Content-Type-Options, Content-Security-Policy, Strict-Transport-Security
page · 1 item none of the six security headers
Of 3 cookies, 1 lacks Secure and 2 lack HttpOnly
cookies · 1 item without Secure: _fbp · without HttpOnly: _fbp, ph_disabled_posthog
Mail is received via Google Workspace; SPF authorises Google Workspace to send (-all); DMARC p=none; DKIM selectors google, s1, s2
mail · 1 item MX aspmx.l.google.com, alt1.aspmx.l.google.com · v=spf1 include:_spf.google.com -all · v=DMARC1; p=none;
Server accepts a legacy TLS version
certificate · 1 item The server completes a TLS 1.0 handshake (it picks TLS 1.3 when a client offers it).
Fix: Disable TLS 1.0/1.1; allow TLS 1.2+ only.