toq
Legitimate agent-to-agent communication tool with significant doc-to-code mismatch: missing permission declarations, documented but risky curl|sh installation, and extensive persistence mechanisms without proper disclosure.
SKILL.md frontmatter does not declare required permissions. The skill executes shell commands (toq install, setup, send), makes network requests (install script, IP detection), and writes files (handlers, service files).
SKILL.md:1 为什么得出这个结论
3/4 个维度触发发现 3 项声明之外的能力或越权行为。
提取到 2 个高危 IOC 或外联信号。
报告包含 0 步攻击链,另有 1 项高危或严重发现。
发现 1 项需要关注的依赖或供应链线索。
风险分是怎么被拉高的
SKILL.md does not declare required allowed-tools (shell:WRITE, network:READ, filesystem:WRITE)
curl -sSf https://toq.dev/install.sh | sh documented without version pinning or hash verification
Systemd and launchd service creation not prominently flagged in capability declaration
最关键的证据
Missing allowed-tools declaration
SKILL.md frontmatter does not declare required permissions. The skill executes shell commands (toq install, setup, send), makes network requests (install script, IP detection), and writes files (handlers, service files).
SKILL.md:1 Unverified remote script execution
The skill instructs users to run 'curl -sSf https://toq.dev/install.sh | sh' without version pinning or hash verification. This pattern is a common supply chain attack vector.
SKILL.md:25 Hardcoded example IP in documentation
references/handlers.md contains hardcoded IP '1.2.3.4' in filter rule examples, suggesting limited security review.
references/handlers.md:104 Service creation instructions not flagged
SKILL.md includes detailed systemd and launchd service creation instructions without prominent security warnings. These enable persistent daemon execution.
SKILL.md:179 Security features buried in references
Important security information (approval modes, exec tool risks) is in references/security.md rather than the main SKILL.md, reducing visibility.
references/security.md:1 声明能力 vs 实际能力
SKILL.md:25 - curl|sh, SKILL.md:37-41 - toq setup/send commands SKILL.md:25 - fetches install.sh, SKILL.md:33 - curls ifconfig.me SKILL.md:47-50 - creates ~/handlers/, SKILL.md:179-193 - systemd service files 可疑产物与外联
curl -sSf https://toq.dev/install.sh | sh SKILL.md:25
1.2.3.4 references/handlers.md:104
https://toq.dev/install.sh SKILL.md:25
http://www.apple.com/DTDs/PropertyList-1.0.dtd references/security.md:83
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| toq | * | https://toq.dev/install.sh | 否 | External binary installed via curl|sh without verification |
文件构成
SKILL.md references/security.md references/handlers.md