Skip to content

fix(plugins): bound uploads, downloads and ZIP extraction - #1758

Open
AbelTomato wants to merge 1 commit into
TencentCloud:developfrom
AbelTomato:fix/plugin-upload-resource-limits
Open

AbelTomato wants to merge 1 commit into
TencentCloud:developfrom
AbelTomato:fix/plugin-upload-resource-limits

Conversation

@AbelTomato

Copy link
Copy Markdown

Summary

Fixes #1757

Fix resource exhaustion risks during plugin upload, URL download, and ZIP installation.

The changes add upload and download size limits, stream archive downloads and extraction, and validate ZIP entry count, file sizes, total expanded size, compression ratio, and paths before installation.

Target branch

  • Base is develop (feature / fix — default)
  • Base is main (release/* or hotfix/* only)

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Refactor / chore
  • Release / hotfix

Test plan

  • make all passes locally
  • Added/updated tests

Checklist

  • Updated CHANGELOG.md (if user-facing)
  • README / docs updated (if needed)

@AbelTomato
AbelTomato marked this pull request as ready for review October 7, 2026 11:10

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant