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.
@edgeandnode/common
Advanced tools
This project implements and contains common utils and models/types to be ingested and utilized by other Edge & Node repos.
pnpm install
to install all dependencies.pnpm build
to bundle all files using rolluppnpm publish
to publish to NPMThis repo uses vitest
for its test suite/runner. To run the tests:
vitest test
All source code belongs in the src
directory. Inside of this directory, it is broken up by domain (ex: utils
) and all files in the domain directory should contain code that matches that domain (ex: graphql.utils.ts
). File names should be kebob-case
and have the file domain type appended with a .
before the file extension (i.e. all files in src/utils
should be follow {utils-type}.utils.ts
. ex: graphql.utils.ts
). Test files belong at the same level as the file they are putting under test and should follow the same naming convention as the file they are putting under test with .test
appended before the file extension (i.e. {utils-type}.utils.test.ts
. ex: graphql.utils.test.ts
).
FAQs
Set of common util functions, constants, and types
The npm package @edgeandnode/common receives a total of 404 weekly downloads. As such, @edgeandnode/common popularity was classified as not popular.
We found that @edgeandnode/common demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.