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.
xyz.cssxsh.baidu:baidu-oauth
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-oauth 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
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.