
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
request-ok是一个监测程序,旨在实现对站点加载中的每一个http请求及响应的状态 进行监控,并告知订阅者当前存在问题的站点及资源信息。
这里的不同之处在于使用了Headless Chrome。Headless Chrome在Chrome59中得到支持(之前得靠Chromium)。 它为命令行提供了Chromium所支持的所有现代web平台特性和Blink渲染引擎,这样一来就可以在命令行中“无Chrome”的操作Chrome了。(翻的…)
chrome dev tools: Chrome DevTools Protocol是应用、检查、调试和描述Chromium、Chrome等基于Blink的浏览器的协议。
chrome-remote-interface: chrome-remote-interface提供了一系列对Chrome DevTools Protocol封装的JavaScript API。
lighthouse:用其中的laucher来跨平台启动chrome
$ npm i
设置需要监控的urls in config/pages.js
设置需要发送到的邮箱 in config/mail.js
设置header in config/headers.js
$ node index.js
.
├── index.js // 启动入口
├── modules/ // 封装模块
├── util/ // 工具函数
├── config/ // 配置文件
暂时新加了models和app.js 请忽略。。。
FAQs
## 简介
The npm package request-ok receives a total of 5 weekly downloads. As such, request-ok popularity was classified as not popular.
We found that request-ok 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.
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
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.