Skip to content

Commit 3f950e8

Browse files
committed
security: disable OSC52 by default
Disable OSC52 clipboard access by default for security reasons: - Change default-config.json: allow_osc52 from true to false - Users can still enable it manually if needed - Prevents potential clipboard data leakage by default Rationale: - OSC52 allows remote servers to access clipboard - Should be explicitly enabled by users who need it - Follows security best practice: deny by default
1 parent 5079546 commit 3f950e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assets/other/default-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@
340340
"key": "allow_osc52",
341341
"type": "checkbox",
342342
"text": "Allow OSC52 clipboard access",
343-
"default": true
343+
"default": false
344344
},
345345
{
346346
"key": "set_cursor_position",

0 commit comments

Comments
 (0)