Skip to content

khbarkar/BoneStack

Repository files navigation

BoneStack

Go

BoneStack

AI-powered container diagnostics, forensics, and optimization in a TUI.

  • inspect images and containers
  • run live container forensics
  • export reports in json, csv, and html
  • use agentic AI follow-up inside the TUI
  • optionally use YARA during threat hunting

Install

curl -fsSL https://raw.githubusercontent.com/khbarkar/BoneStack/main/install.sh | bash

Requirements:

  • Go
  • Git
  • Docker

The installer:

  • clones or updates BoneStack in ~/.bonestack
  • builds the binary locally
  • links bonestack into ~/.local/bin

If ~/.local/bin is not on your PATH, add:

export PATH="$HOME/.local/bin:$PATH"

Update

Use the built-in update command:

bonestack update

If you have not installed BoneStack yet, use:

curl -fsSL https://raw.githubusercontent.com/khbarkar/BoneStack/main/install.sh | bash

Run

bonestack

Useful commands:

bonestack help
bonestack version
bonestack update

What It Does

  • inspect images and containers
  • analyze image layers and bloat
  • generate optimization reports
  • generate starter Dockerfiles and policy files
  • run AI-assisted and agentic forensic analysis inside the TUI
  • run container forensics:
    • filesystem
    • processes
    • volumes
    • logs
    • environment
    • resources
    • threat hunt
    • container diff
    • timeline
  • export reports in json, csv, and html
  • optionally use YARA during threat hunting

Docs

Training Containers

Safe training examples live in training/containers.

They are intentionally suspicious-looking or poorly built, but not malicious.

Examples include:

  • cron persistence style artifacts
  • suspicious SSH and shell-history artifacts
  • a badly built, bloated Node image

Build From Source

go build -o bonestack ./cmd/bonestack/main.go
./bonestack

About

Tool for advanced container diagnostics,forensics and optimization. Ai powered

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages