589c5b06fe
- Auto-fixed 70 lint errors (import sorting, aliased errors, datetime.UTC)
- Fixed 85 remaining errors manually:
- E501: wrapped long lines in queen_profiles, catalog, routes_credentials
- F821: added missing TYPE_CHECKING imports for AgentHost, ToolRegistry,
HookContext, HookResult; added runtime imports where needed
- F811: removed duplicate method definitions in queen_lifecycle_tools
- F841/B007: removed unused variables in discovery.py
- W291: removed trailing whitespace in queen nodes
- E402: moved import to top of queen_memory_v2.py
- Fixed AgentRuntime -> AgentHost in example template type annotations
- Reformatted 343 files with ruff format
Passive Vulnerability Assessment
A template agent that performs passive, OSINT-based security scanning on a target domain and produces letter-grade risk scores (A-F) per category with a developer-focused vulnerability report.
Architecture
intake → passive-recon → risk-scoring → findings-review → final-report
↑ | |
└──────── feedback loop ─────────┘ |
intake ←────────── forever-alive loop ────────────────────────┘
Nodes
- intake — Collect target domain from the user (client-facing)
- passive-recon — Run 6 scanning tools: SSL/TLS, HTTP headers, DNS, ports, tech stack, subdomains
- risk-scoring — Calculate weighted letter grades (A-F) per category via
risk_scoretool - findings-review — Present grades and findings, ask user to continue or generate report (client-facing)
- final-report — Generate an HTML risk dashboard with remediation steps (client-facing)
Required Tools
ssl_tls_scan,http_headers_scan,dns_security_scanport_scan,tech_stack_detect,subdomain_enumeraterisk_score,save_data,serve_file_to_user
Usage
Linux / Mac
PYTHONPATH=core:examples/templates python -m vulnerability_assessment run --target "example.com"
Windows
$env:PYTHONPATH="core;examples\templates"
python -m vulnerability_assessment run --target "example.com"
Options
-t, --target: Target domain to scan (required).--mock: Run without calling real LLM APIs (simulated execution).-v, --verbose: Show execution details.--debug: Show debug logging.--help: Show all available options.