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.
A new way to get your source code onto Repl with one command.
Repl-from-cli allows you to upload your source code to a temporary GitHub repository and then allows you to clone it to repl.it and either delete or save the repo on your GitHub. You basically get to hit 2 birds with 1 stone.
This tool uses the GitHub API through PyGithub and the git
command line tool. It uses a Python program to create and pull repositories on GitHub to your local directory, push to remote, pull to repl.it, and then either delete the repo, or save it! You'll need a few things to get started.
Requirements:
To start, first make sure you have git
the command line tool installed. If you are using GitHub you most likely have it installed but if you don't find out how here.
Either Run:
pip3 install repl_from_cli
or
# After pulling this repo and going into the directory:
python3 setup.py install
To install the repl-from-cli
command.
The tool pulls from ~/.replitcli/config
for configuration values. To change your GitHub token remove the config
file there. This will run the startup wizard again and allow you setup your config.
Run repl-from-cli
inside any directory you'd like to upload to repl.it. It will make sure you are logged into repl before creating the repository. After it creates the repo on your github it will create a local git repo in the directory and push to the GitHub repo. If you want to hide files you should make a .gitignore
prior to running this command. Also if it already has a GitHub repo simply use the URL API repl.it provides (ex. https://repl.it/github/<Username>/<Repo Name>
).
The tool will open up repl.it
in your default browser. Make sure you are logged into repl.it on it.
FAQs
Generate GitHub and Repl.it Repos with One Command
We found that repl-run-cli 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.