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.
jsu (read JSU) stands for and provides JavaScript Utilities. It targets older browser versions first unless there is a security risk, missing functionality or poor performance in newer browsers. Support for Internet Explorer is not an option as Microsoft Edge is its successor.
The features provided by jsu were originally part of the nvc project. Most of these features, such as type checking or timer events can be found in other utility libraries. In case you find these libraries too large as a dependency, or if they require too new JavaScript technologies, among other disadvantages, you can use jsu as a possible fallback. For example, jsu_event.js supports generic and timer events in just a few lines of code.
Overall, jsu is not a substitute for libraries such as jQuery or others with convenient functions like isEqual() performing deep comparison of arbitrary objects.
Documentation and examples are available here. Version changelog is here.
git clone <project_git_uri>
cd <project_dir>/
npm install
npm run test # run tests
We use the following Node.js packages which were all installed using npm install <package> --save-dev
.
1.1.0 - 2022/07/22
JsuCmn.isCssColorOrString(value)
: returns JsuCmn.isCssColor(value)
if
not null, or JsuCmn.isString(value)
otherwise.JsuCmn.isCssColor(value)
: returns null
if CSS.supports()
is not
available, a boolean value otherwise.FAQs
JavaScript Utilities
The npm package jsupack receives a total of 5 weekly downloads. As such, jsupack popularity was classified as not popular.
We found that jsupack 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.