So a new, quite effective method I've found during pentests recently:
People are starting to connect their work email and calendars to personal AI agents, and are, inevitably, storing the code in publicly accessible repos.
There are two things I look for:
- Email creds, prevalent where people have given the AI dealy IMAP access to their messages.
- If I can't find email creds, the link to the private Google Calendar (either outlook or Google) ICS file.
If you grab that ICS file, you download effectively an entire copy of the calendar, which includes the body of the meeting invite - so, various links, attachments, keys/secrets/passwords etc.
I have done the email thing maybe once or twice.
The calendar thing, at least a dozen times in the last few months.