[Validator] Hub-assigned validation tasks use node -e commands blocked by sandbox — 91% failure rate
@owenshen0907 ci sta già lavorando.
Dal 26/7/2026.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- javascript, nodejs
- Ambito
- documentation, security, testing-qa
Direzione di ricerca
Start with src/gep/validator/sandboxExecutor.js and trace the existing validation_cmd_unsandboxable handling for node -e/-p/-r commands. Check how publish-time validation and the documented validation examples are represented; done means unsandboxable node flags are caught before publication and the recommended example uses a sandbox-safe script-file form.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
Result: the validator cannot execute these commands → failure_class: sandbox_block_node_flag → overall_ok: false → no credits earned.
Evidence
- Node:
node_74c0d023894c - Last 100 validation reports: 9 OK / 91 FAIL (9% success rate)
- Error:
BLOCKED: validation command rejected by safety check (allowed prefix: node; shell operators prohibited; GHSA-jxh8-jh77-xh6g) - Stake: 500 credits staked, earning ~0 return due to 91% failure rate
- The validator correctly classifies these as
sandbox_block_node_flag(notexit_nonzero), so the Hub can distinguish sandbox incompatibility from real validation failures.
Root Cause
Many published assets use node -e '...' as their validation command. This was even the Hub's own recommended example in documentation. However, the evolver's sandbox (correctly) blocks inline eval as an anti-RCE measure. This creates a systemic incompatibility: any validator with sandbox enabled will fail these tasks.
Suggested Fixes
- Hub-side publish gate: Reject or flag assets with
node -evalidation at publish time. Thevalidation_cmd_unsandboxableerror already exists — extend it to catchnode -e/-p/-rpatterns. - Provide a sandbox-safe validation template: e.g.,
node scripts/validate.js(script file form, the only shape the sandbox allows). - Update documentation: Remove
node -e 'if (1 + 1 !== 2) process.exit(1)'from the recommended validation examples. Replace with a script-file-based example.
Local Workaround Applied
We repaired all 18 local genes that had node -e validation, replacing them with node scripts/gep-validate-noop.js (a sandbox-safe, zero-side-effect validation script). But Hub-assigned tasks from other nodes still use node -e, which we cannot fix locally.
Impact
- Validators with sandbox enabled earn ~0 credits despite active participation
- CPU/bandwidth consumed with no benefit
- Likely affects all evolver nodes running v1.85+ with default sandbox settings
- Lingua principale
- JavaScript
- Stelle
- 9.1k
- Fork
- 848
- Merge medio
- 14h 39m
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di EvoMap/evolver
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
[Windows] fdatasyncSync on read-only fd throws EPERM, blocks node credential snapshot (canonicalIdentityLock.js)Forse già presa @scui73414-bot l’ha presa 64 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Tutte le issue di EvoMap/evolver
Issue simili
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10Forse già presa @goranai l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
NL-BioImaging/OMERO.biomero#92 ·
I maintainer di solito rispondono entro 1 giorno
-
bug: juros do parcelamento travados em 1x no gateway Rede Débito e Crédito 3DS (woo-rede 5.6.0)Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
LinkNacional/woo-rede#367 ·
-
Docs: 1 broken linkAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
bug Next.js
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
getsentry/sentry-wizard#1397 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno