WEBVTT

00:00.000 --> 00:10.560
All right, it is my fantastic opportunity to introduce Ravid and Jay talking about Bolobuster.

00:12.520 --> 00:14.980
All right, all right, check, check.

00:15.140 --> 00:16.380
Everybody hear me?

00:17.060 --> 00:18.840
Okay, great.

00:19.400 --> 00:23.200
So good morning, everybody, and thanks for joining.

00:23.200 --> 00:39.980
We are really excited to present in the AppSec Village, and today we are going to talk about Bolobuster, our methodology that we developed in order to automate detection at scale using LLMs.

00:42.760 --> 00:45.120
But first, let's introduce ourselves.

00:45.120 --> 00:47.000
So my name is Ravid.

00:47.000 --> 00:50.640
I'm a security researcher at Palo Alto Networks.

00:50.640 --> 00:56.880
I expertise in the WAAS field, which is web application and API security, mainly.

00:57.720 --> 01:06.580
And in my free time, I enjoy watching football games, traveling the world, and I take care of my dog, Maple.

01:10.210 --> 01:11.530
Hi, my name is Jay.

01:11.530 --> 01:30.830
I am a security researcher with Palo Alto Networks, and my research has been focusing on identifying the threat and risk in the cloud environment, and recently I have shifted my research focus towards generative AI, in particular looking into the potentially adversarial use of generative AI.

01:31.010 --> 01:36.070
When I'm not working, I spend most of time with my hyperactive twin boys.

01:36.070 --> 01:40.790
They behave just like minions and head off to the parent there with young kids.

01:40.790 --> 01:44.350
I know how difficult it is to take care of young kids when working.

01:44.350 --> 01:54.190
And I'm also a cat lover, so I also spend a lot of time scrolling through funny cat videos when I'm not working or working.

01:57.970 --> 02:01.950
Great, so let's go over the agenda for today.

02:01.950 --> 02:05.790
So we are going to cover the concept of BOLA.

02:05.930 --> 02:11.150
We will show you our methodology of automating BOLA hunting using LLMs.

02:11.190 --> 02:16.350
You are going to see a real BOLA testing that is part of our methodology.

02:16.770 --> 02:28.750
And finally, you will see how we hunted down 17 new BOLA vulnerabilities in one of the most popular open source projects out there.

02:32.250 --> 02:36.790
So broken object level authorization or short for BOLA.

02:38.030 --> 02:43.510
So our motivation for the research was pretty huge, I would say.

02:43.510 --> 02:53.030
For those of you who are not familiar with BOLA, it is ranked at the top risk at the OWASP API top ten.

02:53.470 --> 02:58.490
And it is also the fourth most reported vulnerability in HackerOne.

02:58.490 --> 03:01.150
So it's really popular and it's really severe.

03:02.550 --> 03:09.690
And yet, there is no automation tool that can actually and reliably detect BOLA at scale.

03:10.150 --> 03:18.210
So all of this was a big reason for us to try to solve basically an unsolved issue today.

03:20.390 --> 03:24.610
And let's understand first what is exactly BOLA.

03:24.890 --> 03:37.510
So if you take a look at this example, we have a patient, we have a clinic application and we have a patient that can query his visit ID and get his doctor notes.

03:37.610 --> 03:39.230
Pretty straight forward.

03:39.570 --> 03:47.850
But what would happen if this patient would decide to act maliciously and try to fetch another visit ID that does not belong to him?

03:48.810 --> 03:56.670
If he would be able to do it, it means that the back end will have an authorization issue and this is basically a BOLA.

03:56.870 --> 04:16.530
So in a straight forward way, if I can delete or modify let's say Jay's comment from Twitter or Instagram, this is a clear BOLA because I shouldn't have the permission to access, modify or delete another user object that does not belong to me.

04:17.730 --> 04:20.210
And the consequences can be huge.

04:20.250 --> 04:26.690
It can start from data leaks to data manipulation and even the full account takeover as we will see today.

04:30.570 --> 04:36.130
We faced many challenges when we tried to automate the process of BOLA detection.

04:36.550 --> 04:39.990
The first was the complex authorization mechanism.

04:40.470 --> 04:48.370
So application these days actually has typically multiple users with multiple roles with multiple resources.

04:48.830 --> 04:52.710
So it's very difficult to say which user can do what.

04:52.710 --> 04:56.490
Which user is allowed to do which action exactly.

04:56.730 --> 04:59.550
And this really can get complex.

05:00.550 --> 05:03.750
Also applications are stateful today.

05:03.750 --> 05:10.490
So each action you make or each API call you make can affect the state of the application.

05:11.010 --> 05:15.010
And basically each endpoint is dependent on one another.

05:15.010 --> 05:20.650
So imagine you try to delete a comment from an article or a post.

05:21.310 --> 05:28.410
So first you would need to create this post and create a comment for this post and only then you will be able to delete this comment.

05:28.510 --> 05:30.310
So they are dependent on each other.

05:30.310 --> 05:34.150
You cannot isolate one of them.

05:34.450 --> 05:41.050
And the execution order is really important in order to not have any technical issue.

05:41.590 --> 05:48.950
So it is a big challenge to understand that these endpoint dependencies actually.

05:51.050 --> 05:56.270
Also BOLA doesn't have a there is a lack of vulnerability indicator basically.

05:56.270 --> 06:06.730
So unlike XSS or SQL injection which is pretty straightforward to recognize the pattern of the payload, BOLA is a logical error.

06:06.770 --> 06:09.730
So it's not really malicious by definition.

06:09.910 --> 06:14.150
So it's hard to analyze and understand whether it is a BOLA or not.

06:16.310 --> 06:18.650
And lastly the context.

06:18.790 --> 06:26.010
So we try to understand which endpoint in the application and which parameter contains sensitive data.

06:26.190 --> 06:29.370
And it's not that easy to understand it.

06:29.410 --> 06:36.110
And also to understand what is the impact actually of each action that we can take in the application.

06:36.870 --> 06:44.830
So all of this was pretty big challenges that we faced during the process.

06:49.790 --> 06:51.850
Thanks, Ravi, for covering the background.

06:51.850 --> 06:57.670
I hope everyone understands why automating data BOLA detection is difficult.

06:57.930 --> 07:07.410
So it was only two years ago that we realized that AI may be able to give this problem a glimpse of hopes.

07:07.730 --> 07:17.070
Because of the recent advancement of AI, we were provided with new tools to solve the problem that were not possible to solve in the past.

07:17.290 --> 07:30.750
And also in particular, our challenge of extracting context and logic information from textual data aligns well with the capabilities of large language model.

07:30.750 --> 07:36.230
So that's the start of our journey in using AI to solve BOLA detection.

07:36.950 --> 07:40.790
Here is a high-level overview of our methodology.

07:40.790 --> 07:47.390
The only required input of our methodology is an OpenAPI spec or a Swagger spec.

07:47.690 --> 07:53.790
The first stage, identify the endpoint that can be vulnerable to BOLA.

07:53.790 --> 07:57.470
Not every endpoint can be vulnerable to BOLA.

07:57.470 --> 08:07.390
We used AI to help analyze every endpoint and its parameters to determine, to select a subset of endpoints as our target.

08:07.790 --> 08:18.890
This step helped us narrow down our target endpoint and avoid wasting time on the endpoints that are not at risk.

08:18.890 --> 08:26.670
We call this endpoint a potentially vulnerable endpoint, short for PVE, or target endpoint.

08:26.670 --> 08:32.750
We will refer to this endpoint as target endpoint or PVE in the rest of the talk.

08:32.810 --> 08:37.830
The next stage, uncover the dependency relationship between endpoints.

08:38.170 --> 08:40.390
Modern web applications are complex.

08:40.390 --> 08:43.890
Typically, one endpoint depending on many others.

08:43.890 --> 08:54.370
For example, in order to test an endpoint that updates an invoice, you first need to call the endpoint that creates the invoice.

08:54.370 --> 09:02.210
And in order to create an invoice, you first need to call the endpoint that creates the transactions that can be included in the endpoint.

09:02.210 --> 09:11.570
As a result, it is crucial to understand the endpoint that my target endpoint depends on before I can accurately test it.

09:12.530 --> 09:26.190
With the endpoint dependency relationship, identify the next stage, calculate the execution path to each target endpoint, and create a test plan for each target endpoint.

09:26.490 --> 09:36.350
The next stage then transforms the test plan into multiple executable bash scripts using large language model.

09:36.350 --> 09:44.530
There may be one or multiple execution paths to each target endpoint, and we aim to cover as many paths as possible.

09:44.530 --> 09:53.670
Finally, we set up a target API server and run all the test script generated in the previous step.

09:53.790 --> 10:00.130
The process of user registration, user login, and token refresh have all been automated.

10:00.130 --> 10:06.070
And we also use AI to help analyze the response and logs produced during the test.

10:10.360 --> 10:13.580
Let's dive into a little bit more detail in each stage.

10:13.580 --> 10:22.420
In the first stage, we try to identify the endpoint with input parameters that reference private, sensitive, or confidential information.

10:22.420 --> 10:25.460
These are the endpoints that we target.

10:25.460 --> 10:27.700
These are our target endpoints.

10:28.220 --> 10:31.100
For example, let's look at the first endpoint.

10:31.100 --> 10:38.620
The username here indicates that the endpoint may reference two data associated with the individual.

10:38.620 --> 10:47.160
If this endpoint is vulnerable to BOLA, an attacker may be able to reset another user's password.

10:47.160 --> 11:00.880
Similarly, if the second endpoint input user email is vulnerable to BOLA, an attacker may be able to change another user's email.

11:01.460 --> 11:12.080
Traditionally, pentesters manually look for this endpoint and their parameters to determine their target endpoint.

11:12.080 --> 11:20.440
This process is slow and cumbersome, especially for very large applications with hundreds of endpoints.

11:20.440 --> 11:28.860
So we use AI's capabilities of reasoning and understanding text to automate this step.

11:29.340 --> 11:42.260
Here is a snippet of our prompt that shows how we teach AI to recognize parameters that may reference two sensitive data.

11:42.260 --> 11:47.920
Essentially, we instruct AI a set of rules and examples.

11:48.680 --> 11:57.540
At the end, AI returns us the endpoint and parameters that meet any of the condition that we provided.

11:58.240 --> 12:03.820
The next stage uncovers the dependency relationship between endpoints.

12:03.820 --> 12:20.140
As I mentioned, due to the complexity of modern web application, each API call may change the state of the application and affect the outcome of other API endpoints.

12:20.140 --> 12:26.860
As a result, it is crucial to identify their dependency relationship before we can test them.

12:27.930 --> 12:35.560
In this diagram, we call the endpoint on the right as consumers and the endpoint on the left as producers.

12:35.720 --> 12:42.340
Producer endpoints output the values that consumer endpoints need as input.

12:42.340 --> 12:49.940
Again, producer endpoints output the values that consumer endpoints use as input.

12:49.940 --> 12:55.480
This is one of the most important concepts in our research, in our methodology.

12:55.480 --> 13:00.420
Let's look at this endpoint as an example, delete user.

13:00.420 --> 13:08.240
In order to correctly test this endpoint we need to feed it with an existing username.

13:08.240 --> 13:19.220
If we feed it with a random variable, a random username, this endpoint will always, the API call will always fail and give us meaningless result.

13:19.220 --> 13:22.640
That's why we need to identify its producers.

13:22.820 --> 13:32.600
In this case, this consumer endpoint has four producers and each of them can output the existing username that endpoint can use.

13:33.540 --> 13:42.980
Here is a snippet of the prompt that we use to teach AI how to recognize dependency relationship.

13:44.000 --> 13:56.720
I want to emphasize that also we can use heuristic algorithm to match the output parameter name of an endpoint with the input parameter name of a consumer.

13:56.880 --> 14:00.960
This heuristic algorithm is not reliable.

14:00.960 --> 14:11.080
The reason is that developers sometimes use different parameter names to reference the same data object within the system.

14:11.080 --> 14:19.820
Developers may also use the same parameter names to reference different data object across the system.

14:19.820 --> 14:26.840
That's why we use a combination of heuristic and AI to uncover the dependency relationship.

14:26.840 --> 14:39.440
We need AI to analyze each parameter endpoint's functionality in order to reestablish their dependency relationship based on their functionalities.

14:42.040 --> 14:55.620
Once we have the, using the dependency relationship uncovered in the previous stage, this stage build up a dependency tree for each potentially vulnerable endpoint.

14:55.620 --> 15:05.100
In this dependency tree, the root node represent our, one of our target endpoint, or PVE.

15:05.100 --> 15:20.960
And any two directly connected nodes in a tree represent a consumer and producer relationship in which consumer, the parent node is a consumer and the child node is a producer.

15:21.960 --> 15:25.020
Let's use the upper half of a tree as an example.

15:25.100 --> 15:30.600
In this case, endpoint is a producer of PVE.

15:30.700 --> 15:35.180
Endpoint output the value that PVE need as an input.

15:35.180 --> 15:47.240
And endpoint one itself also has two producer, endpoint three and four, which produce the output that endpoint one need as the input.

15:48.480 --> 15:59.560
Finally, in the next stage, we turn, we calculate the execution path to each potentially vulnerable endpoint.

16:00.320 --> 16:10.120
So in the dependency tree, a path from the leaf node to the root node represent an execution path.

16:10.120 --> 16:14.160
This is a reverse tree traversal.

16:14.160 --> 16:21.780
So the path is actually from the leaf node to the root node instead of from the root node to the leaf node.

16:21.840 --> 16:26.600
And let's plug in some real endpoint to see how we do the calculation.

16:26.600 --> 16:30.980
In this example, the target endpoint is delete comment.

16:30.980 --> 16:37.380
And this endpoint has two producers, get comment and post comment.

16:37.760 --> 16:43.860
And these two producers in turn also each has two producer.

16:43.880 --> 16:52.920
So at the end, there are four execution paths that can all reach the target endpoint delete comment.

16:54.100 --> 17:12.320
In the last stage, we then turn each execution path into an executable bash script using large language model and run the script to actually send HTTP request to the target endpoint.

17:12.800 --> 17:21.240
The process is more complicated than just generating and sending the request as Ravid will explain in the next few slides.

17:24.220 --> 17:25.100
Great.

17:25.100 --> 17:28.780
Thank you Jay for the overview of our methodology.

17:29.200 --> 17:42.360
And before we can see actually a real BOLA test and view our BOLA that we found, let's see the prerequisites that we have before we can create an actual test.

17:42.360 --> 17:50.480
So we use LLMs again to create the user registration process and to collect the login data of the application.

17:51.760 --> 18:01.460
So basically we generate user LLM, generate user credentials that meets the criteria in terms of the, for example, password complexity and ATC.

18:02.080 --> 18:09.680
And we execute the user registration process and we fetch the login data from the spec.

18:09.680 --> 18:21.360
So this is crucial in order to then log in the users of the specific test and get a valid and unique token for each one of them.

18:22.060 --> 18:27.700
This information will be stored in a dedicated file so we will have an easy access and usage.

18:29.180 --> 18:32.960
Then we will want to isolate the test data.

18:33.740 --> 18:39.900
So if you ever saw a swagger or open API spec file, you know that it can be huge.

18:39.900 --> 18:45.300
It can be thousand lines of code, especially for the biggest, for the bigger applications.

18:45.300 --> 18:51.800
And we want to isolate only the data that is needed for the specific test.

18:52.500 --> 19:01.680
So Jay mentioned that we have a consumer and producers in each test so we would like to have only the data which is relevant to these endpoints.

19:02.420 --> 19:12.280
So we will create a new file, we will feed it to AI and it will save us about 90 to 95 percent of the spec.

19:12.880 --> 19:21.740
So we do it for efficiency to ensure that LLM will get only the accurate data that it actually needs for each test creation.

19:22.580 --> 19:28.460
And for cost, we want to have as lowest tokens as we can.

19:30.690 --> 19:38.150
And finally, we're creating the test script and it will be saved as an executable bash script.

19:38.550 --> 19:44.410
You can see an example of a very simple consumer and producer.

19:44.410 --> 19:49.430
We have a put user password and a get user to get the user name.

19:49.810 --> 19:53.490
This kind of test will be saved in a put get directory.

19:53.750 --> 19:56.630
Put would be the parent, get would be the child.

19:58.490 --> 20:03.410
And the test generation actually runs asynchronously in order to save time.

20:04.290 --> 20:09.190
And right now we averaged a 1.5 second for each test.

20:09.190 --> 20:11.090
And we have a 1 .5 second for each test creation.

20:13.190 --> 20:20.490
Right, so the final step would be to actually run the test script in the application.

20:21.110 --> 20:30.650
So we have an execution order and our main goal is to avoid any chance that a test would fail due to technical reasons.

20:31.010 --> 20:35.170
So we want the test to fail only if the PVE is not vulnerable to BOLA.

20:35.170 --> 20:36.390
It should be.

20:37.270 --> 20:43.370
So we will first run the test that populate data and resources to the application before we can fetch them.

20:45.110 --> 20:56.390
And also we will try to push and delete, to push update and delete operation to the end so we won't experience a scenario where we delete a user or delete a resource and then try to fetch it.

20:56.790 --> 21:05.850
So again, the main reason for this is not to have technical issues in the test that will make it fail eventually.

21:07.830 --> 21:20.210
So right after we finished our, preparing our methodology, we wanted to evaluate our BOLA buster actually and see the results.

21:20.570 --> 21:28.230
So what we did is we took the, maybe the best API fuzzer, which is open source right now, which is Ressler.

21:28.670 --> 21:31.890
Ressler is a Microsoft developed API fuzzer.

21:31.890 --> 21:34.030
You can find it on GitHub.

21:34.830 --> 21:42.930
And its goal is to automate the process of API testing and to find vulnerabilities, like our goal.

21:43.450 --> 21:52.290
So what we did is we took three open source applications which are deliberately vulnerable to the OWASP API top ten.

21:52.750 --> 21:55.170
We took Vampy, Capital and Crappy.

21:55.170 --> 21:59.450
You can see from the table that they have unknown BOLAs.

21:59.930 --> 22:03.810
And we started to test our tool against Ressler.

22:05.370 --> 22:16.870
As you can see, Ressler could not identify any BOLA of these applications and it made a pretty big number of API calls.

22:16.870 --> 22:19.850
Thousands and even hundreds of thousands.

22:20.870 --> 22:26.750
Then we tested our tool, again the same application, and the results were amazing.

22:27.310 --> 22:35.970
I hope you can see, we found all the BOLAs in each one of the applications and we made significantly lower API calls.

22:36.090 --> 22:41.230
So eventually we made less than one percent of the calls that Ressler made.

22:41.790 --> 22:44.070
So this is a crucial part.

22:44.070 --> 22:52.410
It proved our efficiency and we didn't make the application load too much.

22:53.890 --> 22:59.730
Finally we wanted to have a 100 percent true positive rate.

23:00.250 --> 23:05.910
So our goal was to find any BOLA if it exists in the application.

23:06.270 --> 23:17.390
We did have some false positives, you can't avoid it, but again our main goal was to focus on the true positive rate which was 100 percent.

23:20.200 --> 23:25.020
Now we can take a look on a real scenario for a BOLA test.

23:25.260 --> 23:38.200
So we have this high level example where first Alice create an article, then Alice create a comment for this article, and then Bob will try to delete Alice's comment which is the PVE.

23:39.820 --> 23:46.480
So first Alice and Bob will log into the system, they will get a unique token which will be saved.

23:48.160 --> 23:52.740
Alice will create a new article in the system, we will save the article title.

23:54.060 --> 24:06.860
We will do the same with the comment, so Alice will create a comment, we will save the comment ID, and finally the PVE, the maliciously Bob will try to attempt to delete Alice's comment.

24:07.400 --> 24:09.860
And this scenario can have two results.

24:10.520 --> 24:21.840
If it will be successful we will have a potentially BOLA for this endpoint, or if the application can defend BOLA as well, so it will be forbidden.

24:23.800 --> 24:26.960
Let's see the actual snippet of our code.

24:27.320 --> 24:42.240
So first of all we will create a unique random string each time, so we will be able to create an article for multiple tests without getting an error that it already exists.

24:43.080 --> 24:58.440
So as you can see we make a POST request to slash API slash articles, you can see that we use user A token which reference to Alice, and we use the article title as a random string.

25:00.820 --> 25:05.500
We will save the slide which is in this case the article title.

25:08.300 --> 25:21.260
Next Alice will create a comment, so what's special about this is that if you take a look at the actual endpoint, you can see that we dynamically use SLAG.

25:21.440 --> 25:28.700
So we saved this parameter from the previous request, and then we dynamically use it.

25:28.700 --> 25:36.080
So now we can reference to it as a, we can know that this resource actually belongs to Alice.

25:38.080 --> 25:45.400
Again, we save the comment ID, and then finally we use the PVE, the delete operation.

25:45.880 --> 25:52.700
You can see again that we use SLAG and comment ID that belongs to Alice.

25:52.860 --> 26:02.020
And the main difference, now we use the user B token, so now we can identify that this request is made by Bob and not Alice.

26:02.980 --> 26:05.520
And lastly we will check if the test passed.

26:06.300 --> 26:14.300
Now I want to emphasize that actually every boiler test that we make is, if you think about it, is malicious by definition.

26:14.920 --> 26:23.220
The last request, the PVE, will always, we will try to perform an action that you shouldn't be able to perform, right?

26:23.320 --> 26:26.600
Bob shouldn't be able to delete Alice's comment.

26:26.720 --> 26:41.100
So in case it is successful, we can mark this test as at least potentially vulnerable to boiler before we can make further analysis and verification let's say in the application context.

26:41.520 --> 26:46.840
So you just need to understand that every boiler test is malicious by definition.

26:50.150 --> 26:55.030
So let's see how we actually hunted some boilers in the wild.

26:57.840 --> 27:01.580
We have a quick demo of showing the running of the tool.

27:02.040 --> 27:19.760
So this is a Python based and it will, I hope you can see, it's testing each API endpoint and in case the result is successful, it will mark it with boiler found and the actual API endpoint.

27:20.760 --> 27:28.380
After this we will take the list and we'll further analyze it and try to understand if this is a real boiler or not.

27:30.940 --> 27:35.300
So all of these applications, it has something in common.

27:35.300 --> 27:37.180
We found boilers in it.

27:37.620 --> 27:39.420
So first of all, Harbor.

27:40.620 --> 27:43.540
It is a cloud native container registry.

27:43.540 --> 27:48.740
It is basically a equivalent to Docker Hub, which I'm sure most of you are familiar with.

27:49.220 --> 27:56.380
It is a CNCF graduated project, so it's been in the wild for a while.

27:57.400 --> 28:07.740
It has around 2 million downloads these days and we actually found, this year we found a new boiler, which we will talk in a bit.

28:08.940 --> 28:10.940
And next up, Grafana.

28:10.940 --> 28:13.840
It's a data visualization and monitoring tool.

28:13.920 --> 28:15.400
Very, very popular.

28:15.400 --> 28:19.980
It's being used by 20 million users actually these days.

28:20.140 --> 28:23.220
And we also found a new boiler there.

28:24.940 --> 28:29.020
And lastly we have Easy Appointments, which is an open source tool.

28:29.460 --> 28:39.300
It has almost 200,000 downloads and we actually have been able to find 15 new boiler vulnerabilities there.

28:40.040 --> 28:42.400
A little bit.

28:43.340 --> 28:48.640
The most amazing thing about it is actually that 7 of them are critical.

28:49.360 --> 28:58.220
So they got a CVSS of 9.9 which actually allows a low privilege user to gain admin access.

28:58.220 --> 29:05.080
Remember we talked about compromise, so we have a full application compromise in this case.

29:07.460 --> 29:10.300
Let's talk about Arbor vulnerability.

29:10.300 --> 29:11.860
It's pretty interesting.

29:12.740 --> 29:16.420
So Arbor has projects in it.

29:16.420 --> 29:22.100
You can have roles, so you can be an admin, a maintainer, a developer or a guest.

29:22.680 --> 29:29.760
Basically we found the vulnerable feature to be the project configuration metadata.

29:30.780 --> 29:34.220
So I hope you can see the attributes there for the configuration.

29:34.380 --> 29:45.580
Basically an admin can change the project to be private, public, it can implement some image vulnerability scanning and have more power.

29:46.680 --> 29:56.500
So Arbor claimed that in the official documentation that only the admin project should be able to create and modify this kind of configurations.

29:56.520 --> 29:58.180
Which makes sense.

29:59.200 --> 30:06.160
And actually we found out that an unauthorized user can do the same operation.

30:06.340 --> 30:15.380
So we tried to play with the roles of the project and we saw that the maintainer for example could not make any change via the UI.

30:15.420 --> 30:20.880
So this is a maintainer login which is grayed out, you cannot modify it.

30:21.600 --> 30:29.500
But maintainer can actually create, delete and modify these attributes via the API.

30:29.520 --> 30:35.180
So there is a big discrepancy between the UI and the API behavior.

30:35.580 --> 30:41.820
And this vulnerability actually create an extent in the maintainer privileges.

30:42.120 --> 30:55.980
So now a maliciously maintainer could be able to make a private project public, deploy unverified images and actually control every configuration that you can control in a project.

30:57.160 --> 31:00.720
And as you can imagine the consequences can be pretty high.

31:00.720 --> 31:08.120
So we can compromise the whole integrity of a project and actually the security posture.

31:10.040 --> 31:15.560
So Harbo verified, that's it, okay.

31:15.560 --> 31:22.560
So just would say that Harbo identified this vulnerability and you can find it in their security advisory.

31:22.560 --> 31:30.320
We got a CVE and you can check out our blog about it when we technically talk about how we found this.

31:30.320 --> 31:31.380
Okay , thanks.

31:35.420 --> 31:42.040
I will just use the last 30 seconds to share the most important lessons we learned from working with AI.

31:42.040 --> 31:44.960
First, AI isn't always the best solution.

31:45.500 --> 31:52.960
Problems with existing heuristic solutions should not be solved by AI like sorting, finding trees or solving equations.

31:52.960 --> 31:59.140
Those problems have existing optimal solutions and always use heuristic rather than AI.

31:59.140 --> 32:01.220
Second, don't trust, always validate.

32:01.220 --> 32:05.120
Blindly trusting the output of AI can be very, very dangerous.

32:05.300 --> 32:11.340
So always validate the output of AI before using them or passing them to the next stage.

32:11.340 --> 32:14.380
Finally, makes AI's jobs easier.

32:15.080 --> 32:25.600
Treat AI like a very capable junior worker who can do simple tasks exceptionally well, but can start making mistakes when the job becomes more complex.

32:25.600 --> 32:33.720
So when working with AI, it is always a good idea, good strategy to use divide and conquer to simplify its task.

32:34.100 --> 32:36.260
Thank you so much.

