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.
@adv-ui/ij-axios-interceptor
Advanced tools
This is a package where some general axios interceptors can be setted to use in different projects.
The setBlockingInterceptor
method purpose is to block requests depending on the tenant we provide
import AxiosInterceptor from '@adv-ui/ij-axios-interceptor'
axios.create({
baseURL: 'https://infojobs.net/api/',
timeout: 1000,
headers: {'X-Custom-Header': 'foobar'}
})
const filterPortalPaths = [
{
portalTLD: '.net',
whiteListPaths: [{path: '/users', method: 'GET'}, {path: '/user/:id'}]
}
]
const axiosInterceptor = new AxiosInterceptor()
axiosInterceptor.setBlockingInterceptor({
fetcher,
currentPortal: 'infojobs.net',
filterPortalPaths
})
Once you have merged your changes, the @s-ui/ci tool will automatically release a new minor version for the dependency @s-ui/ij-axios-interceptor
FAQs
Axios interceptor
We found that @adv-ui/ij-axios-interceptor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 70 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.