Skip to content

Instantly share code, notes, and snippets.

@joshuaaguilar20
Last active August 31, 2020 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshuaaguilar20/75aab75f4cd9c782a666a5ab781e1e1c to your computer and use it in GitHub Desktop.
Save joshuaaguilar20/75aab75f4cd9c782a666a5ab781e1e1c to your computer and use it in GitHub Desktop.
Presentation
@joshuaaguilar20
Copy link
Author

PeopleProof Mutlilayerd Protection

  1. can be used to block or modify network requests by specifying declarative rules.
    --Example:
    *rule to manipulate the DOM
    *rule to manipluate network Request

Example DOM Rule When on proofpoint.com to change all input types to password

  var rule1 = {
    conditions: [
      new chrome.declarativeContent.PageStateMatcher({
        pageUrl: { hostEquals: 'www.proofpoint.com', schemes: ['https'] },
        css: ["input[type='password']"]
      })
    ],
    actions: [ new chrome.declarativeContent.ShowPageAction() ]
  };

Example Network Rule Block foo.com

NETWORK RULE JSON
      {
    "id" : 1,
    "priority": 1,
    "action" : { "type" : "block" },
    "condition" : {
      "urlFilter" : "abc",
      "domains" : ["foo.com"],
      "resourceTypes" : ["script"]
    }
  }

-- This extension can modify network requests without intercepting them and viewing their content, thus providing more privacy.
-- Uses MDN declarativeContent API take actions depending on the content of a page, without requiring permission to read the page's content.

Image and Content Blocking

-- by default peopleproof is able to block and replace content based on specific keywords.
-- allows for a 2ndary clientside protection decreases server cost and traffic.

Features to Add -> Desktop Capture and Send:

-- if user post to non whitelisted URI -> Desktop is Captured and Sent to Us
-- allows us to discover new threats while alerting us to possible exploits before they happen.

Description:	Desktop Capture API that can be used to capture content of screen, individual windows or tabs.
Availability:	Since Chrome 35.
Permissions:	"desktopCapture"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment