
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@not-govuk/navigation-menu
Advanced tools
A component that provides users with a list of pages to choose from.
First install the package into your project:
npm install -S @not-govuk/navigation-menu
Then use it in your code as follows:
import React, { createElement as h } from 'react';
import NavigationMenu from '@not-govuk/navigation-menu';
export const MyComponent = props => (
<NavigationMenu items={[
{ href: '/', text: 'Inactive 1' },
{ href: '#main-content', text: 'Active' },
{ href: '/#main-content', text: 'Inactive 2' }
]} />
);
export default MyComponent;
Before working on this package you must install its dependencies using the following command:
pnpm install
npm test
npm run build
npm run clean
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
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.