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.
@primer/stylelint-config
Advanced tools
A sharable stylelint config object that enforces GitHub's CSS rules
$ npm install --save --dev @primer/stylelint-config
Within your stylelint config object You can extend this configuration. This will serve as a base for your config, then you can make overrides in your own config object:
{
"extends": "@primer/stylelint-config"
}
&
).box-shadow
.This is a list of the lints turned on in this configuration, and what they do.
"extend"
Disallow the use of @extend
.1
declaration per line.^transition
: Disallow the use of all
within transitions.^background
: Disallow the use of http:
protocols within background image urls.^border
: Disallow the use of the word none
for borders, use 0
instead..+
: For everything ban the use of the word initial
.calc
functions.linear-gradient()
calls that are not valid according to the standard syntax.2
spaces.1
.3
.3
.0
."0,4,0"
.FAQs
Sharable stylelint config used by GitHub's CSS
The npm package @primer/stylelint-config receives a total of 2,577 weekly downloads. As such, @primer/stylelint-config popularity was classified as popular.
We found that @primer/stylelint-config demonstrated a healthy version release cadence and project activity because the last version was released less than 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.