Get content of a specific smali file by class name.
AI agents call get_smali_file to retrieve information from APK Security Guard MCP Suite without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This tool performs a read-only query operation on smali bytecode files, which are decompiled Android code. It retrieves existing data for analysis purposes without side effects, making it a Read category tool. The severity is low because reading code contents poses minimal risk—it cannot execute operations, modify data, or cause destructive changes even if misused by an AI agent.
From the tool's definition The tool description states it 'Get[s] content of a specific smali file by class name.' This is a retrieval operation that reads and returns file contents without modifying, executing, or deleting anything.
Attacks that exploit this kind of access
Get content of a specific smali file by class name. It is categorised as a Read tool in the APK Security Guard MCP Suite MCP Server, which means it retrieves data without modifying state.
Register the APK Security Guard MCP Suite MCP server in PolicyLayer and add a rule for get_smali_file: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches APK Security Guard MCP Suite. Nothing to install.
get_smali_file is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_smali_file rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for get_smali_file. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
get_smali_file is provided by the APK Security Guard MCP Suite MCP server (zmbcen/apk-security-guard-mcp-suite). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →