matawhenua.com has been scanned once; that scan started this record. Then the findings of the latest scan, each with what to do, and the date each fact was first recorded. The reports themselves are under Scan history.
What to do: Ship plain JavaScript instead of code that builds code at run time (eval, new Function, setTimeout with a string); it also lets a strict Content-Security-Policy be used.
Global keystroke listener combined with data sent to another domain
first seen
Key listeners on input@body,keydown@body,keypress@body,keyup@body,keydown@window,keydown@document; the browser recorded 18 events, caused by scripts from storymaps.arcgis.com.
What to do: Remove document-level key listeners that forward input; legitimate hotkeys never read password fields.
AWS access key ID in client-side code
first seen
An AWS access key is written in https://cognito-identity.us-east-1.amazonaws.com/(application/x-amz-json-1.1), a file served by cognito-identity.us-east-1.amazonaws.com.
The value
ASIAT4UNFFQEUMVUCDPD
What to do: Rotate the key in IAM immediately; never ship cloud credentials in frontend bundles.
Front-end code references an internal or staging host (dev.arcgis.com)
first seen
The development host dev.arcgis.com is referenced in https://storymaps.arcgis.com/_next/static/chunks/47089.5358c40c7bf139ce.js.
What to do: Strip development hosts from production bundles; they reveal internal infrastructure and sometimes expose unprotected environments.
Google API key exposed
first seen
A Google API key is written in the response of https://matawhenua.com/ itself (text/html).
The value
AIzaSyBL63L-mweMpMiPwaI-HXQcgxCPXxJXsY8
What to do: Restrict the key by HTTP referrer and API scope in Google Cloud Console.
The page posts data to another domain, cognito-identity.us-east-1.amazonaws.com, before any click (2 requests)
first seen
Each request, with its time and the fields it sent, is listed in the report of .
What to do: Send data to other domains only after the visitor has agreed to it, and load the tags that send it only then.
150 values are written into the page's scripts, 8 of them named like secrets and shown masked
3 third-partydomains · 212 requests · 24 named, not requested
3 third-party domains receive requests from the page. The page made 212 requests; 5 went to them and 207 stayed on first-party hosts. 24 domains are named in the page or its scripts without being requested.
40 scripts, all first-party · 89 events after load
All 40 scripts load from storymaps.arcgis.com/_next/static/. Their values are listed under Values in the scripts. They reference 4 open-source projects: ajv, crypto-browserify,object-hash and polished.
Key listeners, other behaviour and script files of matawhenua.com
Key listeners
18 on body and window and document listens to keystrokes and sends data to another domain
Also seen
20 clipboard accesses · 12 uses of the Function constructor · 10 storage writes · 5 POST requests · 5 non-GETfetches · 5 focus or visibility watches · 3 workers · 3 history changes · 2 cookie writes · 2 navigations · 2 × console.clear · 2 beforeunload handlers
Hosts built with Google Fontsurl: https://fonts.googleapis.com/css2?family=Noto+Sans+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap
Next.js
Hosts built with Next.jswindow: nextjshtml: <script id="__NEXT_DATA__"script: https://storymaps.arcgis.com/_next/static/chunks/webpack-2f71b922d4a6f872.jsheader x-powered-by:Next.js
matawhenua.com/ → storymaps.arcgis.com/collections/31d1371892cb419ea2aa97e8b57b5059301 · at 0.05 s
Connection
h2 · TLS 1.3 · connect 194 ms · TLS 9 ms · first byte 1,469 ms
Response headers
servercloudflarecontent-typetext/html;charset=utf-8x-powered-byNext.jscache-controlpublic, max-age=3600via1.1 EU (CloudFront)varyCookie,Accept-Encodingalt-svch3=":443"; ma=86400x-cacheMiss from cloudfrontcontent-encodinggzipcross-origin-opener-policysame-origin-allow-popupscross-origin-resource-policycross-origin