AISS is a comprehensive security screening tool designed specifically for AI agents, providing both self-assessment capabilities and external security testing.
- 🔍 Memory exposure scanning
- 🔑 API key storage audit
- 🧱 Boundary enforcement verification
- 📝 Security policy compliance
- 🔒 API security assessment
- 🎯 Prompt injection testing
- 🚫 Boundary bypass detection
- 🔐 Authentication testing
- Multiple output formats (text, JSON, HTML)
- Interactive visualizations
- Severity distribution charts
- Findings timeline
- Custom branding support
- Detailed proof and remediation
- Executive summaries
- Customizable scan parameters
- Report customization
- Company branding
- Output paths
- Test thresholds
- Custom user agents
pip install ai-security-screenerCreate a config file at ~/.config/aiss/config.yml:
scan:
max_requests: 50
timeout: 30
user_agent: "AISS-Scanner/1.0"
follow_redirects: true
verify_ssl: true
report:
detail_level: "standard" # minimal, standard, detailed
include_proof: true
output_format: "html" # text, json, html
save_path: "~/aiss-reports"
company_name: "Your Company"
logo_path: "~/company-logo.png"
log_level: "INFO"Or configure via environment variables:
export AISS_CONFIG=/path/to/config.yml
export AISS_LOG_LEVEL=DEBUG
export AISS_REPORT_FORMAT=html# Run scan with default config
aiss scan https://agent-url.com
# Specify output format
aiss scan https://agent-url.com --format html
# Save report
aiss scan https://agent-url.com -o report.html
# Run self-check
aiss self-checkfrom aiss import SecurityScanner, AISSConfig
# Load custom config
config = AISSConfig.load("my-config.yml")
# Initialize scanner
scanner = SecurityScanner("https://agent-url.com", config)
# Run scan
results = scanner.run_scan()
# Generate report
report = scanner.generate_report(results)from aiss.reporting import ReportGenerator
from aiss.core.config import ReportConfig
# Configure reporting
config = ReportConfig(
detail_level="detailed",
output_format="html",
company_name="Your Company",
logo_path="path/to/logo.png"
)
# Generate custom report
generator = ReportGenerator(config)
report = generator.generate(findings, metadata)- Never hardcode API keys
- Use environment variables or secure vaults
- Example:
import os
api_key = os.getenv('SERVICE_API_KEY')
if not api_key:
raise SecurityError("API key not found in environment")- Keep config files secure
- Don't commit sensitive configs
- Use environment variables for secrets
- Validate SSL certificates
- Set appropriate timeouts
# Create virtual environment
python -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Install development dependencies
pip install -r requirements-dev.txtpytest tests/ -v --cov=aiss# Install reporting dependencies
pip install aiss[reporting]
# Generate all report formats
aiss scan https://agent-url.com --format all- Fork the repository
- Create feature branch (
git checkout -b feature/xyz) - Commit changes (
git commit -am 'Add xyz feature') - Push branch (
git push origin feature/xyz) - Create Pull Request
- Report security vulnerabilities to security@yourdomain.com
- Do not commit API keys or credentials
- Run
aiss auditbefore commits - Enable 2FA for repository access
This project is licensed under the PolyForm Noncommercial License 1.0.0.
Free for: Researchers, students, hobbyists, and non-profit organizations. Commercial Use: If you want to use this code in a commercial product or business context, you must purchase a Commercial License. Please contact me via LinkedIn.