Photographers know this problem intimately, even if they've never framed it as a security issue.
You shoot on location. You strip EXIF before delivering. You know GPS coordinates are in there, you know how to remove them, you do it. Clean file. Job done.
Except the image itself still knows where it was taken.
The distinctive ironwork on that balcony. The vegetation that narrows the climate and region. The condensation-fogged window with a street reflection in it. The menu board in the background with a restaurant name that, if you know the area, places the shot within two blocks. A good OSINT analyst with local knowledge doesn't need your GPS coordinates. They have the frame.
That's the attack surface Amnesia was built to address.
exiftool Clears the Fields. The Pixels Remember.
exiftool -all= image.jpg removes writable metadata groups supported for that file format. Check the output rather than assuming every format has the same coverage. It does nothing about the visible scene. The Sharp output documentation makes a related distinction important to this tool: default re-encoding strips metadata, while withMetadata() retains it.
The visual geolocation problem is older than AI, there are whole communities built around identifying photo locations from environmental cues. A vision-language model can propose clues across a batch. Whether those clues identify a place still needs checking against the image and independent evidence. This audit did not measure model accuracy or time per image.
Amnesia runs that same inference pipeline in reverse: instead of identifying where an image was taken, it surfaces the specific elements that could be used to identify it, and gives you the tooling to remediate before the asset goes anywhere.
Contextual Inference, Not Pattern Matching
The model receives the image and a prompt asking for landmarks, street signs, reflections, foliage, and other identifiers. Amnesia's current cloud path requests Gemini analysis. Its local path requests llava through Ollama. The output contains suggested markers and normalized boxes for localizable findings.
A familiar balcony might narrow a search. A model can also confidently assign it to the wrong city. A box identifies where the model wants you to look, not proof that its explanation is correct. Review the cue, check the location claim, and inspect what remains after redaction. No arrondissement-level accuracy or two-second throughput measurement is established here.
This is what makes the remediation problem hard: the localization signal isn't in a header field you can zero out. It's distributed across the entire frame, in elements that look like background detail to a human reviewer who isn't specifically looking for them.
Flag, Redact, Download Clean
The web interface takes a target URL and scans it for images and video. Each asset goes through high-inference analysis, landmarks, street signage, architectural details, regional foliage, reflections, boutique signatures, anything that creates a localization vector. The model flags what it found and why, and you decide what to remediate.
The current server route blurs supplied regions and falls back to whole-frame blur when no boxes are supplied. That is a real implementation, but blur is not proof that a location is unrecoverable. Invalid or unusable boxes still need fail-closed handling, and orientation needs checking when boxes are mapped onto source pixels. I did not run a model or adversarial geolocation test in this pass.
The CLI has a narrower job: local metadata removal. It does not call a model or produce visual-location flags. From the checked source checkout, with dependencies installed:
node --test scripts/scrub.test.mjs
npm run scrub -- ./client_deliverables/ ./client_deliverables_scrubbed/
The output directory must be new, outside the input tree, and have an existing parent. The scrubber preserves relative paths, so two shoots containing same.jpg do not overwrite each other. It applies EXIF orientation to the pixels before dropping metadata, reads each output back, and reports failures with a nonzero exit status. Originals stay in place. Re-encoding can change image quality and color interpretation, so inspect delivery copies as photographs too.
During the October 25 audit, the old CLI reported two processed files but produced one output because it flattened their names. That output still contained the synthetic EXIF marker: the supposedly stripping path called withMetadata({}). Both defects are repaired. Eight local regression tests now cover metadata removal, orientation, duplicate filenames, corrupt input, symbolic links, output boundaries, and CLI failure status. These tests establish the checked synthetic image behavior, not every supported format or visual anonymity.
Zero-Cloud Mode
Some assets shouldn't travel. Client work under NDA, unreleased product shots, editorial involving private individuals, anything where sending the image to a cloud API is itself a disclosure event.
The local option sends the image to Ollama on localhost:11434. If that call fails, the implementation reports that visual analysis was unavailable rather than silently switching to Gemini. That is useful behavior. It does not make the whole workflow offline.
Before either model path, the application requests metadata and image bytes through its server proxy. Scanning a public site or fetching a remote image still contacts that host. If the web server is hosted elsewhere, the image passes through that server before the browser calls local Ollama. The current development server also binds to all interfaces and enables permissive cross-origin access. It needs network confinement and proxy destination controls before sensitive use.
For an unreleased local photograph, the repaired CLI is the path checked here without fetching remote assets or calling a model. A complete local visual workflow still needs an explicit local-file input, enforced routing, and a measured network trace. The cloud client also receives its configured Gemini key through the build configuration; that credential design needs repair before a shared deployment. Do not put a shared secret into a public browser bundle.
Ghost Mode: Auditing What's Already Live
The browser extension is the red team side of the tool. Right-click any image on any page, send it directly to your local Amnesia instance. Useful for auditing assets you've already published, checking what a client's existing site is exposing, or verifying that a scrubbing pass actually worked before the next campaign goes up.
Most sites have the same gap: EXIF is stripped somewhere in the upload pipeline, if it's stripped at all, and the visual content is never checked. Ghost Mode makes that audit fast enough to be practical. Load a page, scan what's there, see what the model flags. Five minutes of work that most teams have never done.
The Asymmetry
Every platform that accepts user-uploaded images is accumulating a corpus of unintentionally geolocated assets. The person who photographed their product on their apartment balcony didn't include their address. The frame may have anyway.
The capability that makes Amnesia's scanner work is not proprietary. It's available to anyone running a multimodal model, which is anyone with an API key and twenty lines of code. The asymmetry is stark: creating visual location data is a side effect of shooting on location, costs nothing, and happens automatically. Remediating it has historically required either manual review by someone who knows what to look for, or specialized forensic tools that weren't built for creative workflows.
What the VLM era changed is that the attacker's capability scaled dramatically. A model can accelerate clue generation for either side. The useful comparison is whether a reviewer can still locate the image after the chosen details are removed. That needs controlled before-and-after trials, including false location claims, rather than a speed estimate borrowed from the premise.
Amnesia is an attempt to scale the defense to match. The source and installation instructions are on GitHub. MDRN is now the security-services doorway; this pass does not establish a hosted Amnesia deployment there.
The metadata strip was always the floor, not the ceiling. Now there's tooling for the ceiling too.
Code and claim review: October 25, 2026. Eight synthetic CLI checks; no new cloud/local VLM call, extension run, or visual geolocation benchmark.
GhostInThePrompt.com // EXIF was clean. The awning wasn't.