Skip to content

Open-Arc/ghostshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghostshell

A shell session that leaves no trace.

No history files. No logs. No dotfiles touched. When the session ends, the temporary home directory is wiped and the in-memory log is cleared.

Install

git clone https://github.com/open-arc/ghostshell
cd ghostshell
cargo build --release
sudo cp target/release/ghostshell /usr/local/bin/ghostshell

Usage

ghostshell

You get a prompt. Run commands normally. Nothing is written to disk.

ghost-a3f9c1b2:~ $ ls
ghost-a3f9c1b2:~ $ cat /etc/os-release
ghost-a3f9c1b2:~ $ :exit

Built-in commands

Command Description
:help Show help
:log View in-memory session log
:clear Clear session log
:info Session stats
:exit Exit and wipe

How it works

ghostshell sets HOME to a temporary directory under /tmp, clears all history environment variables (HISTFILE, HISTSIZE, BASH_HISTORY), and runs commands through an isolated subprocess. On exit, the temp directory is deleted and the in-memory log is cleared.

It does not protect against kernel-level logging, swap, or memory forensics. It is a privacy tool for normal use, not a forensic sanitizer.

License

MIT

About

A terminal session that runs in RAM and leaves no trace

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages