Back to skill

Security audit

Orderly Sdk Debugging

Security checks for vulnerabilities and agentic risk

Overview

This is a straightforward debugging guide for the Orderly SDK, with no hidden execution, persistence, or unrelated data handling found.

This skill is reasonable to install for Orderly SDK troubleshooting. Treat its console logging snippets as development-only helpers because they can reveal wallet/account state, balances, or trading context in logs; review transaction examples before using them with real funds.

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)

Instruction Override

High
Category
Prompt Injection
Content
## 7. Debugging Hooks

### Enable Debug Mode

```tsx
// Log all hook state changes
Confidence
70% confidence
Finding
This pattern attempts to override system instructions or ignore safety constraints. Without LLM analysis, manual review is recommended.

External Transmission

Medium
Category
Data Exfiltration
Content
### CORS Errors

```
Access to fetch at 'https://api.orderly.org/...' has been blocked by CORS
```

**Solutions**:
Confidence
50% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Static analysis

No suspicious patterns detected.