-
Notifications
You must be signed in to change notification settings - Fork 77
Suspicious Command Detection #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
@lukehinds marked for roadmap planning |
I figure we need to do some re-planning around this work? I heard @jhrozek might believe some client work should land first? |
Note: #1151 landed. It is an open question if we want to disable again. |
Awaiting client work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Suspicious Command Detection
Summary
Introduce a mechanism to detect and flag potentially suspicious commands generated by AI assistants / agents. This feature will prompt the user to double-check such commands before they are executed or accepted, particularly for fully agentic workflows (where commands might be auto-run).
Background & Motivation
Requirements
curl | bash
nc -l
sudo
PATH
,LD_LIBRARY_PATH
, etc.)chown
,chmod
)npm install
, unless a positive vetting mechanism is in placerm -rf *
, fork-bomb:(){ :|:& };:
“Are you sure you want to run this command? It may have system-wide effects.”
Implementation Ideas
“Command flagged: curl | bash. Confirm to proceed or skip.”
Acceptance Criteria
Additional Notes
The text was updated successfully, but these errors were encountered: