A self-hosted, autonomous AI agent that automates Third-Party Risk Management (TPRM). It monitors critical vendors 24/7, ingesting real-time news to detect security breaches, outages, and legal threats before they hit the mainstream news.
Unlike static monitoring tools, this agent uses Google Gemini 2.0 Flash to semantically understand news headlines, filtering out marketing noise and assigning a dynamic Risk Score (0-10) based on severity and internal vendor criticality.
The system runs as a containerized microservice stack:
- Orchestrator: n8n (Self-hosted via Docker)
- Intelligence: Google Gemini 2.0 Flash (LLM for semantic analysis)
- Database: PostgreSQL (Stores vendor profiles & criticality levels)
- Ingestion: RSS/XML Feeds (Real-time data gathering)
- Audit Trail: Google Sheets API (Logging & Reporting)
- Database Lookup: Fetches active vendors and their "Criticality" status (Critical/High/Low) from PostgreSQL.
- News Scraper: Queries Google News RSS for real-time headlines related to security breaches.
- AI Analysis: Passes headlines to Gemini, which acts as a Cyber Threat Analyst to:
- Filter out irrelevant news.
- Summarize the threat.
- Assign a raw severity score.
- Scoring Engine (JavaScript):
- Normalizes the AI score.
- Applies a 20% risk boost if the vendor is marked "Critical" in the DB.
- Decision Gate:
- IF Score > 7.0 AND Risk Confirmed: TRIGGER ALERT.
- ELSE: Log as low priority.
- Action: Appends the incident to the corporate Risk Log (Google Sheets).
- Docker Desktop installed.
- Google Cloud Console Project (for Sheets API).
- Google AI Studio Key (for Gemini).