Back to skill

Security audit

Ts Sdk View And Query

Security checks for vulnerabilities and agentic risk

Overview

This is a documentation-only skill for read-only Aptos TypeScript SDK queries, with no executable code or hidden behavior found.

This skill appears safe to install as read-only SDK guidance. Before relying on examples, verify exact Aptos SDK method names for your installed SDK version because the manifest and body do not list the API surface perfectly consistently.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (1)

Description-Behavior Mismatch

Low
Confidence
95% confidence
Finding
The manifest description says the skill covers view(), getBalance(), getAccountInfo(), getAccountResources(), getAccountModules(), and getResource(). In the body, the documented single-resource API is getAccountResource() (L116-L125), and it also includes getModule() and getAccountResourcesPage() (L140-L159), so the declared API surface does not precisely match the documented behavior.

Static analysis

No suspicious patterns detected.