T09 · Insecure Skill Coding Practices
- Location
scripts/compress.py:190- Finding
Predictable Intermediate Filename Causes Existing File Overwrite and Deletion
- Content
View full analysis
_压缩版.pptx` can be overwritten and subsequently removed. The broad exception handler also suppresses cleanup errors, making failures less visible and complicating diagnosis. ### Attack Path 1. An attacker identifies the basename of a PPTX that a user or automated agent is expected to process. 2. The attacker places a valuable file, or causes one to be placed, in the selected output directory under the predictable name `_压缩版.pptx`. 3. The user or agent runs the documented compression command with ...[truncated 997 chars]- Remediation
View remediation
