mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 08:30:20 +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
41 lines
1.4 KiB
Markdown
41 lines
1.4 KiB
Markdown
# API Reference: SSRF Vulnerability Testing
|
|
|
|
## Cloud Metadata Endpoints
|
|
| Cloud | URL | Headers |
|
|
|-------|-----|---------|
|
|
| AWS IMDSv1 | `http://169.254.169.254/latest/meta-data/` | None |
|
|
| AWS IMDSv2 | `http://169.254.169.254/latest/api/token` | `X-aws-ec2-metadata-token-ttl-seconds: 21600` |
|
|
| GCP | `http://metadata.google.internal/computeMetadata/v1/` | `Metadata-Flavor: Google` |
|
|
| Azure | `http://169.254.169.254/metadata/instance?api-version=2021-02-01` | `Metadata: true` |
|
|
|
|
## IP Encoding Bypass Techniques
|
|
| Technique | 169.254.169.254 Encoded |
|
|
|-----------|------------------------|
|
|
| Decimal | `2852039166` |
|
|
| Hex | `0xa9fea9fe` |
|
|
| Octal | `0251.0376.0251.0376` |
|
|
| IPv6 mapped | `[::ffff:169.254.169.254]` |
|
|
| Shortened | `169.254.169.254` -> `0` (localhost) |
|
|
|
|
## Python requests
|
|
```python
|
|
import requests
|
|
resp = requests.get(url, timeout=10, allow_redirects=False, verify=False)
|
|
resp.status_code # HTTP status
|
|
resp.text # Response body
|
|
len(resp.content) # Response size
|
|
resp.headers # Response headers
|
|
```
|
|
|
|
## SSRF Impact Levels
|
|
| Access | Impact | Severity |
|
|
|--------|--------|----------|
|
|
| Cloud metadata credentials | Full account compromise | Critical |
|
|
| Internal service access | Lateral movement | High |
|
|
| Local file read (file://) | Information disclosure | High |
|
|
| Internal port scan | Reconnaissance | Medium |
|
|
|
|
## MITRE ATT&CK
|
|
- T1190 - Exploit Public-Facing Application
|
|
- T1552.005 - Cloud Instance Metadata API
|