MCP server safety grade
ORM Lens
Django and SQLAlchemy static analysis: models, relations, migrations, Alembic, N+1.
uvx orm-lens · pypi orm-lens 1.18.8 · score 90/100 · scanned 2026-12-05
What it can do
- Not seen: Network access
- Yes: Writes or deletes files
- Not seen: Runs programs or shell commands
- Yes: Reads environment variables
- Yes: Runs code built at runtime
These are normal for many MCP servers. They tell you what the server could do with the access you give it.
Risk signals
- Builds and runs code at runtime
orm_lens/sqlalchemy_nplusone.py:157def eval(self, node: ast.AST | None, env: dict[str, _Src]) -> _Src | None:
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-10-31 |
| This version published | 2026-12-01 |
| Versions | 12 |
| Maintainers | — |
| Licence | MIT |
| Source repository | github.com/FROWNINGdev/orm-lens |
| Runs scripts on install | No |
| Files in package | 104 (1,544 KB) |
| Web addresses in code | d2lang.com dbdiagram.io dbml.dbdiagram.io docs.djangoproject.com frowningdev.github.io marketplace.visualstudio.com |
Where we saw each capability (4 examples)
- Writes, moves or deletes files
orm_lens/cli.py:212with open(args.output, "w", encoding="utf-8") as fh:
- Reads environment variables (where API keys usually live)
orm_lens/workspace.py:6``os.environ["ORM_LENS_ROOT"]`` or ``os.getcwd()``. Tool signatures
- Reads environment variables (where API keys usually live)
orm_lens/workspace.py:112value = os.environ.get(f"ORM_LENS_{name}", "").strip() - Reads environment variables (where API keys usually live)
orm_lens/workspace.py:115return os.environ.get(f"DJANGO_ORM_LENS_{name}", "").strip()
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/io-github-frowningdev-orm-lens)
The badge updates when we re-grade a new release from the registry.
Automated scan of the published package, not a security audit. A good grade means we found none of the patterns we check for (method). Think we got it wrong? Email hello@primemoverindustries.com and we re-check within 2 days.
Need a package that isn't here checked, or a fresh check of an unreleased version? Check any npm or PyPI package (US$9).
This grade as JSON (free, for agents).