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
53 lines
1.5 KiB
Markdown
53 lines
1.5 KiB
Markdown
# API Reference: Implementing API Security Testing with 42Crunch
|
|
|
|
## 42Crunch API Security Audit
|
|
|
|
```bash
|
|
# Upload OpenAPI spec for audit
|
|
curl -X POST https://platform.42crunch.com/api/v2/apis \
|
|
-H "X-API-KEY: $CRUNCH_KEY" \
|
|
-F "specfile=@openapi.yaml"
|
|
|
|
# Get audit report
|
|
curl https://platform.42crunch.com/api/v2/apis/{api_id}/assessmentreport \
|
|
-H "X-API-KEY: $CRUNCH_KEY"
|
|
```
|
|
|
|
## OWASP API Security Top 10 (2023)
|
|
|
|
| ID | Risk | Audit Check |
|
|
|----|------|-------------|
|
|
| API1 | Broken Object Level Auth | BOLA path patterns |
|
|
| API2 | Broken Authentication | Security schemes |
|
|
| API3 | Broken Object Property Auth | Mass assignment |
|
|
| API4 | Unrestricted Resource Consumption | Rate limits |
|
|
| API5 | Broken Function Level Auth | Admin endpoints |
|
|
| API8 | Security Misconfiguration | HTTP, CORS, headers |
|
|
|
|
## Security Score Deductions
|
|
|
|
| Issue | Deduction | Severity |
|
|
|-------|-----------|----------|
|
|
| No security schemes | -30 | CRITICAL |
|
|
| Security disabled on endpoint | -25 | CRITICAL |
|
|
| No global security | -20 | HIGH |
|
|
| HTTP server URL | -15 | HIGH |
|
|
| No input schema | -15 | HIGH |
|
|
| Mass assignment risk | -10 | MEDIUM |
|
|
| Unbounded string param | -5 | MEDIUM |
|
|
|
|
## CI/CD Integration (GitHub Actions)
|
|
|
|
```yaml
|
|
- uses: 42Crunch/api-security-audit-action@v3
|
|
with:
|
|
api-token: ${{ secrets.CRUNCH_TOKEN }}
|
|
min-score: 70
|
|
```
|
|
|
|
### References
|
|
|
|
- 42Crunch Platform: https://42crunch.com/
|
|
- OWASP API Top 10: https://owasp.org/API-Security/
|
|
- 42Crunch GitHub Action: https://github.com/42Crunch/api-security-audit-action
|