Coder Social home page Coder Social logo

bc-security's Issues

Events logging

...and make such logs accessible via backend in some way.

Shared blacklist

Basic idea: let WordPress sites with BC Security installed share their blacklists in order to pre-emptively block attacking IPs.

Rethink the relation of checklist checks and checksum verification

Motivation: Now when checklist checks are executed asynchronously, it could make sense to include checksum verification as yet another check in the checklist.

Notes and questions to be considered:

  1. Does it make sense to log checksum verification alerts? In general, what check failures (and how) should be logged?
  2. Does it make sense to have separate cron jobs for checksum verification, when it would be possible to just run it within checklist monitoring?
  3. It seem that some kind of distinction between simple and complex checks is necessary as some checks (removed plugins, checksum verification) are slow to execute, because they rely on external HTTP requests, so running them asynchronously/in separate cron task is viable. On the other hand, simple checks could be executed within single AJAX request/cron task.
  4. Checksum verification (but possibly some other checks too) can produce a long error report. If it should be included in checklist, UI has to be adapted to account for this.

Do not log 404 events triggered by error log check

Error log check (see #13) can trigger 404 events that subsequently get logged.

A straight-forward solution is to ignore any 404 events, if remote IP address is equal to server IP address. Not sure if there are any drawbacks...

Unit tests

Maybe some simple ones for start and then more advanced around version 1.0 (when API becomes stable).

Fix compatibility with WP-CLI

Undefined index: SERVER_ADDR in [...]/bc-security/classes/BlueChip/Security/Modules/Events/Monitor.php on line 39

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.