- Copy the Firefox profile with reflinks but refuse data symlinks inside the
clone, and reject source/destination path containment, so the original
profile cannot be written through an internal symlink or a nested target.
- Cap ArrayBuffer/typed-array values at 8 MiB before they expand into number
arrays and enforce the 32 MiB encoded budget incrementally during snapshot.
- Resolve symlinks before the root/home target guard (a symlink to $HOME no
longer bypasses it).
- Detect legacy `lock` PID symlinks in addition to .parentlock in both the
Node and Python tools.
- Canonicalise the IndexedDB origin inventory with the same normalisation as
the LocalStorage exporter instead of aborting on one odd origin.
- Kill the browser we started and drop its SingletonLock on SIGINT/SIGTERM in
the LocalStorage and cookie importers; cap passphrase stdin size.
- Document source isolation, interrupted-import state, and the fact that the
temporary IDB clone contains the whole profile (cookies/passwords/history).
- Cookie stream: moz_cookies.expiry is milliseconds, but CDP expects
seconds. The old code imported 52 already-expired cookies in the real
profile and gave every remaining cookie a ~55,000-year expiry; convert
units before comparing/sending, and skip session cookies that cannot
survive the temporary Chromium session.
- Dashboard cookies: request partitionKey:{} for Chrome as well as Firefox
(Chrome also omits CHIPS cookies otherwise), keep hasCrossSiteAncestor,
omit the "unspecified" SameSite attribute for older targets, and never
fall back to an arbitrary cookie store when importing.
- Profile safety: resolve symlinks before cp -a (a symlinked --firefox-profile
was copied as a symlink and Firefox then opened the original profile),
detect Chromium's dangling SingletonLock symlink with lstat, check Firefox's
.parentlock/open descriptors via /proc instead of an optional fuser, refuse
Firefox-looking Chromium targets and root/home, keep the OS password store
for existing Chromium profiles, and clean the sensitive profile clone on
SIGINT/SIGTERM.
- Exporter: never write through a dangling output symlink (O_EXCL|O_NOFOLLOW),
refuse to export while Firefox holds the profile lock, and canonicalise
origins so one odd origin cannot make the importer reject the whole bundle.
- Revert formatting-only manifest changes; align tools/README with the code
(IndexedDB is supported, Node.js 22.12+, lock/symlink/password-store and
key-generator limitations) and add regression tests for all of the above.