Rhodawk Mythos Agent
ARCHITECT: full masterplan implementation β 19 skills, 10 new MCP servers, 5-tier model router, EmbodiedOS bridge, autonomous night-mode loop, sandbox manager, pytest suite, stability fixes
da8fcf1 metadata
name: api-security
domain: api
triggers:
asset_types:
- rest
- graphql
- grpc
- openapi
frameworks:
- fastapi
- express
- gin
- spring
- hasura
- apollo
- grpc-go
tools:
- burp
- ffuf
- nuclei
- graphql-cop
- inql
severity_focus:
- P1
- P2
API Security
When to load
REST/GraphQL/gRPC services, OpenAPI specs, mobile back-ends, internal microservices.
OWASP API Top-10 (2023) checklist
- BOLA β every object id in the URL must be checked against the caller's
tenant. Try sibling tenant ids, deleted ids, IDs from
/me/audit-log. - Broken Auth β
Authorization: Bearer null, missingaud/iss, refresh-token replay, token reuse across tenants. - BOPLA β properties returned beyond what the UI needs (PII). Confirm
with
?include=*/ GraphQL__schema { types { fields { name } } }. - Unrestricted resource consumption β pagination
?per_page=10000, GraphQL deep nested queries (a { a { a { a {...}}}}), introspection abuse. - BFLA β admin-only mutations exposed to standard role.
- Unrestricted access to sensitive flows β registration / password-reset abusable for enumeration, no rate limit.
- SSRF β webhook URL, profile-image URL, file-import URL.
- Security misconfig β verbose error messages,
Allow: TRACE, debug toolbars, default credentials, exposedswagger.json/actuator. - Improper inventory β
/v1deprecated but still live, staging subdomains exposing admin. - Unsafe consumption of APIs β outbound webhooks not validated.
Procedure
- Pull spec:
swagger.json,/openapi.yaml, gRPC reflection (grpcurl). - Auto-generate request matrix for every endpoint Γ every role.
- Diff responses across roles for the same resource id.
- For GraphQL β run
graphql-copandinql, then attempt batch-query abuse and field-level introspection. - Use
browser-agent-mcponly when interactive flow is needed.
Reporting
Include the curl reproduction, response delta, CVSS vector, and a concrete remediation (e.g. middleware policy snippet).