privesc-llm
Post-training local LLM agents for Linux privilege escalation using SFT and RL with verifiable rewards.
File Explorer
- deepseek_guided.yaml
- deepseek_unguided.yaml
- qwen3.yaml
- openai.yaml
- split_leakage.yaml
- privesc.yaml
- training.yaml
- validation.yaml
- base.yaml
- guided.yaml
- shared.yaml
- unguided.yaml
- guided.yaml
- unguided.yaml
- training.yaml
- validation.yaml
- deepseek.yaml
- standard_guided_deepseek_training.yaml
- standard_guided_deepseek_validation.yaml
- standard_unguided_deepseek_training.yaml
- standard_unguided_deepseek_validation.yaml
- split_leakage.yaml
- standard_guided_deepseek_no_reasoning_training.yaml
- standard_guided_deepseek_no_reasoning_validation.yaml
- standard_guided_deepseek_short_reasoning_training.yaml
- standard_guided_deepseek_short_reasoning_validation.yaml
- standard_unguided_deepseek_no_reasoning_training.yaml
- standard_unguided_deepseek_no_reasoning_validation.yaml
- standard_unguided_deepseek_short_reasoning_training.yaml
- standard_unguided_deepseek_short_reasoning_validation.yaml
- benchmark.yaml
- paper_procedural.yaml
- paper_static_base.yaml
- paper_static_deepseek32.yaml
- paper_static_gemma4_31b_it_thinking.yaml
- paper_static_local_vllm_base.yaml
- paper_static_opus47.yaml
- paper_static_prompt_sensitivity_base.yaml
- paper_static_prompt_sensitivity_budget.yaml
- paper_static_prompt_sensitivity_detailed.yaml
- paper_static_prompt_sensitivity_minimal.yaml
- paper_static_qwen3_4b_base.yaml
- unsloth_base.yaml
- unsloth_lr_15e3.yaml
- unsloth_lr_15e4.yaml
- unsloth_lr_5e3.yaml
- unsloth_lr_5e4.yaml
- unsloth_lr_5e5.yaml
- unsloth_rank_128.yaml
- unsloth_rank_16.yaml
- unsloth_rank_32.yaml
- unsloth_rank_4.yaml
- unsloth_rank_64.yaml
- unsloth_rank_8.yaml
- unsloth_seed_1337.yaml
- unsloth_seed_2026.yaml
- unsloth_seed_31415.yaml
- unsloth_seed_42.yaml
- unsloth_seed_7.yaml
- standard_guided_deepseek_training.yaml
- standard_guided_deepseek_validation.yaml
- standard_unguided_deepseek_training.yaml
- standard_unguided_deepseek_validation.yaml
- paper_prime_rl.yaml
- paper_prime_rl_reward_outcome.yaml
- paper_prime_rl_reward_outcome_cost.yaml
- paper_prime_rl_reward_outcome_round.yaml
- paper_prime_rl_reward_outcome_round_cost.yaml
- paper_qwen3_4b_sft.yaml
- off.yaml
- on.yaml
- capabilities_gtfobins.yaml
- cron_wildcard.yaml
- cron_writable_script.yaml
- lowpriv_usernames.yaml
- password_file.yaml
- password_history.yaml
- password_reuse.yaml
- ssh_key_reuse.yaml
- sudo_gtfobins.yaml
- suid_gtfobins.yaml
- weak_password.yaml
- capabilities_gtfobins.yaml
- cron_wildcard.yaml
- cron_writable_script.yaml
- lowpriv_usernames.yaml
- password_file.yaml
- password_history.yaml
- password_reuse.yaml
- ssh_key_reuse.yaml
- sudo_gtfobins.yaml
- suid_gtfobins.yaml
- weak_password.yaml
- default.yaml
- holdout.yaml
- training.yaml
- gdb.yaml
- node.yaml
- perl.yaml
- php.yaml
- python.yaml
- ruby.yaml
- aa-exec.yaml
- aoss.yaml
- apt-get.yaml
- arch-nspawn.yaml
- ash.yaml
- asterisk.yaml
- at.yaml
- bash.yaml
- bconsole.yaml
- borg.yaml
- bpftrace.yaml
- bundle.yaml
- busctl.yaml
- cabal.yaml
- capsh.yaml
- cdist.yaml
- certbot.yaml
- check_by_ssh.yaml
- choom.yaml
- chroot.yaml
- chrt.yaml
- clisp.yaml
- codex.yaml
- composer.yaml
- cpio.yaml
- cpulimit.yaml
- csh.yaml
- csvtool.yaml
- dash.yaml
- dc.yaml
- debugfs.yaml
- dhclient.yaml
- distcc.yaml
- dmsetup.yaml
- doas.yaml
- docker.yaml
- dotnet.yaml
- ed.yaml
- emacs.yaml
- enscript.yaml
- env.yaml
- ex.yaml
- expect.yaml
- find.yaml
- firejail.yaml
- fish.yaml
- flock.yaml
- ftp.yaml
- fzf.yaml
- gawk.yaml
- gcc.yaml
- gdb.yaml
- gem.yaml
- genie.yaml
- ghc.yaml
- ghci.yaml
- ginsh.yaml
- git.yaml
- gnuplot.yaml
- grc.yaml
- guile.yaml
- hg.yaml
- hping3.yaml
- iftop.yaml
- ionice.yaml
- ip.yaml
- ispell.yaml
- jjs.yaml
- joe.yaml
- jrunscript.yaml
- jtag.yaml
- julia.yaml
- ksu.yaml
- latex.yaml
- latexmk.yaml
- less.yaml
- lftp.yaml
- loginctl.yaml
- logsave.yaml
- ltrace.yaml
- lua.yaml
- m4.yaml
- mail.yaml
- make.yaml
- man.yaml
- mawk.yaml
- more.yaml
- msgfilter.yaml
- multitime.yaml
- mysql.yaml
- nano.yaml
- ncftp.yaml
- nice.yaml
- nmap.yaml
- node.yaml
- nohup.yaml
- npm.yaml
- nroff.yaml
- nsenter.yaml
- openvpn.yaml
- pdflatex.yaml
- pdftex.yaml
- perf.yaml
- perl.yaml
- perlbug.yaml
- pexec.yaml
- pg.yaml
- php.yaml
- pidstat.yaml
- pip.yaml
- pkexec.yaml
- plymouth.yaml
- podman.yaml
- psftp.yaml
- psql.yaml
- puppet.yaml
- python.yaml
- R.yaml
- restic.yaml
- rlwrap.yaml
- rpm.yaml
- rpmdb.yaml
- rpmquery.yaml
- rpmverify.yaml
- rsync.yaml
- rtorrent.yaml
- ruby.yaml
- run-parts.yaml
- scanmem.yaml
- scp.yaml
- script.yaml
- scrot.yaml
- sed.yaml
- service.yaml
- setarch.yaml
- setlock.yaml
- sg.yaml
- slsh.yaml
- smbclient.yaml
- socat.yaml
- softlimit.yaml
- split.yaml
- sqlite3.yaml
- ssh-agent.yaml
- ssh.yaml
- sshpass.yaml
- sshuttle.yaml
- start-stop-daemon.yaml
- stdbuf.yaml
- strace.yaml
- su.yaml
- sudo.yaml
- systemd-run.yaml
- tar.yaml
- task.yaml
- taskset.yaml
- tasksh.yaml
- tdbtool.yaml
- telnet.yaml
- tex.yaml
- time.yaml
- timeout.yaml
- tmate.yaml
- tmux.yaml
- top.yaml
- torify.yaml
- torsocks.yaml
- unshare.yaml
- uv.yaml
- valgrind.yaml
- vi.yaml
- watch.yaml
- xargs.yaml
- xdg-user-dir.yaml
- xdotool.yaml
- yarn.yaml
- yt-dlp.yaml
- zathura.yaml
- zip.yaml
- zsh.yaml
- zypper.yaml
- aa-exec.yaml
- agetty.yaml
- ash.yaml
- bash.yaml
- busctl.yaml
- cabal.yaml
- capsh.yaml
- choom.yaml
- chroot.yaml
- chrt.yaml
- cpulimit.yaml
- csh.yaml
- dash.yaml
- distcc.yaml
- dmsetup.yaml
- docker.yaml
- env.yaml
- expect.yaml
- find.yaml
- fish.yaml
- flock.yaml
- genie.yaml
- git.yaml
- hping3.yaml
- ionice.yaml
- ip.yaml
- ispell.yaml
- jrunscript.yaml
- julia.yaml
- logsave.yaml
- lxd.yaml
- msgfilter.yaml
- multitime.yaml
- nano.yaml
- nice.yaml
- node.yaml
- nohup.yaml
- nsenter.yaml
- openvpn.yaml
- perf.yaml
- pexec.yaml
- php.yaml
- pidstat.yaml
- plymouth.yaml
- python.yaml
- restic.yaml
- rlwrap.yaml
- rsync.yaml
- rtorrent.yaml
- run-parts.yaml
- setarch.yaml
- socat.yaml
- softlimit.yaml
- ssh-agent.yaml
- ssh.yaml
- sshpass.yaml
- start-stop-daemon.yaml
- stdbuf.yaml
- strace.yaml
- tar.yaml
- time.yaml
- timeout.yaml
- unshare.yaml
- vi.yaml
- watch.yaml
- xargs.yaml
- xdotool.yaml
- zsh.yaml
- default.yaml
- packages.yaml
- default.yaml
- evaluation.yaml
- evaluation_budget.yaml
- evaluation_minimal.yaml
- trace_collection_guided.yaml
- trace_collection_unguided.yaml
- no_reasoning.yaml
- short_reasoning.yaml
- default.yaml
- default.yaml
- default.yaml
- standard_training.yaml
- standard_validation.yaml
- base.yaml
- eval_benchmark.yaml
- eval_procedural.yaml
- paper_benchmark.yaml
- paper_procedural.yaml
- paper_protocol.yaml
- trace_collection_training.yaml
- trace_collection_validation.yaml
- 01_vuln_suid_gtfo.yaml
- 02_vuln_password_in_shell_history.yaml
- 03_vuln_sudo_no_password.yaml
- 05_vuln_sudo_gtfo.yaml
- 06_vuln_docker.yaml
- 07_root_password_reuse_mysql.yaml
- 08_root_password_reuse.yaml
- 09_root_password_root.yaml
- 10_root_allows_lowpriv_to_ssh.yaml
- 11_cron_calling_user_wildcard.yaml
- 12_cron_calling_user_file.yaml
- 13_file_with_root_password.yaml
- default.yaml
- default.yaml
- default.yaml
- qwen3_4b.yaml
- default.yaml
- qwen3_4b.yaml
- env.yaml
- config.yaml
- build.sh
- Dockerfile
- packages.txt
- procedural.def
- CHAINREACTOR_STATIC_BASELINE_RUNBOOK.md
- DATASET_CARD.md
- EVAL_PROTOCOL.md
- PAPER_REPRODUCTION_RUNBOOK.md
- PROCEDURAL_SCENARIOS.md
- TOKEN_COST.md
- TRAINING_COST.md
- rl_failure_docker_trace.txt
- rl_success_cron_file_trace.txt
- rl_success_cron_wildcard_trace.txt
- rl_success_mysql_password_reuse_trace.txt
- rl_success_password_history_trace.txt
- rl_success_root_password_file_trace.txt
- rl_success_root_password_reuse_trace.txt
- rl_success_root_password_root_trace.txt
- rl_success_root_ssh_trace.txt
- rl_success_sudo_gtfo_trace.txt
- rl_success_sudo_no_password_trace.txt
- rl_success_suid_gtfo_trace.txt
- .powerlifted-src
- benchmark-privesc-linux
- chainreactor
- GTFOBins
- prime-rl
- benchmark-privesc-linux-source-delta.patch
- chainreactor-local-docker-ssh-port.patch
- vllm-gemma4-bnb-k-eq-v.patch
- aggregate_eval.py
- path_helpers.sh
- plot_reward_design.py
- regenerate_outputs_index.py
- replay_trace_token_price_bench.py
- write_run_manifest.py
- apply_benchmark_patch.sh
- apply_chainreactor_local_docker_patch.sh
- apply_prime_rl_sft_patch.sh
- build_powerlifted.sh
- collect_and_assemble.sh
- collect_and_assemble_base.sh
- derive_sft_reasoning.sh
- patch_vllm_gemma4_bnb.py
- run_model_eval_vllm.sh
- run_paper_static_baseline_llms.sh
- __init__.py
- audit.py
- collection_stats.py
- sft.py
- sft_assembly.py
- sft_preprocessing.py
- sft_quality.py
- sft_reasoning_variants.py
- sft_reporting.py
- sft_subsample.py
- trace_audit.py
- trace_utils.py
- __init__.py
- captions.py
- constants.py
- metrics.py
- parsing.py
- plotting.py
- summary.py
- trace_payload.py
- analyze.py
- chainreactor_baseline.py
- exploit_baseline.py
- __init__.py
- base.py
- capabilities_gtfobins.py
- credential_artifact.py
- cron_wildcard.py
- cron_writable_script.py
- extract_gtfobins.py
- factory.py
- holdout_manifest.py
- password_reuse.py
- profile_audit.py
- ssh_key_reuse.py
- sudo_gtfobins.py
- suid_gtfobins.py
- weak_password.py
- __init__.py
- base.py
- host_ssh_pool.py
- local_docker.py
- remote_ssh.py
- agent.py
- context.py
- prompts.py
- scenario.py
- tools.py
- __init__.py
- qwen3.py
- tool_calls.py
- privilege_escalation.jinja
- privilege_escalation_budget.jinja
- privilege_escalation_minimal.jinja
- short_reasoning_rewrite.jinja
- trace_collection.jinja
- rl-buffer-round-robin-sampling-prime-rl.patch
- rl-lm-head-temperature-compat-prime-rl.patch
- rl-local-inference-ready-prime-rl.patch
- rl-lora-init-adapter-prime-rl.patch
- rl-metrics-all-aggregation-prime-rl.patch
- rl-rollout-task-state-column-prime-rl.patch
- rl-vllm-dp-coordinator-timeout-prime-rl.patch
- __init__.py
- env_args.py
- train.py
- __init__.py
- benchmark.py
- __init__.py
- __main__.py
- live_trace_quality.py
- multi.py
- result_policy.py
- schedule.py
- single.py
- __init__.py
- procedural.py
- static.py
- types.py
- __init__.py
- train.py
- __init__.py
- preview.py
- train.py
- __init__.py
- chat_template.py
- traces.py
- __init__.py
- agent_panels.py
- console.py
- dashboard.py
- formatting.py
- state.py
- __init__.py
- docker_cleanup.py
- langchain.py
- pricing.py
- retry.py
- root_detection.py
- solution.py
- __init__.py
- privesc.py
- reward.py
- __init__.py
- config.py
- paths.py
- __init__.py
- test_chainreactor_baseline.py
- __init__.py
- test_prime_rl_env_args.py
- test_prime_rl_train_config.py
- test_verifiers_privesc_env.py
- test_verifiers_privesc_env_integration.py
- __init__.py
- test_generators_base.py
- test_holdout_leakage.py
- test_live_solution_guidance_local_docker.py
- test_procedural_capabilities_gtfobins.py
- test_procedural_container.py
- test_procedural_credential_artifact.py
- test_procedural_cron.py
- test_procedural_password_reuse.py
- test_procedural_source.py
- test_procedural_ssh_key_reuse.py
- test_procedural_sudo.py
- test_procedural_suid.py
- test_procedural_usernames.py
- test_procedural_weak_password.py
- __init__.py
- test_runner_schedule.py
- test_runner_single_error_trace.py
- __init__.py
- test_audit_bundle.py
- test_chat_template.py
- test_chat_template_tool_instructions.py
- test_collection_stats.py
- test_sft_collision_filter.py
- test_sft_quality_filter.py
- test_sft_reasoning_variants.py
- test_sft_subsample.py
- chat_0.txt
- chat_1.txt
- chat_2.txt
- chat_3.txt
- chat_4.txt
- chat_5.txt
- trace_0.json
- trace_1.json
- trace_2.json
- trace_3.json
- trace_4.json
- trace_5.json
- __init__.py
- test_multi_runner_logging.py
- __init__.py
- solution_utils.py
- test_agent_context_trim.py
- test_agent_usage_accounting.py
- test_deepseek_langchain.py
- test_docker_cleanup.py
- test_evaluation_analyze_metrics.py
- test_extract_gtfobins.py
- test_host_ssh_pool.py
- test_langgraph_invalid_tool_feedback.py
- test_live_generator_mix.py
- test_parsers_qwen3.py
- test_paths.py
- test_reward_calculation.py
- test_reward_experiment_configs.py
- test_rl_langgraph_alignment.py
- test_root_detection.py
- test_scenario_backends.py
- test_solutions.py
- test_token_counter.py
- test_tool_prompt_format.py
- .env.example
- .gitignore
- .gitmodules
- .python-version
- LICENSE
- pyproject.toml
- README.md
- uv.lock
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Link
Example
# Project Badges
-
arXiv Visit
// repository documentation
Was this content helpful?
(0 ratings)
