SOFSEC1 – Software Security
M7- Deployment and Maintenance
Securing Systems Beyond Development
Prof. Justin Pineda
Mar 2026
Motivation
“Which is riskier: bad code or unmaintained code?”
Learning Objectives
By the end, you should be able to:
What is Deployment?
Process of releasing software to production
Includes:
Transition from controlled → uncontrolled environment
Deployment Environments
Key Risk:
❗ Configuration mismatch
Common Deployment Risks
Secure Deployment Principles
Configuration Management
Secrets Management
Avoid:
Use:
CI/CD and Security
Pipeline includes:
Security Integration:
DevOps vs DevSecOps
Shift Left:
Monitoring in Production
Examples:
Logging and Visibility
Incident Detection
Detection sources:
Indicators:
Patch Management
Challenges:
Maintenance Activities
Technical Debt vs Security Debt
Examples:
Real-World Scenario
Scenario:
Result:
Where did the failure occur?
Summary
Knowledge Check 1
Which is the biggest deployment risk?
A. Code complexity
B. Misconfiguration
C. UI design
D. Documentation
Knowledge Check 2
What does DevSecOps emphasize?
A. Removing testing
B. Security integration
C. Slower releases
D. Manual processes
Knowledge Check 3
Why is logging important?
A. UI design
B. Debugging only
C. Detection and evidence
D. Storage
Knowledge Check 4
What is security debt?
A. Performance issue
B. Design flaw
C. Accumulated risk
D. Coding style
Knowledge Check 5
What is the goal of patching?
A. Improve UI
B. Add features
C. Fix vulnerabilities
D. Increase storage
Key Takeaways