Oil filter bolt... what’s up with this?

Could it be a rust inhibitor like cosmoline? Cosmoline will dry out over time. Maybe try scrubbing it with steel wool in mineral spirits.