diff --git a/content/posts/commits/2026-01-28-bojemoi-telegram-100cc21.md b/content/posts/commits/2026-01-28-bojemoi-telegram-100cc21.md new file mode 100644 index 0000000..aa39fa2 --- /dev/null +++ b/content/posts/commits/2026-01-28-bojemoi-telegram-100cc21.md @@ -0,0 +1,30 @@ +--- +title: "[bojemoi-telegram] Initial commit: Telegram bot with PostgreSQL support" +date: 2026-01-28T14:26:36+01:00 +draft: false +tags: ["commit", "bojemoi-telegram"] +categories: ["Git Activity"] +summary: "Commit 100cc21 par Betty — 0 +0 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `100cc21` + +| | | +|---|---| +| **Repository** | bojemoi-telegram | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `100cc21dc9922d708dff3d1dcb5285606645b1c7` | +| **Date** | 2026-01-28 | + +### Description + +- General-purpose Telegram bot using python-telegram-bot +- Inline keyboards and conversation handlers +- PostgreSQL database with async SQLAlchemy +- Docker Swarm deployment with secrets +- Integration with bojemoi base stack + +Co-Authored-By: Claude Opus 4.5 diff --git a/content/posts/commits/2026-01-28-bojemoi-telegram-1537489.md b/content/posts/commits/2026-01-28-bojemoi-telegram-1537489.md new file mode 100644 index 0000000..2967f6c --- /dev/null +++ b/content/posts/commits/2026-01-28-bojemoi-telegram-1537489.md @@ -0,0 +1,66 @@ +--- +title: "[bojemoi-telegram] Restructure project: move bot to telegram/ and add scripts" +date: 2026-01-28T21:05:52+01:00 +draft: false +tags: ["commit", "bojemoi-telegram", "stack"] +categories: ["Git Activity"] +summary: "Commit 1537489 par Betty — 27 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `1537489` + +| | | +|---|---| +| **Repository** | bojemoi-telegram | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `15374896c1ff410673a4cbea18509a58219f653b` | +| **Date** | 2026-01-28 | + +### Description + +- Move all telegram bot files to telegram/ directory +- Add scripts/ with cccp.sh and tannenberg.py +- Rename Dockerfile to Dockerfile.telegram +- Move docker-stack.yml to telegram/stack/ + +Co-Authored-By: Claude Opus 4.5 + +### Fichiers modifiés + +``` +M .env.example +D Dockerfile +D bot.py +D config.py +D database/__init__.py +D database/connection.py +D database/crud.py +D database/models.py +D deploy.sh +D docker-compose.yml +D docker-stack.yml +D init_db.py +D requirements.txt +A scripts/cccp.sh +A scripts/tannenberg.py +A telegram/Dockerfile.telegram +A telegram/bot.py +A telegram/config.py +A telegram/database/__init__.py +A telegram/database/connection.py +A telegram/database/crud.py +A telegram/database/models.py +A telegram/deploy.sh +A telegram/docker-compose.yml +A telegram/init_db.py +A telegram/requirements.txt +A telegram/stack/docker-stack.yml +``` + +### Statistiques + +``` + 27 files changed, 1631 insertions(+), 1100 deletions(-) +``` diff --git a/content/posts/commits/2026-01-28-bojemoi-telegram-e7333ad.md b/content/posts/commits/2026-01-28-bojemoi-telegram-e7333ad.md new file mode 100644 index 0000000..76c623a --- /dev/null +++ b/content/posts/commits/2026-01-28-bojemoi-telegram-e7333ad.md @@ -0,0 +1,38 @@ +--- +title: "[bojemoi-telegram] Fix registration confirmation to accept multiple responses" +date: 2026-01-28T14:55:09+01:00 +draft: false +tags: ["commit", "bojemoi-telegram", "fix"] +categories: ["Git Activity"] +summary: "Commit e7333ad par Betty — 1 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `e7333ad` + +| | | +|---|---| +| **Repository** | bojemoi-telegram | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `e7333adcda0e51684a14ed5362bb3aea90a445b9` | +| **Date** | 2026-01-28 | + +### Description + +Accept yes/y/ok/oui/o/да/si for confirm and no/n/non/restart/recommencer +for starting over, instead of requiring exact button text. + +Co-Authored-By: Claude Opus 4.5 + +### Fichiers modifiés + +``` +M bot.py +``` + +### Statistiques + +``` + 1 file changed, 6 insertions(+), 3 deletions(-) +``` diff --git a/content/posts/commits/2026-01-30-bojemoi-telegram-fefa6db.md b/content/posts/commits/2026-01-30-bojemoi-telegram-fefa6db.md new file mode 100644 index 0000000..8ee986a --- /dev/null +++ b/content/posts/commits/2026-01-30-bojemoi-telegram-fefa6db.md @@ -0,0 +1,42 @@ +--- +title: "[bojemoi-telegram] Add IP2LOCATION verification to restrict registration to Russian IPs" +date: 2026-01-30T22:41:47+01:00 +draft: false +tags: ["commit", "bojemoi-telegram", "feature"] +categories: ["Git Activity"] +summary: "Commit fefa6db par Betty — 4 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `fefa6db` + +| | | +|---|---| +| **Repository** | bojemoi-telegram | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `fefa6db6488aacb66c816c2d42df4ad927f1a777` | +| **Date** | 2026-01-30 | + +### Description + +Query the ip2location database (ip2location_db1 table) during registration +to verify IP addresses. Only allow registration for IPs from Russia (RU), +reject all others or unverifiable IPs. + +Co-Authored-By: Claude Opus 4.5 + +### Fichiers modifiés + +``` +M telegram/bot.py +M telegram/config.py +M telegram/database/connection.py +M telegram/database/crud.py +``` + +### Statistiques + +``` + 4 files changed, 49 insertions(+), 21 deletions(-) +``` diff --git a/content/posts/commits/2026-01-30-bojemoi_boot-3b49785.md b/content/posts/commits/2026-01-30-bojemoi_boot-3b49785.md new file mode 100644 index 0000000..5e812ce --- /dev/null +++ b/content/posts/commits/2026-01-30-bojemoi_boot-3b49785.md @@ -0,0 +1,35 @@ +--- +title: "[bojemoi_boot] Add image mappings for tempo, postfix-exporter, protonmail-bridge" +date: 2026-01-30T20:35:01+01:00 +draft: false +tags: ["commit", "bojemoi_boot", "feature"] +categories: ["Git Activity"] +summary: "Commit 3b49785 par Betty — 1 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `3b49785` + +| | | +|---|---| +| **Repository** | bojemoi_boot | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `3b49785adb89bc9614268a61d481da672f952f5d` | +| **Date** | 2026-01-30 | + +### Description + +Co-Authored-By: Claude Opus 4.5 + +### Fichiers modifiés + +``` +M scripts/push-images.sh +``` + +### Statistiques + +``` + 1 file changed, 9 insertions(+) +``` diff --git a/content/posts/commits/2026-01-30-bojemoi_boot-c25997c.md b/content/posts/commits/2026-01-30-bojemoi_boot-c25997c.md new file mode 100644 index 0000000..6696add --- /dev/null +++ b/content/posts/commits/2026-01-30-bojemoi_boot-c25997c.md @@ -0,0 +1,44 @@ +--- +title: "[bojemoi_boot] Initial commit: Boot services stack" +date: 2026-01-30T20:12:37+01:00 +draft: false +tags: ["commit", "bojemoi_boot"] +categories: ["Git Activity"] +summary: "Commit c25997c par Betty — 0 +0 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `c25997c` + +| | | +|---|---| +| **Repository** | bojemoi_boot | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `c25997cd4c0c2535469a553a7c8f8c94f82e0f4f` | +| **Date** | 2026-01-30 | + +### Description + +Add boot infrastructure services for bojemoi cluster: +- docker-socket-proxy: Security proxy for Docker API (read-only) +- registry: Docker registry on port 5000 +- dnsmasq: DNS service on ports 53, 8080 +- traefik: Reverse proxy on ports 80, 443 +- image-pusher: One-shot service to populate registry from stack files + +Includes push-images.sh script with image mappings: +- cadvisor -> gcr.io/cadvisor/cadvisor +- grafana -> grafana/grafana +- loki -> grafana/loki +- prometheus -> prom/prometheus +- alertmanager -> prom/alertmanager +- node-exporter -> prom/node-exporter +- postgres-exporter -> prometheuscommunity/postgres-exporter +- pgadmin4 -> dpage/pgadmin4 +- postfix -> boky/postfix +- suricata -> jasonish/suricata +- alloy -> grafana/alloy + +Co-Authored-By: Claude Opus 4.5 diff --git a/content/posts/commits/2026-01-31-bojemoi-telegram-1987dfc.md b/content/posts/commits/2026-01-31-bojemoi-telegram-1987dfc.md new file mode 100644 index 0000000..7f3b020 --- /dev/null +++ b/content/posts/commits/2026-01-31-bojemoi-telegram-1987dfc.md @@ -0,0 +1,51 @@ +--- +title: "[bojemoi-telegram] Add blockchain recording and Redis integration for pentest daemon" +date: 2026-01-31T20:19:28+01:00 +draft: false +tags: ["commit", "bojemoi-telegram", "feature", "stack"] +categories: ["Git Activity"] +summary: "Commit 1987dfc par Betty — 10 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `1987dfc` + +| | | +|---|---| +| **Repository** | bojemoi-telegram | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `1987dfc79c9841996a739596b04bc4e0eba2dadd` | +| **Date** | 2026-01-31 | + +### Description + +- Add blockchain module to record all Telegram updates as blocks +- Add Redis client for publishing scan commands and receiving results +- Add /chain and /verify commands for blockchain inspection +- Add Block model to database with hash verification +- Configure Redis connection for pentest-orchestrator communication +- Mount Docker socket for service status checks + +Co-Authored-By: Claude Opus 4.5 + +### Fichiers modifiés + +``` +A telegram/blockchain.py +M telegram/bot.py +M telegram/config.py +M telegram/database/__init__.py +M telegram/database/crud.py +M telegram/database/models.py +M telegram/docker-compose.yml +A telegram/redis_client.py +M telegram/requirements.txt +M telegram/stack/docker-stack.yml +``` + +### Statistiques + +``` + 10 files changed, 791 insertions(+), 4 deletions(-) +``` diff --git a/content/posts/commits/2026-02-01-bojemoi-telegram-fda02da.md b/content/posts/commits/2026-02-01-bojemoi-telegram-fda02da.md new file mode 100644 index 0000000..64da039 --- /dev/null +++ b/content/posts/commits/2026-02-01-bojemoi-telegram-fda02da.md @@ -0,0 +1,49 @@ +--- +title: "[bojemoi-telegram] Add comprehensive OSINT module with Maltego and TheHive integrations" +date: 2026-02-01T23:06:43+01:00 +draft: false +tags: ["commit", "bojemoi-telegram", "feature"] +categories: ["Git Activity"] +summary: "Commit fda02da par Betty — 6 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `fda02da` + +| | | +|---|---| +| **Repository** | bojemoi-telegram | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `fda02da9136b3c0eddf75792ac15f5743f357bf2` | +| **Date** | 2026-02-01 | + +### Description + +Features: +- Multi-source OSINT gathering (IP-API, IPInfo, ipwhois, ThreatCrowd, AlienVault) +- Optional Shodan, VirusTotal, AbuseIPDB support (API keys) +- Automatic threat scoring (0-100) with risk levels +- Proxy/VPN/Tor/hosting detection +- Maltego export (MTGX, CSV, JSON formats) +- TheHive integration (alerts, cases, observables) +- New commands: /osint , /maltego [format] + +Co-Authored-By: Claude Opus 4.5 + +### Fichiers modifiés + +``` +M telegram/bot.py +M telegram/config.py +A telegram/integrations/__init__.py +A telegram/integrations/maltego.py +A telegram/integrations/thehive.py +A telegram/osint.py +``` + +### Statistiques + +``` + 6 files changed, 1996 insertions(+), 9 deletions(-) +``` diff --git a/content/posts/commits/2026-02-02-bojemoi-telegram-c04a904.md b/content/posts/commits/2026-02-02-bojemoi-telegram-c04a904.md new file mode 100644 index 0000000..f4f3633 --- /dev/null +++ b/content/posts/commits/2026-02-02-bojemoi-telegram-c04a904.md @@ -0,0 +1,42 @@ +--- +title: "[bojemoi-telegram] Refactor /register to generate all OSINT documents conditionally" +date: 2026-02-02T21:04:01+01:00 +draft: false +tags: ["commit", "bojemoi-telegram", "refactor"] +categories: ["Git Activity"] +summary: "Commit c04a904 par Betty — 2 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `c04a904` + +| | | +|---|---| +| **Repository** | bojemoi-telegram | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `c04a90416f49fa353d8662efa2cdf7beee1a726a` | +| **Date** | 2026-02-02 | + +### Description + +- Add PENTEST_THREAT_THRESHOLD config (default 50) to control scan launch +- /register now generates full OSINT report, Maltego export, and MITRE ATT&CK mapping +- Pentest scans only launch when threat_score >= threshold +- Remove scan storage in database for /osint and /domainlookup commands +- Remove obsolete commands: /osinthistory, /osintstats, /osintget, /osintsearch, /sendtomisp, /attackmap + +Co-Authored-By: Claude Opus 4.5 + +### Fichiers modifiés + +``` +M telegram/bot.py +M telegram/config.py +``` + +### Statistiques + +``` + 2 files changed, 304 insertions(+), 19 deletions(-) +``` diff --git a/content/posts/commits/2026-02-03-bojemoi_ml-threat-intel-7fd0832.md b/content/posts/commits/2026-02-03-bojemoi_ml-threat-intel-7fd0832.md new file mode 100644 index 0000000..18c39a0 --- /dev/null +++ b/content/posts/commits/2026-02-03-bojemoi_ml-threat-intel-7fd0832.md @@ -0,0 +1,31 @@ +--- +title: "[bojemoi_ml-threat-intel] Initial commit: ML-powered threat intelligence system" +date: 2026-02-03T21:06:43+01:00 +draft: false +tags: ["commit", "bojemoi_ml-threat-intel"] +categories: ["Git Activity"] +summary: "Commit 7fd0832 par Betty — 0 +0 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `7fd0832` + +| | | +|---|---| +| **Repository** | bojemoi_ml-threat-intel | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `7fd08329de8165bb19415a680ecfe21a93983173` | +| **Date** | 2026-02-03 | + +### Description + +- FastAPI REST API for IoC analysis +- ML models for classification and reputation scoring +- OSINT feature extraction (VirusTotal, AbuseIPDB, AlienVault, Shodan) +- PostgreSQL database layer with caching +- Telegram bot integration +- Docker deployment support + +Co-Authored-By: Claude Opus 4.5 diff --git a/content/posts/commits/2026-02-06-bojemoi-telegram-ea5561c.md b/content/posts/commits/2026-02-06-bojemoi-telegram-ea5561c.md new file mode 100644 index 0000000..db50c25 --- /dev/null +++ b/content/posts/commits/2026-02-06-bojemoi-telegram-ea5561c.md @@ -0,0 +1,51 @@ +--- +title: "[bojemoi-telegram] Add OSINT scan persistence, Cortex/MISP/MITRE integrations, and new stack config" +date: 2026-02-06T14:12:16+01:00 +draft: false +tags: ["commit", "bojemoi-telegram", "feature", "stack"] +categories: ["Git Activity"] +summary: "Commit ea5561c par Betty — 12 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `ea5561c` + +| | | +|---|---| +| **Repository** | bojemoi-telegram | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `ea5561c448e3efcee08658a1ab29ffc33d343dc8` | +| **Date** | 2026-02-06 | + +### Description + +Add OSINTScan model and CRUD operations for persisting scan results. Integrate +Cortex, MISP, and MITRE ATT&CK clients for enriched threat intelligence. +Expand osint module with comprehensive analysis capabilities. Replace old +docker-stack with new 60-service-telegram stack definition. + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +A telegram/.env.example +M telegram/database/__init__.py +M telegram/database/crud.py +M telegram/database/models.py +M telegram/integrations/__init__.py +A telegram/integrations/cortex.py +A telegram/integrations/misp.py +A telegram/integrations/mitre_attack.py +M telegram/osint.py +M telegram/requirements.txt +A telegram/stack/60-service-telegram.yml +D telegram/stack/docker-stack.yml +``` + +### Statistiques + +``` + 12 files changed, 2810 insertions(+), 53 deletions(-) +``` diff --git a/content/posts/commits/2026-02-06-bojemoi_boot-c9fcf47.md b/content/posts/commits/2026-02-06-bojemoi_boot-c9fcf47.md new file mode 100644 index 0000000..eceeb07 --- /dev/null +++ b/content/posts/commits/2026-02-06-bojemoi_boot-c9fcf47.md @@ -0,0 +1,40 @@ +--- +title: "[bojemoi_boot] Create overlay networks instead of external, externalize rsync secret" +date: 2026-02-06T14:12:19+01:00 +draft: false +tags: ["commit", "bojemoi_boot", "stack"] +categories: ["Git Activity"] +summary: "Commit c9fcf47 par Betty — 2 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `c9fcf47` + +| | | +|---|---| +| **Repository** | bojemoi_boot | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `c9fcf477628e1e21348407fbdea4812464e7c33f` | +| **Date** | 2026-02-06 | + +### Description + +Switch monitoring/backend/proxy networks from external to overlay with +attachable flag so boot stack can initialize them. Externalize rsync_config +secret with create-secrets.sh script. + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +A scripts/create-secrets.sh +M stack/01-boot-service.yml +``` + +### Statistiques + +``` + 2 files changed, 184 insertions(+), 5 deletions(-) +``` diff --git a/content/posts/commits/2026-02-06-bojemoi_ml-threat-intel-1d570dd.md b/content/posts/commits/2026-02-06-bojemoi_ml-threat-intel-1d570dd.md new file mode 100644 index 0000000..ebdb131 --- /dev/null +++ b/content/posts/commits/2026-02-06-bojemoi_ml-threat-intel-1d570dd.md @@ -0,0 +1,35 @@ +--- +title: "[bojemoi_ml-threat-intel] Add operational procedures documentation" +date: 2026-02-06T14:12:22+01:00 +draft: false +tags: ["commit", "bojemoi_ml-threat-intel", "feature"] +categories: ["Git Activity"] +summary: "Commit 1d570dd par Betty — 1 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `1d570dd` + +| | | +|---|---| +| **Repository** | bojemoi_ml-threat-intel | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `1d570dde5e018cda5d2b62ce3702d61df88b8a70` | +| **Date** | 2026-02-06 | + +### Description + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +A MODE_OPERATOIRE.md +``` + +### Statistiques + +``` + 1 file changed, 344 insertions(+) +``` diff --git a/content/posts/commits/2026-02-09-bojemoi_ml-threat-intel-1c2ac07.md b/content/posts/commits/2026-02-09-bojemoi_ml-threat-intel-1c2ac07.md new file mode 100644 index 0000000..39712f4 --- /dev/null +++ b/content/posts/commits/2026-02-09-bojemoi_ml-threat-intel-1c2ac07.md @@ -0,0 +1,44 @@ +--- +title: "[bojemoi_ml-threat-intel] Fix deployment: Dockerfile reference, healthcheck, and DB connection" +date: 2026-02-09T20:16:11+01:00 +draft: false +tags: ["commit", "bojemoi_ml-threat-intel", "fix"] +categories: ["Git Activity"] +summary: "Commit 1c2ac07 par Betty — 5 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `1c2ac07` + +| | | +|---|---| +| **Repository** | bojemoi_ml-threat-intel | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `1c2ac077885865aa3d7afe31bc34835ec4ab1c10` | +| **Date** | 2026-02-09 | + +### Description + +- deploy.sh: use -f flag to reference Dockerfile.ml-threat +- Dockerfile: fix healthcheck to use GET instead of HEAD (--spider) +- Dockerfile: include pre-trained ML models in image +- api.py: inject DB_USER and DB_NAME from env vars in load_config() + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +M Dockerfile.ml-threat +M api.py +M deploy.sh +A models/ioc_classifier.pkl +A models/reputation_scorer.pkl +``` + +### Statistiques + +``` + 5 files changed, 7 insertions(+), 4 deletions(-) +``` diff --git a/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-1ceecc3.md b/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-1ceecc3.md new file mode 100644 index 0000000..550427d --- /dev/null +++ b/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-1ceecc3.md @@ -0,0 +1,38 @@ +--- +title: "[bojemoi_ml-threat-intel] Update MODE_OPERATOIRE.md with AI agents documentation" +date: 2026-02-10T15:39:03+01:00 +draft: false +tags: ["commit", "bojemoi_ml-threat-intel"] +categories: ["Git Activity"] +summary: "Commit 1ceecc3 par Betty — 1 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `1ceecc3` + +| | | +|---|---| +| **Repository** | bojemoi_ml-threat-intel | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `1ceecc35a2e0331a128925861e93aa58ab4020a6` | +| **Date** | 2026-02-10 | + +### Description + +Add documentation for CorrelatorAgent and ReportGenerator, updated +architecture diagram, configuration, troubleshooting, and security notes. + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +M MODE_OPERATOIRE.md +``` + +### Statistiques + +``` + 1 file changed, 138 insertions(+), 22 deletions(-) +``` diff --git a/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-21c975d.md b/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-21c975d.md new file mode 100644 index 0000000..9ec9149 --- /dev/null +++ b/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-21c975d.md @@ -0,0 +1,38 @@ +--- +title: "[bojemoi_ml-threat-intel] Increase OSINT fetch timeout to 30s and improve error logging" +date: 2026-02-10T15:28:20+01:00 +draft: false +tags: ["commit", "bojemoi_ml-threat-intel"] +categories: ["Git Activity"] +summary: "Commit 21c975d par Betty — 1 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `21c975d` + +| | | +|---|---| +| **Repository** | bojemoi_ml-threat-intel | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `21c975d17442ca3198f8eafccad780a51e217436` | +| **Date** | 2026-02-10 | + +### Description + +10s timeout caused all OSINT sources to fail from overlay network. +Added exc_info traceback to VirusTotal error logging for debugging. + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +M feature_extractor.py +``` + +### Statistiques + +``` + 1 file changed, 5 insertions(+), 5 deletions(-) +``` diff --git a/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-503b953.md b/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-503b953.md new file mode 100644 index 0000000..ed6582e --- /dev/null +++ b/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-503b953.md @@ -0,0 +1,42 @@ +--- +title: "[bojemoi_ml-threat-intel] Add IP investigation pipeline with 4-phase analysis" +date: 2026-02-10T13:12:44+01:00 +draft: false +tags: ["commit", "bojemoi_ml-threat-intel", "feature"] +categories: ["Git Activity"] +summary: "Commit 503b953 par Betty — 3 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `503b953` + +| | | +|---|---| +| **Repository** | bojemoi_ml-threat-intel | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `503b953ad660fb98659014bd50c92b97b23542be` | +| **Date** | 2026-02-10 | + +### Description + +New POST /investigate/{ip} endpoint that runs a background pipeline: +validate (OSINT reputation check) -> surface mapping (Shodan + MSF DB +cross-ref) -> OSINT collection (VT/OTX deep extraction) -> correlation +(composite scoring with threat level and recommendation). + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +M api.py +M database.py +A investigator.py +``` + +### Statistiques + +``` + 3 files changed, 655 insertions(+), 2 deletions(-) +``` diff --git a/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-694b9ba.md b/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-694b9ba.md new file mode 100644 index 0000000..083eaeb --- /dev/null +++ b/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-694b9ba.md @@ -0,0 +1,44 @@ +--- +title: "[bojemoi_ml-threat-intel] Add AI-powered threat correlation and report generation via Claude API" +date: 2026-02-10T14:55:33+01:00 +draft: false +tags: ["commit", "bojemoi_ml-threat-intel", "feature"] +categories: ["Git Activity"] +summary: "Commit 694b9ba par Betty — 6 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `694b9ba` + +| | | +|---|---| +| **Repository** | bojemoi_ml-threat-intel | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `694b9baa8fbf9818903cf7fe93920d7df8542abc` | +| **Date** | 2026-02-10 | + +### Description + +Replace Phase 4 rule-based scoring with LLM correlation (Claude API via aiohttp), +with automatic fallback to rule-based if AI unavailable. Add markdown report +generation for investigations. + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +M .env.example +A ai_agents.py +M api.py +M config/config.yaml +M database.py +M investigator.py +``` + +### Statistiques + +``` + 6 files changed, 326 insertions(+), 6 deletions(-) +``` diff --git a/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-9221e46.md b/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-9221e46.md new file mode 100644 index 0000000..f97928e --- /dev/null +++ b/content/posts/commits/2026-02-10-bojemoi_ml-threat-intel-9221e46.md @@ -0,0 +1,35 @@ +--- +title: "[bojemoi_ml-threat-intel] Rewrite MODE_OPERATOIRE.md with updated architecture and investigation docs" +date: 2026-02-10T13:49:33+01:00 +draft: false +tags: ["commit", "bojemoi_ml-threat-intel"] +categories: ["Git Activity"] +summary: "Commit 9221e46 par Betty — 1 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `9221e46` + +| | | +|---|---| +| **Repository** | bojemoi_ml-threat-intel | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `9221e46af0a6caf6150b53e42efb082f0056ee5a` | +| **Date** | 2026-02-10 | + +### Description + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +M MODE_OPERATOIRE.md +``` + +### Statistiques + +``` + 1 file changed, 318 insertions(+), 158 deletions(-) +``` diff --git a/content/posts/commits/2026-02-11-bojemoi_boot-4d557bd.md b/content/posts/commits/2026-02-11-bojemoi_boot-4d557bd.md new file mode 100644 index 0000000..e48381d --- /dev/null +++ b/content/posts/commits/2026-02-11-bojemoi_boot-4d557bd.md @@ -0,0 +1,38 @@ +--- +title: "[bojemoi_boot] Fix Traefik prometheus.port label: 8082 -> 8085" +date: 2026-02-11T19:04:21+01:00 +draft: false +tags: ["commit", "bojemoi_boot", "fix", "stack"] +categories: ["Git Activity"] +summary: "Commit 4d557bd par Betty — 1 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `4d557bd` + +| | | +|---|---| +| **Repository** | bojemoi_boot | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `4d557bda8f1c78530c5cd3da327423ce53ccc5de` | +| **Date** | 2026-02-11 | + +### Description + +Traefik exposes metrics on entryPoint 'metrics' at port 8085, +not 8082. This caused 4 PrometheusTargetDown alerts. + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +M stack/01-boot-service.yml +``` + +### Statistiques + +``` + 1 file changed, 1 insertion(+), 1 deletion(-) +``` diff --git a/content/posts/commits/2026-02-15-bojemoi-telegram-9950de2.md b/content/posts/commits/2026-02-15-bojemoi-telegram-9950de2.md new file mode 100644 index 0000000..4cac295 --- /dev/null +++ b/content/posts/commits/2026-02-15-bojemoi-telegram-9950de2.md @@ -0,0 +1,38 @@ +--- +title: "[bojemoi-telegram] Fix /register geo-restriction: allow French IPs instead of Russian" +date: 2026-02-15T22:36:44+01:00 +draft: false +tags: ["commit", "bojemoi-telegram", "fix"] +categories: ["Git Activity"] +summary: "Commit 9950de2 par Betty — 1 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `9950de2` + +| | | +|---|---| +| **Repository** | bojemoi-telegram | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `9950de2dcff5b5a39f067de1ff54ee6f1de128ef` | +| **Date** | 2026-02-15 | + +### Description + +The IP2LOCATION check was incorrectly restricting registration to +Russian IPs (RU) instead of French IPs (FR). + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +M telegram/bot.py +``` + +### Statistiques + +``` + 1 file changed, 3 insertions(+), 3 deletions(-) +``` diff --git a/content/posts/commits/2026-02-15-bojemoi-telegram-b723c96.md b/content/posts/commits/2026-02-15-bojemoi-telegram-b723c96.md new file mode 100644 index 0000000..1d29009 --- /dev/null +++ b/content/posts/commits/2026-02-15-bojemoi-telegram-b723c96.md @@ -0,0 +1,40 @@ +--- +title: "[bojemoi-telegram] Refactor MITRE ATT&CK to shared library and remove stack config" +date: 2026-02-15T22:37:23+01:00 +draft: false +tags: ["commit", "bojemoi-telegram", "refactor", "stack"] +categories: ["Git Activity"] +summary: "Commit b723c96 par Betty — 2 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `b723c96` + +| | | +|---|---| +| **Repository** | bojemoi-telegram | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `b723c968559901a05a9cdcbe8fab353669797cd9` | +| **Date** | 2026-02-15 | + +### Description + +Replace inline MITRE ATT&CK implementation with re-exports from the +bojemoi-mitre-attack shared library. Remove 60-service-telegram.yml +stack config (managed elsewhere). + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +M telegram/integrations/mitre_attack.py +D telegram/stack/60-service-telegram.yml +``` + +### Statistiques + +``` + 2 files changed, 6 insertions(+), 694 deletions(-) +``` diff --git a/content/posts/commits/2026-02-16-bojemoi-telegram-5655c92.md b/content/posts/commits/2026-02-16-bojemoi-telegram-5655c92.md new file mode 100644 index 0000000..9dd66fe --- /dev/null +++ b/content/posts/commits/2026-02-16-bojemoi-telegram-5655c92.md @@ -0,0 +1,81 @@ +--- +title: "[bojemoi-telegram] Fix telegram bot: add mitre-attack library and make Redis non-fatal" +date: 2026-02-16T15:03:06+01:00 +draft: false +tags: ["commit", "bojemoi-telegram", "fix"] +categories: ["Git Activity"] +summary: "Commit 5655c92 par Betty — 42 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `5655c92` + +| | | +|---|---| +| **Repository** | bojemoi-telegram | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `5655c9272c174c47fb8942da9c450973c9f27f03` | +| **Date** | 2026-02-16 | + +### Description + +- Rename telegram/ to telegram-bot/ for clarity +- Add bojemoi-mitre-attack to Dockerfile via named build context +- Make Redis subscriber connection non-fatal so bot starts without Redis +- Update deploy.sh with --build-context flag + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +A telegram-bot/.env.example +A telegram-bot/Dockerfile.telegram-bot +A telegram-bot/blockchain.py +A telegram-bot/bot.py +A telegram-bot/config.py +A telegram-bot/database/__init__.py +A telegram-bot/database/connection.py +A telegram-bot/database/crud.py +A telegram-bot/database/models.py +A telegram-bot/deploy.sh +A telegram-bot/docker-compose.yml +A telegram-bot/init_db.py +A telegram-bot/integrations/__init__.py +A telegram-bot/integrations/cortex.py +A telegram-bot/integrations/maltego.py +A telegram-bot/integrations/misp.py +A telegram-bot/integrations/mitre_attack.py +A telegram-bot/integrations/thehive.py +A telegram-bot/osint.py +A telegram-bot/redis_client.py +A telegram-bot/requirements.txt +D telegram/.env.example +D telegram/Dockerfile.telegram +D telegram/blockchain.py +D telegram/bot.py +D telegram/config.py +D telegram/database/__init__.py +D telegram/database/connection.py +D telegram/database/crud.py +D telegram/database/models.py +D telegram/deploy.sh +D telegram/docker-compose.yml +D telegram/init_db.py +D telegram/integrations/__init__.py +D telegram/integrations/cortex.py +D telegram/integrations/maltego.py +D telegram/integrations/misp.py +D telegram/integrations/mitre_attack.py +D telegram/integrations/thehive.py +D telegram/osint.py +D telegram/redis_client.py +D telegram/requirements.txt +``` + +### Statistiques + +``` + 42 files changed, 6372 insertions(+), 6363 deletions(-) +``` diff --git a/content/posts/commits/2026-02-16-bojemoi-telegram-d32c6c0.md b/content/posts/commits/2026-02-16-bojemoi-telegram-d32c6c0.md new file mode 100644 index 0000000..1eb9ae1 --- /dev/null +++ b/content/posts/commits/2026-02-16-bojemoi-telegram-d32c6c0.md @@ -0,0 +1,40 @@ +--- +title: "[bojemoi-telegram] Restore inline MITRE ATT&CK code and fix Dockerfile build" +date: 2026-02-16T18:43:39+01:00 +draft: false +tags: ["commit", "bojemoi-telegram"] +categories: ["Git Activity"] +summary: "Commit d32c6c0 par Betty — 2 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `d32c6c0` + +| | | +|---|---| +| **Repository** | bojemoi-telegram | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `d32c6c0fbe6d1d930a3f26a4c47b87c60bc08271` | +| **Date** | 2026-02-16 | + +### Description + +Remove broken COPY --from=mitre-attack dependency from Dockerfile and +restore the original inline MITRE ATT&CK implementation instead of +re-exports from the unavailable bojemoi-mitre-attack shared library. + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +M telegram-bot/Dockerfile.telegram-bot +M telegram-bot/integrations/mitre_attack.py +``` + +### Statistiques + +``` + 2 files changed, 640 insertions(+), 10 deletions(-) +``` diff --git a/content/posts/commits/2026-02-16-bojemoi-telegram-fde4814.md b/content/posts/commits/2026-02-16-bojemoi-telegram-fde4814.md new file mode 100644 index 0000000..1bb0b37 --- /dev/null +++ b/content/posts/commits/2026-02-16-bojemoi-telegram-fde4814.md @@ -0,0 +1,39 @@ +--- +title: "[bojemoi-telegram] Add geocoding validation for location field during registration" +date: 2026-02-16T18:29:35+01:00 +draft: false +tags: ["commit", "bojemoi-telegram", "feature"] +categories: ["Git Activity"] +summary: "Commit fde4814 par Betty — 1 fichier(s) modifié(s)" +author: "Betty" +--- + +## Commit `fde4814` + +| | | +|---|---| +| **Repository** | bojemoi-telegram | +| **Branch** | `main` | +| **Auteur** | Betty | +| **Hash** | `fde4814818ef66d1655f720eb9c85826ba1e9330` | +| **Date** | 2026-02-16 | + +### Description + +Use Nominatim API to verify that the user-entered location is in France, +preventing false location entries. Unrecognized or non-FR locations are +rejected and the user is prompted to re-enter. + +Co-Authored-By: Claude Opus 4.6 + +### Fichiers modifiés + +``` +M telegram-bot/bot.py +``` + +### Statistiques + +``` + 1 file changed, 39 insertions(+), 3 deletions(-) +```