fix: block telemetry endpoint from pointing at internal hosts

This commit is contained in:
Linus Rath
2026-04-28 17:16:30 +02:00
parent 0f3b506604
commit 81d8465a79
4 changed files with 134 additions and 2 deletions
+4
View File
@@ -4,6 +4,10 @@ export {
loadState, saveState, getInstanceId, effectiveConsent,
} from './state';
export { recordLogin, getLoginCounts } from './login-tracker';
export {
validateEndpointUrl, resolveEndpointAllowed, isPrivateAddress,
} from './endpoint-guard';
export type { EndpointCheck } from './endpoint-guard';
export type {
TelemetryPayload, TelemetryStateFile, ConsentState,
Platform, OsFamily, CountBucket, TelemetryFeatures,