Grades are a hygiene check, not a security guarantee.

MCP, MCP server

gofact

Génère des factures Factur-X conformes (PDF/A-3 + XML CII EN 16931) : binaire Go + skill creer-facture.

Compatibility: Not stated.

Grade D

Two or more Medium findings, or a High. Only try it in a sandbox.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

PERMISSION_SHELL_UNDECLARED INSTALL_REMOTE_SCRIPT

Why this grade

  • PERMISSION_SHELL_UNDECLARED Medium

    Runs shell commands that the manifest or description does not mention.

    install.go, line 76 cmd := exec.Command(path, "mcp", "add", "--scope", "user", "gofact", "--", exe, "mcp")

  • INSTALL_REMOTE_SCRIPT Medium

    Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).

    .goreleaser.yaml, line 112 curl -fsSL https://raw.githubusercontent.com/kOlapsis/gofact/main/install.sh | sh

Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.

If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.

Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.

What was checked

Plain notes from the hygiene checks.

  • Permissions

    Concern

    requests shell access. No manifest field names shell or command execution.

    PERMISSION_SHELL_UNDECLARED

    install.go, line 76

    cmd := exec.Command(path, "mcp", "add", "--scope", "user", "gofact", "--", exe, "mcp")

    internal/facturx/oracle_ci_test.go, line 129

    cmd := exec.CommandContext(ctx, "java", "-jar", jar,

  • Install and update

    Serious

    install fetches a script from the network. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.

    INSTALL_REMOTE_SCRIPT INSTALL_DOCUMENTED_INSTALLER

    README-FR.md, line 217

    curl -fsSL https://raw.githubusercontent.com/kolapsis/gofact/main/install.sh | sh

    README.md, line 217

    curl -fsSL https://raw.githubusercontent.com/kolapsis/gofact/main/install.sh | sh

    .goreleaser.yaml, line 112

    curl -fsSL https://raw.githubusercontent.com/kOlapsis/gofact/main/install.sh | sh

    Show more

    docs/installation.md, line 11

    curl -fsSL https://raw.githubusercontent.com/kOlapsis/gofact/main/install.sh | sh

    docs/comprendre/installer-dix-minutes.md, line 46

    curl -fsSL https://raw.githubusercontent.com/kOlapsis/gofact/main/install.sh | sh

  • Network

    Concern

    can reach api.github.com. The description does not name that host. can reach a host that is not written as a fixed address. can reach github.com. The description does not name that host.

    NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST

    install.sh, line 9

    TAG=$(curl -fsSL "https://api.github.com/repos/$REPO/releases/latest" | sed -n 's/.*"tag_name": *"\([^"]*\)".*/\1/p')

    install.sh, line 21

    curl -fsSL "$BASE/$ASSET" -o "$TMP/$ASSET"

    install.sh, line 26

    if curl -fsSL "$BASE/checksums.txt" -o "$TMP/checksums.txt" 2>/dev/null; then

    Show more

    internal/annuaire/annuaire.go, line 60

    raw, err := fetch()

    internal/annuaire/annuaire.go, line 74

    raw, err := fetch()

    scripts/packaging.sh, line 26

    curl -fsSL "https://github.com/$REPO/releases/download/$TAG/checksums.txt" -o "$sums"

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_PATH_DOTENV

    main.go, line 12

    // un fichier .env non versionné (cf. .env.example). Rien n'est codé en dur.

    main.go, line 107

    envPath := fs.String("env", "", "fichier .env (vendeur, IBAN, identifiants PDP) ; défaut ./.env puis ~/.config/gofact/.env")

    main.go, line 214

    envPath := fs.String("env", "", "fichier .env pour les identifiants PDP ; défaut ./.env puis ~/.config/gofact/.env")

    Show more

    mcp.go, line 22

    envPath := fs.String("env", "", "fichier .env (vendeur, IBAN, identifiants PDP, GOFACT_CHROME) ; défaut ./.env puis ~/.config/gofact/.env")

    mcp.go, line 26

    // chargement, aucune variable du .env n'atteint le serveur - et le recours

    mcp.go, line 28

    // que c'est le seul dont dispose l'utilisateur en mode MCP. Un .env absent

    mcp.go, line 31

    fmt.Fprintln(os.Stderr, "gofact mcp - .env ignoré :", err)

    org.go, line 102

    fmt.Printf(" Registre initialisé - prochain numéro : %s. Identité dans .env (à compléter au besoin).\n", next)

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Pass

    No encoded or minified payload found.

  • Licence

    Pass

    A licence file is present (LICENSE).

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit 0c610da6649b. requests shell access. No manifest field names shell or command execution. install fetches a script from the network. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell. can reach api.github.com. The description does not name that host. can reach a host that is not written as a fixed address. can reach github.com. The description does not name that host. reads a credential or environment file.

Date and source

Date checked:

View source

github.com

Commit graded: 0c610da6649bd1e63340a9665b37c41514896c59

This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.

Read how this letter is chosen