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.
Middleware that allows you to configure CORS via a YAML file.
Add this line to your application's Gemfile:
gem 'cors-config'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cors-config
In config.ru
use Cors::Config
or
use Cors::Config, 'config/my_config.yml'
Also the default configuration is expected in config/cors.yml.
cors:
products:
origins: '*'
resource: '/products'
headers: 'any'
methods: 'any'
status:
origins: '*'
resource: '/status'
headers: 'any'
methods: 'any'
Please send feedback and comments to the author at:
Dane-Garrin Balia dane.balia@hetzner.co.za
This gem is sponsored by Hetzner (Pty) Ltd - http://hetzner.co.za
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that cors-config 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.