algo-ecom-bm25
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill implements a standard text-based ranking algorithm (BM25) using standard Python libraries and mathematical formulas.
- [SAFE]: The Python script
scripts/bm25.pyuses only built-in modules (math,json,argparse,re,collections) and performs all calculations locally without any network access or external dependencies. - [SAFE]: Input data is processed as structured JSON. The script includes a
tokenizefunction that utilizes a strict alphanumeric regex ([A-Za-z0-9']+), which effectively sanitizes input by discarding most special characters and potential injection symbols. - [SAFE]: No malicious patterns such as prompt injection, data exfiltration, persistence mechanisms, or privilege escalation were identified. The instructions and reference materials are purely technical and consistent with the skill's stated purpose.
Audit Metadata