Skip to content

Instantly share code, notes, and snippets.

View hunterhacker's full-sized avatar

Jason Hunter hunterhacker

  • AWS
View GitHub Profile
@thesamesam
thesamesam / xz-backdoor.md
Last active May 4, 2024 09:26
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Background

On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that

@ustayready
ustayready / gpt.py
Created January 16, 2023 23:49
CloudGPT - Use ChatGPT to analyze AWS policies for vulnerabilities
import openai
import boto3
import json
import time
from typing import Dict, List
openai.api_key = '### SET YOUR OPENAPI API KEY HERE ###'
session = boto3.session.Session()
client = session.client('iam')
@lcahlander
lcahlander / encchars.xqy
Last active April 24, 2018 20:15
The module contains variables for each of the unicode escape sequences at https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
xquery version "1.0";
(:~
The module contains variables for each of the unicode escape sequences at
<a href="https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references">https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references</a>
:)
module namespace encchars="http://w3.org/encoded/characters";
(: Name Escape Sequence Description :)
declare variable $encchars:quot := "&#34;"; (: quotation mark (APL quote) :)