
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Provides an easy-to-use Rails 3.1 asset for Spin.js
Add it to your Rails application's Gemfile
:
gem 'spinjs-rails'
Then bundle install
.
Require spin
:
// application.js
//= require spin
or as jQuery plugin:
// application.js
//= require jquery.spin
// Then you can:
$(".abc").spin(); // Shows the default spinner
$(".abc").spin(false); // Hide the spinner
// Show customised spinner:
$(".abc").spin({
lines: 12, // The number of lines to draw
length: 7, // The length of each line
width: 9, // The line thickness
radius: 30, // The radius of the inner circle
color: '#000', // #rgb or #rrggbb
speed: 1, // Rounds per second
trail: 60, // Afterglow percentage
shadow: false // Whether to render a shadow
});
// Use customisation shortcuts:
$("#el").spin("small"); // Produces a 'small' Spinner using the text color of #el.
$("#el").spin("large", "white"); // Produces a 'large' Spinner in white (or any valid CSS color).
See the full usage details on the spin.js site.
Thanks to all contributors and the author of the spin.js
FAQs
Unknown package
We found that spinjs-rails 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.