Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
xyz.cssxsh.baidu:baidu-api
Advanced tools
百度API的Kotlin Jvm SDK
部分SDK的前置库
有三种验证方式
服务端的方式获取 Token, block 输入 认证网页 Url ,返回认证码
suspend fun authorize(block: suspend (Url) -> String)
移动端的方式获取 Token, block 输入 认证网页 Url ,返回跳转Url
suspend fun implicit(block: suspend (Url) -> Url)
设备认证的方式获取 Token, block 第一个参数是 直接网页认证的Url,第二个是 二维码认证的图片Url
suspend fun device(block: suspend (Url, Url) -> Unit)
刷新 Token
suspend fun refresh()
构建客户端的参数需要到 百度网盘开放中心 申请
客户端工作目录为/apps/${app_name}
已完成的功能
目前实现的功能有
repositories {
mavenCentral()
}
dependencies {
implementation("xyz.cssxsh.baidu:baidu-netdisk:${version}")
implementation("xyz.cssxsh.baidu:baidu-aip:${version}")
implementation("xyz.cssxsh.baidu:baidu-unit:${version}")
}
注意 本SDK 设置的 JvmTarget
为 JavaVersion.VERSION_11
FAQs
Unknown package
We found that xyz.cssxsh.baidu:baidu-api demonstrated a not healthy version release cadence and project activity because the last version was released 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.