Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@qpoint/mask-urls
Advanced tools
A Qpoint adapter for masking URLs behind a reverse proxy
When proxying requests upstream, html links are generated for the upstream location.
Consider the following:
An app hosted on vercel would likely produce html with a link URL: https://qpoint-site.vercel.app/about-us
The proxy needs to mask the url to match the outer domain URL: https://qpoint.io/about-us
import Router from "@qpoint/router";
import proxy from "@qpoint/proxy";
import maskUrls from "@qpoint/mask-urls";
import rewriteHtml from "@qpoint/rewrite-html";
export default new Router()
// proxy to qpoint.io
.use(proxy({ appUrl: "https://qpoint.io" }))
// mask the urls to match the proxy endpoint
.use(maskUrls())
// activate the rewrite
.use(rewriteHtml())
npm add @qpoint/mask-urls
basePath
can be provided with the config if the upstream app is nested within the path.
FAQs
A Qpoint adapter for masking URLs behind a reverse proxy
The npm package @qpoint/mask-urls receives a total of 1 weekly downloads. As such, @qpoint/mask-urls popularity was classified as not popular.
We found that @qpoint/mask-urls 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.