Skip to content

Stop using sha256(MAC address) for telemetry machine ID #8688

@mmdriley

Description

@mmdriley

Today, getMachineId returns the sha256 hash of the machine's (primary?) MAC address.

There are a few things wrong with this from a privacy perspective.

  1. The MAC address is personally identifiable information. It allows Microsoft to identify a specific user's machine, even well after they've uninstalled Visual Studio Code, and can be easily correlated with other data sources.
  2. Hashing does not anonymize. Microsoft can still look up a user by their MAC address.
  3. MAC addresses are 48 bits, so the sha256 hash is relatively easily reversed to a unique value.

If VS Code wants to identify a given installation, the generally accepted method is to create a random value on first use and persist it.

It appears other Microsoft developers are relying on this worrying precedent, which makes it all the more important that this be fixed soon.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions