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.
hint
)If you want to have an idea of what webhint
does and you
have an updated version of npm
(v5.2.0) and Node.js LTS (v8.9.2)
or later, x64 version recommended
you can use the following command:
npx hint https://example.com
The recommended way of running webhint is as a devDependency
of
your project.
npm install hint --save-dev
And then add a script task to your package.json
:
{
...
"scripts": {
"webhint": "hint http://localhost:8080"
}
}
And run it via:
npm run webhint
You can also run webhint from within VS Code and as a browser extension.
NOTE: If you run into any issues during the install process please check the troubleshoot section.
Now that you have webhint
up and running, it is time to learn a bit
more about the different pieces:
To know more about the internals of webhint
, the structure of the
project, how to create new hints, collectors, formatters, etc, take a
look at the online contributor
guide (or the local
version).
This project adheres to the JS Foundation’s code of conduct. By participating in this project you agree to abide by its terms.
The code is available under the Apache 2.0 license.
FAQs
The linting tool for the web
The npm package hint receives a total of 25,071 weekly downloads. As such, hint popularity was classified as popular.
We found that hint demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.