Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
This simple Ruby utility takes a file on your local machine and turns it into a gist on Github.
I could have used gems to simplify the development process, but I'm not sure how much code that would have actually saved me writing, and it would have undoubtedly added a layer of complexity in terms of understanding the codebase, so I decided to use only libraries which are built in to Ruby itself.
gem install gistdoit
To create a new gist, you simply type gistdoit
along with the relative file path for the file you want to make a gist out of
// PWD is /Users/AwesomeUser/Dev/Projects
gistdoit cool_project_file.rb
If you want to edit a file that is currently on Github, then you can pass the patch
flag
// PWD is /Users/AwesomeUser/Dev/Projects
gistdoit patch cool_project_file.rb
If you like to update your gists remotely on Github, then we recommend that you first make sure that your local gist is up to date with the remote version
// PWD is /Users/AwesomeUser/Dev/Projects
gistdoit pull cool_project_file.rb
// Gistdoit needs permission to update the file
Password: ********
The file was successfully updated!
At the moment, Gistdoit only recognizes files which were added to gist.github via Gistdoit.
Gistdoit keeps a record of the full file paths for gists you've uploaded to Github via Gistdoit along with the slug for that file, and a SHA of the file itself. This allows Gistdoit to quickly check for changes in the file without having to parse it.
FAQs
Unknown package
We found that gistdoit demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.