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.
A Ruby gem for extracting youtube video data.
This does not use the API that google provides, this is just data gathered from scraping raw HTML data. No reason really, I just find doing so more fun.
This gem is still in it's earlier stages of development so expect stuff to change. I will try not to change too much in terms of interface methods/ classes that can break your existing scripts for convenience sake.
Written and tested with and ruby 3.0.2
on Ubuntu 22.04.3 LTS
.
Install required gems:
bundle install
Build and install gem file locally:
gem build && gem install youtube-data-[version].gem
Or install from gem server:
gem install youtube-data
For some examples on how to use this gem go and check out the examples
sub-directory.
After checking out the repo, run bin/setup
to install dependencies. You can also run bin/console
for an interactive
prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the
version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version,
push git commits and the created tag, and push the .gem
file to rubygems.org.
Running tests:
cd tests # These commands must be run in ./tests for relative path reasons.
./data/get_data # Fetch data used in test. Used for mocked session objects to avoid sending requests when testing.
ruby test_all.rb # To run all tests, or you can just call an individual test instead.
Bug reports and pull requests are welcome on GitHub.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that youtube-data 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.