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.
huobi-australia
Advanced tools
Typescript / Node wrapper for the Market, Public, Account and Trade APIs offered by Huobi Australia
Install the dependancies with npm / yarn.
npm install huobi-australia --save
In order to utilise Account
and Trade
features you'll need to generate an API Key with Huobi.
The API wrapper exposes several classes, Public
, Market
, Trade
and Account
. Each class has methods for each API Endpoint as specified in the Huobi API Documentation.
Public
methods are within public.ts
- No authentication required.Market
methods are within market.ts
- No authentication required.Trade
methods are within trade.ts
- Authentication required.Account
methods are within account.ts
- Authentication required.Examples for usage of each function can be found within the examples folder and in the Wiki
import { Huobi } from 'huobi-australia';
// Authenticated Requests
const h = new Huobi('MyAccessTokenId', 'MyPrivateKey');
h.account().accounts()
.then(resp => {
console.log(resp);
});
// Unauthenticated Requests
const unauthH = new Huobi();
unauthH.market().trade('btcaud')
.then(resp => {
console.log(resp);
});
FAQs
Typescript wrapper for Huobi Australia Exchange
We found that huobi-australia demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.