Skip to content

Commit bfdf4b6

Browse files
committed
update comments
1 parent d84c793 commit bfdf4b6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/unit/telemetry.test.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -358,13 +358,14 @@ describe("Telemetry", () => {
358358
session.keychain.register("secret-token", "password");
359359
session.keychain.register("secret-password-version", "password");
360360

361+
// Simulates sensitive data across random properties
361362
const sensitiveStaticProps = {
362363
mcp_server_version: "secret-server-version",
363364
mcp_server_name: "secret-server-name",
364-
platform: "linux-secret-password", // OS info might contain sensitive paths
365-
arch: "x64-secret-key", // Architecture info might contain sensitive details
366-
os_type: "linux-secret-token", // OS type might contain sensitive info
367-
os_version: "secret-password-version", // OS version might contain sensitive details
365+
platform: "linux-secret-password",
366+
arch: "x64-secret-key",
367+
os_type: "linux-secret-token",
368+
os_version: "secret-password-version",
368369
};
369370

370371
telemetry = Telemetry.create(session, config, mockDeviceId, {

0 commit comments

Comments
 (0)