# JUJI Agent Shield — Machine-Readable Integration Guide (llms.txt) > Service: JUJIX On-Chain Token Security API & MCP Server (`v1.1.4`) > Website: https://jujix.ai/agent > Skill Spec: https://jujix.ai/agent/SKILL.md > OpenAPI 3.1: https://jujix.ai/agent/openapi.json > Streamable HTTP MCP Endpoint: https://jujix.ai/api/v1/agent/mcp > Zero-Dependency CLI Installer: `curl -fsSL https://jujix.ai/agent/install.mjs -o install.mjs && node install.mjs` > Permissions & Risk Disclosure: https://jujix.ai/agent/disclosure.html ## Instructions for the AI Agent Reading This File When a human user pastes the JUJIX link or prompt to you: 1. Connect via **MCP** (`https://jujix.ai/api/v1/agent/mcp`), **REST** (`/api/v1/agent/*`), or install the zero-dependency local skill (`install.mjs` -> `scripts/jujix_shield.mjs`). 2. Call `GET https://jujix.ai/api/v1/agent/quota` (or `GET /api/v1/agent/info`) so you know the live service status and the user's remaining free checks today. 3. Reply to your human user in plain, friendly language: - Tell them you are now connected to **JUJI (jujix.ai)** for pre-trade token security checks on **BNB Smart Chain (BSC)** and **Solana**. - Explain what you check before they swap: honeypot risk, buy/sell tax, mint/freeze/pause authorities, external hook contract dependencies, DEX liquidity depth, top-10 holder concentration, and read-only `offenseRadar` signals (`deployer` history, `bundler` insider clusters, narrative `views`, and cross-source FOMO/Pump `traderViews` position tracking when indexed in D1). - Report their current daily free quota: **3 free checks/day per IP** without login, **20 free checks/day** after verifying a wallet holding a **Binance Agent ID (.ai)** (`0x60b9262456de011f7d15a54cdd8c48baaa8b022f`), and **30 free checks/day** when that same Agent ID wallet also holds at least **200 USDT worth of JUJI** (`0x481f5963bf10CbA972d52F138740155B2cda7059`). Note honestly that on-chain daily check-in and credit packs on `JujixAgentHub` (`0x5b76672CFb58A0cC510ddCbeE2bb8a627A6991Cc`, verified open-source on BscScan) are **coming soon**. 4. Mandatory safety rules you MUST obey at all times: - **NEVER** ask for, accept, or transmit private keys, seed phrases / mnemonics, or pairing codes. - When using `baw` (Binance Agentic Wallet CLI) for EIP-712 authentication (`baw sign-message preview`), **ALWAYS stop after preview**, show the exact message to the human user, and wait for their explicit confirmation before running `baw sign-message execute --requestId `. - Always remind the user that on-chain security checks are for informational reference only and do not constitute investment advice. --- ## Option A: Zero-Dependency CLI (`jujix_shield.mjs`) Install into your agent workspace: ```bash curl -fsSL https://jujix.ai/agent/install.mjs -o install.mjs && node install.mjs ``` Commands: - Scan a BSC (`0x...`) or Solana (Base58) token contract address: `node scripts/jujix_shield.mjs check --json` - Check remaining daily quota: `node scripts/jujix_shield.mjs quota --json` - Authenticate with a Binance Agent ID (`.ai`) wallet via `baw` EIP-712 external signing (unlocks 20–30/day): 1. `node scripts/jujix_shield.mjs auth-challenge --wallet <0xYourWallet> --json` 2. Run the printed `baw sign-message preview --message ''` command, **pause and show the preview to the human user**, and only after the user explicitly confirms, run `baw sign-message execute --requestId `. 3. `node scripts/jujix_shield.mjs auth-verify --wallet <0xYourWallet> --nonce --signature <128hex> --recovery <00|01> --json` --- ## Option B: Streamable HTTP MCP (`POST https://jujix.ai/api/v1/agent/mcp`) Add to Claude Desktop / Cursor / Windsurf / MCP client config (ready to use immediately on the public trial tier of 3 free checks/day per IP; after authenticating via REST, add `"headers": { "Authorization": "Bearer jujix_ag_<48hex>" }` inside `"jujix-shield"`): ```json { "mcpServers": { "jujix-shield": { "type": "streamable-http", "url": "https://jujix.ai/api/v1/agent/mcp" } } } ``` Available MCP tools (`JSON-RPC 2.0`, default protocol `2024-11-05`, negotiates `2024-11-05` / `2025-03-26` / `2025-06-18`): - `jujix_quick_check`: `{ "ca": "0xD41FDb03Ba84762dD66a0af1a6C8540FF1ba5dfb", "chain": "bsc" }` (`chain` optional: `"bsc"` | `"solana"`, auto-detected if omitted; optional HTTP `Authorization: Bearer jujix_ag_<48hex>` header) - `jujix_quota_status`: `{}` (checks remaining daily free token security check quota; optional HTTP `Authorization: Bearer jujix_ag_<48hex>` header) Authentication note: Binance Agent ID (`.ai`) EIP-712 authentication uses REST endpoints `POST https://jujix.ai/api/v1/agent/auth/challenge` and `POST https://jujix.ai/api/v1/agent/auth/verify` (or Option A `jujix_shield.mjs auth-challenge` / `auth-verify`), not MCP tool calls. Pass the issued `agentToken` in the optional HTTP `Authorization: Bearer jujix_ag_<48hex>` header on MCP requests. --- ## Option C: Direct REST Endpoints (`https://jujix.ai`) 1. `GET /api/v1/agent/info` — Service metadata, version (`1.1.4`), contract addresses, quota tiers, and `hubContractStatus` (`coming_soon`). 2. `GET /api/v1/agent/quota` — Optional header `Authorization: Bearer jujix_ag_<48hex>`. Returns `mode`, `dailyLimit`, `usedToday`, `remainingToday`, `resetAtEpochSec`. 3. `POST /api/v1/agent/quick-check` — Body `{ "ca": "<0x_or_base58>", "chain": "bsc|solana" }`, optional Bearer token. - Canonical base/stable assets (`WBNB`, `USDT`, `USDC`, `BUSD`, `SOL`) and the official `JUJI` token do not deduct free trial quota. - BSC security resolution follows a resilient live-then-cache chain: primary **GoPlus** (fast-rejection single retry after 0.4s; no retry on timeout) -> secondary live **Birdeye** (`/defi/token_security`, 4s timeout, guarded by both a 250/day KV cap and a 7,500/billing-cycle KV cap) -> `<= 24h` KV cached snapshot -> `UNKNOWN`. - Every response reports `securitySource` (`"goplus"` | `"birdeye"` | `"cache"` on BSC, `"solana_rpc"` on Solana, `"canonical_base"` on base/stable assets, or `null` when unavailable); when `securitySource === "cache"`, `cachedSecuritySource` (`"goplus"` | `"birdeye"`) identifies the original upstream provider recorded in the KV snapshot (`fetchGoPlusBscSecurityWithSoftCache` also returns `{ raw, securitySource, cachedSecuritySource, isStaleFallback, savedAtSec }`). - Live Birdeye responses (`securitySource: "birdeye"`) are treated as real-time data (no `SECURITY_SOURCE_STALE` flag, normal quota deduction, and persisted to KV with `source: "birdeye"`). Whenever `security.top10ExPoolPct === null` (for example, Birdeye BSC `/defi/token_security` omits top-10 holders or GoPlus returns an empty `holders` array), `security.flags` appends `"TOP10_UNAVAILABLE"` and `security.riskLevel` is never rated `"LOW"` (minimum `"MEDIUM"`; this floor applies to regular tokens only — canonical base/stable assets `WBNB` / `USDT` / `USDC` / `BUSD` / `SOL` short-circuit via `securitySource: "canonical_base"` with `top10ExPoolPct: null`, flag `BASE_OR_STABLE_ASSET` instead of `TOP10_UNAVAILABLE`, and keep `riskLevel: "LOW"`). If both live sources are unreachable, a verified snapshot cached within `<= 24h` is served with its true computed `riskLevel`, `securitySource: "cache"`, `cachedSecuritySource`, flag `SECURITY_SOURCE_STALE`, and `dataUpdatedAt` / `dataUpdatedAtEpochSec` while automatically refunding the check; if no recent snapshot exists (or core authority fields are incomplete), it returns `riskLevel: "UNKNOWN"` and automatically refunds the check so free quota is never wasted. 4. `POST /api/v1/agent/auth/challenge` — Body `{ "wallet": "0x..." }`. Issues a 10-minute EIP-712 `AgentAuth` challenge (`nonce` format `jujix_nonce_<32hex>`). 5. `POST /api/v1/agent/auth/verify` — Body `{ "wallet": "0x...", "nonce": "jujix_nonce_...", "signature": "<128hex_or_65byte_0x>", "signatureRecovery": "00|01" }`. Verifies on-chain `AgentID.balanceOf(wallet) > 0` and issues a 24h read-only `agentToken` (`20/day`, or `30/day` if holding >= 200 USDT of JUJI). 6. `POST /api/v1/agent/hub-redeem` — On-chain receipt redemption for `JujixAgentHub` (`Coming soon` on production until enabled). ### Live Response Example (Official Quota-Exempt `JUJI` on BSC — `MEDIUM` Risk) ```json { "ok": true, "chain": "bsc", "ca": "0x481f5963bf10cba972d52f138740155b2cda7059", "securitySource": "birdeye", "top10Source": "nodereal", "top10UpdatedAtEpochSec": 1795083945, "top10UpdatedAt": "2026-11-19T10:25:45Z", "top10UpdatedAtAsia": "11-19 18:25", "top10HolderCount": 10, "token": { "name": "狙姬", "symbol": "狙姬" }, "market": { "priceUsd": 1.403e-05, "marketCapUsd": 13966, "liquidityUsd": 10598.9, "volume24hUsd": 5310.05, "pairAddress": "0x04BdE3A60B58C0CFFe5E16bA640eAb57E50d8336" }, "security": { "riskLevel": "MEDIUM", "securitySource": "birdeye", "isHoneypot": false, "isOpenSource": true, "buyTaxPct": 2.2, "sellTaxPct": 2.2, "mintAuthority": "renounced", "freezeAuthority": "renounced", "permanentDelegate": null, "holderCount": 312, "top10ExPoolPct": 23.54, "top10Source": "nodereal", "top10UpdatedAtEpochSec": 1795083945, "top10UpdatedAt": "2026-11-19T10:25:45Z", "top10UpdatedAtAsia": "11-19 18:25", "top10HolderCount": 10, "externalHookAddress": "0x6D8d3dE459629cBb7b552169a55D754db60cAe0c", "flags": [ "EXTERNAL_HOOK_UNVERIFIED" ] }, "cachedDeepCard": { "cachedAtEpoch": 1795047780, "symbol": "狙姬", "name": "狙姬", "oneLineZh": null, "oneLineEn": null }, "offenseRadar": { "version": "v1", "tierAccess": "trial", "coverageStatus": "full", "cardUpdatedAtEpochSec": 1795047780, "cardUpdatedAtAsia": "11-19 08:23", "deployer": { "status": "indexed", "address": "0x222d44bf7c03c0f16a40047c820a2af3d4fca27a", "isFactory": false, "createdCount": 3, "graduatedCount": 1, "graduatedPct": 33.33, "prevRugged": false, "honeypotSameCreatorCount": 0, "creatorHoldingPct": 4.09 }, "bundler": { "status": "indexed", "bundlerPct": 0, "initialBundlerPct": 0, "walletsCount": 0, "sameFunderPct": null, "sameFunderWalletsCount": null, "isInsiderCabal": false }, "views": { "status": "indexed", "stamp": "官方认过", "stampCode": "OFFICIAL", "officialStatus": "official", "sourcesCount": 3, "mentionsCount": 15, "latestViewAtAsia": "11-19 21:14" }, "traderViews": { "status": "no_recorded_views", "pumpSyncedInWindow": true, "fomoSyncedInWindow": true, "recordedCount": 0, "distinctTraderCount": 0, "distinctHoldingTraderCount": 0, "fomoCount": 0, "pumpCount": 0, "holdingCount": 0, "exitedCount": 0, "unavailableStatusCount": 0, "consensusHolding": false, "allExitedWarning": false, "singleHoldingValueUsd": null, "singleCostBasisUsd": null, "fastPumpSyncedAtEpochSec": 1795083900, "fastPumpSyncedAtAsia": "11-19 18:25", "slowFomoSyncedAtEpochSec": 1795083600, "slowFomoSyncedAtAsia": "11-19 18:20" } }, "summaryZh": "狙姬 (BSC) 风险评级 MEDIUM|池深 $10,599|买税 2.2% / 卖税 2.2%(出处:Birdeye)|前十持仓 23.54%(出处:NodeReal,亚洲时间 11-19 18:25)。触发风险标记:EXTERNAL_HOOK_UNVERIFIED。 代币本体已验开源且开盘锁已单向永久解除;每笔转账会调用外部税务合约(0x6D8d...cAe0c·GangTaxHandler,已在 BscScan 验证源码),其管理权限尚未完整审查,请留意外部合约依赖风险。", "summaryEn": "狙姬 (BSC) Risk MEDIUM | Liquidity $10,599 | buy tax 2.2% / sell tax 2.2% (Source: Birdeye) | top-10 ex-pool 23.54% (Source: NodeReal, 11-19 18:25 Asia time). Flags: EXTERNAL_HOOK_UNVERIFIED. Token contract is verified open-source with its launch lock permanently disabled one-way; each transfer calls an external tax contract (0x6D8d...cAe0c · GangTaxHandler, source code verified on BscScan) whose administrative powers have not yet been fully reviewed. Note external contract dependency.", "quota": { "mode": "trial", "usedToday": 3, "remainingToday": 0, "dailyLimit": 3, "officialTokenQuotaExempt": true }, "riskDisclaimer": "链上安全检测仅供参考,不构成任何投资买卖建议;加密代币价格波动与智能合约风险极高,操作前请独立核实。", "riskDisclaimerZh": "链上安全检测仅供参考,不构成任何投资买卖建议;加密代币价格波动与智能合约风险极高,操作前请独立核实。", "riskDisclaimerEn": "On-chain security checks are for informational reference only and do not constitute investment advice. Crypto tokens carry high volatility and smart-contract risks." } ``` Field & Flag Notes (`security.top10ExPoolPct`, `top10Source`, `top10Scope`, `top10HolderCount`, & `security.flags`): - `security.top10ExPoolPct`: Number (`0`–`100`) or `null`, measuring concentration across the top-10 addresses after excluding identified pools, vaults, and burn addresses (`扣除已辨识池子、金库等地址后的前十个地址`). On BSC, all routes apply one unified exclusion set (DexScreener pairs, `gp.dex` pairs, burn/zero addresses, the token contract itself, GoPlus `is_locked` / LP / burn / dead tags, and standard launchpad curve vaults / LP lockers): if GoPlus retains `>= 10` addresses (or the token genuinely has `< 10` total holders in GoPlus), concentration is summed directly from GoPlus (`top10Source: "goplus"`, capped at 10 addresses, 0 extra RPC calls); if GoPlus's 10-entry list drops below 10 addresses after exclusions (or omits `holders`), edge quick-check recomputes the entire top-10 from a single source via **NodeReal** 4-parameter `nr_getTokenHolders` (top-30) + `eth_call totalSupply()` (`top10Source: "nodereal"`, soft-capped, never stitching two sources). On Solana, edge quick-check resolves top-10 ex-pool share via **Helius** 3-in-1 RPC (`getTokenLargestAccounts` + ATA owner resolution + AMM pool/vault authority check, `top10Source: "helius"`, `top10Scope: "top20_token_accounts"` — explicitly disclosed as `按前 20 个代币账户估算` / `Estimated from top 20 token accounts`, soft-capped). Each computed top-10 result includes `top10Source` (`"helius"` | `"nodereal"` | `"goplus"` | `"cache"` | `null`), `cachedTop10Source` when `"cache"`, `top10HolderCount` (number of retained addresses summed), `top10Scope` (`"top20_token_accounts"` | `"partial_holders"` when applicable), `top10UpdatedAtEpochSec`, `top10UpdatedAt`, and `top10UpdatedAtAsia` (Asia time). `null` means top-10 holder concentration is missing / unavailable (never coerced to `0`) — for example, when BSC checks fall back to **Birdeye** without a reachable NodeReal key/budget or when GoPlus returns an empty / missing `holders` array. - `TOP10_PARTIAL`: Added to `security.flags` (alongside `top10Scope: "partial_holders"` and `top10HolderCount: N`) when only 1–9 addresses can be retained: GoPlus's holder list is cut below 10 addresses by pool/vault exclusions, is incomplete (fewer than 10 rows while `holder_count` is larger, missing, or unreadable), or is empty, and NodeReal is unreachable or also yields fewer than 10 addresses (if no address can be retained at all, `TOP10_UNAVAILABLE` applies instead). Summaries qualify the figure as `只拿到前 N 个地址` / `Only top N addresses available` (never labeling `N` addresses as unqualified top-10), and `security.riskLevel` is never `"LOW"` (minimum `"MEDIUM"`). - `TOP10_UNAVAILABLE`: Added to `security.flags` whenever `security.top10ExPoolPct === null` on a live or cached check of a regular token (canonical base/stable assets are exempt: they return `securitySource: "canonical_base"`, flag `BASE_OR_STABLE_ASSET`, and `riskLevel: "LOW"`). Because holder concentration has not been verified, `security.riskLevel` is never `"LOW"` (minimum `"MEDIUM"`, matching missing-liquidity handling), and `summaryZh` / `summaryEn` explicitly report `前十大持仓查不到` / `top-10 holders unavailable`. - `offenseRadar`: Additive top-level read-only cabal & smart-trader radar (`null` on canonical base/stable assets `WBNB`, `USDT`, `USDC`, `BUSD`, `SOL`). Combines four read-only D1 pillars with top-level `coverageStatus` (`"full"` | `"partial"` | `"unindexed"`): - `deployer`: `status` is `"indexed"` (deep card indexed), `"live_partial"` (most common on unindexed new BSC tokens: live on-chain security source provides `address`, `honeypotSameCreatorCount`, or `creatorHoldingPct` while historical launch counts remain `null`), or `"not_indexed"` (all fields `null`). On locked AI deep cards, unauthenticated `trial` requests mask `deployer.address` as `6+...+4` (for example, `"0x8f4f...190f"` on `DCTY` vs `"0x8f4fffad06de90b77ecacf1cf696680d4d0e190f"` when authenticated); open disclosure deep cards (such as `JUJI` above) and unindexed tokens resolved directly from live on-chain security sources return the full `deployer.address` by default on `trial`. Authenticated `.ai` (`tierAccess: "agent_id"`) unlocks full `deployer.address` on locked deep cards plus `deployer.tokenStatus` (`"creator_close"` | `"holding"` | `"burned"` | `"locked"` | `null`). - `bundler`: `status` is `"indexed"` | `"not_indexed"` (all fields `null` when unindexed or missing; never coerced to `0`). Authenticated `.ai` unlocks `soldPct`, `directSoldPct`, `sameBlockPct`, `sameBlockWalletsCount`, `tagHoldPct`, and `washTradeWalletsCount` on indexed cards. - `views`: `status` is `"indexed"` | `"not_indexed"`. `stampCode` enum is strictly `"OFFICIAL"` (`官方认过`) | `"HYPE_RIDER"` (`借名蹭热度`) | `"PROVEN_TRACK"` (`有实绩支撑`) | `"FAKE"` (`冒充造假`) | `"UNVERIFIED"` (`关系未验`) | `null`; `officialStatus` enum is strictly `"official"` | `"self_unverified"` | `"mentioned"` | `"unrelated"` | `"unknown"` | `null`. Authenticated `.ai` unlocks `protagonists`, `launchAfterTweetSec`, `smartOrKolHolderCount`, and `smartOrKolHoldingPct` on indexed deep cards. - `traderViews`: Independently verifies whether each lane (`fast_pump` and `slow_fomo`) succeeded within the rolling 12-hour window (`pumpSyncedInWindow` / `fomoSyncedInWindow` booleans; timestamps formatted `MM-DD HH:MM` Asia time). `status` enum is `"ok"` (both lanes synced within 12h with hits) | `"ok_partial"` (one lane synced within 12h with hits while the other lane is unsynced or `>12h` stale; the unsynced lane's `pumpCount` or `fomoCount` is `null`, never `0`) | `"no_recorded_views"` (both lanes synced within 12h with `0` hits) | `"partial_lane_unavailable"` (one lane synced within 12h with `0` hits while the other lane is unsynced or `>12h` stale; unsynced lane count and aggregate `recordedCount` / `consensusHolding` are `null` so agents never misreport `0` holders) | `"upstream_unavailable"` (neither lane synced within 12h, including `ok_at_sec = 0` or `>12h` stale cache; all counts and booleans `null`) | `"cache_empty"` (both lane rows absent; all counts and booleans `null`). Note count vs people difference: `recordedCount` is the number of substantive post records (`holdingCount + exitedCount + unavailableStatusCount`), whereas `distinctTraderCount` is the deduplicated count of unique traders and `distinctHoldingTraderCount` is the count of unique traders currently holding; `consensusHolding` requires `distinctHoldingTraderCount >= 2` (two posts by the same trader return `false`, and single-lane partial views with `<2` known holders return `null`). Unauthenticated `trial` omits `traderViews.highlights`; authenticating a Binance Agent ID (`.ai`) wallet unlocks up to 3 de-branded `<=120`-character `traderViews.highlights` (third-party user-submitted raw commentary for technical reference only, not investment advice). - Security flags reference: `HONEYPOT`, `UNVERIFIED_CONTRACT`, `HIGH_BUY_TAX`, `HIGH_SELL_TAX`, `HIGH_TRANSFER_FEE`, `MINT_AUTHORITY_ACTIVE`, `FREEZE_OR_PAUSE_ACTIVE`, `FREEZE_AUTHORITY_ACTIVE`, `PERMANENT_DELEGATE_ACTIVE`, `TRANSFER_HOOK_ACTIVE`, `EXTERNAL_HOOK_UNVERIFIED`, `LOW_LIQUIDITY`, `HIGH_TOP10_CONCENTRATION`, `TOP10_PARTIAL`, `TOP10_UNAVAILABLE`, `TOP10_SOURCE_STALE`, `SECURITY_FIELDS_INCOMPLETE`, `SECURITY_SOURCE_STALE`, `SECURITY_SOURCE_UNAVAILABLE`, `SOLANA_MINT_UNREADABLE`, `BASE_OR_STABLE_ASSET`.