Skip to content

Commit

Permalink
improvement: add description for enableWebxdcDevTools
Browse files Browse the repository at this point in the history
  • Loading branch information
WofWca authored and Simon-Laux committed Sep 14, 2023
1 parent 1ad6e2e commit d924ad2
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ export function SettingsExperimentalFeatures({
{renderDTSettingSwitch({
key: 'enableWebxdcDevTools',
label: 'Enable Webxdc Devtools',
// See https://delta.chat/en/2023-05-22-webxdc-security,
// "XDC-01-004 WP1: Data exfiltration via desktop app DevTools"
//
// Although thanks to another hardening measure this shouldn't be
// easy to pull off. Namely, direct internet access is sort of
// disabled for the Electron part of the app:
// 853b584251a5dacf60ebc616f7fb10edffb5c5e5/src/main/index.ts#L12-L21
description:
'Careful: opening developer tools on a malicious webxdc app could lead to the app getting access to the Internet',
})}
<SettingsSelector
onClick={onClickEdit.bind(null, false)}
Expand Down

0 comments on commit d924ad2

Please sign in to comment.