
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
react-surveying
Advanced tools
React Surveying is a customizable polling component for React applications that allows users to create and participate in polls with various options.
React Surveying is a customizable polling component for React applications that allows users to create and participate in polls with various options.
You can install the React Poll package using npm or yarn:
npm install react-surveying
or
yarn add react-surveying
import React from 'react';
import { ReactSurvey } from 'react-surveying';
const question = 'What is your favorite color?';
const answers = [
{ option: 'Red', votes: 0 },
{ option: 'Blue', votes: 0 },
];
const handleVote = (selectedOption) => {
// Handle the vote logic here
};
const customStyles = {
// Customize the styles here
};
const disable = false; // Set to true to disable voting
const YourComponent = () => {
return (
<ReactSurvey
question={question}
answers={answers}
onVote={handleVote}
customStyles={customStyles}
disable={disable}
/>
);
};
export default YourComponent;
FAQs
React Surveying is a customizable polling component for React applications that allows users to create and participate in polls with various options.
The npm package react-surveying receives a total of 5 weekly downloads. As such, react-surveying popularity was classified as not popular.
We found that react-surveying 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
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.