This Python script automates the process of searching and extracting Material Cybersecurity Incidents (Item 1.05) from recent 8-K filings in the SEC EDGAR database.
- 📅 Searches 8-K filings within a configurable date range.
- 🔍 Filters for those containing
"Item 1.05"
(Material Cybersecurity Incidents). - 📑 Extracts and formats the content of the Item 1.05 section using:
- Inline XBRL (iXBRL) parsing
- HTML fallback parsing
- 🖍️ Highlights keywords such as
ransomware
,unauthorized
,exfiltrated
, etc. - 🔗 Provides direct links to the original filings on the SEC website.
- ✅ Supports command-line execution.
🔎 Searching for 8-K Item 1.05: Material Cybersecurity Incidents from 2025-06-20 to 2025-07-05
📄 Sensata Technologies Holding plc
📅 Date: 2025-04-09
🔗 https://www.sec.gov/Archives/edgar/data/0001477294/000147729425000047/0001477294-25-000047-index.htm
⚠️ No Item 1.05 text found.
📄 Coinbase Global Inc.
📅 Date: 2025-05-14
🔗 https://www.sec.gov/Archives/edgar/data/1679788/000167978825000094/coin-20250514.htm
🧾 Item 1.05:
On May 13, 2025, Coinbase identified unauthorized access to its cloud infrastructure... [truncated]
- Clone the repo
git clone https://github.com/yourusername/sec-8k-item105.git
cd sec-8k-item105
- Install required dependencies
pip install -r requirements.txt
Requirements:
requests
beautifulsoup4
lxml
User-Agent
header with contact information.
If you are running this script for your own use, you must change the User-Agent to reflect your own name, email, or organization.
This helps the SEC contact you in case of issues or abuse.
Update the HEADERS
dictionary in the script:
HEADERS = {
"User-Agent": "YourName/1.0 (contact: your-email@example.com)",
"Accept": "application/json"
}
python edgar-8K.py
Optional parameters (inside the script):
days=15
: Number of days back to search.max_results=100
: Max filings to retrieve.
edgar-8K.py # Main script
README.md # Documentation
requirements.txt # Python dependencies
The following keywords are highlighted in console output for visibility:
ransomware
unauthorized
exfiltrated
production
offline
threat actor
This is an unofficial tool and not affiliated with the SEC. Always verify disclosures using the official EDGAR database. Parsing logic may break if SEC changes their HTML/XBRL structure.