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.
CSPromise implements CSP constructs (found in e.g. Go, Clojure, etc.) on top of JavaScript (Node.js or browser) Promises.
Returns the module.
Instantiates a new CSP channel with an optional fixed size.
Put an item in the channel, optionally blocking until space is available, and
then, resolve. If block == false
and no space is available, reject.
Take an item from the channel, optionally blocking until a value is sent, and
then, resolve. If block == false
and no space is available, reject.
Close channel. Receiving or sending on this channel will reject.
CSP makes it easy to communicate between Promise coroutines and moreover, "control flows". Read more on why CSP matters.
js-csp and CSPromise align conceptually, but js-csp invents its own asynchronous control flow, leaving a community of Promise-based code behind.
FAQs
CSP constructs for JavaScript Promises
The npm package cspromise receives a total of 0 weekly downloads. As such, cspromise popularity was classified as not popular.
We found that cspromise 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.