agent-docs-api-openapi
Audited by Socket on Mar 1, 2026
1 alert found:
Obfuscated FileThis package appears to be a benign OpenAPI documentation agent that inspects repository files and edits documentation artifacts. I found no evidence of network exfiltration, hard-coded credentials, obfuscated or malicious payloads. Primary risks are operational and configuration-related: (1) hooks run shell commands starting at the repository root which could enumerate forbidden paths if the runtime does not strictly enforce allowed_paths; (2) the agent's autonomous write/edit capability allows broad automated changes and should be constrained with human review or narrower scopes; (3) malformed example placeholders could propagate into generated docs if not sanitized. Recommendations: enforce runtime enforcement of allowed_paths/forbidden_paths for hook execution, avoid starting discovery from '.', sanitize or avoid interpolating untrusted data into shell hooks, require approvals for non-trivial writes, and validate generated OpenAPI YAMLs before committing. Overall: low likelihood of deliberate malicious intent, moderate operational security risk due to autonomy and shell-hook execution.