Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
pip install --upgrade cligpt
# Fill in your OpenAI API key
export OPENAI_API_KEY=[sk-xxxx]
# Launch
cligpt
# Switch roles (you may use abbreviations as long as they do not clash with other roles)
@revise (or @revis | @revi | @rev | @re | @r)
Customize your roles
Edit the configuration file:
vim ~/.cligpt/config.json
Turn on/off Auto-copy (default=on)
cligpt
automatically copies the last response to your clipboard. To enable/disable it, launch cligpt
with the following command:
cligpt --no_auto_copy
Adjust context length (default=6)
Context length refers to the number of prompts+responses cligpt
should remember. For example, if you want it to remember the last 3 prompts + 3 responses, launch cligpt
with the following command:
cligpt --context_length=6
Turn on/off stream mode (default=on)
Stream mode displays words popping up one by one. To enable/disable it, launch cligpt
with the following command:
cligpt --no_stream
Proxy (default=None)
Use a proxy for the OpenAI API:
cligpt --proxy=http:127.0.0.1:9000
pip uninstall cligpt
(rm -rf ~/.cligpt)
FAQs
A handy CLI interface for ChatGPT
We found that cligpt demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.