Skip to content

Eliminate Caldera Core Dependencies on Plugins: stockpile#3243

Merged
uruwhy merged 7 commits into
apache:masterfrom
kmpepper:core-obfuscators
Jan 28, 2026
Merged

Eliminate Caldera Core Dependencies on Plugins: stockpile#3243
uruwhy merged 7 commits into
apache:masterfrom
kmpepper:core-obfuscators

Conversation

@kmpepper
Copy link
Copy Markdown
Contributor

@kmpepper kmpepper commented Jan 9, 2026

#3235

Eliminate Caldera Core Dependencies on Plugins: stockpile

  • Added app/obfuscators to Caldera core, updated server.py to load these obfuscators on start.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Caldera started without stockpile plugin, agent deployed and successfully ran operations with base64 and plaintext obfuscators enabled.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

@uruwhy
Copy link
Copy Markdown
Contributor

uruwhy commented Jan 12, 2026

@kmpepper when you started caldera without stockpile, was that just with the plugin disabled in the config file or did you actually move the stockpile directory out of the plugins? The latter will actually check to make sure we don't have any lingering plugin references in code imports

@kmpepper
Copy link
Copy Markdown
Contributor Author

@kmpepper when you started caldera without stockpile, was that just with the plugin disabled in the config file or did you actually move the stockpile directory out of the plugins? The latter will actually check to make sure we don't have any lingering plugin references in code imports

moved it out of the plugins dir!

@clenk
Copy link
Copy Markdown
Contributor

clenk commented Jan 12, 2026

Any chance you could add unit tests for the two obfuscators?

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Copy link
Copy Markdown
Contributor

@uruwhy uruwhy left a comment

Choose a reason for hiding this comment

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

checked code coverage manually, looks good

@uruwhy uruwhy merged commit 222b42a into apache:master Jan 28, 2026
14 checks passed
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.

3 participants