mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 16:40:24 +00:00
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
33 lines
916 B
Markdown
33 lines
916 B
Markdown
# API Reference — Performing Malware Hash Enrichment with VirusTotal
|
|
|
|
## Libraries Used
|
|
- **requests**: HTTP client for VirusTotal API v3
|
|
- **hashlib**: Local file hash calculation (MD5, SHA1, SHA256)
|
|
|
|
## CLI Interface
|
|
|
|
```
|
|
python agent.py --api-key <key> lookup --hash <sha256>
|
|
python agent.py --api-key <key> bulk --hashes <h1> <h2> [--rate-limit 4]
|
|
python agent.py --api-key <key> behavior --hash <sha256>
|
|
python agent.py hash-file --file <path>
|
|
```
|
|
|
|
## VirusTotalClient API Calls
|
|
|
|
### `get_file_report(file_hash)`
|
|
**Endpoint:** `GET /api/v3/files/{hash}`
|
|
Returns: detection ratio, file type, tags, threat classification.
|
|
|
|
### `get_file_behavior(file_hash)`
|
|
**Endpoint:** `GET /api/v3/files/{hash}/behaviours`
|
|
Returns: sandbox results (processes, files, registry, DNS, HTTP).
|
|
|
|
## Rate Limiting
|
|
Free tier: 4 requests/minute. Agent auto-sleeps after each batch of 4.
|
|
|
|
## Dependencies
|
|
```
|
|
pip install requests
|
|
```
|