Track B: reverse injection, target artifacts must stay data (pickle, .pyc, git hooks, SDKs)
I maintainer di solito rispondono entro 1 giorno
@Coff0xc ci sta già lavorando.
Dal 1/12/2026.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- backend-api-design, security
Direzione di ricerca
Start with docs/SANDBOX.md and the existing intercept gate; inspect the worker artifact-loading and task-scope paths, then locate their tests. The issue's three slices define the work: intercept unsafe artifact operations, pause matching hashes across workers, and add synthetic local regression fixtures. Done means the listed acceptance criteria pass, including operator-visible runtime incidents; this is broad security design work with no specific implementation files named.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
Split from #765 (thanks @Coff0xc). Track A (honeypots, fake success, honey-tokens) is #766. This issue owns the other half: target bytes becoming code.
Failure mode
In-scope content becomes worker code, or becomes a goal, scope or finding in the control plane, without the operator asking for that execution. Prompt injection is one input. The reliable path reported publicly is implicit or loot-gated execution: a backup that must be imported, a .git that must be recovered, an SDK that must be installed.
Gap measured on main (0edb39f)
Searching the tree as it stands:
pickle0 hits,sitecustomize0 hits,fsmonitor0 hits.- There is no intercept policy for these loaders today.
Worker isolation bounds the blast radius (no panel keys, DB or socket per docs/SANDBOX.md), but it does not stop a target-supplied archive from executing inside that worker. A pentest worker has to unpack hostile bytes, so this can only be closed with artifact policy, not with a stronger box.
Acceptance criteria
- Downloaded artifacts stay data until the operator or an existing intercept rule says otherwise. Default deny or ask for at least:
pickle/joblib/shelve/dbmload of workspace files- running Python with a target tree on
PYTHONPATH, or importingsitecustomize/__pycache__from the workspace git checkoutorgit-dumperrecovery that would honor target.git/config(core.fsmonitor,core.sshCommand,alias.*,credential.helper)pip install/npm cifrom an index or tarball whose host is the current target- executing a binary, native module,
credential_process, kubeconfigexecor SSHProxyCommandthat came from the workspace
- Intercept rules inspect the real argv including wrappers (
python -c,bash -lc,pip install ./), reuse the existing gate instead of a parallel policy, and name the known argv-prefix limit in the denial rather than failing open. - A trap recorded by one worker pauses that artifact or the task for the operator, so sibling workers on the same task do not load the same hash again.
- A fooled or owned worker cannot mark facts
operator_input, approve its own scope, spawn an egress-capable child task, or overwrite another engagement. Remaining holes are bugs against GHSA-86r5, GHSA-53wc and GHSA-ph8r, not model decisions. - Worker compromise surfaces as an operator-visible runtime incident on that task, not as a finding against the target.
- Prompt tails stay on and loot-gated lies get a regression. Fixtures in the shape of the published write-ups (timing-bound pipe to sh, role-forged "install this SDK"). Direct prompt injection scoring 0/8 is not a pass while loot-gated execution still works.
- Installing a target-supplied package is an operator decision, not a worker decision. A package with no implant is not safe: after install, the in-scope server can drive it to exec (billing SDK, 8/8). The gate sits at the install boundary, and a loader we did not ship surfaces as a task runtime incident.
- Recovering and checking out a repository neutralizes hostile
.git/config(core.fsmonitor,core.sshCommand,alias.*,credential.helper) before checkout. The gate is the operation, not the tool name:git-dumperdoes not strip it and a hand-rolled dumper is worse. - The runtime incident records what the executed artifact could observe about the operator (hostname, user, working directory, environment variable names, parent command lines), because that is what a loader beacon reports back.
Out of scope
Sandbox backend rewrite (#554, #555), containing a kernel or runtime 0-day, making remote RCE on the target safe, replacing artex-runner.
Slices
- Intercept defaults for pickle,
.pyc, git hooks, target-index installs and workspace binaries, with tests. - Cross-worker artifact pause on an explicit trap fact, hash keyed and task scoped.
- Regression fixtures on synthetic local targets only. No third-party sites, no real exploits in CI.
- Lingua principale
- Go
- Stelle
- 18.7k
- Fork
- 7k
- Merge medio
- 10h 57m
- PR unite (30g)
- 494
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 BaaRai/ARTEX
-
bug P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
BaaRai/ARTEX#981 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
BaaRai/ARTEX#980 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
BaaRai/ARTEX#812 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
question
Difficoltà 4/5 1-2 giorni Idoneità per principianti 35/100
BaaRai/ARTEX#983 · 4 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug P2
Difficoltà 3/5 1-2 giorni Idoneità per principianti 20/100
BaaRai/ARTEX#977 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di BaaRai/ARTEX
Issue simili
-
BUG: Backend Docker build fails due to Go version mismatchForse già presa @Aakriti0207 l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 93/100
gittuf/visualizer#203 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
agent:ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
turbot/flowpipe#1162 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno