Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BishopFox/aimap
/ functions
Functions
525 in github.com/BishopFox/aimap
⨍
Functions
525
◇
Types & classes
152
↳
Endpoints
34
↓ 1 callers
Method
_has_db_response
(result: dict)
backend/app/services/attack_mcp.py:1046
↓ 1 callers
Method
_has_file_content
(result: dict, path: str)
backend/app/services/attack_mcp.py:983
↓ 1 callers
Method
_has_prompt_leak
(response: str)
backend/app/services/attack_mcp.py:1034
↓ 1 callers
Method
_has_ssrf_response
(result: dict, target: str)
backend/app/services/attack_mcp.py:1018
↓ 1 callers
Method
_has_string_params
(tool: MCPTool)
backend/app/services/attack_mcp.py:961
↓ 1 callers
Method
_has_system_info
Check if reply contains actual system/env info.
backend/app/services/attack_ollama.py:1080
↓ 1 callers
Method
_insert_new
Insert a brand-new endpoint document.
backend/app/discovery/base.py:171
↓ 1 callers
Method
_inspect_agents
Drill into individual agent configs for sensitive data.
backend/app/services/attack_openclaw.py:587
↓ 1 callers
Function
_is_attack_known
Check if an attack exists (either in Redis or fallback).
backend/app/routes/attack.py:105
↓ 1 callers
Method
_is_auth_error
(result: dict)
backend/app/services/attack_mcp.py:974
↓ 1 callers
Method
_is_jailbreak_success
Heuristic: did the model comply with the jailbreak prompt?
backend/app/services/attack_ollama.py:1032
↓ 1 callers
Function
_key_value_to_filter
Convert a single key:value pair to a MongoDB filter.
backend/app/services/search.py:83
↓ 1 callers
Function
_mark_done
Signal that an attack has completed.
backend/app/routes/attack.py:94
↓ 1 callers
Method
_merge_existing
Merge incoming data into an existing endpoint document.
backend/app/discovery/base.py:209
↓ 1 callers
Method
_next_id
(self)
backend/app/services/mcp_client.py:96
↓ 1 callers
Function
_now_ts
()
backend/app/services/attack_mcp.py:108
↓ 1 callers
Method
_parse_http_response
Parse the raw HTTP response string from a Nuclei finding. Extracts: - Server header - Auth status from HTTP status codes (401
backend/app/discovery/nuclei_runner.py:494
↓ 1 callers
Method
_parse_sse_response
Extract JSON-RPC result from SSE event stream.
backend/app/services/mcp_client.py:166
↓ 1 callers
Method
_phase_admin_ops
Test if destructive admin APIs are accessible (pull, create, delete, copy).
backend/app/services/attack_ollama.py:506
↓ 1 callers
Method
_phase_agent_enum
List agents, extract configs, system prompts.
backend/app/services/attack_openclaw.py:512
↓ 1 callers
Method
_phase_auth_probe
Test authentication mechanisms — default creds, session hijack.
backend/app/services/attack_openclaw.py:378
↓ 1 callers
Method
_phase_command_exec
Phase 4: Probe exec tools with OS commands.
backend/app/services/attack_mcp.py:582
↓ 1 callers
Method
_phase_config_access
Attempt to read/modify system configuration.
backend/app/services/attack_openclaw.py:670
↓ 1 callers
Method
_phase_credential_harvest
Attempt to access stored credentials, API keys, secrets.
backend/app/services/attack_openclaw.py:808
↓ 1 callers
Method
_phase_data_exfil
Attempt to extract environment info, config, and embeddings abuse.
backend/app/services/attack_ollama.py:830
↓ 1 callers
Method
_phase_db_extraction
Phase 7: Probe database tools with SQL payloads.
backend/app/services/attack_mcp.py:779
↓ 1 callers
Method
_phase_file_read
Phase 3: Probe file read tools with sensitive paths.
backend/app/services/attack_mcp.py:515
↓ 1 callers
Method
_phase_jailbreak
Attempt prompt injection / jailbreak on a chat model.
backend/app/services/attack_ollama.py:638
↓ 1 callers
Method
_phase_log_access
Read execution logs — may contain user data, prompts, responses.
backend/app/services/attack_openclaw.py:880
↓ 1 callers
Method
_phase_model_inspection
Use /api/show to extract modelfiles (system prompts, parameters).
backend/app/services/attack_ollama.py:381
↓ 1 callers
Method
_phase_plugin_abuse
Check if plugin/extension management is exposed.
backend/app/services/attack_openclaw.py:1071
↓ 1 callers
Method
_phase_prompt_injection
Phase 6: Attempt prompt injection via tool parameters.
backend/app/services/attack_mcp.py:704
↓ 1 callers
Method
_phase_recon
Discover version, status, and available API endpoints.
backend/app/services/attack_openclaw.py:264
↓ 1 callers
Method
_phase_recon
Enumerate version, models, running models, GPU info.
backend/app/services/attack_ollama.py:211
↓ 1 callers
Method
_phase_recon
Phase 1: Initialize and enumerate capabilities.
backend/app/services/attack_mcp.py:337
↓ 1 callers
Method
_phase_safety_bypass
Test if models will generate harmful content.
backend/app/services/attack_ollama.py:752
↓ 1 callers
Method
_phase_ssrf
Phase 5: Probe HTTP tools with internal targets.
backend/app/services/attack_mcp.py:647
↓ 1 callers
Method
_phase_task_injection
Submit malicious tasks to agents.
backend/app/services/attack_openclaw.py:938
↓ 1 callers
Method
_phase_unauth_tool_exec
Phase 2: Try calling each tool without auth to see what works.
backend/app/services/attack_mcp.py:448
↓ 1 callers
Function
_probe_open_webui
Probe Open WebUI: /api/config.
backend/app/services/live_probe.py:497
↓ 1 callers
Function
_probe_unknown
When protocol is unknown, try several well-known endpoints to identify the service.
backend/app/services/live_probe.py:538
↓ 1 callers
Method
_run_active_scan
Run an active scan: httpx alive sweep -> Nuclei detection.
backend/app/discovery/orchestrator.py:252
↓ 1 callers
Function
_run_attack
Run the attack engine and stream log entries via Redis or fallback.
backend/app/routes/attack.py:368
↓ 1 callers
Method
_run_httpx_sweep
Run httpx to discover alive HTTP hosts. Parameters ---------- target: CIDR range or single host. ports:
backend/app/discovery/orchestrator.py:371
↓ 1 callers
Method
_run_ingestion_scan
Run a 3P ingestion scan with multiple preconfigured queries. Config keys ----------- source : str Adapter name (d
backend/app/discovery/orchestrator.py:137
↓ 1 callers
Method
_sanitize_for_mongo
Recursively sanitize a dict/list so all integers fit MongoDB's 8-byte limit.
backend/app/discovery/shodan_adapter.py:328
↓ 1 callers
Function
_stream_from_memory
Stream attack logs from in-memory fallback (original behavior).
backend/app/routes/attack.py:311
↓ 1 callers
Function
_stream_from_redis
Stream attack logs from a Redis Stream via XREAD.
backend/app/routes/attack.py:264
↓ 1 callers
Method
_try_config_write
Try to modify config — tests write access without destructive changes.
backend/app/services/attack_openclaw.py:749
↓ 1 callers
Function
_upsert_endpoint
Insert or merge a normalized endpoint dict into MongoDB. Mirrors the logic in ``SourceAdapter._upsert()`` but works standalone. Returns the
backend/app/services/enrichment.py:648
↓ 1 callers
Function
authLabel
(auth: string)
frontend/src/pages/Search.tsx:28
↓ 1 callers
Method
build_attack_graph
Build the attack graph from accumulated nodes/edges.
backend/app/services/attack_openclaw.py:1162
↓ 1 callers
Method
build_attack_graph
Build the attack graph from accumulated nodes/edges.
backend/app/services/attack_ollama.py:951
↓ 1 callers
Method
build_attack_graph
Build the attack graph from accumulated nodes/edges.
backend/app/services/attack_mcp.py:838
↓ 1 callers
Function
close_redis
Close the Redis connection pool.
backend/app/services/redis_client.py:56
↓ 1 callers
Function
computeFacets
(endpoints: AgentEndpoint[])
frontend/src/pages/Explore.tsx:50
↓ 1 callers
Function
compute_risk_score
Compute a risk score (0.0 -- 10.0) for an endpoint. Scoring factors: - auth_status == "none" -> +4.0 - auth_status == "unknown" -> +1.0
backend/app/services/enrichment.py:253
↓ 1 callers
Function
createRange
(data: { name: string; cidr: string; monitoring: { enabled: boolean; interval_hours: number }; })
frontend/src/lib/api.ts:181
↓ 1 callers
Function
createScan
(config: { name: string; type: "active" | "ingestion"; config: Partial<ScanConfig>; })
frontend/src/lib/api.ts:133
↓ 1 callers
Function
deleteRange
(id: string)
frontend/src/lib/api.ts:192
↓ 1 callers
Function
enrich_all
Batch-enrich all endpoints (or those with risk_score == 0). Parameters ---------- db: An ``AsyncIOMotorDatabase`` instance. b
backend/app/services/enrichment.py:356
↓ 1 callers
Function
enrich_from_nuclei_sources
Extract tools / capabilities from Nuclei sources using grouped normalization. Finds all Nuclei source entries in the document's ``sources`` array
backend/app/services/enrichment.py:196
↓ 1 callers
Function
enrich_from_shodan_sources
Extract framework / auth info from Shodan raw_data in the sources array. Parses HTTP headers to detect frameworks (uvicorn -> fastapi, aiohttp,
backend/app/services/enrichment.py:102
↓ 1 callers
Function
getAnalysis
(endpointId: string)
frontend/src/lib/api.ts:108
↓ 1 callers
Function
getAuthToken
()
frontend/src/lib/auth.ts:14
↓ 1 callers
Function
getEndpointById
(id: string)
frontend/src/lib/api.ts:72
↓ 1 callers
Function
getEndpoints
(params?: { page?: number; page_size?: number; protocol?: string; auth_status?: string; risk_min?: n
frontend/src/lib/api.ts:45
↓ 1 callers
Function
getGeoData
()
frontend/src/lib/api.ts:96
↓ 1 callers
Function
getGlobeData
()
frontend/src/lib/api.ts:100
↓ 1 callers
Function
getQueryPresets
()
frontend/src/lib/api.ts:158
↓ 1 callers
Function
getRanges
(params?: { page?: number; page_size?: number })
frontend/src/lib/api.ts:166
↓ 1 callers
Function
getScans
(params?: { status?: string; scan_type?: string; created_by?: string; page?: number; page_size?: num
frontend/src/lib/api.ts:114
↓ 1 callers
Function
getStats
()
frontend/src/lib/api.ts:92
↓ 1 callers
Function
getVisiblePages
()
frontend/src/components/ui/pagination.tsx:14
↓ 1 callers
Function
get_client
Return a singleton motor client.
backend/app/database.py:16
↓ 1 callers
Function
get_concurrency_status
Return current concurrency counts for monitoring.
backend/app/services/concurrency.py:86
↓ 1 callers
Function
get_current_user
Require authentication and return user info from the Clerk JWT. When CLERK_ISSUER is not set, returns an anonymous user so local dev works wi
backend/app/auth.py:30
↓ 1 callers
Function
glow_dot
(pos, color=ACCENT_BLUE, radius=0.06)
presentation/aimap_slides.py:72
↓ 1 callers
Method
group_findings_by_target
Group a list of Nuclei findings by (ip, port). Parameters ---------- findings: A list of parsed Nuclei JSONL dict
backend/app/discovery/nuclei_runner.py:627
↓ 1 callers
Function
ingest_nuclei_findings
Ingest Nuclei JSONL findings file: parse, group, upsert, enrich. Parameters ---------- db: An ``AsyncIOMotorDatabase`` instance.
backend/app/services/enrichment.py:419
↓ 1 callers
Method
initialize
Perform the MCP initialize handshake.
backend/app/services/mcp_client.py:230
↓ 1 callers
Method
list_resources
Call resources/list and return raw resource dicts.
backend/app/services/mcp_client.py:297
↓ 1 callers
Method
list_tools
Call tools/list and return parsed tools.
backend/app/services/mcp_client.py:268
↓ 1 callers
Function
logTypeColor
(type: AttackLogEntry["type"])
frontend/src/pages/TestAgent.tsx:35
↓ 1 callers
Function
main
(max_per_query: int, query_keys: list[str] | None)
backend/scripts/ingest_shodan.py:30
↓ 1 callers
Function
main
()
backend/scripts/reenrich_ollama.py:23
↓ 1 callers
Function
main
()
backend/scripts/reenrich.py:27
↓ 1 callers
Method
normalize
Convert a raw source result into an AgentEndpoint-compatible dict. The returned dict should contain at minimum ``ip``, ``port``, and
backend/app/discovery/base.py:83
↓ 1 callers
Function
probe_endpoint
Probe a discovered endpoint's well-known API paths. Dispatches to protocol-specific probing based on the endpoint's ``protocol`` field (or tr
backend/app/services/live_probe.py:30
↓ 1 callers
Function
protocolDisplayName
(key: string)
frontend/src/pages/Landing.tsx:20
↓ 1 callers
Function
protocolLabel
(p: string)
frontend/src/pages/Explore.tsx:40
↓ 1 callers
Function
resetForms
()
frontend/src/pages/Scans.tsx:121
↓ 1 callers
Function
riskBadgeVariant
(score: number)
frontend/src/pages/Search.tsx:12
↓ 1 callers
Function
riskBadgeVariant
(score: number)
frontend/src/pages/AgentDetail.tsx:22
↓ 1 callers
Function
riskColor
(score: number)
frontend/src/components/GlobeVisualization.tsx:74
↓ 1 callers
Function
riskLabel
(score: number)
frontend/src/components/GlobeVisualization.tsx:66
↓ 1 callers
Function
riskLabel
(score: number)
frontend/src/pages/Search.tsx:20
↓ 1 callers
Function
riskLabel
(score: number)
frontend/src/pages/AgentDetail.tsx:30
↓ 1 callers
Function
runScan
(id: string)
frontend/src/lib/api.ts:151
↓ 1 callers
Method
run_3p_ingest
Convenience method for third-party ingestion. Parameters ---------- source: Adapter name (e.g. ``"shodan"``).
backend/app/discovery/orchestrator.py:107
← previous
next →
101–200 of 525, ranked by callers