SilverArrow v1.1.0-beta.1

This is a beta build intended for testing. Features may change.



Silver Arrow Logo


PROJECT silverARROW

SilverArrow v1.1.0-beta.1

Java Application to Block Trackers and Persistent Cookies



"Safeguarding the vulnerable"

Description:
Project silverARROW is an application, inspired by the Greek goddess Artemis, that reduces the attack surface and guards the Confidentiality, Integrity, and Availability of users data from invasive Cookies and CRM's.

In Greek Mythology, the goddess, Artemis, symbolizes "defense, stealth, and safeguarding the vulnerable." Her signature weapon is the bow and arrows. They symbolize her prowess as the goddess of the hunt and her role as a protector of the wild and the vulnerable.

Project Notes:
1. Integrate Components -Initialize CookieManager with BlacklistCookiePolicy at app startup. -Register CookieBlockerFilter in your servlet container (e.g., Tomcat).

2. Combat Evercookie-Style Persistence -Prevent cookie resurrection: Clear all storage mechanisms (LSO, IndexedDB) via JavaScript injection (requires embedded browser engine like JCEF). -Block storage APIs using a Proxy to intercept localStorage/sessionStorage calls.

3. Limitations and Considerations -Browser-Level Restrictions: Java apps can’t directly modify browser storage; use embedded browsers (JCEF) for full control. -CRM Tracking Evasion: Block known CRM endpoints via DNS filtering (e.g., integrate with dnsjava). -Performance: Cookie inspection adds ~5-10ms latency per request (optimize with caching).

4. Define Blocking Rules Maintain a configuration file (e.g., blocklist.properties) with:


Java app SilverArrow v1.1.0-beta.1 code snippet:

text
blocked.domains=tracking.crm.com, ads.example.org, "placeholders"
blocked.cookies=supercookie, DoubleClick (IDE, DSID),"placeholderExample4", "placeholderexample5", "placeholderExample6"

//The code above was removed or edited from the SilverArrow v1.1.0-beta.1 repo, this is only a clone and test run for SilverArrow v1.1.0-beta.1. The SilverArrow v1.1.0-beta.1 is set to public view on root Github Repository.//

Java app SilverArrow v1.1.0-beta.1 code snippet:

public class BlacklistCookiePolicy implements CookiePolicy {
    private final Set blockedDomains;
    
    public BlacklistCookiePolicy(Set blockedDomains) {
        this.blockedDomains = blockedDomains;
    }
    







SilverArrow Cookie Guard

SilverArrowExtension v1.1.0-beta.1

Browser Extension for Chrome and Firefox



Silver Arrow Extention Example

SilverArrowExtention v1.1.0-beta.1 js code snippet:


    if (msg?.type === "CLEAR_SITE_DATA") {
      const tabUrl = sender?.tab?.url;
      const host = tabUrl ? getHostname(tabUrl) : null;
      if (!host) {
        sendResponse({ ok: false, error: "No host" });
        return;
      }



SilverArrowExtention v1.1.0-beta.1 js code snippet:

    try {
        await chrome.browsingData.remove(
          { origins: [origin, origin2] },
          {
            cookies: true,
            localStorage: true,
            indexedDB: true,
            cacheStorage: true,
            serviceWorkers: true,
            webSQL: true
          }
   



SilverArrowExtention v1.1.0-beta.1 json code snippet:

{
    "id": 6,
    "priority": 1,
    "action": { "type": "block" },
    "condition": {
      "urlFilter": "PlaceholderExample1.site",
      "resourceTypes": ["script", "xmlhttprequest", "fetch", "image", "ping"]
    }
  }


SilverArrowExtention v1.1.0-beta.1 json code snippet:

 
    "id": 1,
    "priority": 1,
    "action": { "type": "block" },
    "condition": {
      "urlFilter": "PlaceholderExample2.site",
      "resourceTypes": ["script", "xmlhttprequest", "image", "sub_frame", "fetch", "ping"]
    }


//The code above was removed or edited from the SilverArrowExtention v1.1.0-beta.1 Chrome Extention v1.1, this is only a clone and test run for PROJECT SILVERARROW. The SilverArrowExtention v1.1.0-beta.1 is set to public view on root Github Repository.//








CONFIDENTIALITY:

Ensures that information is accessible only to those authorized
to have access, and prevents unauthorized disclosure of information.

Examples:Encryption, access controls, MFA




INTEGRITY:

Maintains the accuracy, consistency, and trustworthiness of data
throughout its lifecycle. Integrity is important because it protects
against unauthorized modifications or destruction of data.

Examples:Hashing, digital signatures, audit logs




AVAILABILITY:

Ensures that authorized users have reliable and timely access to
information and systems. Availability is important because it ensures
information and resources are accessible when needed.

Examples:Backups, redundancy, DDoS protection