Live data from Hacker News

CISA Admin Leaked AWS GovCloud Keys on GitHub

krebsonsecurity.com

161–170 of 205 posts

Re: CISA Admin Leaked AWS GovCloud Keys on GitHub

#161

Earlier quoted context omitted.

this does not align with.. well.. anything ive read about DOGE

[flagged]

Per the EO that established DOGE, each Agency head established a 4-member DOGE team consisting of a lead, an engineer, a HR specialist and an attorney. Those DOGE teams absolutely did fire thousands of employees after EO 14210 called for huge RIFs across the government.

Re: CISA Admin Leaked AWS GovCloud Keys on GitHub

#162

> Valadon said he reached out because the owner in this case wasn’t responding and the information exposed was highly sensitive. obviously leaking the credentials itself is crazy, given that its (a contractor to) CISA, but to not respond when notified? crazy crazy. but wait! it gets worse somehow " “AWS-Workspace-Firefox-Passwords.csv” — listed plaintext usernames and passwords for dozens of internal CISA systems " w…

Not defending this person, but it's obvious that this person used Github as a file-sync. Firefox-passwords.html and firefox-bookmarks.html are what you dump before migrating to a new computer and importing them there. An old school practice before FF sync was around.

This is mentioned in the article but it stood out enough to call it here.

Re: CISA Admin Leaked AWS GovCloud Keys on GitHub

#163

Earlier quoted context omitted.

the discourse on hacker news has gotten very bad. why are we having this stupid conversation, where you say it would be weird for the people who you are mad about to do the obvious thing to solve the problem you are mad about? i agree that they don't have evidence of how the training data is prepared, but that's a separate issue from, are they going to make obvious mistakes? the LLMs have never hallucinated a key tha…

> the discourse on hacker news has gotten very bad. why are we having this stupid conversation On this we are agreed. But I can't parse any meaning out of the rest of your paragraph.

i don't know, it's not that complicated - https://gemini.google.com/share/084acb9a0d55 - funny enough, the chatbot can understand the transcript.

Re: CISA Admin Leaked AWS GovCloud Keys on GitHub

#164
post #67

Earlier quoted context omitted.

The word you're looking for is "gross negligence"

Sometimes I feel like it's a cover for some other org actually just wanting to steal the data and this being the excuse.

Don't they call this "parallel construction" or some such ?

Re: CISA Admin Leaked AWS GovCloud Keys on GitHub

#165
post #60

Earlier quoted context omitted.

Do you have any examples ? It's the first time I hear about replacing API keys

This can be done in Azure using Entra (OAuth). I don't have API keys, or passwords of any kind, anywhere in the stack. Infrastructure - https://dev.azure.com/byteterrace/Koholint/_git/Azure.Resour... Server - https://dev.azure.com/byteterrace/Koholint/_git/Web.Function... Client - https://dev.azure.com/byteterrace/Koholint/_git/Web.Portal

Man, its been so long since I saw Azure DevOps/TFS interface and all these years later it still doesn't make any sense. Why does the navigation hierarchy go

    {OrgName}/{ProjectName}/Repos/Files/{RepoName}

Re: CISA Admin Leaked AWS GovCloud Keys on GitHub

#166
post #148

Earlier quoted context omitted.

But then you need creds to access AWS SSM, Vault, etc., and those end up getting stored the same way the actual creds you needed were being stored, and you're back at square one.

Nah you can get machine creds automatically via the metadata service when running inside AWS. Nothing need be on disk.

That's still not any better.

If the LLM can run any code it writes itself, it can retrieve those credentials. It's just one `curl` away. If you don't let it run `curl`, but you let it run `python`, it can just run a Python script that fetches it using `requests`. Or a Node script that calls `fetch`.

Point is, if creds are accessible programmatically, the LLM can and may try to retrieve them if it thinks it needs them.

Re: CISA Admin Leaked AWS GovCloud Keys on GitHub

#167

I think one thing that people are sleeping on is passing a ton of secrets to OpenAI and Anthropic or your OpenRouter by having a .env or secrets on disk in your repo, but not checked in Your LLM will happily read the entire file, ship it off to be training data for future versions of ChatGPT, and not raise any flags, because let's be fair it was on ok thing to check if all the env vars were set, or it you had set up…

[Cursor appears to at least be trying...](https://cursor.com/docs/reference/ignore-file#why-ignore-fil...)

> Cursor automatically ignores files in .gitignore

...

>While Cursor blocks ignored files, complete protection isn't guaranteed due to LLM unpredictability.

[Antigravity appears to just _do_, not _try_)[https://antigravity.google/docs/strict-mode]

Re: CISA Admin Leaked AWS GovCloud Keys on GitHub

#168
post #148

Earlier quoted context omitted.

Nah you can get machine creds automatically via the metadata service when running inside AWS. Nothing need be on disk.

That's still not any better. If the LLM can run any code it writes itself, it can retrieve those credentials. It's just one `curl` away. If you don't let it run `curl`, but you let it run `python`, it can just run a Python script that fetches it using `requests`. Or a Node script that calls `fetch`. Point is, if creds are accessible programmatically, the LLM can and may try to retrieve them if it thinks it needs them…

Aws credentials are short lived precisely so that leaking them has a time limited blast radius.

Automatic retrieval, instead of keeping them on disk, is what makes short lived credentials possible.

Re: CISA Admin Leaked AWS GovCloud Keys on GitHub

#169

Earlier quoted context omitted.

good thing we know DOGE has been trying to exfil all US Gov data like all gov employees, or all SSNs under a previous administration I'd assume CISA was doing a dirty dangle, but given how corrupt and incompetent this administration is, to include firing lots of CISA, this may just be a legit fuckup.

When negligence is so bad that it looks like sabotage from a hostile agent, then criminal investigations are needed to learn more about the people who did it, the others who enabled it, and deter similar future acts. DOGE did a lot of bad things, but it didn't force anyone to commit credentials to a repo, disable scanners to get away with it, and then make the repo public.

> When negligence is so bad that it looks like sabotage from a hostile agent

It doesn't though. There's no actual evidence for anything beyond negligence. The "sabotage" angle is just speculation in the vain hope that surely people this stupid don't work for the US government.

Re: CISA Admin Leaked AWS GovCloud Keys on GitHub

#170

I think one thing that people are sleeping on is passing a ton of secrets to OpenAI and Anthropic or your OpenRouter by having a .env or secrets on disk in your repo, but not checked in Your LLM will happily read the entire file, ship it off to be training data for future versions of ChatGPT, and not raise any flags, because let's be fair it was on ok thing to check if all the env vars were set, or it you had set up…

I've noticed recently that at least Claude will try its best not to read your env files. You really need to push it in the prompt if you want it to read and access your DB for example.

Yeah, I've had Claude read a dev key before by accident and it even stopped, said it read a key, and told me to rotate it immediately.

Assuredly it's not fool proof but it does have safeguards in place.

Ideally you also opt out of training although that doesn't keep it out of the vendor's logs/telemetry.

Short lived credentials, injected identity, and hardware backed tokens are the real solution.

Post reply on HN