How or1un/mosaic works
MOSAIC structures public signals from multiple platforms, saves local JSON results, and optionally analyzes a selected result with a contextual prompt and local LLM. Analysts interpret the resulting signals rather than receiving diagnoses. Platform collection is implemented in one large module; the README documents its source coverage, while the excerpts do not expose every platform-specific call or collection-to-file write. The map preserves those documented capabilities and marks those relationships accordingly.
Main entry points: Collecte.py Collection Interface · Analysis.py Analysis Workflow · prompts Context Prompts · results Local JSON Results
Components 21
Workflow
- Workflow Orchestrator
MOSAIC.py - Collection Interface
modules/Collecte.py - Local JSON Results
results
Technical Signals
- GitHub
modules/Collecte.py - Stack Overflow
modules/Collecte.py
Social Signals
Analysis
- Analysis Workflow
modules/Analysis.py - Context Prompts
modules/prompts - Recruitment Prompt
modules/prompts/Recruitment.md - OPSEC Audit Prompt
modules/prompts/OPSEC_audit.md - Threat Intelligence Prompt
modules/prompts/Threat_Intelligence.md - PoC Prompt
modules/prompts/PoC.md - LLM Backend
modules/llm_backend.py - Ollama
- Human Interpretation
Other components
- Researcher / Analyst
Connections 23
- Researcher / Analyst → Workflow Orchestrator: starts workflow
README.md - Workflow Orchestrator → Collection Interface: launches extraction
MOSAIC.py - Collection Interface → GitHub: collects signals
README.md - Collection Interface → Stack Overflow: collects signals
README.md - Collection Interface → Telegram: collects signals
README.md - Collection Interface → Reddit: collects signals
README.md - Collection Interface → Mastodon: collects signals
README.md - Collection Interface → Bluesky: collects signals
README.md - Collection Interface → YouTube: collects signals
README.md - Collection Interface → Medium: collects signals
README.md - Collection Interface → Local JSON Results: stores locally
README.md - Workflow Orchestrator → Analysis Workflow: optionally launches
MOSAIC.py - Researcher / Analyst → Analysis Workflow: selects context
modules/Analysis.py - Analysis Workflow → Local JSON Results: reads JSON
modules/Analysis.py - Analysis Workflow → Context Prompts: lists and reads
modules/Analysis.py - Context Prompts → Recruitment Prompt: includes
README.md - Context Prompts → OPSEC Audit Prompt: includes
README.md - Context Prompts → Threat Intelligence Prompt: includes
README.md - Context Prompts → PoC Prompt: includes
README.md - Analysis Workflow → LLM Backend: invokes analysis
modules/Analysis.py - LLM Backend → Ollama: sends prompt
modules/llm_backend.py - Analysis Workflow → Local JSON Results: saves report
modules/Analysis.py - Local JSON Results → Human Interpretation: informs interpretation
README.md