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.
@momentum-ui/design-tokens
Advanced tools
See [documentation on Confluence](https://confluence-eng-gpk2.cisco.com/conf/display/~pauwitty/Token+proposal)
See documentation on Confluence
To generate a flat token file for a particular theme, run:
node theme_generator.js <theme file>
e.g.
node theme_generator.js ./themes/theme-light-webex.json
It supports some options
Usage: /home/paul/token-proposal/theme_generator.js [OPTION]... [THEME FILE]...
Options
--colorFormat=[hex|rgba] What color format to use in the output.
rgba -> rgba(244,233,20,0.8)
object -> { "r": 244, "g": 233, "b": 20, "a": 0.8 }
hex -> #RRGGBBAA
names -> red-05
--sizeUnit=[px|pt|rem] What unit to use for sizes in the output.
px -> pixels (matching that on Figma)
pt -> points (pixels * 0.75)
rem -> root em, used on web to create sizes relative to user font size
--componentGroups Group tokens by component
--omitThemeTokens Removes theme tokens from the generated file
--fileFormat=[css|json] What format to use for the output files
--platform=PLATFORM Which platform to generate for.
web
qt
macos
ios
android
--toStdOut Output to std out instead of writing to files
Tokens for individual components go in the components folder. If components are needed on only one platform, they should go in e.g. platformcomponents/ios/component_name.json. It's also possible to add platformcomponents/mobile/component_name.json which applies on both ios and android, or platformcomponents/desktop/component_name.json, for both macos and qt.
FAQs
See [documentation on Confluence](https://confluence-eng-gpk2.cisco.com/conf/display/~pauwitty/Token+proposal)
The npm package @momentum-ui/design-tokens receives a total of 163 weekly downloads. As such, @momentum-ui/design-tokens popularity was classified as not popular.
We found that @momentum-ui/design-tokens demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 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.
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.