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

@agentproto/egress

Latest version: v0.1.22

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: agentiknet
11 Stars
0 Forks
15 Versions
659 Downloads
TypeScript Repo language

Scan summary

@agentproto/egress was last scanned on 28 Nov 2026 at version 0.1.22. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 15 versions; the latest 2 were published within 6 days (23–28 Nov 2026).
  • Findings: No rules fired in version 0.1.22.
  • Downloads: 659 downloads.

Versions

15 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.22 LATEST 28 Nov 2026 No rules fired
0.1.21 23 Nov 2026 No rules fired
0.1.18 19 Oct 2026 No rules fired
0.1.17 15 Oct 2026 Not shown
0.1.16 14 Oct 2026 Not shown

No rules fired in 0.1.22

Findings

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

README

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

@agentproto/egress

Outbound traffic control for agent sandboxes. Mode registry, provider allowlist, transport-agnostic proxy core.

npm install @agentproto/egress

Concept

Agent CLIs make outbound HTTP calls to upstream APIs (OpenAI, Anthropic, custom MCP servers, …). Letting the agent hold raw API keys means a printenv or prompt-injection-driven exfil leaks them. This package implements the egress side of "agent uses the credential but never sees it": cooperative mode injects $$SECRET[NAME]$$ placeholders into the agent's env; the host's egress proxy substitutes the real value at the network boundary.

Modes

off          no controls — raw creds in agent env (today's default)
cooperative  $$SECRET[NAME]$$ placeholders + BASE_URL envs + HTTP_PROXY env
strict       cooperative + sandbox-level enforcement (NAT or runtime mandate)
paranoid     strict + TLS-MITM (catches anything new)

Hosts pick which modes their tier policy exposes. Bootstrap consumers branch on the mode's declarative flags (emitsPlaceholders, emitsBaseUrlEnvs, …) — never on the id, so adding a new mode never edits a switch.

Usage (host adapter)

import {
  proxyEgressRequest,
  COMMON_EGRESS_PROVIDERS,
  EgressError,
} from "@agentproto/egress"

// In your HTTP framework (Hono / Express / Bun):
const result = await proxyEgressRequest({
  request: {
    providerId: "openai",
    path: "/chat/completions",
    method: "POST",
    headers: req.headers,
    body: req.body,
    search: req.search,
  },
  providers: COMMON_EGRESS_PROVIDERS,
  resolver: async (name) => yourVault.lookup(guildId, name),
})

const upstream = await fetch(result.url, {
  method: result.method,
  headers: result.headers,
  body: result.body,
})

// Audit the substitutions
for (const r of result.substitutions) {
  yourAudit.log({ guildId, secretName: r.name, resolved: r.resolved })
}

return upstream

Modules

  • ./modes — EgressModeRegistry + DEFAULT_EGRESS_MODES
  • ./providers — EgressProvider + COMMON_EGRESS_PROVIDERS (openai, anthropic) + composeEgressProviders for extending
  • ./proxy — proxyEgressRequest + EgressError

Related

  • @agentproto/secrets — declares SecretExposure shapes (env / file / egress-substitute) and the $$SECRET[NAME]$$ substitution engine. This package depends on it.
  • AIP-19 — SECRETS.md doctype declares what secrets exist + how they're exposed
  • AIP-X (future) — would standardize the egress mode taxonomy and the cooperative-mode wire shape

License

MIT

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 @agentproto/egress

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

PolinRider Returns
Research

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

Frame 2085668439 (1)
Group 1261154229