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.
nglint
is a tool for linting Angular apps.
npm install --save-dev nglint-cli
yarn add --dev nglint-cli
nglint --help
: display help infonglint --version
: display the installed versionnglint [--project ./tsconfig.json]
: lint a project and report failuresAdd a nglint.json
file at the root of your project to configure which rules to run.
{
"rules": {
"no-unused-component": true,
"no-unused-component-binding": true
}
}
no-usused-component
: reports when a component is not usedno-unused-component-bindings
: reports when a component input or output is not usedThese rules could be implemented as tslint
rules. In fact, I originally did implement them as
tslint
rules. However, since these rules require the entire application structure to be read,
applying these rules via tslint
does not work as well. The tslint-language-service
, for
example, seemed to slow down the editor when applying the rules. Also, you don't get much benefit
from continuously applying these kinds of rules in the editor. Therefore, I thought it would be
best to ship these rules in a separate tool that can be run once when building a project.
FAQs
`nglint` is a tool for linting Angular apps.
The npm package nglint-cli receives a total of 1 weekly downloads. As such, nglint-cli popularity was classified as not popular.
We found that nglint-cli 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.