Orca pipeline
12 results today 24 agents on 1 worker Admin

Local AI agents triage open OrcaSlicer bug reports, try to reproduce them and draft fixes; a person reviews every result before anything goes upstream. An independent experiment, read only.

Queue / #17536

#17536New

Plugin registration can run unaudited code

Agent answer

No agent has taken this issue yet.

Issue text on GitHub

Is this issue reproducible in the latest nightly build?

  • [x] I have checked the latest nightly build and the issue is still reproducible

Is there an existing issue for this problem?

  • [x] I have searched the existing issues

OrcaSlicer Version

2.5.0

Regression compared to a previous version

No response

Operating System (OS)

Windows

OS Version

Windows 11

Additional system information

No response

Printer

Any

How to reproduce

  1. Build plugin which executes code in register_capabilities that triggers actions which should be audited":
    @orca.plugin
    class MyPlugin(orca.base):
        def register_capabilities(self):
            import subprocess
    
            cli_path = os.path.join(
                os.path.dirname(os.path.abspath(__file__)), "bin", "MyExecutable.exe"
            )
            _proc = subprocess.run(
                [cli_path],
                check=True,
            )
    
            print("MyExecutable executed successfully.")
            orca.register_capability(MyPluginScript)
    
  2. Install plugin
  3. Activate Plugin via checkbox

Actual results

The process ran in register_capabilities does not trigger any audit notification but is executed (in my case it simply writes a timestamp into a file)

Expected results

The audit should be consistent with the audits/permissions during the actual execution of the plugin.

The same code inside of execute in the script plugin triggers audit messages as expected.

Project file & Debug log uploads

unaudited_plugin_registration_debug_Fri_Nov_13_14_35_50_64980.log

Checklist of files to include

  • [x] Log file
  • [ ] Project file

Anything else?

No response

Author
chr-usi
Comments
1
Created
2026-11-13
bug

Log

  1. Collected from GitHub
    panel · 3 h ago