Tp4
- Category
- MCP Tool Poisoning
- Confidence
- 90% confidence
- Finding
The core purpose mostly aligns: the script does parse JSON-LD from HTML, find Product objects recursively (including within arrays/@graph-like structures), extract offer details, and infer inventory/availability. However, there are material description-behavior mismatches in advertised functionality. The CLI advertises --output json|yaml but always emits JSON, so YAML support is undeclared in behavior. The description suggests use on local files or web page content broadly, but the code only properly handles file paths; its stdin branch incorrectly passes raw bytes into Path(), which will fail rather than parse piped HTML. It also advertises querying structured data such as prices across variants or offer counts, but the implemented query is only a minimal dot-and-index traversal over the final result object, not a substantive JSON-LD query capability. These are meaningful overstatements even though the primary parsing behavior is consistent with the description.
- Content
