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

2.2 KiB

API Inventory and Discovery — API Reference

Libraries

Library Install Purpose
requests pip install requests HTTP probing and spec fetching

Common API Discovery Paths

Path Description
/api/v1, /api/v2 Versioned REST API roots
/swagger.json Swagger 2.0 specification
/openapi.json OpenAPI 3.x specification
/graphql GraphQL endpoint
/graphiql, /playground GraphQL IDE (introspection enabled)
/api-docs, /docs API documentation page
/.well-known/openid-configuration OIDC discovery
/health, /metrics Health/monitoring endpoints

OpenAPI Spec Parsing

import requests
spec = requests.get("https://target.com/openapi.json").json()
for path, methods in spec["paths"].items():
    for method, details in methods.items():
        print(f"{method.upper()} {path} deprecated={details.get('deprecated', False)}")

JavaScript API Extraction Patterns

Pattern Matches
fetch("/<path>") Fetch API calls
axios.get("/<path>") Axios HTTP calls
"/api/v1/<resource>" String literal API paths
"/v2/<resource>" Versioned API references

API Risk Classification

Category Risk Examples
Admin/Internal HIGH /admin/api, /internal/
GraphQL exposed HIGH /graphql with introspection
Documentation public MEDIUM /swagger.json, /api-docs
Deprecated/zombie HIGH Deprecated but still responding
Standard versioned LOW /api/v2/users

OWASP API9:2023 — Improper Inventory Management

Issue Description
Shadow APIs Undocumented endpoints deployed without review
Zombie APIs Deprecated versions still accessible
Missing authentication Endpoints skipping auth middleware
Version sprawl Multiple API versions maintained simultaneously

External References