Logo de Secrets In File Metadata

Secrets In File Metadata

Organização
UseOSINT
secrets-in-file-metadata

Extract and interpret embedded file metadata with exiftool — EXIF GPS coordinates, camera make, model and serial, DateTimeOriginal and CreateDate timestamps, XMP and IPTC fields, and Office and PDF properties such as Author, Company, LastModifiedBy, template paths and revision counts. Use when reading EXIF from a photo, checking who really wrote a document, dating a file, fingerprinting a camera or phone, or investigating provenance in JPEG, HEIC, RAW, MP4, DOCX, XLSX or PDF. Applies to document-provenance disputes, insider-leak attribution, evidence handling, and pre-publication redaction checks. Reference at useosint.com/skills/secrets-in-file-metadata.

Visão geral

Publicado porUseOSINT
RepositórioSkills
Nome da habilidadesecrets-in-file-metadata
Estrelas
63
Forks
6
Arquivos incluídos
2
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 2

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por UseOSINT no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Secrets In File Metadata no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/UseOSINT/Skills/tree/main/skills/secrets-in-file-metadata
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UseOSINT/Skills.git /tmp/Skills
mkdir -p .claude/skills
cp -r /tmp/Skills/skills/secrets-in-file-metadata .claude/skills/secrets-in-file-metadata
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Secrets In File Metadata em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Secrets In File Metadata automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Secrets In File Metadata não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Secrets in file metadata

The fastest lead in an investigation is often already inside the file: GPS to six decimal places, a camera serial that ties four "unrelated" images to one body, a document author who is a real employee, a template path containing a corporate share name.

Two things beginners get wrong. Absent metadata is not suspicious — it is the normal state of anything that passed through a social platform. And present metadata is not proof: every tag is a claim written by whatever software touched the file last, and all of it is editable with one command.

Where to look first, given what you have

You haveReach forBecause
A photo downloaded from a social platformExpect nothingDelivery pipelines re-encode. Use find-the-original-image to reach an un-stripped upstream copy.
A photo from a forum, CMS, or direct file linkFull exiftool dumpThese serve your bytes back. GPS survives here more often than people expect.
A messaging attachmentFull dump, and note how it was sentSent-as-photo is usually re-encoded; sent-as-file usually is not.
A folder from one sourceexiftool -r -csv triageYou want the outlier, and the tags shared across files.
A DOCX/XLSX/PPTXexiftool, then unzip the containerTracked changes, comment authors, revision identifiers and embedded images with intact EXIF are not surfaced by exiftool.
A PDFexiftool, then a structural parserProducer strings, incremental revisions, embedded files and images with their own metadata.
A press or agency photoIPTC and XMP blocks specificallyNewsroom workflows write caption, credit, named persons and location there, and it often survives when EXIF does not.
A RAW or HEIC straight off a deviceFull dump including MakerNotesThe richest case: serials, shutter counts, lens data, sub-second timing.
A videoexiftool plus ffprobeContainer creation time, encoder string, per-track metadata, embedded GPS tracks.

exiftool, properly

bash
exiftool -G1 -a -u -g1 file.jpg        # everything, grouped into sections — best for reading
exiftool -G -a -u -s file.jpg          # everything, one line per tag, real tag names
exiftool -time:all -G1 -a -s file.jpg  # every timestamp anywhere in the file
exiftool -gps:all -n file.jpg          # GPS as raw signed decimals, ready to paste into a map

Why the defaults lose evidence:

  • -G / -G1 prefixes each tag with its group ([EXIF], [XMP], [IPTC], [MakerNotes], [File], [Composite]). Without it you cannot distinguish a tag the device wrote from a Composite value exiftool calculated, or an EXIF timestamp from a filesystem one. -G1 gives the finer group.
  • -a keeps duplicate tags instead of showing only the last. Inconsistencies live here: the same timestamp with two different values in two blocks means two programs disagreed, which means the file was edited.
  • -u shows tags exiftool has no name for. Vendor blocks are often the point.
  • -n disables pretty-printing — signed decimal degrees instead of 52 deg 22' 8.40" N.
  • -s prints tag names rather than descriptions, so you can query them again.
  • -ee extracts embedded data, including GPS tracks inside video streams.

Bulk triage, then sort the CSV looking for which files carry GPS at all, a recurring SerialNumber, timestamps outside the claimed window, and the one file whose Software differs:

bash
exiftool -r -csv -filename -createdate -datetimeoriginal -modifydate \
  -make -model -serialnumber -gpslatitude -gpslongitude -software DIR > triage.csv
exiftool -r -if '$gpslatitude' -p '$directory/$filename  $gpsposition' DIR

Full command patterns: reference/exiftool-cookbook.md.

Reading the high-value fields

GPS. Position comes from GPSLatitude/GPSLongitude and their Ref tags, height from GPSAltitude plus GPSAltitudeRef. The forgotten ones matter more: GPSImgDirection is the compass bearing the camera was pointed, which places the photographer and orients the view — decisive when matching street-level imagery. GPSDestBearing is the bearing to the subject. GPSHPositioningError is the device's own accuracy estimate in metres and is the honest radius for your finding. GPSDateStamp/GPSTimeStamp are UTC, making them the only trustworthy clock in the file.

Device fingerprint. Make and Model give a device type. SerialNumber, BodySerialNumber, InternalSerialNumber or CameraSerialNumber identify one physical body — the highest-value tag in the file for link analysis, tying images across accounts, platforms and years to a single camera. LensSerialNumber does the same for glass, and a body/lens pair is tighter still. Vendor shutter-count and image-number tags let you order a device's output and estimate how much shooting happened between two frames. OwnerName, CameraOwnerName and Artist are user-set and frequently hold a real name.

Timestamps. DateTimeOriginal is when the shutter fired. CreateDate is when this digital file was created — identical on a camera, different on a scan, export or re-encode. ModifyDate is when it was last written; later than DateTimeOriginal means processing. The trap: EXIF datetimes carry no timezone. They are local device time unless OffsetTime, OffsetTimeOriginal or OffsetTimeDigitized is present, which many devices omit. So reconcile against the UTC GPSDateTime to derive the device's offset — which itself tells you what longitude band the device was set for. Never quote FileModifyDate as evidence about a photograph; it belongs to the filesystem you are looking at and changes on copy.

Thumbnail versus image. Sloppy editors update the main image and leave the embedded preview alone, so the preview can show the scene before the crop or retouch.

bash
exiftool -b -ThumbnailImage file.jpg > thumb.jpg
exiftool -b -PreviewImage   file.jpg > preview.jpg
exiftool -ee -b -JpgFromRaw file.cr2 > embedded.jpg

A different aspect ratio proves a crop. Different content is the whole case.

Editing chain. Software, ProcessingSoftware, HostComputer and XMP's CreatorTool name what touched the file. XMP media-management tags go further: DocumentID, OriginalDocumentID, InstanceID and DerivedFrom link an exported derivative back to a source file you have never seen, and to sibling derivatives of that same source.

IPTC/XMP on press images. By-line, Credit, Source, Caption-Abstract, Headline, DateCreated, City, Country-PrimaryLocationName, plus XMP's person-in-image and location-created structures. On a wire photo this is a complete human-written answer to who, where and when — written by an editor, so treat it as a sourced claim, not a sensor reading.

Documents. Author and LastModifiedBy are the two names. Company and Manager come from the Office install. Template can contain a full UNC path exposing an internal server and department. RevisionNumber and TotalEditTime show whether a document was worked on or produced in one pass to look official. LastPrinted proves a physical copy existed. Then open the container, because per-author identities in tracked changes are not exposed by exiftool:

bash
unzip -o report.docx -d report_x
# docProps/core.xml, docProps/app.xml  — properties
# word/document.xml                    — w:ins / w:del carry w:author and w:date
# word/comments.xml                    — comment authors and initials
# word/settings.xml                    — revision identifiers, a document-lineage fingerprint
# word/media/                          — embedded images, each with its own intact EXIF
# word/_rels/, xl/externalLinks/       — links to internal paths and other documents

Embedded images are the most-missed source of GPS in practice: the document was scrubbed, the photograph pasted into page four was not.

PDF. Producer names the library or driver that wrote the file and is a strong tell — a "scanned" document produced by a word processor was never scanned. Creator names the authoring application. PDF dates, unlike EXIF, do carry a timezone offset. PDFs support incremental updates, so earlier revisions of the content can still be inside the file, and they can carry attachments and images retaining their own metadata. Enumerate with pdfimages -list and pdfdetach -list, and expand the structure with qpdf --qdf before reading it.

Per-format tag catalogue: reference/tag-catalogue.md.

Where this goes wrong

  • Stripping happens on the way in. The mechanism: a host that re-encodes to generate delivery renditions discards EXIF; a host that serves your original bytes keeps it. Large social platforms re-encode. Many forums, self-hosted CMSes, object-storage buckets, photo-community sites and mail attachments do not. CMSes are the interesting middle case — the resized image on the page is stripped while the original upload in the media directory is intact, so try to reach the original path.
  • Absence proves nothing. Not that a file was scrubbed, not that it is fake, not that the uploader was careful. Write "no EXIF present", never "EXIF removed", unless you can show a copy that had it.
  • Presence proves only that someone wrote a value. Corroborate location visually with geolocate-from-pixels and timing with sun position before relying on either.
  • The clock is probably wrong. Camera clocks drift, stay on the wrong timezone after travel, and ignore DST. A bare EXIF datetime is ±hours until anchored against GPSDateTime or a dated event visible in frame.
  • Composite tags are exiftool's arithmetic, not the file's content. GPSPosition, ImageSize and LensID are derived. Without -G you will quote a calculated value as though the device wrote it.
  • Screenshots carry the screenshotting device's metadata, not the photograph's. Check whether Model is a phone before building a theory on it.
  • Editing before extracting is unrecoverable. Rotating, cropping, or even opening in some editors rewrites tags. Hash and copy first.
  • Online metadata viewers mean uploading your evidence to a stranger. Install exiftool; it is one Perl distribution and runs offline. A browser-local tool beats a server-side one, and neither is acceptable for material under a protective order, an NDA, or a live criminal matter. Assume anything uploaded is retained and may be indexed.

Confidence grading

  • Confirmed — a metadata claim corroborated by non-metadata evidence: GPS that matches an independent visual geolocation of the same frame; a camera serial appearing in files from two unconnected sources; a document author matching a known employee found via find-anyone.
  • Probable — internally consistent metadata from a plausible device, in a file from a host that does not strip, with timestamps agreeing across EXIF, XMP and the embedded thumbnail, and no editor in the chain.
  • Unconfirmed — a single tag with nothing to check it against. Every GPS coordinate you have not visually verified sits here. That is fine, if labelled.
  • Contradicted — timestamps that disagree, a thumbnail showing a different scene, GPS the visual evidence rules out, or an editing tool the source denied using. A contradiction is a finding in its own right, often better than the original tag would have been.

Worked example

Verify a PDF "site inspection report" attached to an insurance claim, allegedly written on site on a stated date.

exiftool -G1 -a -u -g1 report.pdf: Producer is a word-processor export, not a scanner driver. CreationDate and ModDate are eleven minutes apart, both with an offset three hours from the site's zone. Author is an initial and surname.

pdfimages -list shows four embedded photographs. Extract them and run exiftool — nothing. They were re-encoded on insertion. Dead end, and a common one.

The claim email also carried a DOCX. Unzip it: docProps/app.xml gives a TotalEditTime under four minutes and a Template UNC path whose hostname belongs to a third-party firm, not the insured. word/document.xml has tracked insertions under a second author. word/media/image2.jpeg still has intact EXIF — DateTimeOriginal two months before the claimed inspection, GPS present, Model a phone, GPSHPositioningError nine metres.

Author names probable, to be corroborated against the firm via x-ray-a-company. Photo capture date contradicted against the report's claimed date. Photo location unconfirmed, handed to geolocate-from-pixels with a nine-metre stated radius.

Pivots

What you gotSend to
GPS coordinates, camera bearingwhere-was-this-taken, geolocate-from-pixels
Author, owner, artist, comment authorfind-anyone
Company, template UNC path, internal share namesx-ray-a-company, recon-a-domain-passively
Camera or lens serial linking multiple filesgraph-the-network
Software chain suggesting manipulationis-this-photo-real
Editing username resembling a handlehunt-a-handle
Need for an un-stripped originalfind-the-original-image, read-deleted-pages

Legal notes

Metadata in a file you lawfully hold is yours to read. Two constraints bite. Names, precise location and device identifiers in metadata are personal data under GDPR and comparable regimes whatever file they sit in, so minimisation, retention and purpose limits apply — collect the tags the objective needs, and do not keep a full dump of a subject's photo library because it was easy. And precise historical location data about an identifiable person is the most sensitive material in this skill: legitimate in due diligence, fraud and authorized investigation, and the raw material of stalking. If the only outcome of extracting a GPS tag is knowing where a private individual sleeps, stop. See ../../ETHICS.md.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Secrets In File Metadata faz?

Extract and interpret embedded file metadata with exiftool — EXIF GPS coordinates, camera make, model and serial, DateTimeOriginal and CreateDate timestamps, XMP and IPTC fields, and Office and PDF properties such as Author, Company, LastModifiedBy, template paths and revision counts. Use when reading EXIF from a photo, checking who really wrote a document, dating a file, fingerprinting a camera or phone, or investigating provenance in JPEG, HEIC, RAW, MP4, DOCX, XLSX or PDF. Applies to document-provenance disputes, insider-leak attribution, evidence handling, and pre-publication redaction...

Por que usar Secrets In File Metadata no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Secrets In File Metadata é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Secrets In File Metadata no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/UseOSINT/Skills/tree/main/skills/secrets-in-file-metadata. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Secrets In File Metadata?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Secrets In File Metadata?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Secrets In File Metadata com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Secrets In File Metadata é gratuita?

Sim. A habilidade é publicada no GitHub por UseOSINT sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇