
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@pinwheel/react-modal
Advanced tools
React package for Pinwheel modal
npm install --save @pinwheel/react-modal
import PinwheelModal from '@pinwheel/react-modal'
const App = () => {
return <PinwheelModal open={true} linkToken={token} onEvent={console.log} />
}
In order to utilize the pinwheel iframe with the security policies enforced. (Recommended for production)
import PinwheelModal from '@pinwheel/react-modal'
const App = () => {
return (
<PinwheelModal
open={true}
useSecureOrigin
linkToken={token}
onEvent={console.log}
/>
)
}
All available React props are listed here.
Please consult our docs for more information.
You may want to explore the usage of the modal locally.
Start by going to the customer dashboard to create a token. Copy the token string. Then
# Build the @pinwheel/react-modal package
npm i
npm run build
# Run the example app
cd example
npm i
npm start
# Go to localhost:9000?token=<PASTE YOUR GENERATED TOKEN HERE>
MIT © Pinwheel React Modal is available under the MIT license. See the LICENSE file for more info.
FAQs
React package for Pinwheel modal
We found that @pinwheel/react-modal demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 16 open source maintainers 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 mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.