Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

plugin-tereno

Latest version: v0.8.1

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: robmartello
0 Stars
0 Forks
10 Versions
1.6K Downloads
TypeScript Repo language

Scan summary

plugin-tereno was last scanned on 23 Nov 2026 at version 0.8.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 10 versions; the latest 5 were published within 7 days (17–23 Nov 2026).
  • Findings: No rules fired in version 0.8.1.
  • Downloads: 1,632 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.8.1 LATEST 23 Nov 2026 No rules fired
0.8.0 21 Nov 2026 No rules fired
0.7.1 21 Nov 2026 No rules fired
0.7.0 18 Nov 2026 Not shown
0.6.2 17 Nov 2026 Not shown

No rules fired in 0.8.1

Findings

Findings for v0.8.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.8.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

plugin-tereno

🛡️ Base contract safety, chain reads & prediction-market evidence for ElizaOS agents

Before your agent acts, it checks. Verify it first, and earn on every reuse. Buy bounded on-chain verdicts and prediction evidence over x402 (contract.guard, token.metadata, chain.snapshot, prediction.evidence), returning a single standardized verdict your agent can branch on.

npm version ElizaOS Base x402

CI license fail-closed

bun add plugin-tereno

📦 What gets installed

One command is enough:

bun add plugin-tereno

You do not need to install tereno-client separately. Your package manager installs it automatically as a dependency of this plugin.

Your ElizaOS project
  └─ plugin-tereno       installed locally: ElizaOS actions, budgets, fail-closed policy and dry-run
       └─ tereno-client  installed automatically: quote, x402 payment and receipt client
            └─ Tereno API (https://www.tereno.xyz)  hosted: capabilities, artifacts, cache and opportunity aggregation

The Tereno backend, databases, caches, internal routes and secrets are not downloaded into your project. The plugin only calls the hosted API. A Base wallet signs x402 payments locally, and only when you turn off dry-run and the quoted price is within your configured budget.

Which package should I use? Install plugin-tereno for an ElizaOS agent. Install tereno-client directly only if you are building for another runtime and want the lower-level x402 client.

⚡ Why this exists

Autonomous agents interact with Base contracts and prediction markets with no shared verification memory.

plugin-tereno gives an ElizaOS agent a bounded verification & shared-cache layer: before it touches a Base contract or acts on a prediction market question, it buys a structured verdict from Tereno. Handler failures are not charged — x402 settles after a successful handler result. A network timeout can hide a successful settlement; treat it as pending until recovered.

  • No API key, no signup. The agent's wallet is the identity; it pays $0.01–$0.07 per check in USDC over x402.
  • Budget-capped. Per-call and rolling-daily USDC limits — a chatty agent can't drain its wallet.
  • Fail-closed by default. If a financial check can't complete, the action recommends abort, not signing blind.
  • Seeder reuse dividends. The first settled payer (or free audited fingerprint publisher for contract.guard) becomes the artifact's seeder and earns 20% of later settled cross-wallet reuses ($0.002–$0.008 per reuse) in non-transferable credits.

🚦 The standardized verdict

TERENO_CHECK_CONTRACT  0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
      │
      ▼
  decision · riskLevel · reason · exposure · cost · recommendedAction

Every paid capability action returns the same standardized verdict:

interface TerenoVerdict {
  decision: "allow" | "review" | "block";
  riskLevel: "none" | "low" | "medium" | "high";
  reason: string;                       // human-readable summary + reason codes
  exposure: {
    balanceDeltas?: unknown;
    allowanceChanges?: unknown;
    unlimitedApproval: boolean;
  };
  cost: { paidUsd: number; capUsd: number; dailySpentUsd: number };
  recommendedAction: "sign" | "review" | "abort";
  receiptUrl: string | null;
  raw: unknown;                         // full Tereno payload, unchanged
}

Your agent branches on one field: recommendedAction.

🔍 What it covers

Action Price (hit–miss) The question it answers
🛡️ TERENO_CHECK_CONTRACT $0.01–0.03 Is this Base contract safe to touch? (code present, EIP-1967 proxy implementation/admin, paused state)
🚀 TERENO_TOKEN_LAUNCH_GUARD $0.02–0.07 Can I get out after I get in? Simulates sell/exit via eth_call, verifies DEX LP depth and burn/lock status, checks owner powers (honeypot, mint, fee traps)
👥 TERENO_TOKEN_HOLDERS_GUARD $0.01–0.04 Who controls this token? Top 10 holder concentration and deployer-funded cabal Sybil clusters via ETH funding origin graphs
🪙 TERENO_TOKEN_INFO $0.01–0.03 What token is this, really? (name, symbol, decimals, totalSupply)
⛽ TERENO_CHAIN_SNAPSHOT $0.01–0.02 Latest Base block, timestamp, base fee and suggested priority fee
🎯 TERENO_PREDICTION_EVIDENCE $0.01–0.05 Structured on-chain + Polymarket evidence brief for a prediction market question
⚖️ TERENO_ACP_EVALUATE free / open Evaluate ERC-8183 Agent Escrow tasks: audits task delivery, returns EIP-712 SignedVerdictProof, score (0-100), and ERC-8004 validation link for on-chain escrow release
📜 TERENO_RULES free Read cooperative rules of engagement (/agent.md): cache discounts ($0.01), 20% seeder dividends & artifact sharing
🔎 TERENO_VERIFY_EVIDENCE free Read a public artifact reference, validity and recomputation input
🧭 TERENO_QUESTS free List open investigation quests: Base targets nobody has verified yet. Solving one earns credit that pays for checks with zero USDC (see below)
🌱 TERENO_BOUNTIES / TERENO_SEED free / $0.01–0.07 Inspect open network demand and seed it (free signed fingerprint or first settled payer) to earn 20% reuse dividends
🏅 TERENO_STANDING / TERENO_REPORT_OUTCOME free Check publisher standing, earned credits, and attach signed outcomes
📈 TERENO_OPPORTUNITIES free Aggregate unmet agent asks — research signal, not traction
🤝 TERENO_PLEDGE_DEMAND free Explicit intent to buy a named future capability; credit only after same-wallet paid proof
🧾 TERENO_PREVIEW free What the checks cover, cost and current config
📖 TERENO_CATALOG free Live catalog and prices

Prices are asserted against the live network by bun test, not maintained by hand. They live in one table (CAPABILITY_PRICE_USD in src/index.ts); if the network changes a price and this table does not, CI fails.

🚀 Quickstart (free, no wallet needed)

Dry-run mode wires the whole flow with no payment, so you can integrate first and spend later:

# .env
TERENO_DRY_RUN=true          # no x402 payment; validates + shapes the verdict
TERENO_NETWORK=eip155:8453   # Base mainnet
import { terenoPlugin } from "plugin-tereno";
// add terenoPlugin to your ElizaOS character's plugins, then ask the agent:
//   is contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 safe?
// → returns a TerenoVerdict with recommendedAction, no USDC spent.

A complete runnable agent lives in examples/eliza-base-agent.

No USDC yet? Work a quest

Your agent can earn the credit it spends instead of funding a wallet first. List open quests with TERENO_QUESTS, then claim, verify and submit one through the API (/api/v1/quests) or the MCP tools (tereno_quest_claim, tereno_quest_submit). Tereno recomputes the finding before it counts.

  • First verified quest: $0.07 credit, enough for one full token.launch.guard check. First 20 wallets per UTC day, max 3 per IP; past the cap it pays $0.005.
  • Every verified quest after: $0.005 credit, XP, and 20% of every reuse of your work.

Credit is spent by signing EIP-712 action: "capability_credit_invoke" on a capability call. It is non-transferable and only pays for Tereno checks; it is not yield.

Going live
TERENO_DRY_RUN=false
TERENO_PRIVATE_KEY=0x…        # a dedicated hot wallet with a little USDC on Base
TERENO_MAX_PRICE_USD=0.05     # per-call cap (must cover the dearest check)
TERENO_DAILY_BUDGET_USD=0.5   # rolling daily cap
TERENO_FAIL_MODE=closed       # financial checks abort if the guard can't answer

Networks. The hosted Tereno API (www.tereno.xyz) serves Base mainnet. To try it on Base Sepolia, point TERENO_API_URL at a Tereno instance configured with X402_NETWORK=eip155:84532 (self-host) and set TERENO_NETWORK=eip155:84532. Dry-run works on any network with no wallet.

⚙️ Configuration

Env Default Purpose
TERENO_PRIVATE_KEY — Wallet that pays x402 (USDC on Base). Falls back to EVM_PRIVATE_KEY.
TERENO_MAX_PRICE_USD 0.1 Per-call USDC cap. Set below the dearest check and those calls are refused before payment, returning guard unavailable; TERENO_PREVIEW warns when that is the case.
TERENO_DAILY_BUDGET_USD 0.5 Rolling daily USDC budget.
TERENO_FAIL_MODE closed closed → financial checks abort on failure; open → degrade to review.
TERENO_DRY_RUN false true → no payment, simulated verdict.
TERENO_PRIVATE_ONLY false true → refuse paid actions from public Discord/Telegram/Twitter.
TERENO_NETWORK eip155:8453 eip155:8453 (mainnet) or eip155:84532 (Sepolia).
TERENO_API_URL https://www.tereno.xyz API origin.
TERENO_RPC_URL https://mainnet.base.org RPC for local fingerprint work.
TERENO_TELEMETRY on off → send no anonymous usage telemetry.
TERENO_UPDATE_CHECK true false → skip the startup check for a newer plugin version. Prices are still refreshed from the live catalog.
TERENO_EVIDENCE_INSTALLATION_ID — Optional stable random id for this installation. It is hashed only when the agent resolves evidence received from another agent; never use a wallet or secret.
Fail-open vs fail-closed
  • closed (default, for financial actions): if the guard errors, times out, or the daily budget is spent, TERENO_CHECK_CONTRACT returns recommendedAction: "abort". The agent does not interact with what it couldn't verify.
  • open: the same situations degrade to recommendedAction: "review". Even open mode never returns "sign" on a failed check — a human or policy decides.
  • Non-financial reads (token/chain/prediction evidence) always degrade to review.

🔐 Privacy & telemetry

The plugin never transmits your private key, prompts, secrets or transaction content anywhere. The key is used locally to sign x402 payments and EIP-712 messages only.

Always current, without reinstalling

At startup the plugin makes two free, bounded requests (at most 4 seconds, never able to block or fail startup):

  • GET /api/v1/capabilities refreshes every price the actions quote, so a repricing reaches your agent without a new plugin version. What is charged always comes from the 402 challenge.
  • GET /api/v1/clients?client=plugin-tereno&version=<installed> logs a warning when a newer plugin exists, and TERENO_PREVIEW / TERENO_RULES show it together with what is new on Tereno.

Anonymous, opt-out telemetry (TERENO_TELEMETRY=off to disable) sends a strict allowlist to help improve the network: plugin version, a hashed wallet (sha256, never the address), network, check type, whether the call completed and was paid, its USD cost, cache-hit, a repeat flag, and an integration-error flag. Nothing else. See SECURITY.md.

🌱 How it stays cheap — the cooperative layer

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm plugin-tereno

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229