Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@aws-sdk/util-arn-parser
Advanced tools
The @aws-sdk/util-arn-parser package is a utility library for parsing Amazon Resource Names (ARNs) in JavaScript/TypeScript applications. It is part of the AWS SDK for JavaScript (v3) and is used to extract information from ARNs, which are standardized identifiers for AWS resources.
Parsing ARNs
This feature allows you to parse an ARN string and extract its components, such as the service, region, account ID, and resource details. The parseArn function returns an object with the ARN components.
const { parseArn } = require('@aws-sdk/util-arn-parser');
const arn = 'arn:aws:iam::123456789012:user/Development/product_1234/*';
const parsedArn = parseArn(arn);
console.log(parsedArn);
The aws-arn package is another npm package that provides functionality for parsing and constructing ARNs. It offers similar capabilities to @aws-sdk/util-arn-parser but is not part of the official AWS SDK.
3.693.0 (2024-11-15)
FAQs
A parser to Amazon Resource Names
The npm package @aws-sdk/util-arn-parser receives a total of 6,345,132 weekly downloads. As such, @aws-sdk/util-arn-parser popularity was classified as popular.
We found that @aws-sdk/util-arn-parser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.