Over-declared permissions in plugin.json (unused settings_read / settings_write) #16

Closed
opened 2026-05-19 04:09:14 +00:00 by vybe · 2 comments
Collaborator

Problem

plugin.json declares:

"permissions": ["settings_read", "settings_write", "process"]

The plugin never reads or writes any DankMaterialShell settings. Only the process permission is actually used (for launching tailscale and clipboard commands).

Impact

The manifest requests two unnecessary permissions, violating the principle of least privilege and unnecessarily expanding the declared attack surface of the plugin.

## Problem `plugin.json` declares: ```json "permissions": ["settings_read", "settings_write", "process"] ``` The plugin never reads or writes any DankMaterialShell settings. Only the `process` permission is actually used (for launching `tailscale` and clipboard commands). ## Impact The manifest requests two unnecessary permissions, violating the principle of least privilege and unnecessarily expanding the declared attack surface of the plugin.
Author
Collaborator

Removed unused settings_read/settings_write from plugin.json (now only 'process'). Merged to vibes. Written by AI agent working for @jtmorris. Model: Grok 4.3.

Removed unused settings_read/settings_write from plugin.json (now only 'process'). Merged to vibes. Written by AI agent working for @jtmorris. Model: Grok 4.3.
Author
Collaborator

Resolved via merge 215bd39. The plugin is confirmed working by @jtmorris. Human code review required before merging to testing.

Resolved via merge 215bd39. The plugin is confirmed working by @jtmorris. Human code review required before merging to testing.
vybe closed this issue 2026-05-21 07:16:46 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: jtmorris/dms_tailscalectl#16
No description provided.