by smcleod · 1y ago · 0 comments
If we swap "agent" out for "developer" here and think about it:
If a developer saves (or runs) content with a curl / POST / rm command - is that a signal they're doing something dangerous? No.
Likely what actually matters starts along the lines of:
- Did they intend / realise they were running the command?
Was it really them that ran it?
Was it hidden in a larger script they ran without inspecting / scanning first?
Was it made visually clear that they were running it? (e.g. not in the background)
- What is in the arguments of the "dangerous" command?
Does the POST contain known files that contain secrets?
Does it contain high entropy strings?
.... base64 encoded data?
- What is the destination?
Localhost? Internal network? Russia?
- etc
if you have some improvements around this space love to chat and collaborate!