Writing a wall post or tweet takes active action on behalf of the friend. Hmm, this is on Jarek's Facebook profile -- let's paste it somewhere where others can see it too.
With the recent app privacy changes, all they have to do is use an app. The programmer can take care of the rest. Different level altogether.
For that matter, this could happen anywhere on the Internet. Someone could write a blog post about you, or tweet about you, or any number of ways to publish information about others. The web is increasingly becoming read/write, and Facebook privacy settings aren't going to change that.