Skip to content

Issue with custom profile credentials when running full scans in aws #10

@christophelimpalair

Description

@christophelimpalair

Just started trying out this tool so it might be user error, but I noticed that whenever I run specific service scans, ie:

python3 cloudpwn/main.py aws s3 --profile cybrdemo --region us-east-1

python3 cloudpwn/main.py aws eks --profile cybrdemo --region us-east-1

etc...

It runs successfully and without credentials errors. But as soon as I run:

python3 cloudpwn/main.py aws --profile cybrdemo --region us-east-1

I get:

Client error: An error occurred (AuthFailure) when calling the DescribeInstances 
operation: AWS was not able to validate the provided access credentials

Client error: An error occurred (UnrecognizedClientException) when calling the 
DescribeInstanceInformation operation: The security token included in the request 
is invalid

etc... across all services scanned. It doesn't seem to pull from my correct profile credentials when running a scan without a specific service.

CleanShot 2025-01-14 at 10 48 44@2x

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions