rivet-actors
Audited by Socket on Aug 12, 2026
2 alerts found:
SecurityAnomalyNo 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.
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.