
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
cf-component-card
Advanced tools
Cloudflare Card Component
Installation with yarn is recommended
$ yarn add cf-component-card
import React from 'react';
import {
Card,
CardBlock,
CardContent,
CardControl,
CardDrawers,
CardMessages,
CardSection,
CardTitle,
CardFooter,
CardToolbar,
CardToolbarLink
} from 'cf-component-card';
import { Button } from 'cf-component-button';
class CardComponent extends React.Component {
constructor(props) {
super(props);
this.state = {
activeDrawer: null
};
}
render() {
return (
<Card>
<CardSection>
<CardContent>
<CardTitle>Hello World</CardTitle>
<p>Here is some content.</p>
<CardMessages
messages={[
{ type: 'info', content: 'Info Message' },
{ type: 'error', content: 'Error Message' }
]}
/>
<CardFooter>This is a footer message</CardFooter>
</CardContent>
<CardControl>
<CardBlock>This is a block</CardBlock>
<CardBlock>
<Button type="default" onClick={() => {}}>
Example Control
</Button>
</CardBlock>
</CardControl>
</CardSection>
<CardDrawers
drawers={[
{
id: 'one',
name: 'One',
content: <p>One</p>
},
{
id: 'two',
name: 'Two',
content: <p>Two</p>
}
]}
/>
<CardToolbar
controls={[]}
links={[
<CardToolbarLink
key="ToolBarLink"
expandable={false}
isActive={false}
onClick={() =>
window.open('https://en.wikipedia.org/wiki/Main_Page')
}
>
Wikipedia
</CardToolbarLink>
]}
/>
</Card>
);
}
}
export default CardComponent;
FAQs
Cloudflare Card Component
The npm package cf-component-card receives a total of 15 weekly downloads. As such, cf-component-card popularity was classified as not popular.
We found that cf-component-card demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 23 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.