Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
znpm install zzc-gopage -S-D
import goPage from 'zzc-gopage';
<script src='//global.zuzuche.com/static/goPage/dist/1.0.4/goPage.js'></script>
该函数只接受一个对象作为参数
属性 | 说明 | 类型 | 默认值 |
---|---|---|---|
url | 跳去h5的链接 | string | '' |
type | 跳去那个原生页面的标识 | string | '' |
called | 调用起原生页面成功后的回调 | function | |
callback | 原生页面完成相关操作后的回调函数 | function | |
searchStr | 传递给原生协议的路径后续 | string | '' |
called 和 callback都会返回原生返回的相关信息,如果原生返回的是字符串,那么会尝试将他转为json。
FAQs
原生跳转app协议
We found that zzc-gopage demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.