Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Simple Proxy is a lightweight and easy-to-use proxy server built with Ruby, Sinatra, and HTTParty. It's designed to forward requests to specified target URLs, making it a versatile tool for developers working with APIs and web services.
Sinatra::CrossOrigin
.To install Simple Proxy, you can add this line to your application's Gemfile:
gem 'simple_proxy'
and then execute:
bundle install
or simply install it from the command line:
gem install simple_proxy
To use Simple Proxy, you can require it in your application:
require 'simple_proxy'
To start the server:
SimpleProxy.run!
To stop the server:
SimpleProxy.quit!
You can also start or stop the server from the command line:
simple_proxy start
simple_proxy stop
To proxy requests, you can use the '/proxy' endpoint:
get '/proxy' do
SimpleProxy.proxy(params, request)
end
Once the server is running, you can make proxy requests to the following endpoints:
Replace target_url with the URL you want to proxy the request to.
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
This project is licensed under the MIT License - see the LICENSE file for details.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project, you agree to abide by its terms.
For all notable changes made to this project, see the Changelog.
FAQs
Unknown package
We found that simple_proxy 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 malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.