Skip to content

security: Added confirmation for sensitive operations#301

Closed
Ishaan453 wants to merge 1 commit intosteipete:mainfrom
Ishaan453:security/ib/291
Closed

security: Added confirmation for sensitive operations#301
Ishaan453 wants to merge 1 commit intosteipete:mainfrom
Ishaan453:security/ib/291

Conversation

@Ishaan453
Copy link
Copy Markdown

@Ishaan453 Ishaan453 commented Feb 17, 2026

I have created a new function named confirmSensitive() which does the same work as confirmDestructive() but is named to better reflect operations that are sensitive (security-wise) rather than strictly destructive (data loss).

I applied this new check to the following commands:

  1. gmail delegates add (granting mailbox access)
  2. gmail filters create --forward (auto-forwarding emails)
  3. drive share --to=anyone (making files public)

Fixes #291

@steipete
Copy link
Copy Markdown
Owner

steipete commented Mar 7, 2026

Superseded by #317, which has now been reviewed, fixuped, and merged to main with the same confirmation-guard intent plus current-main cleanup/tests. Closing this older PR.

@steipete steipete closed this Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Security: Add confirmDestructive() guards for dangerous operations

2 participants