Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@wonderflow/tokens
Advanced tools
This repo contains all the design tokens generated from the Wonderflow design language. These tokens are the foundation for our digital products.
To use the tokens you have to install the npm package first:
npm i @wonderflow/tokens
based on the platform you're working on, you can import the tokens from the relative platform folder inside node_modules. For example if you're working on web, you can import the tokens as JSON
or CSS
(custom-properties):
app.js
import tkns from '@wonderflow/tokens/platforms/web/tokens.json'
<div style={{color: `hsl(${tkns.color.blue['50']} / 10%)`}} />
app.css
@import '@wonderflow/tokens/platforms/web/tokens.css';
div {
/* Colors are defined as HSL-4 but without the hsl() notation */
color: hsl(var(--color-primary-50) / 50%);
}
NOTE
You need to use
postcss-import
orpostcss-easy-import
to import files from node_modules
Currently we ship tokens only for the web
platform, others may be added in the future.
FAQs
Design tokens from Wonderflow design language
The npm package @wonderflow/tokens receives a total of 175 weekly downloads. As such, @wonderflow/tokens popularity was classified as not popular.
We found that @wonderflow/tokens demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.