MCP, MCP server
Django Chainsaw Mcp
An MCP server and CLI that analyses a Django project rather than describing it. Not what is in here — what will hurt: what a delete takes with it, which migration breaks the pods still running, which query returns another tenant's row, what a save sets off three hops
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
PERMISSION_SHELL_UNDECLARED SECRETS_PATH_CREDENTIAL
Why this grade
- PERMISSION_SHELL_UNDECLARED Medium
Runs shell commands that the manifest or description does not mention.
callgraph_check.sh, line 73
out = subprocess.run(["./.venv/bin/django-chainsaw", "--json", "on-commit"], - SECRETS_PATH_CREDENTIAL Medium
Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).
docs/authorship.md, line 100
ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/id_ed25519_signing
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
callgraph_check.sh, line 73
out = subprocess.run(["./.venv/bin/django-chainsaw", "--json", "on-commit"],
docs_check.sh, line 148
collected = subprocess.run(
oncommit_check.sh, line 63
out = subprocess.run(
Show more
oncommit_check.sh, line 160
out = subprocess.run(["./.venv/bin/django-chainsaw", "--json", "on-commit"],
src/django_chainsaw_mcp/asyncio_blocking.py, line 74
"subprocess.run": ("subprocess", "use `await asyncio.create_subprocess_exec(...)`"),
src/django_chainsaw_mcp/asyncio_blocking.py, line 75
"subprocess.call": ("subprocess", "use `await asyncio.create_subprocess_exec(...)`"),
src/django_chainsaw_mcp/asyncio_blocking.py, line 76
"subprocess.check_output": ("subprocess", "use `await asyncio.create_subprocess_exec(...)`"),
src/django_chainsaw_mcp/gitdiff.py, line 28
result = subprocess.run(
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address. can reach partner.example. The description does not name that host. can reach warehouse.example. The description does not name that host. can reach accounting.example. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
src/django_chainsaw_mcp/concurrency.py, line 435
"in the same function: a fetch (or a parameter), an in-Python change "
src/django_chainsaw_mcp/django_env.py, line 69
with socket.create_connection((str(host), int(port)), timeout=timeout):
testprojects/fastapi_demo/app/services.py, line 18
return requests.post("https://partner.example/orders", json={"id": order_id})
Show more
testprojects/shop/fulfilment.py, line 15
requests.post("https://warehouse.example/orders", json={"id": order_id})
testprojects/shop/notifications.py, line 42
requests.post("https://warehouse.example/orders", json={"id": order.pk})
testprojects/shop/notifications.py, line 74
lambda: requests.post("https://warehouse.example/orders", json={"id": order.pk})
testprojects/shop/notifications.py, line 88
requests.post("https://accounting.example/receipts", json={"id": invoice.pk})
testprojects/shop/views_plain.py, line 28
requests.post("https://warehouse.example/orders", json={})
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_CREDENTIAL
.gitignore, line 150
# Environments
docs/authorship.md, line 100
ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/id_ed25519_signing
docs/authorship.md, line 102
git config --global user.signingkey ~/.ssh/id_ed25519_signing.pub
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.
OBFUSCATION_FILE_OVER_READ_CAP
uv.lock, line 1
version = 1
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 664819578827. requests shell access. No manifest field names shell or command execution. can reach a host that is not written as a fixed address. can reach partner.example. The description does not name that host. can reach warehouse.example. The description does not name that host. can reach accounting.example. The description does not name that host. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 664819578827d42e87e17b8ea7121d604bcf4f70
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.