SkillSpector icon indicating copy to clipboard operation
SkillSpector copied to clipboard

Add DS5 Java insecure-deserialization detection

Open devilking7x opened this issue 3 weeks ago • 0 comments

Gap

The static-pattern deserialization checks (DS1–DS4) cover PHP, Ruby, and JavaScript, but there is no Java coverage. A skill containing ObjectInputStream.readObject(), XMLDecoder, XStream, Jackson default typing, or SnakeYAML Constructor usage is not flagged.

Proposed change

Add a DS5 rule for Java insecure deserialization (HIGH), covering ObjectInputStream/readObject, XMLDecoder, XStream, Jackson default typing, and SnakeYAML Constructor, with safe negatives. Includes unit tests and a docs update.

I have this implemented in my fork and will open a PR referencing this issue.

Signed-off-by: Mohd Raja [email protected]

devilking7x avatar Nov 11 '26 21:11 devilking7x