3 checks that ran failed — supply chain, permission scope and transport config — so this release can’t be trusted as-is.
- Publisher
- io.github.chernistry
- Repository
- github.com/chernistry/bernstein
- Install
- pypi:bernstein
- Versions
- 1
- Inspected
- 4 of 6 checks · 65%
- Scored
- 2026-07-21 · 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
fail25% of gradePackage provenance: namespace verification, repo linkage, maintainer count, account age, postinstall scripts, typosquat distance.
Python build script executes at build time: subprocess in build script, network call in build script
Credential hygiene
pass15% of gradeHow the server takes secrets (env vs plaintext config vs hardcoded); secrets appearing in tool schemas.
Reads secrets from the environment (e.g. examples/plugins/custom_router_plugin.py) — the recommended intake shape. PASS = no static red flag; static analysis cannot prove the code honors env-based secret handling at runtime.
Permission scope
fail15% of gradeDeclared tools vs. breadth (filesystem, network, exec); flags shell-exec and unbounded filesystem access.
HIGH: src/bernstein/adapters/claude.py: references a sensitive credential path (/mcp.json) — the tool-poisoning exfiltration target. HIGH: src/bernstein/adapters/cursor.py: references a sensitive credential path (/.cursor/) — the tool-poisoning exfiltration target. HIGH: src/bernstein/cli/stop_cmd.py: references a sensitive credential path (/mcp.json) — the tool-poisoning exfiltration target. HIGH: src/bernstein/core/agent_discovery.py: references a sensitive credential path (/.cursor/) — the tool-poisoning exfiltration target. HIGH: src/bernstein/core/auto_approve.py: references a sensitive credential path (id_rsa) — the tool-poisoning exfiltration target. HIGH: src/bernstein/core/bootstrap.py: references a sensitive credential path (/mcp.json) — the tool-poisoning exfiltration target. HIGH: src/bernstein/core/mcp_registry.py: references a sensitive credential path (/mcp.json) — the tool-poisoning exfiltration target. HIGH: shell/exec capability AND network egress together — download-and-execute risk (benchmarks/bench_orchestrator.py: subprocess.* call; examples/plugins/discord_notifier.py: outbound HTTP/socket call). HIGH: shell/exec capability AND destructive filesystem writes together (benchmarks/bench_orchestrator.py: subprocess.* call; benchmarks/bench_orchestrator.py: destructive filesystem call (shutil.rmtree/os.remove/etc.)). discloses shell/exec capability: benchmarks/bench_orchestrator.py: subprocess.* call discloses shell/exec capability: benchmarks/bench_startup.py: subprocess.* call discloses shell/exec capability: benchmarks/run_benchmark.py: subprocess.* call discloses shell/exec capability: benchmarks/swe_bench/harness.py: subprocess.* call discloses shell/exec capability: examples/plugins/adapter_plugin.py: subprocess.* call discloses shell/exec capability: examples/plugins/quality_gate_plugin.py: subprocess.* call with shell=True (command-injection prone) discloses shell/exec capability: packaging/npm/index.js: imports child_process and calls exec/spawn discloses shell/exec capability: packaging/npm/install.js: imports child_process and calls exec/spawn discloses shell/exec capability: src/bernstein/commit_stats.py: subprocess.* call discloses shell/exec capability: src/bernstein/security_review.py: subprocess.* call with shell=True (command-injection prone) discloses shell/exec capability: src/bernstein/security_review.py: os.system/os.popen/os.exec* call discloses shell/exec capability: src/bernstein/adapters/aider.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/amp.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/claude.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/codex.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/cody.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/conformance.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/continue_dev.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/cursor.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/env_isolation.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/gemini.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/generic.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/goose.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/iac.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/kilo.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/kiro.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/manager.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/mock.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/ollama.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/opencode.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/qwen.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/roo_code.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/tabby.py: subprocess.* call discloses shell/exec capability: src/bernstein/adapters/ci/github_actions.py: subprocess.* call discloses shell/exec capability: src/bernstein/agents/agency_provider.py: subprocess.* call discloses shell/exec capability: src/bernstein/benchmark/comparative.py: subprocess.* call discloses shell/exec capability: src/bernstein/benchmark/swe_bench.py: subprocess.* call discloses shell/exec capability: src/bernstein/cli/advanced_cmd.py: os.system/os.popen/os.exec* call discloses shell/exec capability: src/bernstein/cli/checkpoint_cmd.py: subprocess.* call discloses shell/exec capability: src/bernstein/cli/compare_screen.py: subprocess.* call discloses shell/exec capability: src/bernstein/cli/dashboard.py: subprocess.* call discloses shell/exec capability: src/bernstein/cli/diff_cmd.py: subprocess.* call discloses shell/exec capability: src/bernstein/cli/doctor_cmd.py: subprocess.* call discloses shell/exec capability: src/bernstein/cli/run_cmd.py: os.system/os.popen/os.exec* call discloses shell/exec capability: src/bernstein/cli/self_update_cmd.py: subprocess.* call discloses shell/exec capability: src/bernstein/cli/splash_screen.py: subprocess.* call discloses shell/exec capability: src/bernstein/cli/stop_cmd.py: subprocess.* call discloses shell/exec capability: src/bernstein/cli/undo_cmd.py: subprocess.* call discloses shell/exec capability: src/bernstein/cli/voice_cmd.py: subprocess.* call with shell=True (command-injection prone) discloses shell/exec capability: src/bernstein/cli/watch_cmd.py: subprocess.* call discloses shell/exec capability: src/bernstein/cli/wrap_up_cmd.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/agent_discovery.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/agent_lifecycle.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/api_compat_checker.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/approval.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/benchmark_gate.py: subprocess.* call with shell=True (command-injection prone) discloses shell/exec capability: src/bernstein/core/bootstrap.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/ci_fix.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/circuit_breaker.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/container.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/coverage_gate.py: subprocess.* call with shell=True (command-injection prone) discloses shell/exec capability: src/bernstein/core/cross_model_verifier.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/dependency_scan.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/drain.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/evolve_mode.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/external_policy_hook.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/fast_path.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/formal_verification.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/gate_runner.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/git_basic.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/git_context.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/git_hooks.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/git_ops.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/git_pr.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/github.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/graduated_memory_guard.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/idle_detection.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/janitor.py: subprocess.* call with shell=True (command-injection prone) discloses shell/exec capability: src/bernstein/core/knowledge_base.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/manifest.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/mcp_manager.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/mcp_transport.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/memory_guard.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/merkle.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/notifications.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/notifications_channels.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/orchestrator.py: subprocess.* call discloses shell/exec capability: src/bernstein/core/orchestrator.py: os.system/os.popen/os.exec* call discloses dynamic code execution: benchmarks/swe_bench/run.py: uses eval/exec/__import__ discloses dynamic code execution: src/bernstein/security_review.py: uses eval/exec/__import__ discloses dynamic code execution: src/bernstein/adapters/claude.py: uses eval/exec/__import__ discloses dynamic code execution: src/bernstein/core/container.py: uses eval/exec/__import__ discloses dynamic code execution: src/bernstein/core/formal_verification.py: uses eval/exec/__import__ discloses dynamic code execution: src/bernstein/core/idle_detection.py: uses eval/exec/__import__ discloses broad/destructive filesystem access: benchmarks/bench_orchestrator.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: benchmarks/bench_quality_gates.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: benchmarks/bench_startup.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: benchmarks/bench_task_store.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: examples/plugins/adapter_plugin.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: packages/vscode/src/__tests__/DashboardProvider.test.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: sdk/python/src/bernstein_sdk/adapters/slack.py: path traversal ('../') combined with file access discloses broad/destructive filesystem access: sdk/typescript/src/adapters/jira.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: sdk/typescript/src/adapters/linear.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/bernstein/adapters/aider.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/amp.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/caching_adapter.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/claude.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/codex.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/cody.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/conformance.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/continue_dev.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/cursor.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/gemini.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/generic.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/goose.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/iac.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/kilo.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/kiro.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/manager.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/mock.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/ollama.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/opencode.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/qwen.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/roo_code.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/adapters/tabby.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/agents/agency_provider.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: src/bernstein/cli/adapter_cmd.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: src/bernstein/cli/chaos_cmd.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/cli/quickstart_cmd.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: src/bernstein/cli/quickstart_cmd.py: recursive glob ('**') from a broad root discloses broad/destructive filesystem access: src/bernstein/cli/run_cmd.py: recursive glob ('**') from a broad root discloses broad/destructive filesystem access: src/bernstein/cli/stop_cmd.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: src/bernstein/core/agent_lifecycle.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/core/audit.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/core/audit.py: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/bernstein/core/benchmark_gate.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: src/bernstein/core/bootstrap.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/core/cascade_router.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/core/ci_fix.py: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/bernstein/core/command_policy.py: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/bernstein/core/compliance.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: src/bernstein/core/container.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/core/cost_anomaly.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/core/cost_history.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/core/coverage_gate.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: src/bernstein/core/dead_letter_queue.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/core/drain.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: src/bernstein/core/duration_predictor.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/core/evolve_mode.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/core/fast_path.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/core/git_hygiene.py: destructive filesystem call (shutil.rmtree/os.remove/etc.) discloses broad/destructive filesystem access: src/bernstein/core/metric_collector.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/core/metric_export.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/core/multi_cell.py: open(…, 'w'/'a'/'x') write-mode file access discloses broad/destructive filesystem access: src/bernstein/core/orchestrator.py: open(…, 'w'/'a'/'x') write-mode file access Capability DISCLOSURE, not a verdict: static analysis sees the primitive is present and reachable, not whether its use is attacker-controlled.
Version behavior
unscannable10% of gradeDiff of tool definitions between versions; new permissions or changed descriptions in a patch release (the postmark-mcp class).
no prior version to diff (first sight of io.github.chernistry/[email protected]); version-drift / rug-pull cannot be evaluated. Cold-start risk is covered by point-in-time checks (injection_surface, supply_chain, credential_hygiene), not here.
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 (amplitude) — disclosure, verify opt-in; manifest/source references telemetry 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 |
|---|---|---|---|---|---|
| v1.5.0 · current | 2026-04-07 | D | 50 | 4/6 · 65% | — |