Skip to content

Remove serialise package from stdlib#225

Open
SeanTAllen wants to merge 2 commits intomainfrom
remove-serialise-from-stdlib
Open

Remove serialise package from stdlib#225
SeanTAllen wants to merge 2 commits intomainfrom
remove-serialise-from-stdlib

Conversation

@SeanTAllen
Copy link
Copy Markdown
Member

The serialise package is a security footgun that's only safe with fully trusted data. Deserializing untrusted data can crash the program or give hostile code unauthorized access to the machine.

It also depends on runtime code that uses pony_error, which is being removed (ponylang/ponyc#5002). Updating serialise to work without pony_error is an unknown amount of effort, and given the security issues, that effort isn't justified.

The serialise package is a security footgun that's only safe with fully
trusted data. It also depends on runtime code that uses pony_error,
which is being removed. Rather than invest unknown effort in a package
with fundamental safety problems, remove it.
@ponylang-main ponylang-main added discuss during sync Should be discussed during an upcoming sync status - new The RFC is new and ready for discussion. and removed discuss during sync Should be discussed during an upcoming sync labels Mar 27, 2026
@SeanTAllen SeanTAllen added the discuss during sync Should be discussed during an upcoming sync label Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

discuss during sync Should be discussed during an upcoming sync status - new The RFC is new and ready for discussion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants