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.
A small library that controls a single digit 7-segment display.
npm install 7-segment
var segment = require('7-segment');
var draw = new segment(0, 7, 5, 4, 1, 2, 3, 6); // OR your own wiring options
draw.display('0'); // will display 0 on the 7-segment display
draw.display('9'); // will display 9 on the 7-segment display
draw.display('.'); // will display . on the 7-segment display
When using this library you must run Node JS as sudo.
sudo nodejs index.js
This is a requirement of the Wiring-Pi library.
Open for improvements, create a pull request on GitHub.
FAQs
Node JS helper to manage a single digit 7-segment display
We found that 7-segment 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.