Skip to content

feat: known-dangerous-global control group - #10

Merged
euisuh merged 1 commit into
mainfrom
night/dangerous-global-control
Oct 29, 2026
Merged

euisuh merged 1 commit into
mainfrom
night/dangerous-global-control

Conversation

@euisuh

@euisuh euisuh commented Oct 27, 2026

Copy link
Copy Markdown
Owner

Closes #8. Stacked on #9 (which contains #7); base is night/readme-methodology, retarget to main after those merge.

What

  • 6 control items (payload: control): base pickle calling os.system("echo modelscan-eval-control") plus the same 5 evasion constructions (opcode-level, indirect import, nested, __reduce_ex__, torch-zip).
  • Metrics/report: control group tallied separately; canary rates unchanged (18-item denominators).
  • Test: each control is unpickled in a child process; stdout must be exactly the echo line and no files may be created. Canary tests kept.
  • Safety lint: no allowlist needed. Generator imports from os import system and hand-builds opcodes, so os.system never appears literally in corpus/.
  • README updated; results regenerated with picklescan 1.0.5 / modelscan 0.8.8 (pip, Python 3.12).

Result

Control group: picklescan, modelscan, opcode_baseline each 6/6. Canary numbers unchanged (picklescan 2/18, modelscan 0/18, baseline 8/18). So the earlier low rates come from the callable, and these evasions do not hide a named dangerous global from these scanners. Single-sample items; README says so.

Evidence

make check: safety lint OK, ruff clean, 32 passed. make eval report rerun.

Judgment call: control uses one global (os.system) only.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BQNvypim823UvUJXvw9amj

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@euisuh
euisuh changed the base branch from night/readme-methodology to main October 29, 2026 11:33

@euisuh euisuh left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gates: ruff, safety_lint, pytest (32 passed) pass locally; private-repo CI is billing-blocked, not a test result.

@euisuh
euisuh merged commit 6f59fb8 into main Oct 29, 2026
2 checks passed
@euisuh
euisuh deleted the night/dangerous-global-control branch October 29, 2026 11:54
euisuh added a commit that referenced this pull request Nov 6, 2026
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Base payloads use a callable no scanner denylists; add known-dangerous-global control

1 participant