add subprocess component with security check