Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
It's a small ruby gem for showing popup with images from selected url
Add this line to your application's Gemfile:
gem 'jquery-rails'
gem 'jquery-ui-rails'
gem "bootstrap-sass", ">= 2.0.1"
gem 'haml'
gem 'images_fetcher', :git => 'git://github.com/spy-a/images_fetcher.git'
Add this to your assets/javascripts/application.js file
//= require jquery.ui.all
//= require bootstrap
//= require images_fetcher
Add this to your assets/stylesheets/application.js file
*= require jquery.ui.all
*= require images_fetcher
And then execute:
$ bundle
Use helper method init_images_fetcher(link, image_link_input, image_preview='') to initialize images_fetcher functionality
For example:
<input type=text id="book_link"> <-- input url with images here
<input type=text id="card_remote_image_url"> <- you get link to image to this field after close popup with images
<img id="remote_image_preview" /> <- optionally, display here selected image
<%= init_images_fetcher('#book_link', '#card_remote_image_url', '#remote_image_preview') %>
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that images_fetcher 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.