rivet-agentos

Warn

Audited by Socket on Aug 11, 2026

20 alerts found:

Anomalyx18Securityx2
AnomalyLOW
examples/browserbase/skills/browse/SKILL.md

SUSPICIOUS: the core Browserbase CLI install and API-key usage are internally consistent and appear same-org/official, so this is not malware-like on its face. The main security concern is proportionality and trust expansion: the skill combines broad browser/cloud control with transitive skill installation and untrusted web-content processing, which materially increases risk for an AI agent even though the documented purpose is legitimate.

Confidence: 84%Severity: 64%
AnomalyLOW
examples/pi/client.ts

No explicit malware/backdoor behavior is evident in this snippet; the extension’s logic only adjusts system prompts. However, the module significantly increases security risk by (1) executing runtime npm installation (supply-chain/command execution risk), (2) writing executable JavaScript extension code that the agent runtime can execute, and (3) generating MCP configuration containing an Authorization Bearer token and remote tool connectivity, plus (4) logging agent output that could disclose sensitive data. Treat as security-sensitive and ensure strict trust boundaries, pinned dependencies, and careful secret handling.

Confidence: 66%Severity: 64%
AnomalyLOW
examples/opencode/client.ts

This module is primarily an agent-automation/example driver rather than overt malware. The main security concerns are (1) passing a sensitive ANTHROPIC_API_KEY into an agent session context and (2) executing/installing third-party code at runtime via npm install -g and npx -y (supply-chain execution risk). It also persists agent configuration/skills to disk and logs agent responses, which could disclose sensitive output. Overall: not clear malicious intent, but the operational and supply-chain risks are substantial enough to warrant review/hardening (pinned versions, offline/cache installs, secret handling controls, and least-privilege execution).

Confidence: 61%Severity: 60%
AnomalyLOW
examples/claude/client.ts

This code is not overtly malicious in the snippet, but it performs several security-sensitive actions: it propagates an external API key into an agent session, executes runtime npm installation (supply-chain/install-script execution risk), and persists an MCP remote configuration containing a hardcoded Authorization bearer token to /home/agentos/.claude.json. The primary concerns are credential safety and supply-chain/outbound connectivity rather than explicit malware behavior.

Confidence: 63%Severity: 68%
AnomalyLOW
examples/codex/client.ts

This code is primarily an agent setup/automation helper. It does not show explicit malware/stealth techniques in the module itself, but it materially increases risk by forwarding a live OPENAI_API_KEY into an agent environment, performing runtime global dependency installation via npm (supply-chain risk), and writing MCP configuration that can enable authenticated outbound tool communication. Additionally, it logs agent responses without redaction, which could leak sensitive data depending on agent permissions and what the agent returns. Overall: moderate security risk driven by secret handling and dynamic dependency/network-enabled tooling rather than clear malicious intent.

Confidence: 65%Severity: 55%
SecurityMEDIUM
examples/crash-course/agent-to-agent-server.ts

No clear evidence of covert malware/backdoor in the provided fragment. However, the module exposes a high-impact security capability: it performs arbitrary filesystem read and write operations based on an unvalidated user-supplied path, and it forwards a sensitive `ANTHROPIC_API_KEY` into an agent session environment. In addition, the attacker-controlled `path` is included in the reviewer prompt and reviewer output is returned without redaction, increasing risk of sensitive data exposure or integrity manipulation depending on AgentOS/agent behavior.

Confidence: 66%Severity: 70%
SecurityMEDIUM
examples/crash-course/workflows.ts

No overt malware/backdoor behavior is visible in this snippet, and there is no explicit exfiltration logic. However, it has strong code-execution and supply-chain risks: untrusted repo input is interpolated into a `git clone` command via process.exec (potential command injection/arbitrary command execution), and it runs `npm test` from the cloned repository (arbitrary code execution via package scripts if the repo is untrusted). Additionally, it propagates an API key into an AI agent session, increasing the blast radius if that context mishandles or logs secrets.

Confidence: 66%Severity: 82%
AnomalyLOW
examples/bindings/exec-javascript.ts

No definitive evidence of stealthy malware or an attacker-controlled exfiltration channel is visible in this fragment. However, it contains multiple high-sensitivity patterns that warrant review and hardening: (1) embedding a secret API key in the URL query string (credential leakage risk through logs/proxies/telemetry), (2) not URL-encoding untrusted `city` when building the request, and (3) using dynamic runtime JavaScript execution that imports `child_process` to spawn a local CLI (a powerful capability that can be dangerous if the executed code or command inputs ever become influenced by untrusted data).

Confidence: 60%Severity: 68%
AnomalyLOW
examples/js-sdk-overview/src/platform.ts

No explicit malware behavior is evident in the provided snippet: it writes a static file, lists a directory, and fetches a benign URL (example.com), with no credential theft or persistence. However, it deliberately enables network access and uses dynamic runtime code execution that can perform filesystem writes/reads and synchronous process execution—capabilities that are high-risk if any untrusted input can reach the executed code or its parameters. Review should focus on how the runtime and code strings are controlled across the wider application.

Confidence: 62%Severity: 55%
AnomalyLOW
examples/approvals/client.ts

No clear evidence of overt malware (no obfuscation, dynamic code execution, or direct malicious payloads) in this file. However, it has significant security concerns: it forwards a sensitive ANTHROPIC_API_KEY from process.env into the connected agent session (potential credential exposure/exfiltration risk) and it auto-responds to permission requests using values derived from untrusted runtime events without additional validation. Additionally, it issues a prompt that may cause filesystem/workspace changes in the agent environment. Overall, treat this as a high trust-boundary/secret-handling integration that should be reviewed with the endpoint/runtime trust model, transport security, and permission enforcement in mind.

Confidence: 64%Severity: 63%
AnomalyLOW
examples/browserbase/client-agent.ts

No overt malware behavior is evident in this module (no obfuscation, no execution of arbitrary code, no persistence, no direct exfiltration logic). However, it does forward multiple third-party API keys from environment variables into an agent session and triggers a browsing/fetch capability, then logs the agent’s response without redaction. The security risk is primarily centered on trust-boundary/secrecy controls in the agent runtime and the safety of logging/returned content, with an additional minor concern that the configured endpoint uses HTTP rather than HTTPS.

Confidence: 58%Severity: 52%
AnomalyLOW
examples/multiplayer/collaborative.ts

No clear evidence of direct malware/backdoor behavior is present in this fragment. However, it forwards a high-sensitivity Anthropic API key into an agent session and uses unencrypted HTTP to a local service, while also logging all session events without redaction. These factors create a meaningful risk of secret exposure and sensitive data leakage through logs or the agent runtime/service, and warrant review of the agentos trust boundaries and event payload contents.

Confidence: 66%Severity: 58%
AnomalyLOW
examples/multiplayer/shared-output.ts

The module is a security-sensitive agent orchestration client: it connects to an AgentOS endpoint, spawns a Node.js script on the VM, opens a terminal/shell, and forwards untrusted remote output verbatim to local console/stdout. While there are no overt signs of stealth, credential theft, or outbound exfiltration in this snippet, the remote execution + interactive terminal streaming pattern makes it dangerous in untrusted or incorrectly authorized contexts. Review and ensure strong authentication/authorization for the AgentOS endpoint and strict trust in the spawned server script.

Confidence: 62%Severity: 60%
AnomalyLOW
examples/processes/shell.ts

No explicit malware behavior (e.g., data theft, persistence, or outbound exfiltration) is observable in this snippet. However, it clearly implements a remote shell execution pattern: it spawns 'sh' on an agent, sends a command through stdin, and streams remote output to local stdout. This capability is inherently high-risk if agent access or command inputs are not strongly authenticated/controlled.

Confidence: 62%Severity: 64%
AnomalyLOW
examples/networking/client-preview.ts

Within this fragment, there is no clear evidence of hidden malware logic or obfuscation. The primary security concern is credential/token leakage: the code logs preview.token to stdout, which can expose an access token to anyone who can read logs. Additionally, the snippet remotely spawns a Node process in the agent environment, which is high-impact by design (though arguments are hardcoded). Mitigations should focus on not logging access tokens and applying least-privilege/audit controls around remote execution.

Confidence: 62%Severity: 60%
AnomalyLOW
examples/crash-course/cron-client.ts

This fragment does not show classic malware indicators (exfiltration, backdoor/persistence, or obfuscated payloads). However, it schedules an hourly "rm -rf" operation targeting "/tmp/cache/*" via an agent execution mechanism, which is operationally destructive and should be carefully validated for correctness and safety (e.g., ensuring the directory contains only intended cache data and is not impacted by symlinks/misconfiguration). It also schedules an agent session that is instructed to write an audit report to a fixed absolute path, which is likely intended but still represents delegated filesystem write behavior.

Confidence: 65%Severity: 60%
AnomalyLOW
examples/python-sdk-overview/src/modules.ts

This code is primarily a dynamic orchestrator: it executes an external local Python file, starts a network-facing HTTP server on port 8000, and dynamically evaluates an async fetch_data() call whose implementation is not shown. While there are no visible hardcoded credentials, suspicious domains, or overt obfuscation in the JS snippet, the overall design (arbitrary Python execution + network service + dynamic data fetching + logging) creates a moderate security risk that depends heavily on what /workspace/report.py and fetch_data() do and how the runtime is network-sandboxed. Recommend reviewing the referenced Python file/module contents and validating that network access and filesystem access are tightly constrained and that logs do not contain sensitive output.

Confidence: 56%Severity: 63%
AnomalyLOW
examples/filesystem/mount-google-drive.ts

No direct malicious routine is visible in this file. The primary security concern is capability and secret handling: it loads a Google Drive service-account private key from environment variables, passes it to a third-party mount plugin, and starts the runtime immediately, granting the agent active access to a remote cloud folder via /mnt/drive. Validate the dependency behaviors (especially logging and mount permissions) and ensure the runtime/agent components do not read/process and then leak mounted data.

Confidence: 62%Severity: 55%
AnomalyLOW
examples/approvals/auto-approve-client.ts

No direct evidence of intentional malware (no obfuscation or explicit malicious actions) is present in this fragment. However, the code creates a high-impact security posture by (1) forwarding a sensitive Anthropic API key into an agent session and (2) granting permissionPolicy "allow_all" while prompting the agent to "Write files as needed". The overall risk depends heavily on what runs behind the configured endpoint and how agentos enforces capabilities; if the endpoint/session is not fully trusted, this can enable credential exposure and unintended filesystem modifications.

Confidence: 60%Severity: 68%
AnomalyLOW
examples/cron/schedule-command.ts

This module does not show stealthy malware behaviors (no exfiltration, credential theft, or obfuscated payloads). However, it clearly configures a remote, recurring command execution that performs a highly destructive filesystem operation (`rm -rf /tmp/cache/*`) on a managed environment. The security risk is driven by the combination of remote execution capability and the `rm -rf`/glob target, plus the lack of safety checks and the non-TLS endpoint usage.

Confidence: 60%Severity: 65%
Audit Metadata
Analyzed At
Aug 11, 2026, 01:51 PM
Package URL
pkg:socket/skills-sh/rivet-dev%2Fskills%2Frivet-agentos%2F@5b3f6ab88b612b7e42582b08df00f57b32716c01c87cd41f954157f6b6fd8999
Security Audit — socket — rivet-agentos