Scan Report
20 /100
telegram-contract-ops
Telegram-based internal contract generation and eID intake workflow for Vietnamese operations
This is a legitimate Vietnamese contract generation and eID OCR workflow with expected Telegram API integration and subprocess usage, though SKILL.md lacks formal allowed-tools declarations.
Safe to install
Add formal allowed-tools declaration to SKILL.md (filesystem:WRITE, network:READ, shell:WRITE, environment:READ) and document the execFileSync usage for docx generation.
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Low | SKILL.md lacks allowed-tools declaration | SKILL.md:1 |
| Low | Hardcoded workspace paths in Python script | scripts/plan-b-docx-generate.py:19 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | WRITE | ✓ Aligned | scripts/telegram-planb-bot.js:36-37 |
| Network | NONE | READ | ✓ Aligned | scripts/telegram-planb-bot.js:46-51 |
| Shell | NONE | WRITE | ✓ Aligned | scripts/plan-b-telegram-to-docx.js:119 |
| Environment | NONE | READ | ✓ Aligned | scripts/telegram-planb-bot.js:7 |
4 findings
Medium External URL 外部 URL
http://schemas.openxmlformats.org/wordprocessingml/2006/main scripts/plan-b-docx-generate.py:11 Medium External URL 外部 URL
https://api.telegram.org/bot$ scripts/telegram-planb-bot.js:8 Medium External URL 外部 URL
https://api.telegram.org/file/bot$ scripts/telegram-planb-bot.js:60 Info Email 邮箱地址
[email protected] scripts/plan-b-docx-generate.py:46 File Tree
14 files · 51.3 KB · 1528 lines JavaScript 3f · 782L
Markdown 8f · 446L
Python 1f · 208L
Swift 1f · 74L
Text 1f · 18L
├─
▾
assets
│ └─
plan-b-telegram-template.txt
Text
├─
▾
references
│ ├─
architecture.md
Markdown
│ ├─
clawhub.md
Markdown
│ ├─
deployment.md
Markdown
│ ├─
input-template.md
Markdown
│ ├─
macos.md
Markdown
│ ├─
troubleshooting.md
Markdown
│ └─
windows.md
Markdown
├─
▾
scripts
│ ├─
plan-b-docx-generate.py
Python
│ ├─
plan-b-telegram-to-docx.js
JavaScript
│ ├─
plan-c-eid-parse.js
JavaScript
│ ├─
plan-c-ocr.swift
Swift
│ └─
telegram-planb-bot.js
JavaScript
└─
SKILL.md
Markdown
Dependencies 1 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
python3 (system) | n/a | system | No | Standard library only, no pip dependencies |
Security Positives
✓ No base64-encoded payloads or obfuscated code
✓ No credential harvesting or data exfiltration to external IPs
✓ No unauthorized access to sensitive paths (~/.ssh, ~/.aws, .env)
✓ No reverse shell or C2 communications
✓ Legitimate Telegram API integration for bot functionality
✓ Subprocess calls (python3, swift, node) are necessary for the stated contract generation workflow
✓ State files and temporary artifacts are stored in workspace-specific directories
✓ No suspicious network patterns (direct IP connections, DNS over HTTPS for tunneling)