Security · JetBrains plugin

Session Attribute Type Confusion Companion

Free

Web Session Security

Flags (TypeB) session.getAttribute("key") when every known write site for that exact key stores a genuinely incompatible type.

30Downloads
0GitHub stars
—Published
FreePricing

The gap it fixes

CWE-843. The Servlet API predates Java 5 generics: getAttribute always returns Object, so nothing in the language stops a mismatch between what one part of the code stores under a key and what another part expects when it reads it back -- a real, documented pattern in technical forums (Coderanch, Experts Exchange), only discovered at runtime as a ClassCastException otherwise. Searched explicitly for a named competitor (FindBugs rule, CodeQL query, Datadog rule) for this exact angle and found none -- stated honestly, same as this catalog's other weaker-evidence Tier -3 entries.

Facts and pricing

Category
Security
Pricing
Free
Platform
IntelliJ-family
First published
—
Marketplace ID
#34081
Repository
session-attribute-type-confusion-companion
Growth
▲ +2900.0% since 2026-09-05 (1→30)

Related plugins

All Security plugins
Need a tool like this built for your codebase?Custom static-analysis rules, CI/CD integration, private plugin distribution and performance audits for IntelliJ plugins.
Work with Joel

Download and star counts as of 2026-10-18, refreshed twice daily from the JetBrains Marketplace and GitHub APIs.