Skip to content

Comment on A Celery-like Python Task Queue in 55 Lines of Codeparent

Comments

Pickle (or any use of eval) is a security risk only if you're using it in the context of untrusted code. Basically any distributed task queue is going to have that risk if it can execute arbitrary code.

I thought the risk was if the data came from an untrusted source, as it might contain code?

I think shooting it over the network is considered untrusted. Man in the middle becomes a problem.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.