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.
alicloud-apsara
Advanced tools
This is a library for integrating with AliCloud live-streaming platform - Apsara.
Integration progress:
import { Apsara, ApsaraDomainsData } from 'alicloud-apsara'
const apsara = new Apsara({
accessKeyId: 'keyId',
accessKeySecret: 'keySecret'
})
// fetch domains from apsara
const domainsData: ApsaraDomainsData = await apsara.getDomains()
// Domains: {
// PageData: [
// {
// Description: '',
// LiveDomainStatus: 'online',
// DomainName: 'live-ingest.upstra-china.cc',
// LiveDomainType: 'liveEdge',
// RegionName: 'ap-southeast-1',
// GmtModified: '2020-09-14T14:31:23Z',
// GmtCreated: '2020-09-14T14:27:06Z',
// Cname: 'live-ingest.upstra-china.cc.w.alikunlun.com'
// }
// ]
// },
// TotalCount: 8,
// RequestId: '0500D05A-505D-49B1-B989-BDC9FDAB9BAD',
// PageSize: 20,
// PageNumber: 1
// forbid a streaming
const res: ApsaraResponseData = await apsara.terminateStreamingUrl({
domain: 'test',
appName: 'test',
streamName: 'test',
oneshot: 'yes', // 'yes'/'no', yes - only forbid without adding to blacklist
resumeTime: '2021-02-24T17:59:19Z'
})
// RequestId: '0500D05A-505D-49B1-B989-BDC9FDAB9BAD',
accessKeyId
: string, requiredaccessKeySecret
: string, requiredbaseUrl
?: string, by default 'https://live.aliyuncs.com'
timeout
?: number, by default 3000
version
?: string, by default '2016-11-01'
signatureMethod
?: string, by default 'HMAC-SHA1'
signatureVersion
?: string, by default '1.0'
format
?: string, by default 'json'
yarn
yarn test
FAQs
A library for AliCloud live-streaming platform - Apsara
The npm package alicloud-apsara receives a total of 26 weekly downloads. As such, alicloud-apsara popularity was classified as not popular.
We found that alicloud-apsara 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.