Custom actions

Custom actions are tasks that you can apply to HTTP messages in Burp Repeater to extract, analyze, and transform data.

Custom actions are powered by Bambdas, which are snippets of code that run directly from Burp Suite's interface.

You can use custom actions to:

Related pages

Bambdas

AI-powered custom actions

Custom actions can include advanced AI features, enabling real-time analysis and context-aware responses. All AI interactions are securely handled through PortSwigger's AI platform.

To use AI-powered custom actions, make sure you have enabled AI in Burp. To do this, go to Settings > AI and select Enable AI features.

Using AI features requires AI credits, with costs varying depending on the number and complexity of the AI requests needed. You can buy AI credits from your PortSwigger account and check your balance by clicking the AI icon in the bottom-right corner of Burp.

Related pages

Adding custom actions

You can add Bambdas to the Custom actions side panel in Repeater in the following ways:

Loading Bambdas from your library

You can load previously saved Bambdas from your Bambda library into the Custom actions side panel.

To load a Bambda from your library:

  1. In Repeater, click Custom actions to open the Custom actions side panel.

  2. Click Load.

  3. Select a recent Bambda from the list.

  4. If the Bambda you want to load isn't in the list, click View all to view all Bambdas stored in your library.

  5. Select a Bambda.

  6. Click Load.

If the Bambda is error-free, it's added to the Custom actions side panel, ready for use.

Burp displays any errors in the Compilation errors panel of the Custom actions editor. You'll need to fix these before you can add the Bambda to the Custom actions side panel. For more information, see Troubleshooting Bambdas.

Related pages

Creating Bambdas

You can write your own custom action Bambdas to meet your specific requirements.

Related pages

Running custom actions

From the Custom actions side panel, you can run Bambdas manually and configure them to run automatically after a response has been received for a sent request. Your custom action Bambdas are available from any Repeater tab.

You can apply custom action Bambdas in the following ways:

Bambda output is shown in the Output panel. To clear the output, click Clear.

Managing custom actions

You can manage your custom actions Bambdas from the Custom actions side panel: