A Markdown formatter sounds like a low-risk tool. It receives text, adds a table of contents, reports simple statistics, or aligns a table. What authority would it need beyond the text it is meant to transform and a place to return the result?
That question exposes a boundary that tool governance can miss. An enterprise may carefully decide which MCP tools an agent can discover and call while giving the process behind those tools far more access than formatting requires.
For a locally launched MCP server, assurance begins before the first tool call.
The Process Starts Before the Tool Call
Knostic reported a static review of two exact npm package versions presented as Markdown toolkits: @ifasn/mmdd-doc-mcp@2.1.1 and @ifasn/ms-doc-mcp@2.1.1. The packages exposed ordinary-looking Markdown functions. Knostic found that each also invoked an undisclosed collection routine when the server started. No MCP tool call was required to trigger that code.[1]
The first package gathered process information and checked cloud-metadata paths. Knostic reported that it attempted to send part of the resulting report over plain HTTP to a hardcoded destination. The report could include secrets found in readable process command lines. Whether a secret would actually leave the host depended on what process data was readable, where that content landed within the truncated report, and whether delivery succeeded.[1]
The second package examined its own environment for variable names associated with keys, tokens, secrets, and credentials. Knostic found that it wrote the full matching values to standard error and attempted to store them in a file relative to the working directory. Knostic identified no external collection server in that version and established no path by which the publisher could retrieve the local output.[1]
These are deliberately bounded findings. Knostic reviewed the packages statically and did not install or run them. It reported no confirmed victims or successful delivery. Its analysis covers those two versions, not Markdown tools generally, npm packages generally, or MCP as a protocol. This Dispatch does not reproduce or execute either package.
The architectural lesson does not depend on overstating the incident. A process can act during initialization. If the assurance model begins with the agent’s first recorded tool call, it begins too late.
The Tool Boundary Is Not the Process Boundary
OpenAI’s Agents API documentation makes the relevant execution path explicit. An MCP connection over stdio runs as a process in the session’s environment. The executor starts the configured command, with its arguments and working directory, and the process initializes before its tools can be used.[2]
The same documentation separates tool access from startup authority. allowed_tools limits which tools the agent can discover and call. That is a useful control over the agent-to-tool surface. It does not state that unlisted tools are removed from the server package, that initialization code cannot run, or that the process loses access to its environment, filesystem, or network.[2]
Credentials illustrate the distinction. For stdio connections, OpenAI documents supplying named values through the environment and states that code running in the environment can read them. A formatter process that inherits a credential can attempt to read it before the agent has selected any formatting tool.[2]
The two controls answer different questions:
- Tool policy: Which published operations may the agent discover and request?
- Launch authority: What can the server process read, write, contact, or retain from the moment it starts?
A restrictive answer to the first question does not create a restrictive answer to the second. The process executes under the identity, environment, filesystem, network, and logging conditions supplied by its runtime. The enterprise must govern those conditions as part of the workflow.
This claim is scoped to a locally or environment-launched stdio process. It should not be generalized to every MCP deployment. A remote HTTP service has a different operating boundary, identity model, network path, and retention posture. Nor is the Knostic finding an OpenAI vulnerability. It is evidence that package behavior and process authority remain material when an MCP client launches local code.
Luminity architectural interpretation. OpenAI product behavior is cited narrowly; the launch-control composition is an enterprise recommendation, not a claim of provider enforcement.
Give the Formatter Only Formatting Authority
Return to the Markdown formatter. Its legitimate job is narrow: accept approved text, transform it, and return or write the intended result. The launch design should be equally narrow.
First, approve the artifact that will actually run. Review the package and its provenance, pin the exact version, preserve an integrity value, and make the configured command resolve to that approved artifact. A familiar package name or benign tool description is not artifact identity. Revalidation should occur when the package, transitive content, command, runtime, or launch configuration changes.
Second, start with a clean environment. Do not pass the process cloud credentials, API keys, repository tokens, or unrelated workflow secrets. If formatting does not require a credential, the approved credential set is empty. OpenAI’s documentation advises keeping secrets out of reusable agent definitions, plugin archives, and logs; for stdio, any value deliberately supplied through the environment remains readable by code in that environment.[2]
Third, constrain reach outside the model and outside the tool description. Give the process a dedicated working directory, only the input it is meant to transform, and only the output path it needs. Deny access to unrelated files and process data. Use a dedicated low-privilege identity. Do not assume that telling a server to “format only” changes what its operating-system identity can read.
Fourth, enforce the required network posture in a runtime that can actually provide it. A formatter should not need outbound network access. But this is not a control architects can merely declare. OpenAI currently documents that disabled and restricted network policies are not supported for OpenAI-hosted stdio MCP connections.[2] If denied egress is a requirement, that hosted path does not satisfy it today. The enterprise must select a self-hosted or otherwise controlled execution design in which network denial can be enforced and evidenced, or choose a different formatting mechanism. Self-hosting is not itself proof of isolation; the applicable operating-system, container, network, and gateway controls still have to be configured and tested.
Finally, govern output and retention. Standard error, process logs, temporary files, crash artifacts, caches, and the working directory can all become data stores. Retain only the formatting result and the minimum evidence required by policy. Restrict who can read operational output, define deletion behavior, and test failure paths. “No network transfer” does not mean “no disclosure” if secret material is written to a log or file that other actors can access.
These are enterprise design requirements, not a claim that one OpenAI setting enforces all of them. The chosen environment must be evaluated against each restriction before the workflow is approved.
Prove the Launch, Not Only the Call
An empty tool-call log establishes a narrow fact: no tool call was recorded in that log. It does not establish that the server never started, that initialization performed no work, that the process lacked sensitive authority, or that no output was written or transmitted.
A useful Audit Trail for a locally launched MCP server should connect three layers of evidence.
Artifact evidence identifies the approved package or executable, exact version, integrity value, provenance review, and the command that actually resolved at runtime.
Launch evidence records the process identity, runtime, arguments, working directory, supplied environment names, mounted or reachable files, enforced network policy, initialization result, and applicable policy version. Secret values should not be copied into the evidence record merely to prove that they were absent or controlled.
Outcome evidence accounts for standard output, standard error, created files, network decisions, retained artifacts, disposition, and any later MCP tool calls. Correlation should make the sequence reviewable: artifact approved, restrictions applied, process started, initialization completed or failed, tool catalog exposed, tool call permitted or denied, output retained or removed.
This record does not prove that the artifact was safe or that every hidden behavior was detected. It supports a more precise claim: the enterprise can identify what ran, what authority it was given, which restrictions were enforced, and what observable outputs followed.
Monitoring, enforcement, and assurance remain different jobs. A process log can reveal activity. A runtime control can block filesystem or network access. Assurance evaluates whether those controls and records are sufficient for the conclusion being claimed. None is replaced by the absence of an agent tool event.
Limits and Adoption Boundaries
Static review can identify important behavior, but it does not establish every runtime outcome. Dynamic analysis can add evidence, but only for the environments and paths tested. Package pinning and integrity checks establish identity, not benign intent. Sandboxing can reduce authority, but its value depends on the actual isolation boundary and configuration.
Tool allowlists remain valuable. They reduce the operations an agent can request and can prevent use of an exposed function that the workflow does not need. They simply govern a different boundary from process startup.
The appropriate control set also depends on the transport and hosting model. This Dispatch addresses a server process launched over stdio in an execution environment. Remote services, already-running local services, plugin packaging, and other MCP clients require their own analysis. Product capabilities may change, so architects should verify the current runtime before treating any proposed restriction as enforceable.
For a locally launched MCP server, assurance begins at process startup. A tool allowlist constrains which exposed operations the agent may request; it does not, by itself, prove what authority the server process inherited or what the process did before the first tool call.
The enterprise should approve the artifact, constrain the launch, and preserve evidence of the process boundary. Govern the call—but govern what starts before it, too.