gold-brick (n.)

"gold in the form of a brick," 1853, from gold (adj.) + brick (n.). Meaning "shirker" is from 1914, World War I armed forces slang, from earlier verb meaning "to swindle, cheat" (1902) from the old con game of selling spurious "gold" bricks (attested by 1881).