Skip to content

Kevin-sa/vul-monitor-fast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

监控非公开的漏洞库,而是根据commit、issue等做相关漏洞的提前预警

               _                             _ _                   __           _   
  __   ___   _| |      _ __ ___   ___  _ __ (_) |_ ___  _ __      / _| __ _ ___| |_
  \ \ / / | | | |_____| '_ ` _ \ / _ \| '_ \| | __/ _ \| '__|____| |_ / _` / __| __|
   \ V /| |_| | |_____| | | | | | (_) | | | | | || (_) | | |_____|  _| (_| \__ \ |_
    \_/  \__,_|_|     |_| |_| |_|\___/|_| |_|_|\__\___/|_|       |_|  \__,_|___/\__|

监控制定仓库的commit、issue、security、noted等页面的安全相关信息,以此希望在漏洞公开前获取较大的处理时间。

Introduction

代码和三方组建分析 在19年编写,而最近对代码做部分优化、处理的想法来源于【安全学术圈】 分享的一篇论文开源软件包与软件供应链安全漏洞修复分析研究paper:Open or Sneaky? Fast or Slow? Light or Heavy?: Investigating Security Releases of Open Source Packages

其中印象最深刻的是安全fix、下游处理的timeline

最主要的时间为

  • security release和fix commit有4天的时间差
  • snyk和NVD公告和security release有25天的时间差

Token

Github

主要用于获取关注仓库的commit、isssue、github security等信息 new github Token

Telebot

new telebot

Mac定时任务使用launchctl

~/Library/LaunchAgents

<plist version="1.0">
<dict>
  <!-- Label唯一的标识 -->
  <key>Label</key>
  <string>com.kevinsa.timonitor</string>
  <!-- 指定要运行的脚本 -->
  <key>ProgramArguments</key>
  <array>
    <string>/vul-monitor/run.sh</string>
  </array>
  <!-- 指定要运行的时间 -->
  <key>StartCalendarInterval</key>
  <dict>
        <key>Minute</key>
        <integer>00</integer>
        <key>Hour</key>
        <integer>10</integer>
  </dict>
<!-- 标准输出文件 -->
<key>StandardOutPath</key>
<string></string>
<!-- 标准错误输出文件错误日志 -->
<key>StandardErrorPath</key>
<string></string>
</dict>
</plist>

launchctl load -w com.kevinsa.timonitor.plist

About

security vulnerabilities monitor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published