axim-restdoc-generator
Audited by Socket on Mar 16, 2026
1 alert found:
AnomalyNo clear signs of intentionally malicious code (no obfuscated payloads, no hardcoded exfiltration endpoints). However, the deleteDirectory implementation combined with accepting absolute documentPath is dangerous: a misconfiguration or attacker-controlled documentPath can cause recursive deletion of arbitrary directories (including system directories if privileges permit). Additional risks: class scanning triggers static initializers (possible unexpected code execution) and Postman upload will send artifacts externally if postmanApiKey is set. Recommend treating deleteDirectory as high risk: validate/sanitize/limit documentPath to project subdirectories, add safety checks (reject root or empty paths), and require explicit opt-in for destructive actions and for external uploads.