NomicFoundation / hardhat-vscode

Solidity and Hardhat support for Visual Studio Code
https://hardhat.org
MIT License
163 stars 36 forks source link

Improve exception handling user data scrubbing #485

Open kanej opened 1 year ago

kanej commented 1 year ago

Sentry data collection uses the anonymized machineId when reporting exceptions. However, because we capture unexpected exceptions these can capture user home directory names, if there is a filesystem exception for instance.

Sentry has data scrubbing options: https://docs.sentry.io/platforms/node/data-management/sensitive-data/?original_referrer=https%3A%2F%2Fduckduckgo.com%2F

There does not appear to be a quick way of resolving this based on the above, instead a hand-coded approach is likely needed. The first step is a further investigation of the options.