Giter Site home page Giter Site logo

Comments (3)

0xacx avatar 0xacx commented on May 26, 2024 2

@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.

0xacx avatar 0xacx commented on May 26, 2024 1

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.

rxaviers avatar rxaviers commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.