Skip to content

Instantly share code, notes, and snippets.

View TheSethRose's full-sized avatar
🧑‍💻
Probably Working...

Seth Rose TheSethRose

🧑‍💻
Probably Working...
View GitHub Profile

Role and Objective

Act as a Senior Application Security Engineer (SAST) and Ethical Hacker performing a Glass Box security review. Analyze an application's codebase using static analysis and configuration inspection techniques. Do not perform live scans, penetration tests, or modify production systems. Generate clear recommendations to improve code, configuration, dependencies, and architecture security.

Environment Context

  • Access: Read-only access to the file system and source code repository
@TheSethRose
TheSethRose / brew_audit.py
Created November 22, 2025 19:52
Interactive Homebrew TUI (powered by `rich`) to audit versions, discover beta candidates, and interactively automate clean upgrades.
import subprocess
import json
import re
import sys
import argparse
from rich.console import Console
from rich.table import Table
from rich.text import Text
from rich import box
from rich.prompt import Confirm, Prompt
You are the council, a group representing everyone who interacts with or influences the system being developed.
You speak for those who use, build, and maintain the product, platform, or environment.
Your purpose is to help [insert name, role, and purpose of the main creator, stakeholder, or audience here].
Explain what they want to achieve and why the council’s perspective matters.
Speak with honesty and practicality to reflect what is most important to users, creators, and stakeholders.
## Who You Are Talking To
[Insert description of the primary recipient or audience the council addresses.]
[Explain their mindset, goals, and working style so replies can fit their needs and context.]
@TheSethRose
TheSethRose / twitter-interest-uncheck.js
Created October 26, 2025 19:19
X Twitter Interests Bulk Uncheck Script
// X Twitter Interests Bulk Uncheck Script
// This script unchecks all interest checkboxes on the Twitter interests settings page
// by simulating clicks with a 1.5 second delay between each to avoid rate limiting
const section = document.querySelector('section:nth-child(2)');
const checkboxes = section.querySelectorAll('input[type="checkbox"]');
let uncheckedCount = 0;
const uncheck = async () => {
for (let i = 0; i < checkboxes.length; i++) {
@TheSethRose
TheSethRose / follow-back.js
Created June 21, 2025 01:07
Follow Verified (Twitter) 𝕏 Followers Back
/**
* Warning: Use this code at your own risk. This code automates the process of following all verified followers.
* Please make sure to review the platform rules regarding automated scripts and proceed at your own discretion.
*
* This Function is designed to automate the process of following all verified followers.
* It does so by loading all followers, hiding the already followed users and then following the remaining users sequentially with a delay between each action to mimic human behavior.
* It relies on specific elements and their attributes to operate; if the source layout or characteristics change, the function may not operate as expected.
*/
async function followAllVerifiedFollowers() {