Back to skill

Security audit

TaxRail Crypto Tax

Security checks for vulnerabilities and agentic risk

Overview

The scanners classify this skill as suspicious because it directs agents to send wallet and tax details to an external service and broadcast financial transactions without independent validation or explicit approval.

Before installing, consider whether you are comfortable sharing wallet and tax details with the named external service. Do not broadcast returned transactions unless you independently verify their effects and explicitly approve them. The scanner also flags the unpinned MCP package installation command; the verdict is suspicious, not a claim that the author is malicious.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (18)

The execution workflow instructs broadcasting financial transactions without warning about irreversible trades or borrowing risks.

High
Category
Output Handling
Confidence
97% confidence
Finding

The workflow instructs the agent to broadcast API-supplied swap or borrowing transactions without requiring independent transaction validation or explicit approval of the final effects. Malicious or incorrect calldata could transfer assets, grant dangerous approvals, or open unwanted debt; even legitimate borrowing introduces liquidation risk and transactions are generally irreversible.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 19)May include surrounding context.

md
## When to Trigger This Skill

1. **Wallet Year-End TLH & Tax Risk Audit ($0.01 USDC, 1 parameter):**
   Call `GET https://api.taxrail.online/api/v1/x402/tlh-scan?walletAddress=<0x...>&chain=base&asset=ALL&jurisdiction=US` via x402 Base USDC (`eip155:8453`). Scans up to 25 volatile tokens in the wallet and returns per-token unrealized PnL, year-end Tax-Loss Harvesting candidates, IRS 1099-DA / Brazil Lei 14.754 rules, and unlockable `planId`s.
2. **Pre-Trade Swap / Sell Guardrail ($0.01 USDC):**
   Call `GET https://api.taxrail.online/api/v1/x402/pre-trade-check?walletAddress=<0x...>&sellAsset=ETH&sellAmount=1&chain=base&jurisdiction=US` before submitting any swap to check HIFO savings, Short-Term -> Long-Term tax cliffs, and Aave v3 borrow-vs-sell.
3. **Brazil R$35k Monthly Exemption & Lei 14.754 Check ($0.005 USDC):**

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 21)May include surrounding context.

md
1. **Wallet Year-End TLH & Tax Risk Audit ($0.01 USDC, 1 parameter):**
   Call `GET https://api.taxrail.online/api/v1/x402/tlh-scan?walletAddress=<0x...>&chain=base&asset=ALL&jurisdiction=US` via x402 Base USDC (`eip155:8453`). Scans up to 25 volatile tokens in the wallet and returns per-token unrealized PnL, year-end Tax-Loss Harvesting candidates, IRS 1099-DA / Brazil Lei 14.754 rules, and unlockable `planId`s.
2. **Pre-Trade Swap / Sell Guardrail ($0.01 USDC):**
   Call `GET https://api.taxrail.online/api/v1/x402/pre-trade-check?walletAddress=<0x...>&sellAsset=ETH&sellAmount=1&chain=base&jurisdiction=US` before submitting any swap to check HIFO savings, Short-Term -> Long-Term tax cliffs, and Aave v3 borrow-vs-sell.
3. **Brazil R$35k Monthly Exemption & Lei 14.754 Check ($0.005 USDC):**
   Call `GET https://api.taxrail.online/api/v1/x402/br-35k-status?monthlySalesBrl=20000&plannedSaleUsd=2500&custodyLocation=DOMESTIC%60 for instant BRL tax-free headroom and maximum exempt USD sale cal

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 23)May include surrounding context.

md
2. **Pre-Trade Swap / Sell Guardrail ($0.01 USDC):**
   Call `GET https://api.taxrail.online/api/v1/x402/pre-trade-check?walletAddress=<0x...>&sellAsset=ETH&sellAmount=1&chain=base&jurisdiction=US` before submitting any swap to check HIFO savings, Short-Term -> Long-Term tax cliffs, and Aave v3 borrow-vs-sell.
3. **Brazil R$35k Monthly Exemption & Lei 14.754 Check ($0.005 USDC):**
   Call `GET https://api.taxrail.online/api/v1/x402/br-35k-status?monthlySalesBrl=20000&plannedSaleUsd=2500&custodyLocation=DOMESTIC%60 for instant BRL tax-free headroom and maximum exempt USD sale calculation.
4. **Pre-Trade Swap / Disposal Simulation (FREE Step 1):**
   Call `POST https://api.taxrail.online/api/v1/check-tax-impact` (or MCP tool `check_tax_impact`) with either explicit `lots` or `walletAddress`. Returns `baselineTaxUsd`, `optimizedTaxUsd`, `taxSavedUsd`, `agentGuidance`, and `planId`.
5. **Liquidity Without Selling (FREE Step 1):**

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 27)May include surrounding context.

md
4. **Pre-Trade Swap / Disposal Simulation (FREE Step 1):**
   Call `POST https://api.taxrail.online/api/v1/check-tax-impact` (or MCP tool `check_tax_impact`) with either explicit `lots` or `walletAddress`. Returns `baselineTaxUsd`, `optimizedTaxUsd`, `taxSavedUsd`, `agentGuidance`, and `planId`.
5. **Liquidity Without Selling (FREE Step 1):**
   Call `POST https://api.taxrail.online/api/v1/borrow-vs-sell` (or MCP `compare_borrow_vs_sell`) to test if borrowing USDC on Aave v3 beats selling appreciated crypto after taxes.
6. **1-Click $0-Upfront Execution (Pay 10% From Operation Proceeds):**
   Call `POST https://api.taxrail.online/api/v1/prepare-execution` (or MCP `prepare_execution`) with `{ "planId": "...", "takerAddress": "0x...", "buyAsset": "wstETH" }` for **$0 upfront**. Broadcast the returned `0x v2` swap or `Aave v3` atomic borrow batch (which collects TaxRail's exact 10% savings fee from the operation), then call `POST https://api.taxrail.online/api/v1/claim-dossier` (or MCP `c

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 29)May include surrounding context.

md
5. **Liquidity Without Selling (FREE Step 1):**
   Call `POST https://api.taxrail.online/api/v1/borrow-vs-sell` (or MCP `compare_borrow_vs_sell`) to test if borrowing USDC on Aave v3 beats selling appreciated crypto after taxes.
6. **1-Click $0-Upfront Execution (Pay 10% From Operation Proceeds):**
   Call `POST https://api.taxrail.online/api/v1/prepare-execution` (or MCP `prepare_execution`) with `{ "planId": "...", "takerAddress": "0x...", "buyAsset": "wstETH" }` for **$0 upfront**. Broadcast the returned `0x v2` swap or `Aave v3` atomic borrow batch (which collects TaxRail's exact 10% savings fee from the operation), then call `POST https://api.taxrail.online/api/v1/claim-dossier` (or MCP `claim_dossier`) with `{ "planId": "...", "txHash": "0x..." }` to unlock SpecID lots & Form 8949 / DeCripto CSV.
7. **Full 1-Step Execution + Accounting Dossier ($0.10 USDC):**
   Call `POST https://api.taxrail.online/api/v1/x402/optimize` via x402 Base USDC to receive exact SpecID/HIFO lots, unsig

The workflow sends wallet and financial data to a third-party API without a privacy warning.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The skill directs agents to transmit wallet addresses, intended trades, sales totals, and potentially detailed tax lots to an external operator without establishing a disclosure-consent step. Although blockchain addresses may be public, linking them to a user's session, private cost basis, jurisdiction, and prospective transactions creates additional financial privacy exposure.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 25)May include surrounding context.

md
3. **Brazil R$35k Monthly Exemption & Lei 14.754 Check ($0.005 USDC):**
   Call `GET https://api.taxrail.online/api/v1/x402/br-35k-status?monthlySalesBrl=20000&plannedSaleUsd=2500&custodyLocation=DOMESTIC%60 for instant BRL tax-free headroom and maximum exempt USD sale calculation.
4. **Pre-Trade Swap / Disposal Simulation (FREE Step 1):**
   Call `POST https://api.taxrail.online/api/v1/check-tax-impact` (or MCP tool `check_tax_impact`) with either explicit `lots` or `walletAddress`. Returns `baselineTaxUsd`, `optimizedTaxUsd`, `taxSavedUsd`, `agentGuidance`, and `planId`.
5. **Liquidity Without Selling (FREE Step 1):**
   Call `POST https://api.taxrail.online/api/v1/borrow-vs-sell` (or MCP `compare_borrow_vs_sell`) to test if borrowing USDC on Aave v3 beats selling appreciated crypto after taxes.
6. **1-Click $0-Upfront Execution (Pay 10% From Operation Proceeds):**

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 31)May include surrounding context.

md
all `POST https://api.taxrail.online/api/v1/prepare-execution` (or MCP `prepare_execution`) with `{ "planId": "...", "takerAddress": "0x...", "buyAsset": "wstETH" }` for **$0 upfront**. Broadcast the returned `0x v2` swap or `Aave v3` atomic borrow batch (which collects TaxRail's exact 10% savings fee from the operation), then call `POST https://api.taxrail.online/api/v1/claim-dossier` (or MCP `claim_dossier`) with `{ "planId": "...", "txHash": "0x..." }` to unlock SpecID lots & Form 8949 / DeCripto CSV.
7. **Full 1-Step Execution + Accounting Dossier ($0.10 USDC):**
   Call `POST https://api.taxrail.online/api/v1/x402/optimize` via x402 Base USDC to receive exact SpecID/HIFO lots, unsigned `0x v2` / `Jupiter` calldata, and Form 8949 / Lei 14.754 CSV exports in one request.
8. **Unlock Any Step-1 `planId` Dossier-Only Fallback (Dynamic 10% Success Fee, $0 if $0 saved):**
   Call `POST https://api.taxrail.online/api/v1/unlock-plan` (or MCP `unlock_tax_plan`) with `{ "planId": "..." }`.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 29)May include surrounding context.

md
) to test if borrowing USDC on Aave v3 beats selling appreciated crypto after taxes.
6. **1-Click $0-Upfront Execution (Pay 10% From Operation Proceeds):**
   Call `POST https://api.taxrail.online/api/v1/prepare-execution` (or MCP `prepare_execution`) with `{ "planId": "...", "takerAddress": "0x...", "buyAsset": "wstETH" }` for **$0 upfront**. Broadcast the returned `0x v2` swap or `Aave v3` atomic borrow batch (which collects TaxRail's exact 10% savings fee from the operation), then call `POST https://api.taxrail.online/api/v1/claim-dossier` (or MCP `claim_dossier`) with `{ "planId": "...", "txHash": "0x..." }` to unlock SpecID lots & Form 8949 / DeCripto CSV.
7. **Full 1-Step Execution + Accounting Dossier ($0.10 USDC):**
   Call `POST https://api.taxrail.online/api/v1/x402/optimize` via x402 Base USDC to receive exact SpecID/HIFO lots, unsigned `0x v2` / `Jupiter` calldata, and Form 8949 / Lei 14.754 CSV exports in one request.
8. **Unlock Any Step-1 `planId` Dossier-Only Fallback (

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 33)May include surrounding context.

md
7. **Full 1-Step Execution + Accounting Dossier ($0.10 USDC):**
   Call `POST https://api.taxrail.online/api/v1/x402/optimize` via x402 Base USDC to receive exact SpecID/HIFO lots, unsigned `0x v2` / `Jupiter` calldata, and Form 8949 / Lei 14.754 CSV exports in one request.
8. **Unlock Any Step-1 `planId` Dossier-Only Fallback (Dynamic 10% Success Fee, $0 if $0 saved):**
   Call `POST https://api.taxrail.online/api/v1/unlock-plan` (or MCP `unlock_tax_plan`) with `{ "planId": "..." }`.

## Earn 20% Automatic Affiliate Revenue Share

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 41)May include surrounding context.

md
## Agent Installation

- **MCP (Streamable HTTP):** https://api.taxrail.online/mcp
- **MCP (npx stdio):** `npx -y taxrail-mcp`
- **TypeScript / AgentKit / LangChain SDK:** `npm install taxrail-agent-tools`
- **Python SDK (LangChain / CrewAI / OpenAI):** `pip install taxrail`

MCP server referenced without pinned version: 'npx -y taxrail-mcp'.

Medium
Category
MCP Rug Pull
Confidence
98% confidence
Finding

The command 'npx -y taxrail-mcp' downloads and executes an unpinned package while suppressing the installation confirmation. A compromised publisher account or malicious future release could execute code with the agent process's permissions, potentially exposing wallet-related credentials and local files.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx stdio'.

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 45)May include surrounding context.

md
- **MCP (npx stdio):** `npx -y taxrail-mcp`
- **TypeScript / AgentKit / LangChain SDK:** `npm install taxrail-agent-tools`
- **Python SDK (LangChain / CrewAI / OpenAI):** `pip install taxrail`
- **OpenAPI 3.1 Spec:** https://api.taxrail.online/openapi.json
- **x402 Discovery Manifest:** https://api.taxrail.online/.well-known/x402

## Feedback & Verified Reputation

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 46)May include surrounding context.

md
- **TypeScript / AgentKit / LangChain SDK:** `npm install taxrail-agent-tools`
- **Python SDK (LangChain / CrewAI / OpenAI):** `pip install taxrail`
- **OpenAPI 3.1 Spec:** https://api.taxrail.online/openapi.json
- **x402 Discovery Manifest:** https://api.taxrail.online/.well-known/x402

## Feedback & Verified Reputation

External Transmission

Medium
Category
Data Exfiltration
Confidence
83% confidence
Finding

The feedback instruction explicitly includes 'allowPublicQuote: true' and encourages attaching plan or settlement identifiers without requiring review of what may be published. An agent following it could authorize public quotation of financial details or link a user's feedback to on-chain activity without informed consent.

Content

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

md
## Feedback & Verified Reputation

- Submit bugs, feature requests, or post-settlement reviews (`allowPublicQuote: true`) via https://api.taxrail.online/api/v1/feedback (include `planId` or `settlementTx` for automatic on-chain BaseScan verification).
- Inspect verified agent reputation via https://api.taxrail.online/api/v1/reputation.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 51)May include surrounding context.

md
## Feedback & Verified Reputation

- Submit bugs, feature requests, or post-settlement reviews (`allowPublicQuote: true`) via https://api.taxrail.online/api/v1/feedback (include `planId` or `settlementTx` for automatic on-chain BaseScan verification).
- Inspect verified agent reputation via https://api.taxrail.online/api/v1/reputation.