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.
a-project-with-rare-name
Advanced tools
These scripts suppose that:
inkscape
installed (v1.0.0 at least).simple-icons/utils
. Use next command from
simple-icons
directory root:git clone https://github.com/mondeja/simple-icons-review-utils.git utils
npm install -g svgo
bash utils/start-review.sh "<ICON NAME>" "<BRANCH USERNAME OWNER>" "<BRANCH NAME>"
bash utils/inkscape-scale-align-center.sh "<ICON PATH>" "<OUTPUT PATH>"
bash utils/inkscape-gui-compare.sh [-c] "<BLACK ICON PATH>" "<RED ICON PATH>"
bash utils/inkscape-dimensions.sh "<ICON PATH>"
bash utils/diff.sh "<PREVIOUS ICON PATH>" "<NEXT ICON PATH>"
Supposing that you want to review this pull (Twitter icon correction pull-requested by @service-paradis). You can follow next steps:
develop
or other). Execute:bash utils/start-review.sh twitter service-paradis twitter-review
This will create the directory _review/twitter/
and will place the original
twitter.svg
icon inside it with the name of original.svg
.
Object
-> Align and distribute
, and center in both axis.
This can be automatized by next command:bash utils/inkscape-scale-align-center.sh _review/twitter/original.svg _review/twitter/autofixed.svg
A new icon will appear at _review/twitter/autofixed.svg
.
bash utils/diff.sh _review/twitter/autofixed.svg icons/twitter.svg
bash utils/inkscape-gui-compare.sh _review/twitter/autofixed.svg icons/twitter.svg
Note that this workflow can only be used for icons that must be corrected only, but updates or new icons do not follows this workflow. However, you can use some of the scripts to make easy repetitive tasks.
FAQs
These scripts suppose that:
The npm package a-project-with-rare-name receives a total of 2 weekly downloads. As such, a-project-with-rare-name popularity was classified as not popular.
We found that a-project-with-rare-name 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.