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.
Wrapper for the yt-dlp video download tool. This gem is heavily inspired by the youtube_dl.rb gem
Add this line to your application's Gemfile:
gem 'yt-dlp.rb'
And then execute:
$ bundle
Or install it yourself as:
$ gem install yt-dlp.rb
This gem ships with the latest (working) version of yt-dlp built-in, so you don't have to install yt-dlp at all! Unless you want to.
Some features of yt-dlp require ffmpeg or avconf to be installed. Normally these are available for installation from your distribution's repositories.
Pretty simple.
YtDlp.download "https://www.youtube.com/watch?v=gvdf5n-zI14", output: 'some_file.mp4'
All options available to yt-dlp can be passed to the options hash
options = {
username: 'someone',
password: 'password1',
rate_limit: '50K',
format: :worst,
continue: false
}
YtDlp.download "https://www.youtube.com/watch?v=gvdf5n-zI14", options
Options passed as options = {option: true}
or options = {option: false}
are passed to yt-dlp as --option
or --no-option
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)rake test
)git push origin my-new-feature
)Remember: commit now, commit often.
FAQs
Unknown package
We found that yt-dlp.rb 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.
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.