dingtalk-connection
Audited by Socket on Sep 23, 2026
2 alerts found:
Anomalyx2The fragment is a service-installation script for a DingTalk bridge rather than evident malware. It establishes macOS login persistence and automatic restart, and it stores any supplied signing secret or bot credentials in a plaintext LaunchAgent plist. Raw XML interpolation creates a configuration-injection or malformed-plist risk when controlled values contain XML metacharacters. Review is warranted before use, but this fragment contains no direct exfiltration, process execution, or destructive behavior.
The code appears to be a legitimate DingTalk-to-local-agent integration rather than malware. Its main risks are deployment-dependent: leaving DINGTALK_SIGNING_SECRET empty exposes an unauthenticated message-processing endpoint, and accepting arbitrary sessionWebhook URLs permits attacker-controlled outbound HTTP requests and response disclosure. Restrict webhook destinations, require signature verification, validate timestamp freshness, and enforce network egress controls.