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.
@azure-tools/test-credential
Advanced tools
Note: This project is a test utility that assits with testing the packages maintained at the Azure SDK for JavaScript repository. This is not intended for the public utilization.
This library provides a TokenCredential
implementation for testing Azure SDK packages. This library is supposed to be utilized along with the @azure-tools/test-recorder
library for testing Azure SDKs.
Add this library as a dev dependency in your project.
rush add -p @azure-tools/test-credential --dev
import { createTestCredential } from "@azure-tools/test-credential";
const credential = createTestCredential();
This library provides the credential to be used in the tests
In playback mode
NoOpCredential
(does not make a request to AAD and produces a fake access_token)In record/live modes
ClientSecretCredential
from @azure/identity
(expects AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET in your environment or in the .env file)Try out this package in your application and provide feedback!
Log an issue at https://github.com/Azure/azure-sdk-for-js/issues
If you'd like to contribute to this library, please read the contributing guide to learn more about how to build and test the code.
FAQs
Test utilities library that provides the test credential
The npm package @azure-tools/test-credential receives a total of 12,408 weekly downloads. As such, @azure-tools/test-credential popularity was classified as popular.
We found that @azure-tools/test-credential 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.
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.