Skip to main content

DataDagger - Influence Archaeology OSINT Tool

DataDagger is a command-line OSINT tool for mapping how ideas, narratives, and information spread through digital communities over time. It helps security researchers and analysts understand information flow patterns and identify potential threats.

Important API Changes (2023)

⚠️ Twitter API Update: As of February 2023, Twitter no longer offers free API access. Basic tier starts at $100/month.

Current Platform Support:

  • ✅ Reddit - Free API access available
  • ⚠️ Twitter - Paid API required ($100+/month)
  • 🆕 Mastodon - Free alternative to Twitter
  • 🔮 Future: Planning support for Truth Social, Telegram, and other platforms

Alternatives to Twitter:

  1. Mastodon API - Free, decentralized social network
  2. Web scraping - Use with caution and respect robots.txt
  3. Academic access - Some researchers may qualify for special access

Features

  • Narrative Tracking: Trace how specific ideas, memes, or narratives originated and evolved
  • Influence Mapping: Map which accounts first pushed certain narratives
  • Cross-Platform Analysis: Shows how information flows between different platforms
  • Timeline Visualization: Create timeline visualizations showing idea evolution
  • Network Analysis: Maps social networks of influence relationships
  • Content Evolution: Track how stories change as they spread

Quick Install

pip install datadagger

That's it! Skip to Quick Start if you want to try it immediately.

Manual Installation

  1. Clone the repository
  2. Install dependencies:
    pip install -r requirements.txt
    
  3. Set up your environment variables (see .env.example)

Quick Start

# Install DataDagger
pip install datadagger

# Try the demo (no setup required)
datadagger demo

# Check platform pricing and options
datadagger pricing

# Setup free APIs  
datadagger setup

# Search across free platforms
datadagger search "your topic" --platforms reddit,mastodon

Usage

Basic Commands

# Search for a narrative across free platforms
datadagger search "birds aren't real" --platforms reddit,mastodon --days 30

# Track narrative evolution (Reddit + Mastodon)  
datadagger track --query "covid lab leak" --start-date 2020-01-01 --end-date 2023-01-01

# Analyze influence networks
datadagger network --hashtag "#climatechange" --depth 3

# Generate timeline visualization
datadagger timeline --narrative "flat earth" --output timeline.html

# Export data for analysis
datadagger export --query "misinformation" --format csv --output data.csv

Advanced Features

# Sentiment analysis over time
datadagger sentiment --query "vaccine" --platform mastodon --timeline

# Find patient zero of a narrative
datadagger origin --query "specific conspiracy theory" --threshold 0.8

# Cross-platform correlation analysis
datadagger correlate --query1 "narrative A" --query2 "narrative B"

# Use Twitter (if you have paid access)
datadagger search "breaking news" --platforms twitter --limit 100

Configuration

Copy .env.example to .env and configure your API keys:

# Reddit API (Free)
REDDIT_CLIENT_ID=your_reddit_client_id
REDDIT_CLIENT_SECRET=your_reddit_client_secret

# Mastodon API (Free) 
MASTODON_INSTANCE_URL=https://mastodon.social
MASTODON_ACCESS_TOKEN=your_token_here  # Optional for public data

Paid Platforms

# Twitter API (Paid - $100+/month since Feb 2023)
TWITTER_BEARER_TOKEN=your_twitter_bearer_token

API Cost Breakdown (as of 2025)

Platform Cost Features Recommendation
Reddit FREE Full API access ✅ Start here
Mastodon FREE Decentralized, Twitter-like ✅ Great alternative
Twitter $100+/month Official Twitter data ⚠️ Only if budget allows

Getting API Keys

  1. Reddit (FREE):

  2. Mastodon (FREE):

    • Choose an instance (e.g., mastodon.social)
    • Create account → Preferences → Development
    • Create new application
  3. Twitter (PAID):

This tool is designed for:

  • Security research and threat intelligence
  • Academic research on information diffusion
  • Journalism and fact-checking
  • Understanding misinformation patterns

Important: Only use this tool on publicly available data and in compliance with platform terms of service and applicable laws.

License

MIT License - See LICENSE file for details.

Metadata

Release files for datadagger 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datadagger 2.0.0
File Size Uploaded Provenance Actions
datadagger-2.0.0.tar.gz 53.5 kB Without provenance Details for datadagger-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datadagger 2.0.0
File Interpreter ABI Platform Actions
datadagger-2.0.0-py3-none-any.whl Python 3 none any Details for datadagger-2.0.0-py3-none-any.whl

Total release size: 95.6 kB

Release files / datadagger-2.0.0.tar.gz

Download URL datadagger-2.0.0.tar.gz
Size 53.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1985da14f90cf4f2b190c2f71cbcb670d806e399f8c311bf83a742f5c013d609
BLAKE2b-256 checksum
How to use checksums
4de93cfc5a5216d990a64b2774abd0ac2ecb7deb50c7a34ec305cca7544f7f96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / datadagger-2.0.0-py3-none-any.whl

Download URL datadagger-2.0.0-py3-none-any.whl
Size 42.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eea88e5e36690842dd14ae2349727582ef033a7581e0c3ec60e1052547544d55
BLAKE2b-256 checksum
How to use checksums
6d4c6d02d030168fee3e881783e2a141cc625a6695ee93427bbb08587faa9dfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for datadagger 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page