rivet-actors

Warn

Audited by Socket on Aug 12, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
examples/docs/actors-authentication/jwt.ts

No evidence of malware is present in this fragment; however, the authentication/authorization logic is critically broken. The code decodes a JWT-like payload without verifying its signature or claims, then uses the decoded permissions to grant access. An attacker can likely forge a token containing permissions including 'write' to bypass authorization. The default secret fallback is an additional security concern.

Confidence: 78%Severity: 86%
AnomalyLOW
examples/docs/actors-request-handler/proxy.ts

This module is a generic request-forwarding gateway. The primary security concern is that user-controlled route parameters are used to (a) select an actor instance and (b) construct the destination URL via new URL(actorPath, "http://actor"), potentially allowing absolute URL overrides, and (c) proxy the entire incoming request (c.req.raw) into the forwarded Request. No validation/allowlisting is present in the shown code. While there is no clear evidence of intentional malware, the relay/target-injection pattern presents a credible SSRF/open-proxy and sensitive-header forwarding risk depending on deployment and rivetkit actor.fetch semantics.

Confidence: 62%Severity: 66%
Audit Metadata
Analyzed At
Aug 12, 2026, 06:46 PM
Package URL
pkg:socket/skills-sh/rivet-dev%2Fskills%2Frivet-actors%2F@dd9ee43f7fae05a388b43a96223807fc4ad5f3463ae3d63350b2e411dfe9cd80
Security Audit — socket — rivet-actors