Skip to content

fix(pi): require confirmation for external scan inputs - #791

Open
yashrajp22 wants to merge 3 commits into
mainfrom
yashraj/fix-pi-input-permissions-20261007
Open

yashrajp22 wants to merge 3 commits into
mainfrom
yashraj/fix-pi-input-permissions-20261007

Conversation

@yashrajp22

Copy link
Copy Markdown
Collaborator

The Pi scan tool could read an external target or YARA rules directory without asking the user. It now shows the complete external read scope and remote target in a confirmation dialog before starting the CLI. Noninteractive sessions reject these requests, local workspace scans stay prompt-free, and canonical paths are checked again after the dialog.

Validation: 88 Pi/OpenCode tests passed in an offline Linux container. The new denied-access regression fails against the original implementation. Synthetic fixtures cover external files, rule directories, symlinks, remote targets, cancellation, and input changes during approval. CLI execution is mocked in these extension tests; no live provider was contacted.

yashrajp22 and others added 3 commits October 7, 2026 12:43
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.

1 participant