Back to skill

Security audit

Orderly Sdk Wallet Connection

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent instructional skill for adding Orderly Network wallet connection, with expected wallet, chain, and social-login guidance but no hidden execution or persistence.

Before installing or using this guidance, make sure your app clearly tells users that wallet connection and social login can share wallet addresses, chain/account metadata, and authentication details with wallet or identity providers. Review the npm packages and keep wallet/account actions user-confirmed, especially anything that enables trading.

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
  • 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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Missing User Warnings

Medium
Confidence
83% confidence
Finding
This markdown file gives implementation guidance for connecting EVM wallets and integrating WalletConnect, including passing the dapp URL, but it does not warn that wallet providers and connection services may receive wallet addresses or related metadata. The same omission continues in the Privy social-login section, which introduces email/social authentication without an explicit privacy or data-sharing warning.

Natural-Language Policy Violations

Low
Confidence
96% confidence
Finding
The sample code sets `lng: 'en'` for the Binance Web3 Wallet connector, which hard-codes an English locale. The file does not indicate that users can choose their preferred language or that English is required for a justified region-specific reason.

Static analysis

No suspicious patterns detected.