J
justin Lol
Guest
OSINTGraph β Mapping Instagram for OSINT Investigations
What is OSINT?
OSINT (aka Open Source Intelligence) is about using public information for investigations, analyzing it, and making decisions based on data available in public sources.
Most of us scroll Instagram daily β posting photos, liking memes, dropping a quick comment. It feels casual, but every like, follow, and reply leaves a trail. Put all these together, those trails become a very detailed picture of your habits, interests, and connections.
OSINTGraph, a Python command line tool for OSINT, targets a person's Instagram Network by gathering all Instagram data and maps it visually into a graph database.

^^^Click the video to view
- Nodes = profiles, posts, comments
- Relationships = follows, likes, replies, comments
With this, you can see at a glance:
- Who follows mutually with your target
- What post does your target commented on the most?
- What are all the public interactions between your target and another person? (commented on each other post? have shared followers? frequent replying on each comment?)
- What kind of post your target interacts with most?
- ... etc.
How it Works
OSINTGraph use a very simple reconnaissance methodology to gather relevant data on your target.
osintgraph discover
β gathers all of a target accountβs public Instagram data (profile, followers, followees, posts, comments, likes).osintgraph explore
β digs deeper by gathering all the targetβs followee accounts. Why? Because followees often reveal interests, communities, or organizations the target connects to (friends, work, school, hobbies, etc.). This builds a wider, richer picture.- Everything is stored in a Neo4j graph database, where you can query and visualize connections.
AI-Powered Analysis
Looking at a huge graph is useful, but analysis can still be overwhelming. Thatβs why OSINTGraph integrates an AI agent with the command:
osintgraph agent
β The agent knows your graph. You can ask it questions in plain English, like:
βFind all comments @john_doe made about βpartyβ.β
The agent searches through your graph and shows the answer that matters to you without you manually reading hundreds of comments.
For more advanced investigations, OSINTGraph supports templates. Templates let you design custom AI βbrainsβ using system prompts to analyze data however you need β finding clues, generating insights, summarizing accounts, or running any kind of investigation logic you want.
Thatβs the simplified explanation of the tool. If youβre interested in more, I recommend checking out the GitHub. Everything is built primarily using free services, so itβs accessible to anyone. (Of course, youβll need a dummy Instagram account to start β preferably not your main one!).
OSINTGraph is both a tool for investigators and a reminder to be mindful about what we share online.

Continue reading...