feat: add persistent fingerprint seeds#606
Open
PopcornDev1 wants to merge 10 commits into
Open
Conversation
Contributor
Author
This was referenced Jul 20, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an optional
fingerprint_seedparameter for Camoufox-generatedfingerprints so callers can reproduce stable generated identity values across
launches and browser contexts.
Related issues/discussions:
This is intentionally Python/API-level only. It does not include browser engine,
C++, TLS, networking, or renderer-level fingerprinting changes.
Motivation
Camoufox is good at generating fresh fingerprints, but persistent profiles need
a way to keep generated fingerprint values stable across restarts. Several users
have reported that cookies/storage can persist while generated fingerprint
surfaces still rotate, causing CreepJS/fingerprint IDs or browser identity
signals to change between runs.
fingerprint_seedgives callers a stable generation input while preserving thecurrent random-by-default behavior when no seed is supplied.
What Changed
pythonlib/camoufox/&fingerprint_seed.py.fingerprint_seedsupport to:launch_options()NewContext()AsyncNewContext()generate_context_fingerprint()str,int, andbytesseeds.bool.namespace-specific sub-seeds.
fingerprint_seedis consumed by Camoufox and not forwarded toPlaywright.
scripts.
.appbundle fallback for locatingproperties.json.Seeded Surfaces
Seeded generation now covers Camoufox-owned generated values including:
window.history.lengthCompatibility / Caveats
fingerprint_seed.fingerprint_seedcontrols generated fingerprint values only.user_data_dir/ persistentcontext.
init-script path.
Testing
Regression tests added for:
properties.jsonfallbackLocal checks run:
Result:
18 passed, 2 skipped
Dogfooding
This branch is being dogfooded in VulpineOS for long-lived agent identities:
profile layer