T05 · Unauthorized Access and Privilege Escalation
- Location
a2a-agent-full.js:112- Finding
Unauthenticated Network Requests Can Execute Wallet-Backed SHIB Transfers
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a real wallet-backed crypto payment agent, but its default server can execute SHIB transfers without authentication and its documentation overstates the security of escrow and production readiness.
Do not install this for real funds unless you first remove or secure the unauthenticated default agent, require authentication and per-request authorization on every transfer path, use only a low-balance hot wallet, stop printing or plaintext-storing credentials, and treat the escrow feature as an off-chain tracker until it verifies or controls funds on-chain.
a2a-agent-full.js:112Unauthenticated Network Requests Can Execute Wallet-Backed SHIB Transfers
DEPLOYMENT.md:185Deployment Instructions Execute Mutable Remote Content as Root
deploy-local.sh:26Deployment Workflows Install Boot and Scheduled Persistence
a2a-agent-production.js:341API Keys Are Stored and Printed in Plaintext
a2a-agent-production.js:95Shared Mutable Request Identity Creates a Cross-Request Authorization Race
escrow.js:82Escrow Funding Accepts Arbitrary Transaction Hashes Without On-Chain Verification
monitor-github.sh:108Repository Monitor Sends Notifications to a Hardcoded Third-Party Telegram Recipient
Mounting .env.local into the container exposes wallet credentials and other secrets to the runtime environment and to anyone who gains access to the container or host mount. In a crypto payment system, those credentials may directly control funds, making the impact of leakage severe.
docker run -d \
--name shib-agent \
-p 8003:8003 \
-v $(pwd)/.env.local:/app/.env.local \
-v $(pwd)/audit-logs:/app/audit-logs \
-v $(pwd)/escrow-state.json:/app/escrow-state.json \
-v $(pwd)/negotiation-state.json:/app/negotiation-state.json \
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - downloads and executes a remote script with root privileges in a single step, creating a supply-chain and chaining-abuse risk. If the remote source, network path, or DNS is compromised, arbitrary code would run as root on the deployment host.
ssh user@your-vps-ip
# 2. Install dependencies
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs git
# 3. Clone repo
The instructions tell the operator to place a Polygon private key into .env.local without a strong, prominent warning about the sensitivity of that secret. Because this is a cryptocurrency payment agent, compromise of the private key could directly enable theft of funds or unauthorized transactions.
The guide explicitly instructs users to edit .env.local and add a private key, which creates a high-value plaintext secret on disk. For a blockchain payment agent, exposure of that file can immediately enable unauthorized transactions and theft.
cd clawd/skills/shib-payments
# 4. Configure
cp .env.example .env.local
nano .env.local # Add your private key
# 5. Install dependencies
Prompting the operator to open .env.local in an editor to add a private key reinforces insecure secret handling without emphasizing the risk. The surrounding skill context increases danger because the secret controls on-chain assets.
# 4. Configure
cp .env.example .env.local
nano .env.local # Add your private key
# 5. Install dependencies
npm install
This section documents .env.local as the location for POLYGON_PRIVATE_KEY, which means sensitive credentials are expected to reside in a local plaintext file. While chmod 600 helps, storing cryptocurrency signing material this way still carries meaningful residual risk if the host is compromised or backups leak.
# .env.local (chmod 600)
POLYGON_WALLET_ADDRESS=0x...
POLYGON_PRIVATE_KEY=0x...
NODE_ENV=production
Listing .env.local under files to back up increases the chance that wallet private keys will be copied into less-protected backup locations. Backup sprawl is a common source of secret compromise, and here it could expose the key controlling payment funds.
audit-logs/*.jsonl
.env.local
**Automated Backup Script:**
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
The documentation makes strong claims about trustless escrow, negotiation, reputation, low-cost on-chain payments, and framework-agnostic behavior, while the analyzed behaviors indicate materially different functionality. For a financial skill, this mismatch is dangerous because users or agents may trust it to handle real funds or security guarantees that are not actually implemented, leading to loss of money, unsafe deployment, or overexposure of host capabilities.
No suspicious patterns detected.