Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

aimock MCP server

by copilotkit/aimockMIT licenceAudited 12 Oct 2026 · source 8e7afd4aa812

npm @copilotkit/aimock 1.45.1streamable-http★ 971
✕BLOCKGrade F · 51/100 · 12 Oct 2026 · 8e7afd4

Is it safe? No — BLOCK, grade F (51/100). It exposes 64 tools: 57 read, 5 write and 2 destructive. The audit recorded 50 findings (0 critical, 1 high, 13 medium, 33 low). Maintainer's description: Mock everything your AI app talks to — LLM APIs, MCP, A2A, AG-UI, vector DBs, search. One package, one port, zero dependencies.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “aimock MCP server (CopilotKit/aimock)”. Retrieved 12 Oct 2026. https://modelsatlas.com/mcp/copilotkit/aimock

Why this is BLOCK. The audit found 0 critical and 1 high findings; the most severe is Code injection at scripts/drift-report-collector.ts:2688. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 12 Oct 2026

Trust score51/100✕BLOCK F
0 critical1 high13 medium33 low3 info

50 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared2 observations
  • NetworkNone observedNothing seen in the source
  • ShellDeclared6 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (50)

Sorted by severity · the 25 most severe of 50 are listed

HIGHCode injectioncode.eval_exec · scripts/drift-report-collector.ts:2688
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
stdout = exec(
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
MEDIUMHard-coded secretssecret.anthropic · src/__tests__/record-sanitize.test.ts:333
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.aws · src/__tests__/record-sanitize.test.ts:337
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · examples/mcp-record-replay-agents/mastra-agent.test.ts:109
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · src/__tests__/live-record-replay.test.ts:227
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · src/__tests__/live-record-replay.test.ts:237
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · src/__tests__/live-record-replay.test.ts:313
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · src/__tests__/live-record-replay.test.ts:336
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.github · src/__tests__/record-sanitize.test.ts:334
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.github · src/__tests__/record-sanitize.test.ts:335
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.private_key · src/__tests__/drift-collector.test.ts:161
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.slack · src/__tests__/record-sanitize.test.ts:336
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
reset-agent, reset-tool
Why
2 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .prettierignore
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInsecure cryptocrypto.weak_hash · src/__tests__/mcp-record-cli.test.ts:465
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
const path = join(fx, "..", `cfg-${createHash("sha1").update(fx).digest("hex")}.json`);
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · src/__tests__/ws-upstream.test.ts:50
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
const accept = createHash("sha1")
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · src/ws-framing.ts:370
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
return createHash("sha1")
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/__tests__/adoption-wall.test.ts:71
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} from "../../scripts/update-adoption-wall.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/__tests__/adoption-wall.test.ts:1236
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const DOCS_PATH = fileURLToPath(new URL("../../docs/index.html", import.meta.url));
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/__tests__/adoption-wall.test.ts:3030
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const AW_REPO_ROOT = new URL("../../", import.meta.url);
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/__tests__/aimock-cli.test.ts:20
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const CLI_PATH = resolve(__dirname, "../../dist/aimock-cli.js");
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/__tests__/aimock-cli.test.ts:939
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const readme = readFileSync(resolve(__dirname, "../../README.md"), "utf8");
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.beacon_words · .github/workflows/test-drift.yml:552
F-04 Network egressCWE-200 · CWE-319Layer L1
# code can never exfiltrate the provider keys. The trade-off (a fork PR has
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.env_exfil · packages/aimock-pytest/tests/test_basic.py:93
F-04 Network egressCWE-200 · CWE-319Layer L1
os.environ.copy() ... requests.post
Why
reads secrets in the same file that sends data out
Fix
—

Tools it exposes

64 declared in source · 2 destructive

57 read5 write2 destructive

2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
reset-agenttestdestructive
reset-toolwill be cleareddestructive
apply_patchApply a patch in the *** Begin Patch / *** End Patch format.write
includeSet towrite
late-agentadded after startwrite
orderSort order by creation timewrite
write_reportWrite a detailed weather report.write
adread
afterKnown entry ID to page after; mutually exclusive with beforeread
ag1testread
archiveArchive a list of city namesread
beforeKnown entry ID to page before; mutually exclusive with afterread
calcCalculatorread
conc-agentconcurrentread
config-agentfrom configread
config-toolfrom configread
describedLook up a cityread
echoeread
emptyNo description in the sourceread
ffread
filterFilter by file ingestion status before paginationread
get_weatherGet weather for a cityread
greetingA greeting promptread
helperhelper agentread
journal-agenttestread
limitMaximum entries per pageread
lookupconfig toolread
mcp__githubGitHub MCPread
mcp__gitlabGitLab MCPread
methodExact method filter (case-insensitive)read
native_toolCohere nativeread
no-result-promptA prompt without a result handlerread
offsetEntries to skip (integer >= 0)read
openai_toolOpenAI styleread
pathSubstring filter on the request pathread
plainscopedread
purposeFilter by purposeread
raw_queryfree textread
real_toola toolread
record_numbersRecord the full comma-separated integer sequence.read
record_payloadRecord a long payloadread
record_textRecord textread
registered-onlyregisteredread
requestIdRequest-id filterread
searchSearch thingsread
search_toolSearchread
serviceExact service filterread
skill-agentAn agent with skillsread
statusExact response status filterread
stream-agentAn agent with streaming tasksread
suite-agentAgent in suiteread
summarizeSummarize textread
tdread
t1oneread
task-agentAn agent with tasksread
test-agentA test agentread
test-toolA test toolread
testIdTest-id scope filterread
translateTranslates textread
wfrom Aread
weatherWeather lookupread
weather_toolsWeather lookupsread
websearchread
with_metaFake with metadataread

Safer alternatives

Audit history

  1. ✕BLOCK F 51 / 100

    First audit · 8e7afd4aa812

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about aimock MCP server

What is the aimock MCP server?
Mock everything your AI app talks to — LLM APIs, MCP, A2A, AG-UI, vector DBs, search. One package, one port, zero dependencies.
What tools does aimock expose?
64 in total: 57 read-only, 5 that write, and 2 that can delete or overwrite (reset-agent, reset-tool). Every one is listed on this page with its risk.
Is aimock safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (51/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does aimock need?
It reads AIMOCK_DUMMY_KEY_MARKER, AIMOCK_MCP_UPSTREAM_AUTH, AIMOCK_RECORD_SECRET_VALUES, AIMOCK_VERTEX_ACCESS_TOKEN, ANTHROPIC_API_KEY, ARK_API_KEY, COHERE_API_KEY, ELEVENLABS_API_KEY, FAL_KEY, FIXTURE_SECRET, GITHUB_TOKEN and GOOGLE_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does aimock run?
It speaks streamable-http, so it runs as a service you connect to over the network. It is published on npm as @copilotkit/aimock at 1.45.1.
How current is this page?
The grade is for one exact copy of the source (8e7afd4aa812), read on 2026-10-12. The repository is watched and re-audited when it changes.
I already installed aimock. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • CopilotKit/aimock on GitHub — the source we read, its licence, stars and activityObserved · 12 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 8e7afd4aa812Observed · 12 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.