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 template for NPM packages in TypeScript.
Clone the repository:
git clone https://github.com/Ram-Amoncar/npm-package-template.git your-package-name
Install dependencies:
npm install
npm run build
:arrow_right: Build the TypeScript code using tsup.npm test
:arrow_right: Run Jest tests.npm run test:watch
:arrow_right: Run Jest tests in watch mode.npm run coverage
:arrow_right: Run Jest tests with coverage.npm run format
:arrow_right: Format code using Prettier.npm run format:check
:arrow_right: Check if code is formatted using Prettier.run lint
:arrow_right: Run ESLint for linting TypeScript files.npm run lint:fix
:arrow_right: Run ESLint with the --fix flag to - - automatically fix linting issues.This project is licensed under the Unlicense - see the LICENSE file for details.
FAQs
testing
The npm package test8281 receives a total of 0 weekly downloads. As such, test8281 popularity was classified as not popular.
We found that test8281 demonstrated a healthy version release cadence and project activity because the last version was released less than 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.