3 checks that ran failed — permission scope, version behavior and transport config — so this release can’t be trusted as-is.
- Publisher
- io.github.pretorin-ai
- Repository
- github.com/pretorin-ai/pretorin-cli.git
- Install
- pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin, pypi:pretorin
- Versions
- 114
- Inspected
- 5 of 6 checks · 75%
- Scored
- 2026-09-04 · rubric 1.0.0
What we checked
Six static checks, weighted by risk. Every result reflects only what could be observed in the published package and repository — never intent.
Injection surface
unscannable25% of gradeTool descriptions/manifest scanned for instruction-injection patterns (imperatives at the model, hidden text, 'ignore previous', data-exfil URLs).
No tool descriptions, server instructions, prompts, or resources were fetched; nothing to scan for injection.
Supply chain
pass25% of gradePackage provenance: namespace verification, repo linkage, maintainer count, account age, postinstall scripts, typosquat distance.
repository linkage verified
Credential hygiene
warn15% of gradeHow the server takes secrets (env vs plaintext config vs hardcoded); secrets appearing in tool schemas.
tests/test_agent_runner_coverage.py: assigns a literal to api_key (ptn-…ey (len 16)) — non-provider secret literal; prefer environment intake. tests/test_cli_deployment.py: assigns a literal to token (head…re (len 24)) — non-provider secret literal; prefer environment intake. tests/test_cli_deployment_coverage.py: embeds a PRIVATE KEY block. (in an example/sample file — lower severity, but a real key here still leaks.) tests/test_codex_agent.py: assigns a literal to api_key (ptn-…ey (len 16)) — non-provider secret literal; prefer environment intake. Reads secrets from the environment (e.g. src/pretorin/attestation.py) — the recommended intake shape.
Permission scope
fail15% of gradeDeclared tools vs. breadth (filesystem, network, exec); flags shell-exec and unbounded filesystem access.
HIGH: downloads and pipes straight to a shell (src/pretorin/scanners/inspec.py: pipes a download into a shell). HIGH: executes content derived from a network response (src/pretorin/cli/deployment.py: passes a network response into an exec/eval call). has both shell/exec and destructive filesystem writes (src/pretorin/attestation.py: subprocess.* call; src/pretorin/plans.py: destructive filesystem call (shutil.rmtree/os.remove/etc.)). discloses shell/exec capability: 8 files (src/pretorin/attestation.py, src/pretorin/preflight_discovery.py, src/pretorin/agent/codex_runtime.py, +5 more) discloses broad/destructive filesystem access: 11 files (src/pretorin/plans.py, src/pretorin/preflight.py, src/pretorin/agent/codex_runtime.py, +8 more) Capability DISCLOSURE, not a verdict: static analysis sees the primitive is present and reachable, not whether its use is attacker-controlled.
Version behavior
fail10% of gradeDiff of tool definitions between versions; new permissions or changed descriptions in a patch release (the postmark-mcp class).
vs prior 0.28.10 (patch bump): new capability primitive(s) in source: child_process, fs-write, http-client, subprocess; new hardcoded outbound host/BCC destination(s): 127.0.0.1, alias.custom.example, api.example.com, api.openai.com, api.test, app.example.com, chatgpt.com, codex.legacy, configured.example, custom-openai.example, custom.example.com, default.example.com, developer.mozilla.org, different.com, docs.aws.amazon.com, env.example, env.test, evil.example, example.com, example.invalid, example.test, from-config.example, garage, github.com, harness.legacy, in-toto.io, learn.microsoft.com, legacy-codex.example, legacy-harness.example, legacy-stored.example, legacy.example, llm.example, mcp.example.com, model-primary.example, model.configured, model.env, model.env.example, model.setter, model.test, models.example, models.example.com, my-vllm.example.com, new.example, old.example, omnitruck.chef.io, other.com, plat.test, platform.custom.example, platform.example, platform.pretorin.com, platform.test, play.rust-lang.org, portal.test, pretorin-models.example, pretorin.com, proxy.example, pypi.org, raw.githubusercontent.com, schemas.openxmlformats.org, self-hosted.example.com, storage.example, stored-openai.example, test.pretorin.api, tracker.example, via-alias.example, www.w3.org.
Transport config
fail10% of gradeRemote servers: TLS and auth mode (none/token/OAuth). Local servers: whether the manifest indicates it phones home.
source performs runtime self-update / download-and-execute (bypasses version_behavior); sends telemetry to third-party SDK (Datadog) — disclosure, verify opt-in; manifest/source references tracking behavior — disclosure
Version history
Each release plotted by grade against the safe line at B. A version that sinks below the line has lost its trusted standing — the shape of a rug-pull.
| Version | Published | Grade | Score | Inspected | Change |
|---|---|---|---|---|---|
| v0.28.11 · current | 2026-09-03 | D | 57.5 | 5/6 · 75% | C→D in v0.28.11 |
| v0.28.10 | 2026-08-30 | C | 70 | 5/6 · 75% | D→C in v0.28.10 |
| v0.28.9 | 2026-08-28 | D | 57.5 | 5/6 · 75% | C→D in v0.28.9 |
| v0.28.7 | 2026-08-24 | C | 70 | 5/6 · 75% | ±0 |
| v0.28.6 | 2026-08-18 | C | 70 | 5/6 · 75% | ±0 |
| v0.28.5 | 2026-08-14 | C | 67.5 | 5/6 · 75% | D→C in v0.28.5 |
| v0.28.4 | 2026-08-12 | D | 57.5 | 5/6 · 75% | C→D in v0.28.4 |
| v0.28.2 | 2026-08-08 | C | 70 | 5/6 · 75% | D→C in v0.28.2 |
| v0.28.1 | 2026-08-06 | D | 57.5 | 5/6 · 75% | C→D in v0.28.1 |
| v0.28.0 | 2026-08-05 | C | 67.5 | 5/6 · 75% | ±0 |
| v0.27.2 | 2026-08-04 | C | 67.5 | 5/6 · 75% | D→C in v0.27.2 |
| v0.27.0 | 2026-08-03 | D | 57.5 | 5/6 · 75% | B→D in v0.27.0 |
| v0.26.15 | 2026-07-25 | B | 80 | 4/6 · 65% | ±0 |
| v0.26.14 | 2026-07-22 | B | 80 | 4/6 · 65% | D→B in v0.26.14 |
| v0.26.12 | 2026-07-19 | D | 57.5 | 5/6 · 75% | insf→D in v0.26.12 |
| v0.26.11 | 2026-07-16 | insufficient | — | 1/6 · 25% | B→insf in v0.26.11 |
| v0.26.1 | 2026-07-03 | B | 80 | 4/6 · 65% | ±0 |
| v0.25.0 | 2026-06-30 | B | 80 | 4/6 · 65% | insf→B in v0.25.0 |
| v0.21.1 | 2026-05-16 | insufficient | — | 1/6 · 25% | B→insf in v0.21.1 |
| v0.16.1 | 2026-04-22 | B | 80 | 4/6 · 65% | ±0 |
| v0.13.1 | 2026-04-04 | B | 80 | 4/6 · 65% | — |