Earlier quoted context omitted.
AWS throws errors that look like `arn:aws:iam:... is not authorized to call "$SERVICE_NAME:$API_NAME" on resource arn:aws:$SERVICE_NAME:...`. I think it's more complicated when you go cross account, and the receiving account doesn't have permissions set up (if the calling account doesn't have it set up you get the same error). In any case you would still find that information in the CloudTrail logs of the receiving a…
Right, you can go to cloudtrail and probably get it, but I have definitely ran into things like service says you do not have access to resource or it does not exist - randomly providing the account some other tangentially related permission magically fixes it, I've found sometimes trying the UI and the API will give different errors to help, and neither is particularly more useful than the others.
Public secrets exposure leads to supply chain attack on GitHub CodeQL
31–40 of 66 posts
Re: Public secrets exposure leads to supply chain attack on GitHub CodeQL
#32Earlier quoted context omitted.
AWS throws errors that look like `arn:aws:iam:... is not authorized to call "$SERVICE_NAME:$API_NAME" on resource arn:aws:$SERVICE_NAME:...`. I think it's more complicated when you go cross account, and the receiving account doesn't have permissions set up (if the calling account doesn't have it set up you get the same error). In any case you would still find that information in the CloudTrail logs of the receiving a…
Right, you can go to cloudtrail and probably get it, but I have definitely ran into things like service says you do not have access to resource or it does not exist - randomly providing the account some other tangentially related permission magically fixes it, I've found sometimes trying the UI and the API will give different errors to help, and neither is particularly more useful than the others.
https://docs.aws.amazon.com/cli/latest/reference/sts/decode-...
Re: Public secrets exposure leads to supply chain attack on GitHub CodeQL
#33Earlier quoted context omitted.
I think we all know this old story. The engineer building it was getting permission denied so they gave it all the permissions and never came back and right-sized.
Does any RBAC system actually tell you the missing permissions required to access the object in question? It’s like they’re designed to create this behavior
Re: Public secrets exposure leads to supply chain attack on GitHub CodeQL
#34Is this fixed?
Re: Public secrets exposure leads to supply chain attack on GitHub CodeQL
#35Re: Public secrets exposure leads to supply chain attack on GitHub CodeQL
#36I put CodeQL in use in OpenZFS PRs. This is not an issue for OpenZFS. None of our code is secret. :)
Luckily it was quickly remedied at least.
Re: Public secrets exposure leads to supply chain attack on GitHub CodeQL
#37As someone with the last name Prater—derived from Praetorian—I really wish I owned praetorian.com.
Re: Public secrets exposure leads to supply chain attack on GitHub CodeQL
#38As someone with the last name Prater—derived from Praetorian—I really wish I owned praetorian.com.
Re: Public secrets exposure leads to supply chain attack on GitHub CodeQL
#39Re: Public secrets exposure leads to supply chain attack on GitHub CodeQL
#40I am getting more and more convinced that CI and CD should be completely separate environments. Compromise of CI should not lead to token leaks related to CD.
1: https://docs.github.com/en/actions/security-for-github-actio...
fun claims: https://github.com/github/actions-oidc-debugger#readme