# Multichain Token Security Auditor (Base, Solana, EVM) (`cipherhouse/multichain-token-security-audit`) Actor

Zero-API-key pre-trade honeypot, tax & Token-2022 auditor (7 EVM chains + Solana). $0.005 start + $0.01/token PPE with strict maxTotalChargeUsd cap — test 2 tokens for $0.025 on Apify free credits. Returns 0-100 risk score, ALLOW/BLOCK verdict & DEX slippage. MCP ready.

- **URL**: https://apify.com/cipherhouse/multichain-token-security-audit.md
- **Developed by:** [CipherHouse Labs](https://apify.com/cipherhouse) (community)
- **Categories:** AI, Developer tools, Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 evm token security audits

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## CipherHouse Multichain Token Security Auditor (EVM + Solana SPL)

Zero-API-key, read-only pre-trade token security, honeypot, and rug-pull auditor across **7 EVM chains** (**Base, Ethereum, Avalanche C-Chain, BNB Chain, Arbitrum, Polygon, Optimism**) and **Solana Mainnet-Beta (SPL & Token-2022)**.

Returns one normalized `0–100` risk score, deterministic `ALLOW | CAUTION_CAP_SIZE | BLOCK_PRE_TRADE` verdict, swap tax & honeypot simulation, Solana Token-2022 dangerous extension checks, and constant-product DEX slippage caps — built for **AI trading agents, MCP clients, and DeFi quant pipelines**.

### Predictable Pay-Per-Event (PPE) Pricing & Hard Budget-Cap Safety

| Event | Price (USD) | Charged when |
|---|---|---|
| `actor-start` | `$0.005` | Once per Actor run start |
| `token-audit-evm` | `$0.010` | Per EVM token audited (Base, ETH, AVAX, BSC, ARB, POL, OP) |
| `token-audit-solana` | `$0.010` | Per Solana SPL / Token-2022 mint audited |

- **Hard Spending Cap (`maxTotalChargeUsd`) Built In**: Set `maxTotalChargeUsd` in Apify Console, REST API, or MCP tool calls. This Actor validates `Actor.charge()` before every individual token and stops gracefully the instant your cap is reached — **zero surprise bills and zero over-charging**.
- **Few-Cent Test Run on Apify Free Monthly Credits (`$5/mo`)**: Test 2 tokens (`Base AERO` + `Solana JUP`) for **`$0.025` (2.5¢)** or 3 tokens for **`$0.035`** — **140–200 free test runs/month** on Apify's `$5` free tier (`128 MB` RAM pure Node.js 22, ~3–5s runtime, zero Chromium overhead).

### Copy-Paste JSON Input (Run in 5 Seconds)

```json
{
  "tokens": [
    { "chain": "base", "address": "0x940181a94A35A4569E4529A3CDfB74e38FD98631" },
    { "chain": "solana", "address": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN" },
    { "chain": "avalanche", "address": "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7" }
  ],
  "defaultChain": "base",
  "tradeSizeUsd": 5000,
  "concurrency": 3,
  "includeRawTelemetry": true
}
```

### Exact Output Schema & Sample Item

| Field | Type | Description |
|---|---|---|
| `ecosystem` / `chain` / `address` | `string` | Normalized `evm` or `solana`, chain slug, and contract/mint address |
| `symbol` / `name` | `string` | Live token ticker and metadata name |
| `riskScore` / `riskLevel` | `number` / `string` | Deterministic `0–100` risk score and `LOW \| MEDIUM \| HIGH \| CRITICAL` tier |
| `preTradeAction` | `string` | Agent-ready gate verdict: `ALLOW \| CAUTION_CAP_SIZE \| BLOCK_PRE_TRADE` |
| `isHoneypotOrFrozen` | `boolean` | True if EVM sell simulation fails or Solana mint has active freeze/non-transferable lock |
| `buyTaxPct` / `sellTaxPct` | `number` | Verified buy/sell swap tax percentages (or Token-2022 transfer fee %) |
| `isOpenSource` | `boolean` | Contract verification status (EVM) / SPL program integrity |
| `totalLiquidityUsd` / `topPoolLiquidityUsd` | `number` | Aggregated and deepest DEX pool liquidity in USD |
| `estSlippagePct` / `safeMaxTrade1PctUsd` | `number` | Constant-product AMM slippage estimate for `tradeSizeUsd` & max trade size under 1% impact |
| `flags` / `sources` | `string[]` | Human- & LLM-readable risk flags and upstream data sources (`goplus`, `honeypot.is`, `solana-rpc`, `dexscreener`, `rugcheck`) |

```json
{
  "engineVersion": "1.0.0",
  "ecosystem": "evm",
  "chain": "base",
  "chainId": "8453",
  "address": "0x940181a94a35a4569e4529a3cdfb74e38fd98631",
  "symbol": "AERO",
  "name": "Aerodrome",
  "riskScore": 10,
  "riskLevel": "LOW",
  "preTradeAction": "ALLOW",
  "isHoneypotOrFrozen": false,
  "buyTaxPct": 0,
  "sellTaxPct": 0,
  "isOpenSource": true,
  "priceUsd": 0.92,
  "totalLiquidityUsd": 48200000,
  "topPoolLiquidityUsd": 24100000,
  "volume24hUsd": 18500000,
  "simulatedTradeSizeUsd": 5000,
  "estSlippagePct": 0.0415,
  "safeMaxTrade1PctUsd": 120500,
  "flagCount": 1,
  "flags": ["INFO: Token supply is mintable"],
  "sources": ["goplus", "dexscreener"]
}
```

### Ready-to-Run Public Task Examples

Test live pre-configured audits in 1 click (each costs just `$0.035` on Apify free credits):

| Use Case | Public Example Preset | Est. Cost |
|---|---|---|
| Cross-Chain Starter (Base + Solana + Avalanche) | [Base & Solana Token Honeypot & Mint-Authority Audit](https://apify.com/cipherhouse/multichain-token-security-audit/examples/base-solana-token-honeypot-audit) | `$0.035` |
| Base Mainnet ERC-20 Swap Safety | [Base ERC-20 Honeypot, Buy/Sell Tax & Slippage Checker](https://apify.com/cipherhouse/multichain-token-security-audit/examples/base-erc20-honeypot-tax-checker) | `$0.035` |
| Solana SPL & Token-2022 Extensions | [Solana SPL & Token-2022 Mint Authority & Rug-Check Auditor](https://apify.com/cipherhouse/multichain-token-security-audit/examples/solana-spl-token2022-rug-check) | `$0.035` |
| Avalanche C-Chain & Arbitrum Multi-EVM | [Avalanche C-Chain & Multi-EVM Pre-Trade Token Safety Audit](https://apify.com/cipherhouse/multichain-token-security-audit/examples/avalanche-c-chain-token-safety-audit) | `$0.035` |

### Use via Apify MCP Server (`mcp.apify.com`)

Connect this Actor directly to **Claude Desktop, Cursor, Windsurf, or OpenAI Agents SDK** via Apify's hosted MCP Server:

```json
{
  "mcpServers": {
    "apify-cipherhouse-auditor": {
      "url": "https://mcp.apify.com/?actors=cipherhouse/multichain-token-security-audit",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

Example agent prompt:

> *"Run `multichain-token-security-audit` on Base token `0x940181a94A35A4569E4529A3CDfB74e38FD98631` and Solana mint `JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN` for a $10,000 swap with `maxTotalChargeUsd: 0.10`, and block any token with `preTradeAction !== ALLOW`."*

### Why use this Actor?

- **One unified schema for EVM + Solana**: Auto-detects `0x` EVM addresses and 32-byte Base58 Solana mints in the same batch run.
- **Zero third-party API keys**: Uses live public failovers (GoPlus + Honeypot.is v2 swap simulation + Solana Mainnet-Beta JSON-RPC failover + DexScreener + GeckoTerminal + RugCheck).
- **Deep Solana Token-2022 inspection**: Flags `permanentDelegate` (unilateral burn/seizure), `transferFeeConfig` (hidden/mutable protocol tax), `transferHook` (custom revertable transfer code), `defaultAccountState: frozen`, and `nonTransferable`.
- **Pre-trade AMM slippage guard**: Models constant-product price impact for your target `tradeSizeUsd` and outputs `safeMaxTrade1PctUsd`.
- **Ultra-low compute footprint**: Pure Node.js 22 HTTP/JSON-RPC (no headless Chromium) running in **128 MB RAM** so your Pay-Per-Event spend goes straight to clean data.

### Disclaimer

Read-only on-chain security and liquidity telemetry for informational and research purposes only. CipherHouse does not execute trades, custody funds, or provide investment advice.

# Actor input Schema

## `tokens` (type: `array`):

Array of token targets ({ "chain": "base"|"solana"|"ethereum"|"avalanche"|"bsc"|"arbitrum"|"polygon"|"optimism"|"auto", "address": "0x... or Base58 mint" }).

## `addresses` (type: `array`):

Optional flat list of contract/mint addresses (e.g., \["0x9401...", "JUPyiw..."]). Solana Base58 mints are auto-detected; 0x addresses use defaultChain.

## `defaultChain` (type: `string`):

Chain used for 0x EVM addresses when no chain is explicitly provided.

## `tradeSizeUsd` (type: `number`):

Proposed swap notional in USD used to estimate constant-product AMM price impact and safe order size caps.

## `concurrency` (type: `integer`):

Number of tokens audited concurrently (1-5 recommended to respect public RPC/GoPlus rate limits).

## `includeRawTelemetry` (type: `boolean`):

Include full per-pool liquidity breakdown, Token-2022 extension objects, and top-holder rows in each dataset item.

## Actor input object example

```json
{
  "tokens": [
    {
      "chain": "base",
      "address": "0x940181a94A35A4569E4529A3CDfB74e38FD98631"
    },
    {
      "chain": "solana",
      "address": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN"
    }
  ],
  "addresses": [],
  "defaultChain": "base",
  "tradeSizeUsd": 5000,
  "concurrency": 3,
  "includeRawTelemetry": true
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "tokens": [
        {
            "chain": "base",
            "address": "0x940181a94A35A4569E4529A3CDfB74e38FD98631"
        },
        {
            "chain": "solana",
            "address": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("cipherhouse/multichain-token-security-audit").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "tokens": [
        {
            "chain": "base",
            "address": "0x940181a94A35A4569E4529A3CDfB74e38FD98631",
        },
        {
            "chain": "solana",
            "address": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("cipherhouse/multichain-token-security-audit").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "tokens": [
    {
      "chain": "base",
      "address": "0x940181a94A35A4569E4529A3CDfB74e38FD98631"
    },
    {
      "chain": "solana",
      "address": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN"
    }
  ]
}' |
apify call cipherhouse/multichain-token-security-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cipherhouse/multichain-token-security-audit"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/dDhcaFTzwmXzZidCI/builds/OtpLCPdmaRzHwteZt/openapi.json
