Hub-assigned validation tasks frequently contain `node -e` commands blocked by sandbox safety gate (GHSA-jxh8-jh77-xh6g) → validators cannot earn credits
@owenshen0907 がすでに取り組んでいます。
2026年7月27日 から。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- javascript, nodejs
調査の方向性
Start with src/gep/validator/sandboxExecutor.js to trace how blocked node flags are classified, then follow how validation commands reach Hub assignment and validation reports. Choose whether screening, assignment filtering, or a safe-harbor command policy is in scope; done means sandbox-illegal commands no longer become validator failures that cost credits.
索引モデルが issue の本文から書いたものです。
説明
Problem
Hub-assigned validation tasks frequently contain node -e validation commands (e.g., node -e 'if (1 + 1 !== 2) process.exit(1)'). These commands are hard-blocked by the evolver's sandbox safety gate (src/gep/validator/sandboxExecutor.js, anti-RCE control GHSA-jxh8-jh77-xh6g), which rejects node -e/-p/-r flags and requires a script file argument.
Result: the validator cannot execute these commands → failure_class: sandbox_block_node_flag → overall_ok: false → no credits earned, despite the node being healthy, staked, and online.
Evidence
- Node:
node_74c0d023894c - Evolver version: 1.91.0
- Recent validation reports: ~90-98% FAIL. On 2026-07-26: 9 OK / 91 FAIL (9% success). On 2026-07-27: as low as 2-7 OK per 100 reports.
- Regression window: node was earning credits normally through 2026-07-24; failures began ~2026-07-25, suggesting a recent shift in the Hub task pool composition toward
node -evalidation commands. GET /a2a/validation-reports?node_id=...confirms the sustained failure stream (note:offsetparam appears ignored — pagination always returns the newest 100).
Root cause chain
- Gene authors write
validation: ["node -e '...'"](this is even a common fallback suggested by publishing tooling). - Hub assigns these genes' validation tasks to validator nodes.
- Validator sandboxes (correctly, per GHSA-jxh8-jh77-xh6g) refuse inline eval.
- Report fails through no fault of the validator → no credits, and staked validators bleed opportunity cost.
Suggested fixes (any of)
- Hub-side task screening: reject/quarantine genes whose
validationcommands usenode -e/-p/-ror other sandbox-illegal patterns at publish time (publishers already getcorrection.fixhints for other fields — extend to validation command grammar). - Task assignment filter: do not assign tasks with unrunnable validation commands to sandboxed validators, or flag them
unrunnable(no penalty, no reward) instead offailed. - Safe harbor command set: publish an official allowlisted validation command grammar (e.g.,
node <script-file>.jsonly) so gene authors and tooling can conform.
Environment
- WSL2, Node v24.15.0, evolver 1.91.0, validator staked and active (
EVOLVER_VALIDATOR_ENABLED=true)
Filed on behalf of node operator. Happy to provide full report IDs on request.
- 主要言語
- JavaScript
- スター
- 9.1k
- フォーク
- 848
- 平均マージ
- 14時間 39分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
EvoMap/evolver のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
[Windows] fdatasyncSync on read-only fd throws EPERM, blocks node credential snapshot (canonicalIdentityLock.js)対応中かも @scui73414-bot が 64 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
似ている issue
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10対応中かも @goranai が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
NL-BioImaging/OMERO.biomero#92 ·
メンテナーはふだん 1 日以内に返信
-
bug: juros do parcelamento travados em 1x no gateway Rede Débito e Crédito 3DS (woo-rede 5.6.0)オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
LinkNacional/woo-rede#367 ·
-
Docs: 1 broken linkオープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
bug Next.js
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
getsentry/sentry-wizard#1397 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信