
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@24hr/react-structured-data
Advanced tools
This is a simple React component to render a script tag as type application/ld+json. This can be used to create structured data for Google search according to the Schema.org definition.
import StructuredData from '@24hr/react-structured-data';
<StructuredData type={structureDataType} {...structuredDataObject} />
| Prop | Type | Default |
|---|---|---|
| context | string | https://schema.org |
| type | string (required) | undefined |
You can then pass it whatever structured data compatible objects as you want. These are just passed along.
| Prop | Type | Default |
|---|---|---|
| questions | array (required) |
A question object should have the structure:
{
question: String,
answer: String
}
Import the built-in FAQPage component
import React from 'react';
import { FAQPage } from '@24hr/react-structured-data';
const App = () => (
<div>
{/* Your content */}
<FAQPage
questions={[
{
question: 'Test',
answer: 'Okey'
}
]}
/>
</div>
);
FAQs
A React component to render structured data
We found that @24hr/react-structured-data demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.