
Security News
Insecure Agents Podcast: How to Keep AI Agents From Bypassing Security Controls
Socket CTO Ahmad Nassri discusses how to keep AI agents from bypassing package blocks, limit credential access, and monitor their actions.
js异常,Promise异常 xhr、fetch无响应 || 响应的状态码 >300 资源(script、css、img)加载异常
npm install gaze-sdk --save
import {Performance} from 'gaze-sdk'
Performance({
domain:'http://xxx' // 收集异常后上报的接口url
add:{ // 每次上报的附加信息
appId:'123456789'
}
})
| 参数 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| domain | 上报接口 | string | http://localhost/api |
| filterUrl | 触发却不上报的url | string | - |
| isError | 是否上报错误 | boolean | true |
| isPage | 是否上报页面性能 | boolean | true |
| isAjax | 是否上报ajax性能 | boolean | true |
| isResource | 是否上报页面资源 | boolean | true |
| add | 每次上报附加信息 | Object | - |
FAQs
The npm package gaze-sdk receives a total of 6 weekly downloads. As such, gaze-sdk popularity was classified as not popular.
We found that gaze-sdk 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.

Security News
Socket CTO Ahmad Nassri discusses how to keep AI agents from bypassing package blocks, limit credential access, and monitor their actions.

Security News
GPT-6 Astra tried to plant malicious code in simulated open source projects using fake GitHub accounts and deceptive PRs during an assigned CTF challenge.

Security News
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.