Claude Code, Skill
Tianzheng Dwg Parse
解析天正(T20/T8)及 T3 导出的 DWG 施工图:accoreconsole 转 DXF 后用 ezdxf 做全图普查、图纸目录/图签/旋转图框破译、逐层聚类统计设备点位、块名与图例名称映射、块属性核查。当用户提供弱电/机电/智能化等天正 DWG,要求查看图纸、统计设备数量、审核图面问题或与 Excel 清单核对时使用。产出统计报告与审计素材文件。
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
PERMISSION_DELETE_FILES INSTALL_DOCUMENTED_INSTALLER NETWORK_NAMED_HOST
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
scripts/dxfout.py, line 70
os.remove(out) # 避免覆盖确认提示打乱 SCR 序列 - INSTALL_DOCUMENTED_INSTALLER Note
Documentation shows an installer that pipes a download into a shell.
README.md, line 56
curl -fsSL https://raw.githubusercontent.com/hwdemtv/tianzheng-dwg-parse/main/install.sh | bash - NETWORK_NAMED_HOST Note
Calls a fixed host that the description names.
install.sh, line 12
curl -fsSL "https://github.com/$OWNER/$NAME/archive/refs/heads/main.zip" -o "$TMP/$NAME.zip"
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
scripts/dxfout.py, line 70
os.remove(out) # 避免覆盖确认提示打乱 SCR 序列
scripts/dxfout.py, line 76
rc = subprocess.call([exe, "/i", dwg, "/s", scr_path, "/l", "en-US"],
Install and update
Note
README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.
INSTALL_DOCUMENTED_INSTALLER
README.md, line 56
curl -fsSL https://raw.githubusercontent.com/hwdemtv/tianzheng-dwg-parse/main/install.sh | bash
install.sh, line 3
# Usage: curl -fsSL https://raw.githubusercontent.com/hwdemtv/tianzheng-dwg-parse/main/install.sh | bash
Network
Note
can reach github.com.
NETWORK_NAMED_HOST
install.sh, line 12
curl -fsSL "https://github.com/$OWNER/$NAME/archive/refs/heads/main.zip" -o "$TMP/$NAME.zip"
Secrets
Pass
No read of a credential file or secret environment variable found.
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit c4789e32edeb. can delete files. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell. can reach github.com.
Date and source
Date checked:
github.com
Commit graded: c4789e32edebd7a9e7a5f2e071c2c0bef15ad481
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.