Tp4
- Category
- MCP Tool Poisoning
- Confidence
- 97% confidence
- Finding
There is a material mismatch between the declared purpose and the code's actual behavior. The description says the skill automatically generates API docs from code comments and supports both OpenAPI/Swagger and JSON/YAML outputs. However, the provided script simply writes a prewritten JSON blob to a file. It does not read any codebase files, parse comments, infer endpoints, or switch output based on the requested format. While it does output an OpenAPI-like JSON file, that is only a static template, not generated from code comments as declared.
- Content
