Hiro 路 Report #541760
Blockstack Browser For Mac leaks "Core API Password" to 3rd parties
Informativestatus
lowseverity
8upvotes
31 Oct 2025disclosed
How it was found
Hi Blockstack! 馃槂 I noticed that BlockStack Browser for Mac version is leaking the CoreAPIPassword via Referer Header to several websites:
- appco.imgix.net (a third party site!) F471236
- api.app.co (seems to have some blockstack affiliation?) F471235
- browser-api.blockstack.org F471237
Steps to Reproduce:
- Download https://github.com/blockstack/blockstack-browser/releases/download/v0.36.1/Blockstack-for-macOS-v0.36.1.dmg
- Install the dmg
- Fire up a Proxy like BurpSuite
- Configure your browser to use Burpsuite as it's Proxy and remove the localhost/127.0.0.1 proxy exception so that ALL traffic destined for localhost is also passed through the proxy.
- launch the blockstack app. Visit http://localhost:8888/sign-up in your browser of choice (I tested with FireFox 66.0.3 64 bit) on Mac OS 10.14.4
- observe outbound connections to the 3 sites listed above.
To Resolve:
- Include a Referer-Policy header in BlockStack Browser to not leak the CoreAPIPassword. https://www.owasp.org/index.php/OWASP_Secure_Headers_Project#rp
- Better to Not pass sensitive data in URL params at all: full URL's are usually logged in plaintext LoadBalancer logs (you can confirm this by checking your Cloudflare or the access logs for browser-api.blockstack.org), Analytics and tracking services and sometimes in other unexpected places.
References:
- https://www.owasp.org/index.php/Information_exposure_through_query_strings_in_url
- https://www.owasp.org/index.php/OWASP_Secure_Headers_Project#rp
Impact
- compromise or accidental exposure of any of the sites, loadbalancer logs, or tracking services used on the listed sites would expose BlockStack users' CoreAPIPasswords.
- This leakage of the CoreAPIPassword contradicts public statements by a BlockStack Engineer regarding the CoreAPIPassword (https://forum.blockstack.org/t/seriously-blockstack-core-api-password-is-plaintext-in-api-settings/2272)