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.
jekyll-get-data-json
Advanced tools
💎 Import remote JSON data into the data for a Jekyll site
This version uses the
_data
folder so that you can more freely manage without having to restart jekyll
bundle add jekyll-get-data-json
to add this to your site's Gemfile.plugins
listed in your _config.yml
file. For example:
plugins:
- jekyll-get-data-json
Or you can download the converter.rb file and put it in the _plugins . folder
Create a getjson.yml
file inside your _data
folder. This section should be an object array containing the data
and json
properties:
data
property specifies where in the site.data
you would like to put this data.json
property is the remote URL of the JSON file.To illustrate an example, assuming that you have a remote JSON file at https://example.com/data.json
containing this:
{
"bar": "Success!"
}
And you put the following into your getjson.yml
file:
- data: foo
json: 'https://example.com/data.json'
Then in your Jekyll site you will be able to use:
{{ site.data.foo.bar }}
And you will see:
Success!
This plugin is basically a more limited version of jekyll-get, duplicated here purely for the purposes of making it a Ruby gem.
This plugin is basically another version of jekyll-get-json, duplicated here purely for better usage purposes.
FAQs
Unknown package
We found that jekyll-get-data-json 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.