The microservice software architecture is more scalable and efficient than its monolithic predecessor. Despite its increasing adoption, microservices might expose security concerns and issues that are distinct from those associated with monolithic designs. We propose Microusity, a tool that performs RESTful API testing on a specific type of microservice pattern called back end for front end (BFF). We design a novel approach to trace BFF requests using the port mapping between requests to BFF and the sub-requests sent to back-end microservices. Furthermore, our tool can pinpoint which of the back end service causing the internal server error, which may lead to unhandled errors or vulnerabilities. Microusity provides an error report and a graph visualization that reveal the source of the error and supports developers in comprehension and debugging of the errors. The evaluation of eight software practitioners shows that Microusity and its security test reports are useful for investigating and understanding problems in BFF systems. The prototype tool and the video demo of the tool can be found at https://github.com/MUICT-SERU/MICROUSITY.
翻译:微型服务软件结构比其单一型软件结构更加可扩展,效率更高。尽管其采用率越来越高,但微观服务可能暴露出安全关切和与单一型设计不同的问题。我们提出微缩功能,这是在前端后端称为微服务模式(BFF)的特定类型微服务模式上进行RETF性API测试的工具。我们设计了一种新颖的方法,利用对BFF的要求和寄往后端微观服务的次请求之间的港口测绘,追踪BFF的要求。此外,我们的工具可以确定导致内部服务器错误的后端服务中哪些可能导致内部服务器错误或弱点。微缩功能提供错误报告和图表直观化,揭示错误的来源,支持开发者理解和调试错。对八名软件从业人员的评价表明,微缩功能及其安全测试报告有助于调查和理解BFF系统的问题。该工具的原型工具和视频演示可在https://github.com/MUICT-SERU/MIROUSITY中找到。