Incident Response
May 10, 2026 ยท View on GitHub
This document describes incident response procedures for the Hex ecosystem.
Incident Classification
Severity Levels
| Level | Description | Examples |
|---|---|---|
| Critical | Active exploitation, widespread impact | Registry compromise, malicious package spreading |
| High | Significant risk, limited exploitation | Account takeovers, targeted attacks |
| Medium | Potential risk, no active exploitation | Vulnerability discovered, suspicious activity |
| Low | Minor issues, minimal impact | Policy violations, minor misconfigurations |
Response Procedures
Detection
- Monitoring alerts
- User reports
- Security researcher reports
- Automated scanning
Triage
- Assess severity and scope
- Identify affected systems/users
- Determine response urgency
- Assign incident owner
Containment
- Revoke compromised credentials
- Disable affected accounts (if necessary)
- Block malicious packages
- Isolate affected systems
Eradication
- Remove malicious content
- Patch vulnerabilities
- Reset compromised credentials
- Verify no persistence mechanisms
Recovery
- Restore normal operations
- Monitor for recurrence
- Communicate with affected users
Post-Incident
- Document incident timeline
- Identify root cause
- Implement preventive measures
- Update procedures as needed
Communication
Internal
- Incident channel for coordination
- Regular status updates
- Clear ownership and escalation
External
- User notification when affected
- Public disclosure when appropriate
- Coordinate with reporters
Specific Scenarios
Compromised Maintainer Account
- Disable account access
- Revoke all tokens
- Review recent publishing activity
- Contact maintainer via verified channel
- Consider retiring suspicious versions
Malicious Package
- Mark package/version as retired
- Notify users who downloaded recently
- Investigate publishing account
- Document for community awareness
Infrastructure Compromise
- Isolate affected systems
- Assess scope of access
- Rotate all credentials
- Rebuild from known-good state
- Full security audit