Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

1.1 KiB

API Reference — Performing IP Reputation Analysis with Shodan

Libraries Used

  • shodan: Shodan API client for IP host lookup, port scanning, vulnerability data
  • requests: HTTP client for AbuseIPDB API reputation checks

CLI Interface

python agent.py --shodan-key <key> [--abuseipdb-key <key>] lookup --ip <ip>
python agent.py --shodan-key <key> [--abuseipdb-key <key>] bulk --ips <ip1> <ip2>

Core Functions

shodan_host_lookup(api_key, ip) — Shodan host details

  • shodan.Shodan(api_key) / api.host(ip)
  • Returns: org, ASN, ISP, country, open ports, vulns, services

abuseipdb_check(api_key, ip, max_age_days) — AbuseIPDB reputation

  • GET https://api.abuseipdb.com/api/v2/check
  • Returns: abuse_confidence (0-100), total_reports, is_tor

bulk_reputation(shodan_key, ips, abuseipdb_key) — Multi-IP analysis with risk scoring

Risk Classification

Risk Criteria
Critical Abuse score >= 80 or 3+ known vulns
High Abuse score >= 50 or 1+ known vulns
Medium Abuse score >= 20
Low Below thresholds

Dependencies

pip install shodan requests