1 check that ran failed — permission scope — so this release can’t be trusted as-is.
- Publisher
- io.github.srbsa
- Repository
- github.com/srbsa/diffgate
- Install
- npm:diffgate-review, npm:diffgate-review, npm:diffgate-review, npm:diffgate-review, npm:diffgate-review
- Versions
- 5
- Inspected
- 4 of 6 checks · 65%
- Scored
- 2026-07-20 · 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
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. src/bench.ts) — 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: shell/exec capability AND network egress together — download-and-execute risk (src/core/rules/builtin.ts: imports child_process and calls exec/spawn; src/bench.ts: outbound HTTP/socket call). HIGH: shell/exec capability AND destructive filesystem writes together (src/core/rules/builtin.ts: imports child_process and calls exec/spawn; src/core/rules/builtin.ts: path traversal ('../') combined with file access). discloses shell/exec capability: src/core/rules/builtin.ts: imports child_process and calls exec/spawn discloses shell/exec capability: src/core/checks.ts: imports child_process and calls exec/spawn discloses shell/exec capability: src/cli.ts: imports child_process and calls exec/spawn discloses shell/exec capability: src/core/graph/codegraph.ts: imports child_process and calls exec/spawn discloses shell/exec capability: src/core/git.ts: imports child_process and calls exec/spawn discloses shell/exec capability: src/marginal.ts: imports child_process and calls exec/spawn discloses shell/exec capability: src/core/recall/semgrep.ts: imports child_process and calls exec/spawn discloses shell/exec capability: src/core/agent/tools.ts: imports child_process and calls exec/spawn discloses dynamic code execution: src/bench.ts: uses eval(…) discloses dynamic code execution: src/core/rules/builtin.ts: uses eval(…) discloses dynamic code execution: src/core/mask.ts: uses eval(…) discloses dynamic code execution: src/core/rules/python.ts: uses eval(…) discloses dynamic code execution: src/core/rules/ruby.ts: uses eval(…) discloses dynamic code execution: src/core/types.ts: uses eval(…) discloses broad/destructive filesystem access: src/core/rules/builtin.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/cli.ts: destructive/writing fs.* call (write/unlink/rm/chmod/rename) discloses broad/destructive filesystem access: src/cli.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/graph/codegraph.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/config.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/rules/csharp.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/agent/drivers.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/guidelines/evaluate.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/rules/go.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/agent/index.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/graph/index.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/guidelines/index.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/llm/index.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/recall/index.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/rules/index.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/rules/java.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/rules/kotlin.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/learnings.ts: destructive/writing fs.* call (write/unlink/rm/chmod/rename) discloses broad/destructive filesystem access: src/core/llm/openai.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/rules/php.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/rules/python.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/llm/registry.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/guidelines/resolve.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/rules/ruby.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/recall/semgrep.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/session.ts: destructive/writing fs.* call (write/unlink/rm/chmod/rename) discloses broad/destructive filesystem access: src/core/state.ts: destructive/writing fs.* call (write/unlink/rm/chmod/rename) discloses broad/destructive filesystem access: src/core/agent/tools.ts: path traversal ('../') combined with file access discloses broad/destructive filesystem access: src/core/parsers/treesitter.ts: path traversal ('../') combined with 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.srbsa/[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
warn10% of gradeRemote servers: TLS and auth mode (none/token/OAuth). Local servers: whether the manifest indicates it phones home.
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.7.11 · current | 2026-07-05 | B | 80 | 4/6 · 65% | — |