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.
sling-web-sdk
Advanced tools
The sling-web-sdk is a front-end layer of abstraction for communicating with all kinds of back-end services. Built with Redux, it's usable in any framework in the front-end, now and in the future.
npm install --save sling-web-sdk
Import and pass the store to your application. This step depends on the framework (or the lack of) that you are using, but in most cases, you can just import it at the entry point.
import { Store } from 'sling-web-sdk';
The actions are generic functions that, most of the time, consume endpoints and populate data. For example, the globalActions contains the login action.
The login action in particular will call the stabilished endpoint and set the token at the localStorage. To use it, you just have to:
import { Store, globalActions } from 'sling-web-sdk';
Store.dispatch(globalActions.logIn('user@email.com', 'userpass');
By default this action will point to the portal API.
FAQs
A front end SDK built with Redux and Axios
The npm package sling-web-sdk receives a total of 1 weekly downloads. As such, sling-web-sdk popularity was classified as not popular.
We found that sling-web-sdk 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’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.