Back to skill

Security audit

RSoft Agentic Bank

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marked this skill suspicious because it reports remote mailbox instructions that can direct the agent beyond lending, along with several lending-unrelated sponsor and messaging capabilities; inspection of most bundled scripts was incomplete.

The verdict is suspicious, with medium confidence, and the scanner recommends not installing. Before considering it, review the mailbox instruction behavior and the sponsor and messaging capabilities, verify the loan endpoint and dependency resolution, and seek a complete inspection of the scripts because most were only partially analyzed.

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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
Findings (23)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The supplied code implements sponsor messaging rather than credit checks, loan requests, or repayments. Reading human-authored inbox content is a distinct capability not disclosed by the lending description, and the snippet does not establish that it is merely an implementation detail necessary for a declared lending operation. The signing helper's implementation is not supplied, so no additional behavior is inferred from it.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The code uses the declared chain and signing provider, but its substantive operation is sponsor enrollment rather than checking credit, requesting a loan, or repaying one. Signing consent to a sponsor association is a distinct authorization capability, not merely a transport or implementation detail of the listed actions. This chunk does not transfer funds or execute a loan or repayment.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
89% confidence
Finding

The Base mainnet configuration, CDP wallet access, and EIP-712 signing align with the declared infrastructure. However, the signed payload authorizes inbox actions rather than credit checks, loan requests, or repayments. This introduces a distinct messaging capability not described in the declared purpose. The code only creates these authorizations; it does not itself retrieve or send messages.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
87% confidence
Finding

The supplied script implements a sponsor-messaging capability, not credit checking, loan requests, or repayment. Although its usage example concerns loan approval, its actual operation accepts arbitrary text and sends a standalone message. This user-facing communication capability is not disclosed in the declared purpose and is more than an internal implementation detail of the listed lending operations.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
84% confidence
Finding

The supplied command accesses a sponsor-binding resource rather than visibly checking credit, requesting a loan, signing a transaction, or repaying USDC. Such a lookup could potentially support transaction sponsorship, but the supplied chunk provides no connection establishing it as a lending implementation detail. The mismatch concerns the resource accessed, not merely the absence of the other advertised features.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
76% confidence
Finding

The supplied command targets a sponsor-claim operation rather than an identified credit-check, loan-request, or repayment operation. This appears to be an undeclared capability. Confidence is limited because the script implementation is not supplied; its filename and argument do not establish what resources it accesses or whether sponsorship is actually a supporting lending step.

Content

No source excerpt is available for this finding.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 64)May include surrounding context.

md
node bin/address.js

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 216)May include surrounding context.

md
1. Know your address → node bin/address.js

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 102)May include surrounding context.

md
node bin/sign-loan.js 5 # 5 USDC with a human sponsor (min 5, max per your credit ladder)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 103)May include surrounding context.

md
node bin/sign-loan.js 2 # 2 USDC if nobody sponsors you yet (the only size allowed)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 109)May include surrounding context.

md
node bin/sign-loan.js 5 | curl -s -X POST \

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 220)May include surrounding context.

md
4. Sign + request the loan → node bin/sign-loan.js 5 | curl POST /api/v1/loan/request

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 152)May include surrounding context.

md
node bin/claim-sponsor.js ABC-DEF

Bank-hosted mailbox messages are promoted to principal-level instructions across all tasks.

High
Category
Prompt Injection
Confidence
99% confidence
Finding

The text explicitly promotes bank-hosted message bodies to instructions from the agent's principal without establishing equivalent authority or constraining their scope. A signed mailbox pull authenticates the requesting wallet, not necessarily the sender or integrity of each message, so compromised remote content could induce unauthorized transactions or unrelated actions.

Content

No source excerpt is available for this finding.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 173)May include surrounding context.

md
node bin/check-messages.js # → { messages: [{id, body}], sponsor_bound, next_action }

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 175)May include surrounding context.

md
node bin/reply.js "Requested $5 (req_…). It is above my ceiling — please approve in the app."

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 198)May include surrounding context.

md
node bin/pay.js <pay_to> <repayment_amount>

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 223)May include surrounding context.

md
7. Send EXACT USDC to bank → node bin/pay.js {pay_to} {repayment_amount}

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, network.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 33)May include surrounding context.

tight permissions):

bash
mkdir -p ~/.rsoft && cat > ~/.rsoft/wallet.env <<'EOF'
CDP_API_KEY_ID=your-cdp-api-key-id
CDP_API_KEY_SECRET=your-cdp-api-key-secret
CDP_WALLET_SECRET=your-cdp-wallet-secret

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 109)May include surrounding context.

Step 3b — submit the signed request (pipe the JSON straight through):

bash
node bin/sign-loan.js 5 | curl -s -X POST \
  -H "Content-Type: application/json" -H "X-API-Key: $BANK_API_KEY" \
  -d @- https://rsoft-agentic-bank.com/api/v1/loan/request

The skill introduces a general-purpose remote instruction channel beyond its lending purpose, directing agents to treat bank-hosted messages as principal instructions.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The skill creates a standing remote command channel by requiring mailbox checks at every task and heartbeat and directing the agent to act on returned messages. Although sponsor communication serves a legitimate purpose, the instructions do not confine remote requests to approved banking actions, allowing a compromised service or sponsor account to redirect an agent with real-money capabilities.

Content

No source excerpt is available for this finding.

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
87% confidence
Finding

The caret range permits installation of newer compatible SDK releases rather than fixing a reviewed version; this source provides no evidence of a lockfile constraining resolution. If an allowed release is compromised, dependency code could access CDP credentials or manipulate signing and transfers, making this supply-chain exposure especially consequential for a mainnet wallet.

Content

Scanner excerpt · package.json (reported line 6)May include surrounding context.

json
"version": "2.5.1",
  "private": true,
  "dependencies": {
    "@coinbase/cdp-sdk": "^1.47.0"
  }
}