dingtalk-aitable

Warn

Audited by Socket on Sep 6, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/aitable_export_via_task.py

No clear evidence of intentional malware (e.g., backdoor, credential theft, reverse shell, obfuscated payload) is present in this Python fragment. The security concerns are primarily security-control gaps: it fetches from an unvalidated `downloadUrl` obtained from untrusted subprocess JSON (enabling potential SSRF) and writes downloaded bytes to a potentially unsafe local path derived from remote `fileName` and/or `--output` (risk of unintended filesystem writes within permissions). Additionally, `--dws` allows executing an arbitrary caller-specified binary, making the subprocess trust boundary critical. Review the behavior and trustworthiness of the external `dws/aitable` binary and consider adding allowlists and path hardening in the calling code.

Confidence: 66%Severity: 56%
AnomalyLOW
scripts/aitable_import_via_task.py

No direct evidence of embedded malware in this Python snippet (no obfuscated payloads, no eval/exec, no hardcoded credentials, no backdoor/persistence). However, it performs high-impact actions: executes an external binary (optionally user-specified via --dws) and uploads arbitrary user-supplied file bytes to an uploadUrl obtained from that external binary’s JSON output without domain/scheme allowlisting. This creates a meaningful supply-chain/orchestration risk if the 'dws' binary or PATH is compromised or if uploadUrl is attacker-controlled.

Confidence: 66%Severity: 55%
Audit Metadata
Analyzed At
Sep 6, 2026, 04:21 AM
Package URL
pkg:socket/skills-sh/dingtalk-real-ai%2Fdingtalk-workspace-cli%2Fdingtalk-aitable%2F@7312f1849878531d40a967b1737bac2bacee17d63864179b98675521597a2ed1
Security Audit — socket — dingtalk-aitable