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.
@qpoint/proxy
Advanced tools
A Qpoint adapter for proxying requests from the edge
import Endpoint from "@qpoint/endpoint";
import proxy from "@qpoint/proxy";
export default new Endpoint()
.use(proxy({ appUrl: "https://qpoint.io" }))
npm add @qpoint/proxy
appUrl
sets the upstream app url to forward requests
redirect
will indicate to redirect the request instead of proxy by default
urlStrategy
determines how to construct the proxy request url (see below)
The URL Strategy determines how to construct the proxy request URL. The following modes are supported:
mask
takes the incoming url and replaces only the origin domain from the appUrl
. This is the default settings and the most likely strategy you'll want to use when proxying.
mirror
uses the appUrl
directly and doesn't do any modifications. This is mostly beneficial if using this adapter as a redirect, and you want all requests to be redirected to the same location. It can also be used during proxy but beware that all requests will end up at the same upstream url regardless of the incoming path which may be confusing behavior.
FAQs
A Qpoint adapter for proxying requests from the edge
We found that @qpoint/proxy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.
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.