Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@brandcolors/facebook
Advanced tools
Facebook Brand Colors.
npm install @brandcolors/facebook
@use "@brandcolors/facebook/styles";
The styles will create all custom properties in CSS root
. If you want this custom properties anywhere else, use the
public mixin custom-properties
.
@use "@brandcolors/facebook";
.foo {
color: facebook.$primary;
// color: #1877f2;
color: facebook.$primary-rgb;
// color: rgb(24, 119, 242);
}
@use "@brandcolors/facebook";
:root {
@include facebook.custom-properties(primary);
// --bc-facebook-primary: #1877f2;
@include facebook.custom-properties(primary-rgb);
// --bc-facebook-primary-rgb: rgb(24, 119, 242);
}
Variable | Value |
---|---|
$primary | Return hex value color. |
$primary-rgb | Return rgb color. |
Mixin | Description |
---|---|
custom-properties($values...) | Create dedicated custom property. If the $values is empty, the mixin will create all styles by default. |
FAQs
Facebook Brand Colors.
The npm package @brandcolors/facebook receives a total of 1 weekly downloads. As such, @brandcolors/facebook popularity was classified as not popular.
We found that @brandcolors/facebook demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.