-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue running stealth_extension #1081
Comments
Hey @jackiecan, I haven't had the time to push this PR any further as the semester began and likely won't get to any more work on the PR until early March. From what I recall, I'd expect the extension to be functional, if you could get it to compile/pass the TypeScript checker (tsc) which is giving you these errors. Depending on your level of familiarity with TypeScript, you might be able to work yourself through the type errors. (If you are proficient, you might be able to continue the work I did and model the added global functions, otherwise try adding more Another reason that this PR isn't merged yet is a lack of tests. I'd like to make sure that the benefits claimed in the paper (primarily around decreased detection surface) stay working on future Firefox releases. However, in any case you should try and rebase the work on the current master, as you'll be running an outdated Firefox otherwise. |
@jackiecan I fixed the tsc issues now it's just a whole bunch of eslint stuff. So if you have some time to spend on this, you could easily get this into a working state. I also rebased the PR against the current master |
Hi, thank you so much for keeping up with this! I'm sorry that I did't respond before, I thought I answered, but it seems like I never sent that message.
Not shure if this is legit, but I was able to fix this by changing the propertiesToInstrument for logSettings in js_instrument_settings.schema.json to
because in fingerprinting.json it's just "propertiesToInstrument": ["name", "localStorage", "sessionStorage"]. Then the program "crashed" when the following was called in deploy_firefox.py.
It appears that the fifo wasn't present anymore when called for the second time. Now there are only some eslint things left. But the Extension runs fine. |
Thanks for reporting both issues. The ESLint issues should be fixed now |
Hi @vringar, This issue may be irrelevant for many measurements; however, others may need this information. Supporting both variants (stealth_extension with pollution and without it) should be feasible. I am happy to point you to the code fragments if required. If you are not in a hurry, I can make the necessary changes myself. You can access the tooling we used here:
I would also like to check the FP surface before you merge it. Just let me know when it is ready. |
Hey @bkrumnow, I'd really appreciate it if you could make it support both modes as the WebExtension really isn't a strong area of the code base for me. Thanks for also linking the detectors. I'll turn them into tests when I find the time. I'll definitely let you know when this PR is ready from my POV, so you can do the final testing. |
Hi,
I'm currently working on setting up the Stealth Extension by @bkrumnow on a freshly installed Ubuntu 18.04 system by running the stealth_extension branch. However, I'm encountering errors when
npm ci
is run in/scripts/build-extension.sh
The following error messages appearing regarding the instrument.ts and stealth.ts files during the execution of the
> build:main command
(see below)Full console Log and Debug log of run of
install.sh
: console_log_install.txt, 2024-01-10T09_47_20_547Z-debug-0.logBased on the information from Pull Request #1037, it appears that the extension might not be stable at the moment? I'm wondering if you have any insights into why these errors are occurring and if there are any steps I can take to successfully use the extension.
I appreciate your assistance in advance! Thanks for maintaining the tool!
Best Regards :)
ERROR:
The text was updated successfully, but these errors were encountered: