fix: replace yaml.dump() with yaml.safe_dump() to prevent serialization of malicious objects #34

Closed
aditya wants to merge 1 commits from fix/serialization-security-fix into tests/unit-tests
Member

Summary

Replace yaml.dump() with yaml.safe_dump() to prevent arbitrary code execution via YAML deserialization.

Relates to

Relates to #7
Relates to #28

## Summary Replace yaml.dump() with yaml.safe_dump() to prevent arbitrary code execution via YAML deserialization. ## Relates to Relates to #7 Relates to #28
aditya added 1 commit 2025-11-17 13:59:14 +00:00
Owner

Closing as superseded. This security fix PR targets the tests/unit-tests branch which is no longer active. YAML serialization safety (yaml.safe_dump) has been addressed in master through the security hardening work. See the security track under Epic #362.

Closing as superseded. This security fix PR targets the `tests/unit-tests` branch which is no longer active. YAML serialization safety (yaml.safe_dump) has been addressed in master through the security hardening work. See the security track under Epic #362.
freemo closed this pull request 2026-02-24 03:27:46 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cleveragents/cleveragents-core#34