casely
Audited by Socket on Sep 16, 2026
1 alert found:
AnomalyThe module appears to be a legitimate API-to-Postman export utility and contains no evident malware, exfiltration, persistence, or destructive behavior. The primary security concern is that untrusted specification files can inject arbitrary Postman test or prerequest JavaScript, which will execute when users run the generated collection. The direct use of '--slug' in output filenames also permits possible path traversal when the command-line input is attacker-controlled. The shown fragment additionally contains a syntax error in the empty SpecError class. Treat API specifications and generated collections as trusted-code inputs, restrict script fields or sanitize the slug, and fix the class definition before use.