Skip to content

chg: Hide handler variable name in utils.stripProxyFromErrors#18

Merged
Mattwmaster58 merged 1 commit intoMattwmaster58:mainfrom
Lookyloo:rand_handler_name
Jul 24, 2025
Merged

chg: Hide handler variable name in utils.stripProxyFromErrors#18
Mattwmaster58 merged 1 commit intoMattwmaster58:mainfrom
Lookyloo:rand_handler_name

Conversation

@Rafiot
Copy link

@Rafiot Rafiot commented Jul 18, 2025

This is a very weak change, as it doesn't solve the fact that the stack contains at least one extra entry, but it avoids being detected by this specific call during test_pdfStyle.

As far as I can tell, in that specific case, the stack isn't cleaned up, and the script specifically looks for newHandler as a variable name. Using a random name and storing it in window it probably a JS crime, but it is slightly less obvious.

@Mattwmaster58 Mattwmaster58 merged commit 87ced9b into Mattwmaster58:main Jul 24, 2025
0 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants