pypi

reqcrypts @0.1.3

Vulnerability report · Last retrieved from osv.dev August 21, 2026 at 10:09 PM UTC

Malicious

OSV ID

MAL-2026-14341

Ecosystem

pypi

Summary

reqcrypts is published as a drop-in HTTP client ( import reqcrypts; reqcrypts.get(url) ) but its RequestHandler wraps every JSON response through a PayloadManager that base64-decodes a _payload field from the response body and passes it to exec() on the caller's Python interpreter, then deletes the field to hide the execution. Payload execution and silent mode are on by default. Any HTTP server the caller reaches (including MITM or redirect targets) can therefore run arbitrary Python code on the installer's host by returning a JSON body containing a _payload key. The package additionally exports top-level add_payload(trigger, code) , set_default_payload(code) , and enable_payloads helpers that store arbitrary Python source and feed it to the same exec() sink when a request endpoint matches the registered trigger, giving a second covert code-execution path. The docstring describes this as 'automatic silent payload execution'. Any application using reqcrypts as its HTTP client is exposed to remote code execution from any responding server.

Source: amazon-inspector (7fb4e239b6344dfe684483344d4d1a2da013a4d506b78d81e9096c6b31a690ae)

Protect your entire dependency tree

Scan your lock files automatically on every PR. Block malicious packages before they reach production.