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.
Use the Node os
API in Chrome Apps
This library can be used directly with your browserify builds with targeting Chrome Packaged Apps.
$ npm install chrome-os --save
$ browserify -r chrome-os:os index.js -o bundle.js
$ npm test
This will load the folder test/chrome-app
as an unpacked extension in chrome.
Test currently designed for windows and Mac Canary support for others accepted
The following permissions need to be added to your chrome packaged app for this module.
"permissions": [
"system.memory",
"system.cpu"
]
The chrome apis do not support sync calls for some of the corresponding features so the calls have been made async.
Currently these are
cpus(callback(cpuinfo))
platform(callback(platform)) The platform string maps to the expected node value.
There is currently a console warning and 'Not Supported' is returned if these functions are called without a callback. It should be noted that browserify doesn't fully support these either only returning placeholders. If users are interested in full cross platform support then an async-os implementation could be implemented.
FAQs
Use the Node `os` API in Chrome Apps
The npm package chrome-os receives a total of 2 weekly downloads. As such, chrome-os popularity was classified as not popular.
We found that chrome-os 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.