
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
@authsignal/react
Advanced tools
đźš§ Work in progress: Not intended for production use. đźš§
Add @authsignal/react to your package.json dependencies.
npm install @authsignal/react
yarn add @authsignal/react
Add the Authsignal component to your app. Generally, this should be placed at the root of your app.
import { Authsignal } from '@authsignal/react';
function App() {
return (
<div>
<Checkout />
<Authsignal tenantId="YOUR_TENANT_ID" baseUrl="YOUR_BASE_URL" />
</div>
);
}
Import the useAuthsignal hook in your component.
Then pass the challengeOptions returned from your server to the startChallenge function.
import { useAuthsignal } from '@authsignal/react';
export function Checkout() {
const { startChallenge } = useAuthsignal();
const handlePayment = async () => {
const response = await fetch('/api/payment', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
});
const data = await response.json();
if (data.challengeOptions) {
startChallenge({
...challengeOptions,
onChallengeSuccess: () => {
// Challenge was successful
},
onCancel: () => {
// User cancelled the challenge
},
onTokenExpired: () => {
// Token expired
},
});
}
};
return (
<div>
<button type="button" onClick={handlePayment}>Pay</button>
</div>
);
}
FAQs
React components for [Authsignal](https://authsignal.com).
The npm package @authsignal/react receives a total of 20 weekly downloads. As such, @authsignal/react popularity was classified as not popular.
We found that @authsignal/react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.