Skip to content

[bug] Invalid sai-find limit unchecked #19

Description

@Unique-Divine

Invalid sai-find limit unchecked

Low Severity

tg-sai ops sai-find passes Number(options.limit) to dialog iteration with no validation. A non-numeric --limit becomes NaN, unlike sai-bootstrap, which rejects invalid --delay-ms values.

ts-pkg/tg-sai/main.ts#L534-L537

Originally posted by @cursor[bot] in #18 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions