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.
ac-api-connector
Advanced tools
Use this class to connect to AdmiralCloud APIs
Starting with version 1 we use ac-signature with signature version 5 which does not require controller and action but use the path instead.
Note: With signature version 5, the identifier is also part of the signed payload, which makes the request even more secure.
Init a class instance with your app's clientId and accessKey and accessSecret from your app or from a user.
const accon = require('ac-api-connector')
const apiConfig = {
baseURL: 'url-of-the-api' // defaults to https://api.admiralcloud.com
clientId: 'abc',
accessKey: 'my-access-key',
accessSecret: 'my-access-secret'
}
const apiConnector = new accon(apiConfig)
You can now use this connector for calls against the API.
let response = await apiConnector.request({
path: '/v5/me',
identifier: 'my-identifier',
payload: {
prop1: 'abc,
prop2: 123,
prop3: {
subproc1: 'xyz'
}
}
})
yarn run test
MIT License Copyright © 2009-present, AdmiralCloud AG, Mark Poepping
FAQs
Use this class to connect to AdmiralCloud APIs
We found that ac-api-connector 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.
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.