MCP, MCP server
werkel
Claude plans and reviews.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV INSTALL_DOCUMENTED_INSTALLER SECRETS_ENV_READ
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
bin/werkel.mjs, line 378
if (fs.existsSync(f)) fs.unlinkSync(f); - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
dashboard/integration.mjs, line 30
try { if ((await fetch(BASE + "/healthz")).ok) break; } catch {} - SECRETS_PATH_DOTENV Low
Mentions a .env file.
dashboard/.env.example, line 1
# Copy to .env next to docker-compose.yml and fill in. - INSTALL_DOCUMENTED_INSTALLER Note
Documentation shows an installer that pipes a download into a shell.
README.md, line 20
curl -fsSL https://raw.githubusercontent.com/RedFeatherXO/werkel/main/scripts/bootstrap.sh | bash - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
bin/werkel.mjs, line 320
token: a.flags.token ?? process.env.WERKEL_INGEST_TOKEN,
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.
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
can delete files.
PERMISSION_DELETE_FILES
bin/werkel.mjs, line 378
if (fs.existsSync(f)) fs.unlinkSync(f);
bin/werkel.mjs, line 534
fs.rmSync(dest, { recursive: true, force: true });
bin/werkel.mjs, line 545
fs.rmSync(stale, { recursive: true, force: true });
Show more
dashboard/integration.mjs, line 13
fs.rmSync(DATA, { recursive: true, force: true });
dashboard/integration.mjs, line 14
fs.rmSync(FLEET_HOME_DIR, { recursive: true, force: true });
dashboard/local.test.mjs, line 17
fs.rmSync(HOME, { recursive: true, force: true });
dashboard/selftest.mjs, line 10
fs.rmSync(DATA, { recursive: true, force: true });
src/jobs.mjs, line 595
fs.rmSync(jobDir(job.id), { recursive: true, force: true });
Install and update
Note
README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.
INSTALL_DOCUMENTED_INSTALLER
README.md, line 20
curl -fsSL https://raw.githubusercontent.com/RedFeatherXO/werkel/main/scripts/bootstrap.sh | bash
scripts/bootstrap.sh, line 3
# curl -fsSL https://raw.githubusercontent.com/RedFeatherXO/werkel/main/scripts/bootstrap.sh | bash
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
dashboard/integration.mjs, line 30
try { if ((await fetch(BASE + "/healthz")).ok) break; } catch {}
dashboard/integration.mjs, line 48
const list = await (await fetch(BASE + "/api/jobs")).json();
dashboard/integration.mjs, line 56
await fetch(`${BASE}/api/jobs/${encodeURIComponent(j.key)}/cleanup`, { method: "POST" });
Show more
dashboard/integration.mjs, line 59
const after = await (await fetch(BASE + "/api/jobs")).json();
dashboard/local.test.mjs, line 48
ok("starts and serves the page", await until(async () => (await fetch(BASE)).ok), out.trim().split("\n")[1] ?? "");
dashboard/local.test.mjs, line 51
const b = await (await fetch(BASE + "/api/jobs")).json();
dashboard/local.test.mjs, line 56
const body = await (await fetch(BASE + "/api/jobs")).json();
dashboard/local.test.mjs, line 63
const spoof = await fetch(BASE + "/api/ingest", {
dashboard/Dockerfile, line 19
CMD node -e "fetch('http://127.0.0.1:'+(process.env.PORT||7777)+'/healthz').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
bin/werkel.mjs, line 320
token: a.flags.token ?? process.env.WERKEL_INGEST_TOKEN,
dashboard/server.mjs, line 29
INGEST_TOKEN = opts.ingestToken ?? process.env.WERKEL_INGEST_TOKEN ?? "";
dashboard/.env.example, line 1
# Copy to .env next to docker-compose.yml and fill in.
Show more
dashboard/README.md, line 81
cp .env.example .env
dashboard/README.md, line 82
sed -i "s/change-me/$(openssl rand -hex 24)/" .env # a real ingest token
dashboard/docker-compose.yml, line 13
WERKEL_INGEST_TOKEN: "${WERKEL_INGEST_TOKEN:?set WERKEL_INGEST_TOKEN in .env}"
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 a6708cde8508. can delete files. 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 a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: a6708cde850828216ef7698f55078b9f802a3af0
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.