Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github-safegem

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-safegem

  • 0.2.10
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

SafeGem: GitHub's Safe Gem Eval Web Service

Help make GitHub's gem build process more secure and robust!

SafeGem is a Sinatra app that safely converts Ruby gemspecs into YAML gemspecs.

It works as follows:

  1. Receives a request with the repo location and the ruby gemspec

  2. Returns immediately and schedules the following via EM.defer:

  3. Makes a shallow clone of the repo and chdir's to that repo

  4. Evals the spec in a separate thread with a higher $SAFE level

  5. Converts spec to YAML

  6. Posts the YAML to the specified callback

Goals

  • Lower the $SAFE level to allow methods like Dir.glob, but without compromising security.

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc