mandatoryprogrammer / mandatoryprogrammer/sonar.js

Add Advanced Stylesheet Fingerprint (Same idea as image fingerprinting)

Open
#6 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
551
Forks
76
PR merge metrics
No merged PRs in 30d

Description

sonar should be able to fingerprint specific stylesheets by what styles they change from the current document when included. We'd have to write iframes and then include the stylesheet into them, after the styles are imported we can observe the changes and create a fingerprint off of that. Required a bit more research into how to hook style changes/etc.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named in the issue. Start by researching how iframes can load stylesheets and how stylesheet-driven style changes can be observed; the work is done when sonar can produce a fingerprint for a specific stylesheet based on the styles it changes in the current document.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
security, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.