Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 690 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 690 Bytes

NPMspy

Observe new NPM packages, looking for suspicious code.

Requirements:

  • yara, or yara64.exe in your path.
  • oss-download available in your path.

Webscraper

webscraper/scrape_libraries_io.py

  • scrape the most recent package names from Libraries.io
  • stored in a sqlite database

Downloading/Sanning packages

downloader/download_recent.py

  • gets the most recent unscanned packages from database
  • uses oss-download to save the package
  • uses yara to scan the package
  • saves results in database

Database layout

DBMS ER diagram (UML notation)