
Research
Malicious npm Package Brand-Squats TanStack to Exfiltrate Environment Variables
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.
light-sdk
Advanced tools
light-sdk 用于开发者开发 LightApp 时调用原生 API,实现与原生系统的交互。
对 lib 目录下的 package.json 文件进行设置,引入依赖:
{
"dependencies": {
"light-sdk": "*"
}
}
然后在 lib 目录下执行 npm install 完成安装。
npm install
在需要使用 light-sdk 的 js 或者 vue 文件中调用:
import LightSDK from "light-sdk";
//获取客户端基本信息
LightSDK.native.getSystemInfo(null,function(res){
console.log(res);
});
了解更多 light-sdk 模块的信息,请点击这里。
使用 lightview 扫描调试 LightSDK 接口的方法:
FAQs
> light-sdk 用于开发者开发 LightApp 时调用原生 API,实现与原生系统的交互。
The npm package light-sdk receives a total of 172 weekly downloads. As such, light-sdk popularity was classified as not popular.
We found that light-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.