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.
@commerce-apps/exchange-connector
Advanced tools
exchange-connector
The exchange-connector package allows downloading RAML files from anypoint exchange.
Execute the following commands to install dependencies and build exchange-connector.
# To setup
npm install
# To build
npm run build
# To link (Optional)
npm link
import {getBearer, getRamlByTag} form "@commerce-apps/exchange-connector"
// Gets an Access token for talking with Mulesoft
getBearer(username, password): Promise<Token>
// Searches and returns the list of available RestApis
searchExchange(accessToken: string, searchString: string): Promise<RestApi[]>
// Gets raml from exchange, downloads to specified folder (defaults to ./download )
downloadRestApi(restApi: RestApi, destinationFolder: string): Promise<void | Response>
To run tests, execute
npm run test
To print the detailed test results and errors on the console, execute
npm run test:debug
This package is licensed under BSD-3-Clause license. See the license for details.
FAQs
Downloads raml specs from exchange
We found that @commerce-apps/exchange-connector 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.
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.