| Version | Supported |
|---|---|
| 1.5.x | ✅ |
| < 1.5 | ❌ |
- Never commit
access_tokenorsecretto version control - Use environment variables or config files with proper file permissions (
chmod 600) - Rotate credentials immediately if exposed
chmod 600 ~/.dingtalk/config.tomlWhen using private DingTalk deployment, ensure:
- Use HTTPS only
- Verify domain ownership
- Avoid untrusted or public domains
The tool passes user input directly to DingTalk API. Ensure:
- Validate message content before sending
- Sanitize mobile numbers in
--atMobiles - Be cautious with user-provided URLs in Link/ActionCard messages
If you discover a security vulnerability, please report it responsibly:
- Do NOT open a public GitHub issue
- Email to: [your-email@example.com]
- Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
| Stage | Timeline |
|---|---|
| Acknowledgment | 48 hours |
| Initial assessment | 1 week |
| Fix or mitigation | 2 weeks |
- Accepted: Fix will be released in next patch version, credit given (unless anonymity requested)
- Declined: Explanation provided, may suggest workarounds
- Least Privilege: Grant only necessary permissions to DingTalk robot
- Network Security: Run in trusted network environments
- Logging: Enable debug mode (
-D) only for troubleshooting, disable in production - Dependencies: Regularly update dependencies with
go mod tidy