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.
@thomasbui93/dd-trace
Advanced tools
JavaScript APM Tracer
Datadog APM tracing client for JavaScript.
For a basic product overview, check out our setup documentation.
For installation, configuration, and details about using the API, check out our API documentation.
For descriptions of terminology used in APM, take a look at the official documentation.
Before contributing to this open source project, read our CONTRIBUTING.md.
Since this project supports multiple Node versions, using a version manager such as nvm is recommended.
We use yarn for its workspace functionality, so make sure to install that as well.
To get started once you have Node and yarn installed, run:
$ yarn
Before running the tests, the data stores need to be running. The easiest way to start all of them is to use the provided docker-compose configuration:
$ docker-compose up -d -V --remove-orphans --force-recreate
To run the unit tests, use:
$ yarn test
To run the unit tests continuously in watch mode while developing, use:
$ yarn tdd
To run the memory leak tests, use:
$ yarn leak
Please note that memory leak tests only run on Node >=8
.
We use ESLint to make sure that new code is conform to our coding standards.
To run the linter, use:
$ yarn lint
We rely on CircleCI 2.0 for our tests. If you want to test how the CI behaves locally, you can use the CircleCI Command Line Interface as described here: https://circleci.com/docs/2.0/local-jobs/
After installing the circleci
CLI, simply run one of the following:
$ circleci build --job lint
$ circleci build --job node-leaks
$ circleci build --job node-core-4
$ circleci build --job node-core-6
$ circleci build --job node-core-8
$ circleci build --job node-core-10
$ circleci build --job node-core-latest
When two or more approaches must be compared, please write a benchmark
in the benchmark/index.js
module so that we can keep track of the
most efficient algorithm. To run your benchmark, just:
$ yarn bench
FAQs
Datadog APM tracing client for JavaScript
We found that @thomasbui93/dd-trace 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.