Comments (3)
@wjianbo I just merged this functionality in #40 👍
@rxaviers I agree, and that's why I included a confirmation and warning before executing a command. In practice during testing I found that it is hard to get chatgpt to return a malicious command that is ready to run. Meaning that for simple commands like rm -rf
, chatgpt has been moderated and responds with "I can't give commands that may harm systems". For more complex commands, chatgpt usually feels the need to explain what is going on, so just running the output directly doesn't work either as it is the command mixed in text. If it starts to become really dangerous I am open to only enable it with a certain flag, but for now as my initial testing showed me, it's not really a big worry as only simple commands are ready to run.
Since this functionality is added I am closing this issue ✌️ If you have any questions/concerns please lmk.
from chatgpt-shell-cli.
Yes that has been on my mind for quite a while, I have already started working on it #40 and hope I will have time to finish it soon.
from chatgpt-shell-cli.
If this is done, please do not enable it by default (but consider enabling only if a certain argument is passed). I am afraid of security implications. I don't want to delete my files by mistake for example. Thanks
from chatgpt-shell-cli.
Related Issues (20)
- Copying responses from ChatGPT is understood as separate lines.
- Ability to disable .chatgpt_history
- The model: `gpt-4` does not exist"? I have just paid for it. HOT 2
- `./chatgpt.sh -l` doesn't show gpt-4
- Use Ctrl-D to exit like bash, Use Ctrl-C to cancel input HOT 3
- Line 93: syntax error near unexpected
- NOT an issue - sharing my modifications
- Feature request - Support AZure OpenAI service
- Multiline Support for chatgpt Command Not Working HOT 1
- Is there will be a version for windows?
- [Q] How to add a new line? HOT 1
- Installation Error HOT 3
- jq problem HOT 1
- Use ChatGPT custom instructions.
- Any plans for ubuntu linux? HOT 1
- Functionality Question
- Problem configuring environment on Ubuntu cinnamon HOT 1
- insufficient_quota HOT 1
- Feature suggestion - change model
- Feature suggestion - current model
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-shell-cli.