| name | secure-deployment |
| version | 2.0.0 |
| description | Security best practices for deploying AI/ML models to production environments |
| sasmp_version | 1.3.0 |
| bonded_agent | 06-api-security-tester |
| bond_type | SECONDARY_BOND |
| input_schema | {"type":"object","required":["deployment_stage"],"properties":{"deployment_stage":{"type":"string","enum":["pre_deployment","deployment","runtime","all"]},"environment":{"type":"string","enum":["development","staging","production"]}}} |
| output_schema | {"type":"object","properties":{"security_score":{"type":"number"},"checks_passed":{"type":"integer"},"checks_failed":{"type":"integer"},"recommendations":{"type":"array"}}} |
| owasp_llm_2025 | ["LLM03","LLM06"] |
| nist_ai_rmf | ["Govern","Manage"] |
Secure AI Deployment
Deploy AI/ML models securely with defense-in-depth strategies and zero-trust architecture.
Quick Reference
Skill: secure-deployment
Agent: 06-api-security-tester
OWASP: LLM03 (Supply Chain), LLM06 (Excessive Agency)
NIST: Govern, Manage
Use Case: Secure production deployment
Deployment Pipeline
Model Training → [Security Scan] → [Signing] → [Encrypted Storage]
↓
[Canary Deploy] ← [Staged Rollout] ← [Integrity Check] ← [Pull]
↓
[Production] → [Continuous Monitoring]
Security Stages
1. Pre-Deployment Checks
Security Scans:
- model_vulnerability_scan
- dependency_audit
- bias_evaluation
- adversarial_robustness_test
- pii_leak_detection
- license_compliance
- secrets_detection
class PreDeploymentChecker:
def run_all_checks(self, model_path):
results = []
results.append(.audit_dependencies(model_path))
results.append(.scan_for_secrets(model_path))
results.append(.detect_pii_leakage(model_path))
results.append(.test_robustness(model_path))
results.append(.evaluate_bias(model_path))
results
():
vulns = .dependency_scanner.scan(path)
critical = [v v vulns v.severity == ]
critical:
CheckResult(, , critical)
CheckResult(, )
():
secrets = .secret_scanner.scan(path)
secrets:
CheckResult(, , secrets)
CheckResult(, )