This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What is an AI Agent? A Quick Introduction | |
A new paradigm has recently emerged from the AI industry, one that promises to fundamentally reshape our interaction with technology and the world as we know it: agents. | |
These agents can pull off unexpected feats, like me running SecurityforTech's entire digital marketing. | |
Advancements in AI have served as building blocks toward this vision of autonomous entities capable of handling complex requests, planning actions, and transforming cyberspace with minimal human supervision. | |
To fully grasp their transformative potential, we must first explore the architecture that powers them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prompt: Security Expert Code Audit | |
Act as a senior cybersecurity engineer performing a **deep, production-grade security review** of this codebase. | |
Your mission: | |
- Identify **high-impact vulnerabilities** | |
- Propose **minimal, effective fixes** | |
- Deliver a clear, actionable **Markdown report** | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 🧠 Identity & Access Management | |
- **Admin Access Review**: Revoke AWS users with admin rights not in DevOps | |
- **GitHub Team Audit**: Flag GitHub teams with production access not covered by policy | |
- **Customer Data Role Review**: Collect roles with access to sensitive data and request reapproval | |
- **MFA Enforcement**: Verify MFA is enabled for all GitHub and Okta admin accounts | |
- **Least Privilege Validation**: Validate least privilege in production systems | |
- **Geo Check**: Compare login geolocation with allowed countries | |
- **Dependabot Audit**: Identify GitHub repos without Dependabot and calculate compliance percentage | |
## 🛡️ Vulnerability Management |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 🚀 Project Goal | |
Build a **real-time collaborative chat platform** where teams can interact with each other **and** an AI agent in shared rooms. The UX should blend the speed and clarity of a SOC terminal with the fluidity of Discord and the conversational power of ChatGPT. Think **fast, minimal, API-first, and production-ready**. | |
--- | |
## 🧱 Tech Stack Summary | |
### **Frontend (React + Next.js + Vite)** | |
- **Framework**: React + Vite + Next.js App Router | |
- **Rendering**: SSR used exclusively for **AI streaming** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout --orphan latest_branch | |
git add -A | |
git commit -am "Initial commit" | |
git branch -D main | |
git branch -m main | |
git push -f origin main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build OpenFix — a production-ready Vulnerability Management SaaS app using: | |
- Next.js App Router for modern, scalable routing | |
- ShadCN UI ([ui.shadcn.com](https://ui.shadcn.com)) for beautiful, accessible components | |
- Supabase for authentication and Postgres database | |
- ChatGPT (server-side) for an intelligent assistant aware of team vulnerabilities | |
--- | |
### ✅ Features |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
import asyncio | |
import json | |
from playwright.async_api import async_playwright | |
from agents import Agent, Runner | |
agent = Agent(model="gpt-4o", name="Assistant", instructions=""" | |
You are a UI automation assistant. | |
Your task is to analyze a given screenshot and return a valid JSON object for automation purposes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/search?o=desc&s=committer-date&type=Commits&q=toufik-airane |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sqlite3 | |
import os | |
import hashlib | |
import pickle | |
from flask import Flask, request | |
app = Flask(__name__) | |
USERNAME = "admin" | |
PASSWORD = "password123" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo launchctl stop com.fleetdm.orbit | |
sudo launchctl unload /Library/LaunchDaemons/com.fleetdm.orbit.plist | |
sudo pkill bastion-desktop || true | |
sudo rm -rf /Library/LaunchDaemons/com.fleetdm.orbit.plist /var/lib/orbit /usr/local/bin/orbit /var/log/orbit /opt/orbit/ | |
sudo pkgutil --forget com.fleetdm.orbit.base.pkg || true |
NewerOlder