Skip to content

wasi-nn: load_by_name seems insecure #4331

@yamt

Description

@yamt

our load_by_name implementation seems to trust host filename given by wasm modules blindly.
i consider it a security issue.

other runtimes (wasmtime, wasmedge) seem to have a concept of model registry, preloaded models, etc.
to me, it seems like a more reasonable design we should follow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    new featureDetermine if this Issue request a new feature or this PR introduces a new feature.wasi-nn

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions