mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 00:23:15 +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
45 lines
1.7 KiB
Markdown
45 lines
1.7 KiB
Markdown
# API Reference: Security Headers Audit
|
|
|
|
## Security Headers Checked
|
|
|
|
| Header | Recommended Value | Purpose |
|
|
|--------|------------------|---------|
|
|
| `Strict-Transport-Security` | `max-age=31536000; includeSubDomains; preload` | Force HTTPS |
|
|
| `Content-Security-Policy` | `script-src 'self' 'nonce-{random}'` | Restrict resource loading |
|
|
| `X-Frame-Options` | `DENY` | Prevent clickjacking |
|
|
| `X-Content-Type-Options` | `nosniff` | Prevent MIME sniffing |
|
|
| `Referrer-Policy` | `strict-origin-when-cross-origin` | Control referrer leakage |
|
|
| `Permissions-Policy` | `camera=(), microphone=(), geolocation=()` | Restrict browser features |
|
|
|
|
## Cookie Security Attributes
|
|
|
|
| Attribute | Description |
|
|
|-----------|-------------|
|
|
| `Secure` | Only send over HTTPS |
|
|
| `HttpOnly` | Not accessible via JavaScript |
|
|
| `SameSite=Strict` | No cross-site cookie sending |
|
|
| `Path=/` | Restrict cookie scope |
|
|
|
|
## Online Scanners
|
|
|
|
| Tool | URL | Description |
|
|
|------|-----|-------------|
|
|
| SecurityHeaders.com | https://securityheaders.com/ | Letter-grade assessment |
|
|
| Mozilla Observatory | https://observatory.mozilla.org/ | Comprehensive scoring |
|
|
| CSP Evaluator | https://csp-evaluator.withgoogle.com/ | CSP weakness analysis |
|
|
| Hardenize | https://www.hardenize.com/ | TLS and header monitoring |
|
|
|
|
## Python Libraries
|
|
|
|
| Library | Version | Purpose |
|
|
|---------|---------|---------|
|
|
| `requests` | >=2.28 | Fetch HTTP response headers |
|
|
| `re` | stdlib | Parse CSP directives and HSTS values |
|
|
|
|
## References
|
|
|
|
- OWASP Secure Headers: https://owasp.org/www-project-secure-headers/
|
|
- MDN Security Headers: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers
|
|
- HSTS Preload: https://hstspreload.org/
|
|
- CSP reference: https://content-security-policy.com/
|