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

@trecc/sdk

Latest version: v0.2.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: trecc
3 Versions
288 Downloads

Scan summary

@trecc/sdk was last scanned on 29 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest was published on 29 Nov 2026.
  • Findings: No rules fired in version 0.2.0.
  • Downloads: 288 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 29 Nov 2026 No rules fired
0.1.0 19 Nov 2026 No rules fired
0.0.0-stage 19 Nov 2026 Not shown

No rules fired in 0.2.0

Findings

Findings for v0.2.0. 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.2.0; other versions have their own rules, not their own score.

README

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

@trecc/sdk

Build low-code agents that borrow from the TRECC Vault. Create a project with npx create-trecc-agent; it sets up an agent that uses this SDK.

import { agent, compound, every, usdc } from '@trecc/sdk';

export default agent({
    name: 'stable-yield-bot',
    borrow: usdc(5500),
    protocols: [compound.v3],
    limits: { maxSlippageBps: 50 },
    triggers: [every('15m')],

    async run(ctx) {
        const apy = await ctx.read(compound.v3.supplyApy());
        if (ctx.position.size > 0 && apy < 0.025) return ctx.exit('APY below 2.5%');
        if (ctx.position.size === 0 && apy >= 0.035) return ctx.supply(compound.v3, ctx.idleBalance);
    }
});
Export What it is
agent(config) Defines an agent and checks its configuration
usdc(amount) A USDC amount (positive, at most 6 decimals)
every('15m') A schedule; m, h or d, minimum 5 minutes
compound.v3 Compound V3 USDC market on Ethereum Sepolia
requiredCollateral(borrow) Collateral the RiskEngine requires, same formula as MarginMath
TRECC Protocol-wide limits, e.g. TRECC.maxSlippageBps (200)

run(ctx) returns ctx.supply(...), ctx.withdraw(...), ctx.exit(...), or nothing to hold. It never holds keys or sends transactions; TRECC checks each decision and executes it.

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 @trecc/sdk

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

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

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

Frame 2085668439 (1)
Group 1261154229