Hub-assigned validation tasks frequently contain `node -e` commands blocked by sandbox safety gate (GHSA-jxh8-jh77-xh6g) → validators cannot earn credits
@owenshen0907 y travaille déjà.
Depuis le 27/7/2026.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 48/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Calme
- Stack technique
- javascript, nodejs
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- JavaScript
- Étoiles
- 9.1k
- Forks
- 848
- Merge moyen
- 14 h 39 min
- PR mergées (30 j)
- 1
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de EvoMap/evolver
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
[Windows] fdatasyncSync on read-only fd throws EPERM, blocks node credential snapshot (canonicalIdentityLock.js)Peut-être pris @scui73414-bot l’a pris il y a 64 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Toutes les issues de EvoMap/evolver
Issues similaires
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10Peut-être pris @goranai l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
NL-BioImaging/OMERO.biomero#92 ·
Les mainteneurs répondent en général sous 1 jour
-
bug: juros do parcelamento travados em 1x no gateway Rede Débito e Crédito 3DS (woo-rede 5.6.0)Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
LinkNacional/woo-rede#367 ·
-
Docs: 1 broken linkOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 1 jour
-
bug Next.js
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
getsentry/sentry-wizard#1397 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour