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 is a Ruby gem thought to render the sharing links for the most popular networks.
ShareWith also introduces a syntax, built upon a YAML file, to declare parameters and templates, and elements to self-describe the service itself.
This YAML file will be used to generate the object that renders the templates in plain HTML text.
Install the gem and add to the application's Gemfile by executing:
$ bundle add share_with
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install share_with
As first step must require the gem:
require "share_with"
Then we can instantiate the Collection class and the list of services to load:
@collection = ShareWith::Collection.new(services: ["twitter", "facebook"])
Once filled the params required to render the template:
@collection.set_value_to_all("url", "https://freeaptitude.altervista.org/projects/share-with.html")
Finally we get the HTML code as a text string:
@collection.render_all("icon")
More info is available at:
FAQs
Unknown package
We found that share_with 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.