Scan your whole stack
From OX Research Newsroom
Are you using megacode-agent-sdk?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.47.0
megacode-agent-sdk was last scanned on 23 Nov 2026 at version 0.47.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.47.0 LATEST | 23 Nov 2026 | No rules fired |
| 0.46.1 | 23 Nov 2026 | No rules fired |
| 0.45.1 | 23 Nov 2026 | No rules fired |
| 0.45.0 | 22 Nov 2026 | Not shown |
| 0.44.0 | 22 Nov 2026 | Not shown |
Findings for v0.47.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.47.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Drive a MEGA harness agent session from a Python program: start a session, give the model tools your program
runs, answer its approval requests, and read what it does. One session is one harness process. Use it to
build an agent that is not a coding agent.
pip install megacode-agent-sdk
Python 3.10 or newer; the standard library only; a wheel, with no source build.
The package needs a harness binary of the same major and minor version. It uses the binary option, then the
MEGACODE_AGENT_SDK_BINARY environment variable, then a verified copy in its cache, and otherwise downloads
the matching release and checks it against digests built into the package.
import asyncio
from megacode_agent_sdk import Client, Options, tool
@tool(
"search_trains",
"Find trains to a destination.",
{"type": "object", "properties": {"to": {"type": "string"}}, "required": ["to"]},
)
async def search(args, ctx):
return f"to {args['to']}: 9:10 for 42 pounds"
async def main():
options = Options.plain("You are Pip, a personal assistant. Be brief.", tools=[search])
async with await Client.start(options) as client:
turn = await client.send("find me a train to Leeds")
async for event in turn:
print(event)
asyncio.run(main())
The options, tools, approvals, testing with a mock file, versions, the download and its trust rules are in the
agent SDK guide (docs/sdk.md in the source).
Licensed under either of MIT or Apache-2.0, at your option.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.