summaryrefslogtreecommitdiff
path: root/plugins/plugin-dev/agents/plugin-validator.md
diff options
context:
space:
mode:
authorKenneth Lien <kenneth@anthropic.com>2026-03-20 11:56:57 -0700
committerKenneth Lien <kenneth@anthropic.com>2026-03-20 11:56:57 -0700
commit1636fedbd46691ece874fcf7425e2178da47ddc5 (patch)
treee0d3b3184e115adec5e60caacdb2404018aee248 /plugins/plugin-dev/agents/plugin-validator.md
parenta9bc23da6f263eddd73379c764b5dba091be29ba (diff)
Sanitize user-controlled filenames and download path componentskenneth/telegram-all-file-types
- safeName() strips <>[]\r\n; from file_name/title before they hit the <channel> notification — delimiter chars would let an uploader break out of the tag or forge meta entries - download_attachment strips ext/uniqueId to alphanumeric before join() — defense-in-depth against path traversal (file_unique_id is Telegram-controlled so this is belt-and-braces)
Diffstat (limited to 'plugins/plugin-dev/agents/plugin-validator.md')
0 files changed, 0 insertions, 0 deletions