
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.
@springernature/global-banner
Advanced tools
Full width banner used for displaying informational messages.
<div class="c-banner">
<div class="c-banner__container">
<p class="c-banner__item">Simple banner example</p>
</div>
</div>
c-banner__container
uses flex and will space-apart each 'item'. For example:
<div class="c-banner">
<div class="c-banner__container">
<div class="c-banner__item">
<a href="#">
<img class="c-banner__image" src="http://placehold.it/430x36" alt=""/>
</a>
</div>
<p class="c-banner__item">
<a class="c-banner__link" href="#">Link</a>
</p>
</div>
</div>
Inverted
Sets opposite colors of banner background, text and links. For example, to increase contrast of light colored logo with dark background.
<div class="c-banner c-banner--inverted">...</div>
Flush
Removes the left and right padding on the banner.
<div class="c-banner c-banner--flush">...</div>
If you want to constrain the width of the banner or the contents of the banner, it is best to use a utility class such as u-container
or an application specific class that you can apply styles to.
Constrain entire banner
<div class="u-container">
<div class="c-banner">
<div class="c-banner__container">
<p class="c-banner__item">Simple banner example</p>
</div>
</div>
</div>
Constrain banner content
If you are constraining just the content of the banner and your container utility has padding on each side, then you can use the c-banner--flush
modifier.
<div class="c-banner c-banner--flush">
<div class="u-container">
<div class="c-banner__container">
<p class="c-banner__item">Simple banner example</p>
</div>
</div>
</div>
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.