axim-restdoc-generator

Warn

Audited by Socket on Mar 16, 2026

1 alert found:

Anomaly
AnomalyLOW
src/main/java/one/axim/gradle/RestMetaGeneratorTask.java

No 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.

Confidence: 90%Severity: 60%
Audit Metadata
Analyzed At
Mar 16, 2026, 07:41 PM
Package URL
pkg:socket/skills-sh/axim-one%2Fgradle-restdoc-generator%2Faxim-restdoc-generator%2F@50a8a6dd9c86be676d653ae169775656bd1a6bd4