r/Python • • Mar 07 '17

CIA uses Python (a lot)

From the latest Vault 7 leaks from Wikileaks, we can see that CIA uses a lot of Python in its secret hacking tools.

Most notably in the Assassin, Caterpillar, MagicViking and Hornet projects.

Unfortunatelly, no files from these projects have been released yet. But if you look at the dump that was released, there are plenty of .py files, and even PIL is included.

There are even Coding Conventions: https://wikileaks.org/ciav7p1/cms/page_26607631.html

You can see more Python-related stuff here: https://search.wikileaks.org/?query=python&exact_phrase=&any_of=&exclude_words=&document_date_start=&document_date_end=&released_date_start=&released_date_end=&publication_type%5B%5D=51&new_search=False&order_by=most_relevant#results

1.1k Upvotes

220 comments sorted by

View all comments

0

u/[deleted] Mar 07 '17

[deleted]

24

u/parkerSquare Mar 08 '17

Plagiarism is a serious accusation.

Much of the text here is from the Google Python Style Guide.

It's only plagiarism if incorrectly claimed as their own. The document clearly attributes some of itself to the Google Python Style Guide, so it's not accurate to call it plagiarism.

10

u/sourcecodesurgeon Mar 08 '17

Also, as someone pointed out above, they're doing development on air gapped systems. If they didn't have an internal version of the style guide, they would need to go to another room just to check the documentation.

And basing a style guide off of Google's guide isn't uncommon. My team's Java guide is basically Google's + internal specific stuff.

3

u/redmercurysalesman Mar 08 '17

Also if you are doing covert operations, you don't want an extremely unique and thus easily identifiable style.