Skip to content
Open
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
b0d948f
feat: add blocklistPaths
imblue-dabadee Aug 28, 2025
e85956f
feat: doesURLPathExist
imblue-dabadee Aug 28, 2025
f972d6e
test: doesURLPathExist
imblue-dabadee Aug 28, 2025
7693283
feat: add and removals to blocklistPaths
imblue-dabadee Aug 28, 2025
e6bfad7
refactor: increase addURLToBlocklistPaths readability
imblue-dabadee Aug 29, 2025
ec9d635
fix: add httpPrefix to use URL correctly
imblue-dabadee Aug 29, 2025
1c20cb5
fix: removeURLFromBlocklistPaths respects hierachy
imblue-dabadee Aug 29, 2025
72a42aa
fix: handle for longer than 3 paths being added and removed
imblue-dabadee Aug 29, 2025
7e071ab
tests: applyDiffs
imblue-dabadee Aug 29, 2025
9da68b0
refactor: generic functions and remove helper
imblue-dabadee Aug 29, 2025
8b2a573
lint: fix
imblue-dabadee Aug 29, 2025
37d1401
chore: update the tag names
imblue-dabadee Aug 29, 2025
42d92ed
Merge branch 'main' into feat/check-against-urls-with-path
imblue-dabadee Aug 29, 2025
de20842
Merge branch 'main' into feat/check-against-urls-with-path
imblue-dabadee Aug 29, 2025
7d1f82b
Merge branch 'main' into feat/check-against-urls-with-path
imblue-dabadee Sep 15, 2025
7e9b3a5
feat: whitelist support
imblue-dabadee Sep 15, 2025
4854c2b
test: update snapshot
imblue-dabadee Sep 15, 2025
0dc4d5b
fix: add only hostname with paths to whitelist
imblue-dabadee Sep 15, 2025
a929ba9
test: bypass whitelistPaths
imblue-dabadee Sep 15, 2025
095f60a
fix: test only checks hostnames with apths
imblue-dabadee Sep 15, 2025
5bd9365
test: test for whitelistPaths
imblue-dabadee Sep 15, 2025
cb623ef
feat: PathTrie
imblue-dabadee Sep 17, 2025
1179b55
test: PathTrie
imblue-dabadee Sep 17, 2025
ef1e114
chore: update types for blocklistPaths to Trie
imblue-dabadee Sep 17, 2025
a6b535b
chore: remove old insertion/deletion/exists methods
imblue-dabadee Sep 17, 2025
cbfa2a5
test: update to new structure
imblue-dabadee Sep 17, 2025
a98edbb
refactor: getHostnameAndPathComponents
imblue-dabadee Sep 18, 2025
80927ec
fix: separate blocklist entries
imblue-dabadee Sep 18, 2025
be8202d
test: separateBlocklistEntries
imblue-dabadee Sep 18, 2025
f283e11
test: getHostnameAndPathComponents
imblue-dabadee Sep 18, 2025
22b1ad1
test(fix): updateStalelist unit test
imblue-dabadee Sep 18, 2025
d337406
test: subdomain case getHostnameAndPathComponents
imblue-dabadee Sep 18, 2025
a593944
test(fix): update the structure of blocklistPaths
imblue-dabadee Sep 18, 2025
907dd00
test: updateStalelist blocklist separation case
imblue-dabadee Sep 18, 2025
8578fac
test(fix): add mocks
imblue-dabadee Sep 18, 2025
277ada7
test(fix): add url to blocklistPaths before calling bypass
imblue-dabadee Sep 18, 2025
6b4742a
fix: check that blocklistPaths is empty or undefined
imblue-dabadee Sep 18, 2025
09fbe61
refactor: remove old funcs
imblue-dabadee Sep 18, 2025
598b78a
test: check tests path-based blocking version
imblue-dabadee Sep 18, 2025
4f98f31
test: isPathBlocked
imblue-dabadee Sep 18, 2025
f8eed59
fix: update getDefaultPhishingDetectorConfig
imblue-dabadee Sep 18, 2025
2cd8146
fix: revert processConfigs
imblue-dabadee Sep 18, 2025
03714bc
fix: remove blocklist separation in getDefaultPhishingDetectorConfig
imblue-dabadee Sep 18, 2025
80882f7
chore: redundant return variable
imblue-dabadee Sep 18, 2025
5de9179
test: update tests
imblue-dabadee Sep 18, 2025
ed9a836
fix: lint issues
imblue-dabadee Sep 18, 2025
9368c52
Merge branch 'main' into feat/check-against-urls-with-path
imblue-dabadee Sep 18, 2025
302d40e
fix: update PhishingStalelist to use flat structure
imblue-dabadee Sep 23, 2025
477f90c
test: phishing list is replaced if different in maybeUpdateState
imblue-dabadee Sep 23, 2025
6d194f1
fix: remove eth_phishing_detect_config from PhishingListState
imblue-dabadee Sep 23, 2025
42eb75d
test: update tests to use flat structure
imblue-dabadee Sep 23, 2025
89e231b
chore: update lint issues
imblue-dabadee Sep 25, 2025
655bc55
refactor: update to handle blocklistPaths as targetListState
imblue-dabadee Sep 25, 2025
6b66b65
test: update applyDiffs targetList
imblue-dabadee Sep 25, 2025
791a413
util: convert convertListToTrie
imblue-dabadee Sep 25, 2025
7b73abc
test: convertListToTrie
imblue-dabadee Sep 25, 2025
80d2078
refactor: blocklistPaths in controller
imblue-dabadee Sep 25, 2025
c0eb43b
test: update for blocklistPaths
imblue-dabadee Sep 25, 2025
50f84b5
chore: remove unused func
imblue-dabadee Sep 25, 2025
a7929be
fix: lint
imblue-dabadee Sep 25, 2025
eedc5cd
chore: lint
imblue-dabadee Sep 25, 2025
9ed30c3
Merge remote-tracking branch 'origin/main' into feat/check-against-ur…
imblue-dabadee Sep 25, 2025
e3c0656
chore: update test
imblue-dabadee Sep 25, 2025
0b4bb58
feat: deepCopyPathTrie
imblue-dabadee Sep 26, 2025
8eaa822
test: deepCopyPathTrie
imblue-dabadee Sep 26, 2025
88011a0
fix: add deepCopyPathTrie to applyDiffs
imblue-dabadee Sep 26, 2025
412452c
test: update applyDiffs
imblue-dabadee Sep 26, 2025
5f2b5e6
chore: fix lint issue
imblue-dabadee Sep 26, 2025
46d1e34
chore: update CHANGELOG
imblue-dabadee Sep 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eslint-warning-thresholds.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't be modifying this file should we ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! This file gets automatically updated when you run yarn lint, it's okay to modify and commit this. The goal of this file is to track how many lint warnings there are so we can slowly remove them (it's a tech debt kind of thing). Only thing I would say is that the numbers in this file should go down.

Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
"jsdoc/tag-lines": 1
},
"packages/phishing-controller/src/PhishingController.ts": {
"jsdoc/check-tag-names": 38,
"jsdoc/check-tag-names": 39,
"jsdoc/tag-lines": 1
},
"packages/phishing-controller/src/PhishingDetector.ts": {
Expand Down
Loading
Loading