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.
@clearkit/one
Advanced tools
This repo takes the Tailwind config and the CSS variables stylesheet from the
published clearkit-core
npm package and uses them to generate a complete
CSS library, named clearkit-one
.
This CSS library includes atomic CSS utility classes, informed by the variables
from clearkit-core.css
. It also uses these utility classes to construct helper
classes with the @apply
Tailwind function.
The intention would be to publish clearkit-one
as a package on NPM, and make
the compiled stylesheet available on a CDN.
The build process in this repo also generates a front-end that documents the classes in the library and demos the blueprints created by helper classes.
$ yarn
.$ yarn start
to spin up the Next.js app, which watches for changes, compiles clearkit-one.css
and serves the front-end at http://localhost:3000
.Running $ yarn start
kicks off the following process:
npm-run-all -s clean -p docs:dev
Since Next.js has first-class support for PostCSS, it's responsible for compiling the contents of src/css/clearkit-one.css
and injecting it into the application.
As you add utility classes, components, etc., the Next.js app should reload automatically (courtesy of its hot-module reloading).
By default clearkit-one
imports the Tailwind config from clearkit-core
and uses it for it's own Tailwind config file at /clearkit.config.js
.
To replace or override properties from clearkit-core
you can edit this file and
refer to the Tailwind docs. For example,
to add a magenta color that could be used with .text-my-custom-color
and
.bg-my-custom-color
you could write the following -
theme: {
colors: {
"my-custom-color": "#ff00ff",
...clearKitCore.theme.colors
}
}
[TODO]
FAQs
ClearKit One
The npm package @clearkit/one receives a total of 58 weekly downloads. As such, @clearkit/one popularity was classified as not popular.
We found that @clearkit/one 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.
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.