๐Ÿ›ก๏ธ AIsecTest Bridge โ€” Secure AI for Inclusive Digital Experiences

AIsecTest Bridge is a multi-agent security platform designed to enhance digital trust and accessibility. Built for the AWS Breaking Barriers Hackathon, it integrates AI-based threat detection and inclusive response flows using AWS Bedrock, SageMaker, Lambda, and DynamoDB.


๐Ÿ“ Project Structure

aisectest-bridge/
โ”œโ”€โ”€ agents/
โ”‚   โ”œโ”€โ”€ monitor_agent/
โ”‚   โ”‚   โ””โ”€โ”€ monitor.py
โ”‚   โ”œโ”€โ”€ analysis_agent/
โ”‚   โ”‚   โ””โ”€โ”€ analyze.py
โ”‚   โ”œโ”€โ”€ response_agent/
โ”‚   โ”‚   โ””โ”€โ”€ respond.py
โ”‚   โ””โ”€โ”€ coordinator_agent/
โ”‚       โ””โ”€โ”€ main.py
โ”œโ”€โ”€ utils/
โ”‚   โ””โ”€โ”€ logger.py
โ”œโ”€โ”€ data/
โ”œโ”€โ”€ deploy/
โ”œโ”€โ”€ .env.example
โ”œโ”€โ”€ docker-compose.yml
โ””โ”€โ”€ README.md

๐Ÿš€ Key Features

  • ๐Ÿ” Detect anomalous behavior in login flows or user interactions
  • ๐Ÿง  Analyze security threats with generative AI (Amazon Bedrock)
  • ๐Ÿ” Trigger automatic security actions using AWS Lambda
  • ๐Ÿ“„ Log secure events in DynamoDB for traceability
  • ๐ŸŒ Designed to be inclusive, scalable, and resilient

๐Ÿค– Agent Roles

Agent Function
Monitor Agent Detects suspicious or irregular activity
Analysis Agent Uses AI to determine threat level
Response Agent Executes security actions (block, alert, log)
Coordinator Agent Orchestrates multi-agent logic

๐Ÿงฐ Tech Stack

  • Amazon Bedrock โ€“ Generative AI model inference (e.g., Titan, Claude)
  • Amazon SageMaker โ€“ Optional for fine-tuned security scoring models
  • AWS Lambda โ€“ Event-driven automated response
  • Amazon DynamoDB โ€“ Secure event logging and audit trails
  • Docker & Compose โ€“ Local simulation of full agent logic

โš™๏ธ Local Testing

  1. Clone the repo:

    git clone https://github.com/YOUR_USERNAME/aisectest-bridge.git
    cd aisectest-bridge
    
  2. Create .env file:

    cp .env.example .env
    
  3. Add your AWS credentials and config.

  4. Run agents:

    docker-compose up --build
    

โ˜๏ธ AWS Integration

See /deploy for:

  • Lambda function deployment for responses
  • API Gateway setup for secure entry points
  • Bedrock model inference sample via AWS SDK

๐Ÿ“„ Example Log Output

[2025-05-19 10:42:01] [Monitor Agent] Suspicious login pattern detected from unusual device
[2025-05-19 10:42:02] [Analysis Agent] Risk score: 0.91
[2025-05-19 10:42:03] [Response Agent] Triggering AWS Lambda to lock account

๐ŸŽฏ Use Cases

  • Securing authentication workflows for underserved users
  • Scalable event-driven threat response
  • Deploying explainable security agents in regulated environments

Built With

Share this project:

Updates