# Adversarial-Chatter **Repository Path**: mirrors_microsoft/Adversarial-Chatter ## Basic Information - **Project Name**: Adversarial-Chatter - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-07 - **Last Updated**: 2026-03-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Adversarial Chatter Projects 1. Clone Repo ```text https://MM-Dev-Org@dev.azure.com/MM-Dev-Org/DAI-POD/_git/Projects ``` ## Table of Contents - ## Adversarial-Chatter - ## Psych-Agent - ## AI-Gen-Practice-Test ## Adversarial Chatter **Description:** Adversarial chatter is a project that explores adversarial behavior in AI or cybersecurity contexts. FakBlogsAI simulates fake blog data and SocialAgent analyzes blog data from the context of elicitation to better train individuals against social engineering threats. **Tech Stack:** Python, Angular, Azure Search, Autogen **Install and Run:** - Manual Install ```text 1. Download and install VSCode 2. Download and install Python => 3.10 3. Download and install Python Extensions. a."Python Debugger" b. "Python - Language Support" c. "Pylance" 4. install requirements file. "pip install -r ADV_CHAT\requirements.txt" Note: (Not Required) To get the power of AutoGen, with no-code GUI, install the AutogenStudio a. pip install -U "autogenstudio" 5. Copy SocialAgent.py onto a local directory 6. Download GlitchyWeb Locally Note: Make sure that there is no node_modules or package-lock.json, in either the root or server directory. If these exists you will need to run the command below in the GlitchyWeb directory from a PowerShell terminal as admin. Remove-Item -Recurse -Force .\node_modules, .\package-lock.json Remove-Item -Recurse -Force .\server\node_modules, .\server\package-lock.json 7. cd to "GlitchyWeb" in terminal Run: npm install 8. cd to "GlitchyWeb\server" in terminal Run: npm install ``` - Manual Run ```text 1. Launch three terminals 2. First terminal, cd \GlitchyWeb Run: npx ng serve 3. Second terminal, cd \GlitchyWeb\server Run: node server.js Note: Once the server is running, open your browser and navigate to `http://localhost:4200/`. 4. Third Terminal, cd {Directory Containing Social Agent Script} Run: python AdversarialChatterAgent.py 5. You can now run prompts in the third terminal, examples included below. Prompt Examples: "if someone where to socially engineer one of these individuals, from the information gleaned what would be an approach, who would that be, what method would you use and why?" "How could {Person Mentioned} defend against the previously identified weaknesses?" "Can you create a list of how {Person Mentioned} could defend and train against the previously identified weaknesses?" ``` - Docker Install and Run ```text 1. Download and install Docker. Launch Docker. (No need to create an acount) 2. Import .env file into root project directory. i.e. '{YourLocalDirectory}\Adversarial-Chatter' 3. In terminal navigate to root project directory. 4. Build Docker Images. Website and Agent can be built separately ``` ```text A. Website 1. In terminal run, 'docker build -f Dockerfile.glitchyweb -t adversarial-chatter-web . ' 2. Under the Docker Image section you should now see an Image for 'adversarial-chatter-web.' 3. In Terminal you can run. 'docker run --env-file .\.env -d --name adversarial-chatter-web-container -p 4200:4200 adversarial-chatter-web ' You should now be able to navigate out to 'http://localhost:4200/' in your browser to view the website. ``` ```text B. Agent 1. In terminal run 'docker build -f Dockerfile.adv-chat -t adversarial-chatter . ' 2. Under the Docker Image section you should now see an Image for 'adversarial-chatter.' 3. You can select your newly created image in docker and select 'Run' or in terminal you can run. 'docker run --env-file .\.env adversarial-chatter' ``` ## Support `@DataAI-Consulting-Lab` ## Contributing ```text Reach out to the @DataAI-Consulting-Lab if you would like to join our project ``` ## Demo https://microsoft-my.sharepoint.com/personal/mimares_microsoft_com/_layouts/15/stream.aspx?id=%2Fpersonal%2Fmimares%5Fmicrosoft%5Fcom%2FDocuments%2FVideos%2FClipchamp%2FAdversarial%20Chatter%20Demo%201%201%2FExports%2FAdversarial%20Chatter%20Demo%2Emp4&referrer=StreamWebApp%2EWeb&referrerScenario=AddressBarCopied%2Eview%2E10364dae%2D0cea%2D4d07%2D8a49%2D6003868beebc ## Acknowledgements - `FED-CIV DAI POD` - `@DataAI-Consulting-Lab`