POST /api/auth/login — include as Authorization: Bearer <token>X-API-Key: cdb_your_key. POST /api/developer/keys below is the same key system under a developer-portal-branded URL — same key, same limits, same account, either path works.{
"email": "user@example.com",
"password": "your-password"
}
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_in": 86400,
"user": { "id": "usr_...", "tier": "FREE" }
}
Create and manage keys programmatically. Session auth required (log in first) — these endpoints manage the same keys shown in your dashboard's API Keys tab, just reachable under a developer-portal-branded URL.
{
"label": "My Integration"
}
{
"success": true,
"key": "cdb_...",
"prefix": "cdb_ab12",
"label": "My Integration",
"tier": "FREE",
"warning": "Store this key securely. It cannot be retrieved after this response."
}
{
"keys": [ { "key_prefix": "cdb_ab12", "label": "My Integration", "active": true } ],
"count": 1,
"max_keys": 1
}
Exceeded limits return HTTP 429 with header Retry-After: <seconds>.
{
"name": "My GPT-4 Agent",
"type": "agent", // model | agent | rag | api | pipeline
"provider": "openai",
"endpoint": "https://api.openai.com/v1/chat/completions",
"env": "production"
}
{
"asset_id": "ast_01JX...",
"security_score": 74,
"risk_level": "MEDIUM",
"created_at": "2025-06-09T14:30:00Z"
}
| Param | Type | Required | Description |
|---|---|---|---|
| type | string | optional | Filter: model | agent | rag | api |
| risk | string | optional | Filter: CRITICAL | HIGH | MEDIUM | LOW |
| limit | number | optional | Default 20, max 100 |
| Param | Type | Required | Description |
|---|---|---|---|
| id | string | required | Asset ID from register |
{
"scan_id": "scn_01JX...",
"findings": [
{ "id": "F001", "severity": "HIGH", "title": "Prompt Injection Vector" }
],
"score": 62,
"owasp_llm_hits": ["LLM01","LLM02"]
}
{
"frameworks": [
{ "id": "nist-ai-rmf", "name": "NIST AI RMF 1.0", "controls": 72 },
{ "id": "iso-42001", "name": "ISO/IEC 42001:2023", "controls": 38 },
{ "id": "eu-ai-act", "name": "EU AI Act", "controls": 44 },
{ "id": "owasp-llm", "name": "OWASP LLM Top 10", "controls": 10 }
]
}
{
"framework_id": "nist-ai-rmf",
"org_context": "Financial services, 500 employees",
"ai_use_cases": ["fraud detection", "customer chatbot"]
}
{
"target_asset_id": "ast_01JX...",
"attack_categories": ["prompt_injection","jailbreak","rag_poisoning"],
"intensity": "standard" // light | standard | full
}
{
"engagement_id": "eng_01JX...",
"status": "running",
"attack_count": 247,
"eta_seconds": 120
}
{
"engagement_id": "eng_01JX...",
"overall_risk": "HIGH",
"attacks_succeeded": 14,
"attacks_total": 247,
"critical_findings": [ /* ... */ ],
"remediation_plan": { /* ... */ }
}
{
"agent_type": "langchain", // openai | langchain | crewai | autogen | mcp
"tools": ["web_search","code_exec","file_write"],
"system_prompt": "You are a helpful assistant..."
}
{
"risk_score": 83,
"risk_level": "HIGH",
"issues": [
{ "type": "OVER_PRIVILEGED_TOOL", "tool": "file_write", "severity": "CRITICAL" },
{ "type": "SYSTEM_PROMPT_INJECTION_RISK", "severity": "HIGH" }
]
}
| Param | Type | Required | Description |
|---|---|---|---|
| type | string | optional | prompt_attacks | agent_threats | ai_cves | model_advisories |
| severity | string | optional | CRITICAL | HIGH | MEDIUM | LOW |
| limit | number | optional | Default 20, max 100 |
{
"feed": [
{
"id": "ATI-2025-0047",
"type": "prompt_attack",
"title": "Multi-turn Jailbreak via Role Persistence",
"severity": "HIGH",
"published": "2025-06-09T08:00:00Z"
}
],
"total": 847,
"updated_at": "2025-06-09T14:00:00Z"
}
Deterministically generates immediate mitigation actions, detection guidance, a threat hunting
guide, a SOC playbook, an incident response playbook (NIST SP 800-61), an executive
advisory, security architecture guidance, an operational checklist, and references — grounded
entirely in the real threat_intel record plus the live MITRE ATT&CK mapping and
composite risk score. Anonymous callers get the full playbook computed on demand; sign in to
persist it and get staleness tracking if the underlying intelligence is later re-enriched.
{
"success": true,
"playbook_id": "pbk_mr4z...",
"persisted": true,
"stale": false,
"playbook": {
"risk_tier": "CRITICAL",
"immediate_actions": [ "..." ],
"detection_guidance": [ "..." ],
"threat_hunting_guide": { "suggested_query": "..." },
"soc_playbook": [ { "stage": "Triage", "action": "..." } ],
"incident_response_playbook": [ /* NIST SP 800-61 phases */ ],
"executive_advisory": "...",
"security_architecture_guidance": [ /* per ATT&CK tactic */ ],
"operational_checklist": [ /* checkbox items */ ],
"references": [ { "label": "NVD — CVE-...", "url": "https://nvd.nist.gov/..." } ],
"supporting_evidence": { /* every real field the playbook was built from */ }
}
}
POST /api/threat-intel/:id/playbook — force regeneration from current intelligence.
GET /api/threat-intel/playbooks/history — your saved generation history (sign-in required).
{
"code": "const query = `SELECT * FROM users WHERE id = ${req.params.id}`",
"language": "javascript", // js | ts | py | go | java | php | rb | cs | rs
"context": "express api route"
}
{
"ok": true,
"risk_grade": "F",
"risk_score": 94,
"findings": [ /* top 3 findings visible */ ],
"locked_count": 7,
"gated": true,
"upgrade": { "price": "₹499", "url": "https://cyberdudebivash.in/pricing" }
}
{
"ok": true,
"risk_grade": "F",
"risk_score": 94,
"tier": "starter",
"gated": false,
"findings": [
{
"rule_id": "CDB-SQL-001",
"title": "SQL Injection via String Interpolation",
"severity": "CRITICAL",
"cwe": "CWE-89",
"line": 1,
"remediation": "Use parameterized queries..."
}
]
}
{
"total_rules": 47,
"categories": ["injection","auth","secrets","crypto","ssrf","ai_llm"],
"patterns": [ /* full rule catalog */ ]
}
{
"mcp_config": {
"server_url": "https://mcp.example.com/sse",
"tools": ["read_file", "execute_code"],
"auth_method": "oauth2"
}
}
MYTHOS GOD MODE v5.0 runs a 16-phase autonomous security orchestration pipeline. All read endpoints are public (no auth required); the run trigger requires an x-api-key admin key.
curl https://cyberdudebivash.in/api/mythos/god-mode/status
curl https://cyberdudebivash.in/api/mythos/god-mode/ciso
curl https://cyberdudebivash.in/api/mythos/god-mode/aspm
curl https://cyberdudebivash.in/api/mythos/god-mode/compliance
curl https://cyberdudebivash.in/api/mythos/god-mode/hunt-pack
x-api-key admin header.curl -X POST https://cyberdudebivash.in/api/mythos/god-mode/run \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_ADMIN_KEY>" \
-d '{"max_items": 20}'| Code | Status | Meaning |
|---|---|---|
| AUTH_REQUIRED | 401 | JWT or API key required for this endpoint |
| TIER_REQUIRED | 403 | Current plan insufficient — upgrade required |
| RATE_LIMITED | 429 | Too many requests — check Retry-After header |
| VALIDATION_ERROR | 400 | Request body failed validation — check the errors array |
| NOT_FOUND | 404 | Resource does not exist or belongs to another account |
| INTERNAL_ERROR | 500 | Platform error — contact support with x-request-id |