Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
proxybouncer
Advanced tools
ProxyBouncer is a HTTP proxy that authenticates all HTTP requests passing through it, using Google authentication.
Kenneth Falck kennu@sc5.io 2014
ProxyBouncer is an authenticating HTTP proxy that requires users to log in with their Google accounts before passing them through to the upstream server.
npm install -g proxybouncer
proxybouncer
ProxyBouncer is configured using environment variables.
PROXY_TARGET needs to to point to the upstream website where requests will be proxied to.
ALLOWED_EMAILS defines a regexp of who is allowed to access the service.
COOKIE_SECRET is a unique secret which is used to sign and validate session cookies.
GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET are the OAuth2 identifiers that you can get from Google.
MY_URL is where ProxyBouncer is running. The OAuth2 callback URL is configured as "MY_URL/$proxybouncer/oauth2callback". You need to configure it properly in Google Developer Console when creating the client ID and client secret.
PORT=8080
MY_URL=http://localhost:8080
PROXY_TARGET=http://localhost:9000
GOOGLE_CLIENT_ID=(get from google developer console)
GOOGLE_CLIENT_SECRET=(get from google developer console)
ALLOWED_EMAILS=.*@example.org$
COOKIE_SECRET=1234abcd
Note that you can create a file called .env in the current directory with environment variables as key=value pairs. ProxyBouncer will automatically read them and include them in the environment setup.
FAQs
ProxyBouncer is a HTTP proxy that authenticates all HTTP requests passing through it, using Google authentication.
The npm package proxybouncer receives a total of 3 weekly downloads. As such, proxybouncer popularity was classified as not popular.
We found that proxybouncer 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.