MCPcopy Index your code
hub / github.com/edera-dev/am-i-isolated

github.com/edera-dev/am-i-isolated @v0.3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.0 ↗ · + Follow
129 symbols 179 edges 14 files 0 documented · 0% updated 4mo agov0.3.0 · 2024-11-10★ 3214 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Am I Isolated

Am I Isolated is a security posture benchmarking tool.

It evaluates a given runtime environment and attempts to look for things which may be a security problem, as well as providing suggestions for solving the security problem.

Security is a rapidly evolving space: it is intended that Am I Isolated is updated over time to incorporate new and relevant security research relating to jailing containers.

Am I Isolated is also still a work in progress and does not yet incorporate tests for all possible container security problems. Current work is focused on providing enough data in a digestable format, rather than overwhelming security engineers and CISOs with too much data.

Using Am I Isolated

In general you will want to use the OCI image:

docker run --rm -it ghcr.io/edera-dev/am-i-isolated:nightly

To detect isolation gaps in your Kubernetes environments, you can run it as a Pod

apiVersion: v1
kind: Pod
metadata:
  name: am-i-isolated
spec:
  containers:
  - name: am-i-isolated
    image: "ghcr.io/edera-dev/am-i-isolated:nightly"

And fetch the logs for the results

kubectl logs am-i-isolated

You can also build and run directly with Cargo.

Extension points exported contracts — how you extend this code

TestResult (Interface)
(no doc) [12 implementers]
src/main.rs
Test (Interface)
(no doc) [12 implementers]
src/main.rs
TestError (Interface)
(no doc)
src/main.rs

Core symbols most depended-on inside this repo

success
called by 4
src/oci.rs
resolve_nsid
called by 3
src/rootns.rs
read_file_as_lines
called by 3
src/util.rs
success
called by 2
src/rootns.rs
read_file_as_tuples
called by 2
src/util.rs
success
called by 2
src/cap.rs
run
called by 1
src/oci.rs
category
called by 1
src/oci.rs

Shape

Method 90
Class 24
Function 10
Interface 3
Enum 2

Languages

Rust100%

Modules by API surface

src/virtualized.rs13 symbols
src/rootns.rs10 symbols
src/main.rs10 symbols
src/yama.rs9 symbols
src/seccomp.rs9 symbols
src/root.rs9 symbols
src/procmask.rs9 symbols
src/oci.rs9 symbols
src/mmap.rs9 symbols
src/docker.rs9 symbols
src/dirtypipe.rs9 symbols
src/containerd.rs9 symbols

For agents

$ claude mcp add am-i-isolated \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact