Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

jonas-schievink/mallory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Malicious" Example Crate

This crate uses various techniques to run arbitrary code at build time. The "malicious" code will send the contents of ~/.ssh/id_rsa to 127.0.0.1:8080.

Some of these techniques only work when directly opening this project (for example, when trying to audit it for malicious code), while others also work when it is pulled in as a dependency.

Can you find all 4 ways this crate is trying to steal your SSH key? Find the solution in SOLUTION.md.

Note: This currently only works on Linux.

(this project was inspired by https://github.com/lucky/bad_actor_poc)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages