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-web-share-button
Advanced tools
Share button that is using the Web Share API with fallback for browsers that do not support it
React Share Button Component that uses the Web Share API with fallback
import ShareButton from 'react-web-share-button';
<ShareButton title="My Great Page" text="A really great page" url="http://www.greatpage.com" />
Name | Description |
---|---|
buttonText | Text or Node that is used on the Share button |
buttonStyle | Inline styles for the Button |
fallbackContainerStyles | Inline styles for the fallback container |
fallbackContainerOnShowStyles | Inline styles for the fallback container when it becames visible |
target | Where to open url in case of the fallback dialog |
fallbackButtonStyle | Inline styles for the fallback buttons |
url | Url to share |
onSuccess | Called when the share is successful, only in case where Web Share API is supported |
onError | Called when the share is not successful, only in case where Web Share API is supported |
text | Text that is used by the Web Share API |
title | Title that is used by the Web Share API |
FAQs
Share button that is using the Web Share API with fallback for browsers that do not support it
The npm package react-web-share-button receives a total of 31 weekly downloads. As such, react-web-share-button popularity was classified as not popular.
We found that react-web-share-button 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.