Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ homebrew_casks:
owner: jonchun
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
homepage: https://github.com/jonchun/shellguard
homepage: https://github.com/fawdyinc/shellguard
description: MCP server for read-only shell access over SSH
hooks:
post:
Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ import (
"context"
"fmt"

"github.com/jonchun/shellguard/manifest"
"github.com/jonchun/shellguard/parser"
"github.com/fawdyinc/shellguard/manifest"
"github.com/fawdyinc/shellguard/parser"
"github.com/modelcontextprotocol/go-sdk/mcp"
)
```
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ curl -fsSL https://raw.githubusercontent.com/jonchun/shellguard/main/install.sh
Or with Go:

```bash
go install github.com/jonchun/shellguard/cmd/shellguard@latest
go install github.com/fawdyinc/shellguard/cmd/shellguard@latest
```

### Configure with an MCP Client
Expand Down Expand Up @@ -308,7 +308,7 @@ import (
"log/slog"
"os"

"github.com/jonchun/shellguard"
"github.com/fawdyinc/shellguard"
)

func main() {
Expand All @@ -328,9 +328,9 @@ See the [Custom Configuration](#custom-configuration) and [Custom Executor](#cus

```go
import (
"github.com/jonchun/shellguard"
"github.com/jonchun/shellguard/manifest"
"github.com/jonchun/shellguard/server"
"github.com/fawdyinc/shellguard"
"github.com/fawdyinc/shellguard/manifest"
"github.com/fawdyinc/shellguard/server"
)

manifests, _ := manifest.LoadEmbedded()
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

**Please do not report security vulnerabilities through public GitHub issues.**

Use [GitHub's private vulnerability reporting](https://github.com/jonchun/shellguard/security/advisories/new)
Use [GitHub's private vulnerability reporting](https://github.com/fawdyinc/shellguard/security/advisories/new)
to submit a report. If that is unavailable, email **[email protected]** with
the subject line `[ShellGuard Security]`.

Expand Down
2 changes: 1 addition & 1 deletion cmd/shellguard/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"os/signal"
"syscall"

"github.com/jonchun/shellguard"
"github.com/fawdyinc/shellguard"
)

var version = "dev"
Expand Down
2 changes: 1 addition & 1 deletion control/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package control
import (
"context"

"github.com/jonchun/shellguard/server"
"github.com/fawdyinc/shellguard/server"
)

// CoreAdapter implements Handler by delegating to a server.Core instance.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/jonchun/shellguard
module github.com/fawdyinc/shellguard

go 1.25.7

Expand Down
12 changes: 6 additions & 6 deletions integration_shellguard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ import (
"testing"
"time"

"github.com/jonchun/shellguard/manifest"
"github.com/jonchun/shellguard/parser"
"github.com/jonchun/shellguard/server"
"github.com/jonchun/shellguard/ssh"
"github.com/jonchun/shellguard/toolkit"
"github.com/jonchun/shellguard/validator"
"github.com/fawdyinc/shellguard/manifest"
"github.com/fawdyinc/shellguard/parser"
"github.com/fawdyinc/shellguard/server"
"github.com/fawdyinc/shellguard/ssh"
"github.com/fawdyinc/shellguard/toolkit"
"github.com/fawdyinc/shellguard/validator"
)

func validateCommand(t *testing.T, registry map[string]*manifest.Manifest, command string) error {
Expand Down
8 changes: 4 additions & 4 deletions security_pipeline_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"strings"
"testing"

"github.com/jonchun/shellguard/manifest"
"github.com/jonchun/shellguard/parser"
"github.com/jonchun/shellguard/ssh"
"github.com/jonchun/shellguard/validator"
"github.com/fawdyinc/shellguard/manifest"
"github.com/fawdyinc/shellguard/parser"
"github.com/fawdyinc/shellguard/ssh"
"github.com/fawdyinc/shellguard/validator"
)

// Security Pipeline Integration Tests
Expand Down
12 changes: 6 additions & 6 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ import (
"sync"
"time"

"github.com/jonchun/shellguard/manifest"
"github.com/jonchun/shellguard/output"
"github.com/jonchun/shellguard/parser"
"github.com/jonchun/shellguard/ssh"
"github.com/jonchun/shellguard/toolkit"
"github.com/jonchun/shellguard/validator"
"github.com/fawdyinc/shellguard/manifest"
"github.com/fawdyinc/shellguard/output"
"github.com/fawdyinc/shellguard/parser"
"github.com/fawdyinc/shellguard/ssh"
"github.com/fawdyinc/shellguard/toolkit"
"github.com/fawdyinc/shellguard/validator"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

Expand Down
2 changes: 1 addition & 1 deletion server/server_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package server
import (
"testing"

"github.com/jonchun/shellguard/output"
"github.com/fawdyinc/shellguard/output"
)

func TestNewCore_DefaultValues(t *testing.T) {
Expand Down
12 changes: 6 additions & 6 deletions server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ import (
"testing"
"time"

"github.com/jonchun/shellguard/manifest"
"github.com/jonchun/shellguard/output"
"github.com/jonchun/shellguard/parser"
"github.com/jonchun/shellguard/ssh"
"github.com/jonchun/shellguard/toolkit"
"github.com/jonchun/shellguard/validator"
"github.com/fawdyinc/shellguard/manifest"
"github.com/fawdyinc/shellguard/output"
"github.com/fawdyinc/shellguard/parser"
"github.com/fawdyinc/shellguard/ssh"
"github.com/fawdyinc/shellguard/toolkit"
"github.com/fawdyinc/shellguard/validator"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

Expand Down
10 changes: 5 additions & 5 deletions shellguard.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"log/slog"
"os"

"github.com/jonchun/shellguard/config"
"github.com/jonchun/shellguard/control"
"github.com/jonchun/shellguard/manifest"
"github.com/jonchun/shellguard/server"
"github.com/jonchun/shellguard/ssh"
"github.com/fawdyinc/shellguard/config"
"github.com/fawdyinc/shellguard/control"
"github.com/fawdyinc/shellguard/manifest"
"github.com/fawdyinc/shellguard/server"
"github.com/fawdyinc/shellguard/ssh"
)

type Config struct {
Expand Down
2 changes: 1 addition & 1 deletion shellguard_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"path/filepath"
"testing"

"github.com/jonchun/shellguard"
"github.com/fawdyinc/shellguard"
)

func TestNew_WithConfigFile(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions shellguard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"log/slog"
"testing"

"github.com/jonchun/shellguard"
"github.com/jonchun/shellguard/manifest"
"github.com/fawdyinc/shellguard"
"github.com/fawdyinc/shellguard/manifest"
)

func TestNewWithDefaults(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion ssh/fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strings"
"testing"

"github.com/jonchun/shellguard/parser"
"github.com/fawdyinc/shellguard/parser"
)

// isSafe replicates the unexported isSafeShellToken check for use in test assertions.
Expand Down
2 changes: 1 addition & 1 deletion ssh/reconstruct.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ssh
import (
"strings"

"github.com/jonchun/shellguard/parser"
"github.com/fawdyinc/shellguard/parser"
)

func ShellQuote(token string) string {
Expand Down
2 changes: 1 addition & 1 deletion ssh/reconstruct_security_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"
"testing"

"github.com/jonchun/shellguard/parser"
"github.com/fawdyinc/shellguard/parser"
)

// assertQuoted checks that the given substring appears wrapped in single
Expand Down
2 changes: 1 addition & 1 deletion ssh/reconstruct_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strings"
"testing"

"github.com/jonchun/shellguard/parser"
"github.com/fawdyinc/shellguard/parser"
)

func TestShellQuoteBasic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion toolkit/toolkit.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"strings"
"time"

"github.com/jonchun/shellguard/ssh"
"github.com/fawdyinc/shellguard/ssh"
)

var ToolkitTools = []string{"rg", "jq", "yq"}
Expand Down
2 changes: 1 addition & 1 deletion toolkit/toolkit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"sync"
"testing"

"github.com/jonchun/shellguard/ssh"
"github.com/fawdyinc/shellguard/ssh"
)

func TestBuildProbeCommand(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion validator/attack_vectors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strings"
"testing"

"github.com/jonchun/shellguard/parser"
"github.com/fawdyinc/shellguard/parser"
)

// validatePiped constructs a pipeline with pipe operator between segments.
Expand Down
4 changes: 2 additions & 2 deletions validator/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"regexp"
"strings"

"github.com/jonchun/shellguard/manifest"
"github.com/jonchun/shellguard/parser"
"github.com/fawdyinc/shellguard/manifest"
"github.com/fawdyinc/shellguard/parser"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions validator/validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package validator
import (
"testing"

"github.com/jonchun/shellguard/manifest"
"github.com/jonchun/shellguard/parser"
"github.com/fawdyinc/shellguard/manifest"
"github.com/fawdyinc/shellguard/parser"
)

func testRegistry(t *testing.T) map[string]*manifest.Manifest {
Expand Down