awslabs/lza-mcp-server
bbd030f794balza-mcp-server1.1.1 in src/lza-mcp-server/pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 221 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 27 tools, 3 resources. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
getFullSchema, getMinimumConfiguration, putLzaConfiguration, start_uc_merge_sessiongetLzaConfigurationcheckAwsConnectivity, copyUcToLzaConfig, diagnoseDeploymentErrors, getDeployedLzaVersion, getDeploymentStatus, getFullSchema and 12 moreNo tool was seen to: start other programs on the machine; read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files4 tools · getFullSchema, getMinimumConfiguration, putLzaConfiguration +1
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (30: 27 tools, 3 resources)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
list_workspace_filesresource Return a JSON array of all file paths in a workspace.
Return a JSON array of all file paths in a workspace.
list_workspacesresource Return a JSON array of all workspace IDs.
Return a JSON array of all workspace IDs.
read_workspace_fileresource Return the contents of a file in a workspace.
Return the contents of a file in a workspace.
checkAwsConnectivitytool Env vars
No description.
copyUcToLzaConfigtool Env vars
No description.
createWorkspacetool Create a new workspace and return its unique ID.
Create a new workspace and return its unique ID.
createWorkspaceFoldertool Create a folder (and any intermediate directories) in a workspace.
Create a folder (and any intermediate directories) in a workspace.
deleteWorkspacetool Delete a workspace and all its contents.
Delete a workspace and all its contents.
deleteWorkspaceFiletool Delete a file from a workspace.
Delete a file from a workspace.
deleteWorkspaceFoldertool Delete a folder and all its contents from a workspace.
Delete a folder and all its contents from a workspace.
diagnoseDeploymentErrorstool Env vars
No description.
getDeployedLzaVersiontool Env vars
No description.
getDeploymentStatustool Env vars
No description.
getFullSchematool FilesEnv varsoutside text
No description.
getLzaConfigurationtool NetworkEnv vars
No description.
getMinimumConfigurationtool FilesEnv varsoutside text
No description.
getUcNetworkCustomizationGuidetool Env vars
No description.
get_uc_network_modelstool Env vars
No description.
get_uc_releasestool Env vars
No description.
listLzaSupportedVersionstool Env vars
No description.
listResourcestool List all available resource URIs.
List all available resource URIs.
Returns a JSON object mapping resource URI patterns to their
descriptions. This is a discovery endpoint — call it first to
see what is available, then use ``readResource`` with a specific
URI.
Workspace URIs are dynamic (based on existing workspaces and
their files). Template URIs are included only when template
features are enabled.putLzaConfigurationtool FilesEnv varsoutside text
No description.
readResourcetool Read a resource by URI.
Read a resource by URI.
Supported URI patterns:
- workspace://list — list all workspace IDs
- workspace://{id}/files — list files in a workspace
- workspace://{id}/file/{path} — read a file from a workspacesearchJsonSchematool Env vars
No description.
startDeploymenttool Env vars
No description.
start_uc_merge_sessiontool FilesEnv varsoutside text
No description.
submitManualApprovaltool Env vars
No description.
validateLzaForUcMergetool Env vars
No description.
writeWorkspaceFiletool Create or overwrite a file in a workspace. Intermediate directories are created automatically.
Create or overwrite a file in a workspace. Intermediate directories are created automatically.
zipWorkspaceFilestool Create a zip archive from specified files and folders in a workspace.
Create a zip archive from specified files and folders in a workspace.
Text the model reads (30)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
checkAwsConnectivity tool
getDeployedLzaVersion tool
getMinimumConfiguration tool
getLzaConfiguration tool
putLzaConfiguration tool
startDeployment tool
getDeploymentStatus tool
diagnoseDeploymentErrors tool
submitManualApproval tool
listResources tool
List all available resource URIs.
Returns a JSON object mapping resource URI patterns to their
descriptions. This is a discovery endpoint — call it first to
see what is available, then use ``readResource`` with a specific
URI.
Workspace URIs are dynamic (based on existing workspaces and
their files). Template URIs are included only when template
features are enabled.readResource tool
Read a resource by URI.
Supported URI patterns:
- workspace://list — list all workspace IDs
- workspace://{id}/files — list files in a workspace
- workspace://{id}/file/{path} — read a file from a workspacesearchJsonSchema tool
getFullSchema tool
listLzaSupportedVersions tool
validateLzaForUcMerge tool
get_uc_releases tool
get_uc_network_models tool
start_uc_merge_session tool
getUcNetworkCustomizationGuide tool
copyUcToLzaConfig tool
createWorkspace tool
Create a new workspace and return its unique ID.
deleteWorkspace tool
Delete a workspace and all its contents.
writeWorkspaceFile tool
Create or overwrite a file in a workspace. Intermediate directories are created automatically.
deleteWorkspaceFile tool
Delete a file from a workspace.
createWorkspaceFolder tool
Create a folder (and any intermediate directories) in a workspace.
deleteWorkspaceFolder tool
Delete a folder and all its contents from a workspace.
zipWorkspaceFiles tool
Create a zip archive from specified files and folders in a workspace.
list_workspaces resource
Return a JSON array of all workspace IDs.
list_workspace_files resource
Return a JSON array of all file paths in a workspace.
read_workspace_file resource
Return the contents of a file in a workspace.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 30 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 30 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 30 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 30 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 30 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 30 capabilities; 30 more call code the scanner could not follow, where it may happen
- Tools that touch files4 of 30 capabilities touch files; 26 more call code the scanner could not follow, where it may happen
- Tools that call the network1 of 30 capabilities call the network; 29 more call code the scanner could not follow, where it may happen
Where the code is: 30 handlers in 8 files at commit bbd030f794ba
src/lza-mcp-server/awslabs/lza_mcp_server/resources/workspace.pylist_workspaces, list_workspace_files, read_workspace_filesrc/lza-mcp-server/awslabs/lza_mcp_server/tools/aws_services/manage_aws_service_tools.pycheckAwsConnectivity, getDeployedLzaVersionsrc/lza-mcp-server/awslabs/lza_mcp_server/tools/config/manage_config_tools.pygetMinimumConfiguration, getLzaConfiguration, putLzaConfigurationsrc/lza-mcp-server/awslabs/lza_mcp_server/tools/pipeline/manage_pipeline_tools.pystartDeployment, getDeploymentStatus, diagnoseDeploymentErrors, submitManualApprovalsrc/lza-mcp-server/awslabs/lza_mcp_server/tools/resource_tools.pylistResources, readResourcesrc/lza-mcp-server/awslabs/lza_mcp_server/tools/schema/manage_schema_tools.pysearchJsonSchema, getFullSchema, listLzaSupportedVersionssrc/lza-mcp-server/awslabs/lza_mcp_server/tools/uc_merge/manage_uc_merge_tools.pyvalidateLzaForUcMerge, get_uc_releases, get_uc_network_models, start_uc_merge_session, getUcNetworkCustomizationGuide, copyUcToLzaConfigsrc/lza-mcp-server/awslabs/lza_mcp_server/tools/workspace/manage_workspace_tools.pycreateWorkspace, deleteWorkspace, writeWorkspaceFile, deleteWorkspaceFile, createWorkspaceFolder, deleteWorkspaceFolder, zipWorkspaceFiles
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: src/lza-mcp-server/pyproject.toml
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionNo MCP SDK declared in a manifest
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 30 capabilities; 30 more call code the scanner could not follow, where it may happen
- Environment variables18 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (18 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| Servers in the code | 2 (awslabs.lza-mcp-server, test-server) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-11 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | Apache-2.0 |
| Created | 2026-02-27 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.