
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Session management implementation for Rack.
In your config.ru
:
# config.ru
require 'rack/session'
use Rack::Session::Cookie,
:domain => 'mywebsite.com',
:path => '/',
:expire_after => 3600*24,
:secret => '**unique secret key**'
Usage follows the standard outlined by rack.session
, i.e.:
class MyApp
def call(env)
session = env['rack.session']
# Set some state:
session[:key] = "value"
end
end
rack-session
code used to be part of Rack, but it was extracted in Rack v3 to this gem. The v1 release of this gem is compatible with Rack v2, and the v2 release of this gem is compatible with Rack v3+. That means you can add gem "rack-session"
to your application and it will be compatible with all versions of Rack.
We welcome contributions to this project.
git checkout -b my-new-feature
).git commit -am 'Add some feature'
).git push origin my-new-feature
).FAQs
Unknown package
We found that rack-session demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.