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.
react-nano-scrollbar
Advanced tools
react-nano-scrollbar is a minimalist scrollbar library for React, inspired by perfect-scrollbar, implemented inside of React component with no external dependencies.
Install react-nano-scrollbar
with either npm or yarn:
yarn add react-nano-scrollbar
# or
npm install react-nano-scrollbar
Then include the CSS with:
/* In your CSS/SCSS file: */
@import 'react-nano-scrollbar/dist/index.css';
or:
// In your JS/TS file (assuming your bundler supports loading CSS files):
import 'react-nano-scrollbar/dist/index.css';
import { ScrollArea } from 'react-nano-scrollbar';
return (
<ScrollArea className="example">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed malesuada
felis libero, maximus interdum lorem hendrerit ornare. In nisl nunc,
finibus non gravida eu, dictum vitae metus. Proin feugiat enim purus, ac
auctor elit facilisis et. Etiam sollicitudin lacus sed sollicitudin
mattis. Maecenas nulla est, malesuada luctus fringilla vitae, feugiat sit
amet massa. Sed ut tellus gravida, lobortis nunc vel, semper justo. Aenean
sapien tellus, consectetur ac quam ut, molestie convallis sapien.
</p>
</ScrollArea>
);
FAQs
react-nano-scrollbar
We found that react-nano-scrollbar 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.