
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@agderposten/user-button
Advanced tools
Simple user button showing the users' first name if logged in. Customizable text and visibility if logged out. Takes `onClick` or `href`, and `className`.
Simple user button showing the users' first name if logged in. Customizable text and visibility if logged out. Takes onClick or href, and className.
npm install @agderposten/user-button
import React from 'react';
import UserButton, {stylesheet} from '@agderposten/user-button';
export default () => (
<Fragment>
<UserButton {...{user}} />
<UserButton {...{user}} fallbackText="Menu" />
<UserButton {...{user}} onClick={this.props.handleOnClick} />
<UserButton fallbackText="Log in" href={this.props.organization.urls.login} />
<style dangerouslySetInnerHTML={{__html: stylesheet}} />
</Fragment>
);
FAQs
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
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.