Track B: reverse injection, target artifacts must stay data (pickle, .pyc, git hooks, SDKs)
Maintainers usually reply within 1 day
@Coff0xc is already working on this.
Since Dec 1, 2026.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- backend-api-design, security
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Go
- Stars
- 18.7k
- Forks
- 7k
- Avg merge
- 10h 57m
- Merged PRs (30d)
- 494
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from BaaRai/ARTEX
-
bug P2
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
BaaRai/ARTEX#981 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
bug P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BaaRai/ARTEX#980 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
bug P2
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
BaaRai/ARTEX#812 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
question
Difficulty 4/5 1-2 days Newbie friendliness 35/100
BaaRai/ARTEX#983 · 4 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
bug P2
Difficulty 3/5 1-2 days Newbie friendliness 20/100
BaaRai/ARTEX#977 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
BUG: Backend Docker build fails due to Go version mismatchPossibly taken @Aakriti0207 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 93/100
gittuf/visualizer#203 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
agent:ready
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
turbot/flowpipe#1162 · 1 comment ·
Maintainers usually reply within 1 day