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.
@aws/otel-aws-xray-id-generator
Advanced tools
The OpenTelemetry IdGenerator for AWS X-Ray generates trace IDs with its first four bytes set to the start time of the trace followed by a unique identifier consisting of 12 bytes of randomly generated numbers. OpenTelemetry offers an extension point which allows the usage of this custom IdGenerator as opposed to the out-of-the-box random IdGenerator.
npm install --save @aws/otel-aws-xray-id-generator
In the global tracer configuration file, configure the following:
const { NodeTracerProvider } = require('@opentelemetry/node');
const { AWSXRayIdGenerator } = require('@aws/otel-aws-xray-id-generator');
// ...
module.exports = ("service_name_here") => {
const tracerConfig = {
idGenerator: new AWSXRayIdGenerator(),
resources: resources
};
const tracerProvider = new NodeTracerProvider(tracerConfig);
// ...}
For more details, see the Getting Started guide.
Example trace ID format: 58406520a006649127e371903a2de979
A trace ID consists of two parts; the time stamp and the unique identifier.
Apache 2.0 - See LICENSE for more information.
FAQs
AWS X-Ray ID generator for OpenTelemetry
The npm package @aws/otel-aws-xray-id-generator receives a total of 231 weekly downloads. As such, @aws/otel-aws-xray-id-generator popularity was classified as not popular.
We found that @aws/otel-aws-xray-id-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.