GithubHelp home page GithubHelp logo

petehunt / node-safebrowsing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hellojwilde/node-safebrowsing

2.0 3.0 0.0 534 KB

(Work in progress.) Client for the Google Safe Browsing API v3.

License: MIT License

JavaScript 100.00%

node-safebrowsing's Introduction

node-safebrowsing

(Work in progress, see notes below.)

Build Status Coverage Status

This module is a client for Google Safe Browsing API v3. It aims to be able to synchronize an offline, encrypted database of URLs pointing to potentially malicious content, and perform fast lookups against that database.

Example

For a taste what the target API is going to look like, check out the very well-commented example app.

Implementation Progress

  • Swappable persistence layer implemented on top of Redis.
  • Request serializers and response parsers for the API's endpoints for:
  • Fetch methods wrapping the above and the persistence layer to perform synchronization operations.
  • URL canonicalizer, with proper support for encoding IDNs. Need further tests.
  • Lookup expression generator, to create the different variants of canonicalized URLs to hash and match against hash prefixes and full-length hashes.
  • Fetcher class to schedule data fetches from the API. It should automatically fetch data at specified intervals, obey backoff constraints, and where possible batch full-length hash requests. Need further tests.
  • Matcher and MatchResults classes, to wrap the URL canonicalizer, lookup expression generator, and persistence layer to cleanly perform lookups. Need further tests.

License

MIT.

node-safebrowsing's People

Contributors

hellojwilde avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.