Especially in Red Harvest, book reviewers have seen a Marxist critique of the social system.
After the war, Hammett returned to political activism, "but he played that role with less fervor than before."