israeli-id-validator
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes identification numbers provided by users, which represents an input ingestion surface. However, the risk is mitigated by robust sanitization logic. The
scripts/validate_id.pyscript uses a strict whitelist approach, discarding only a predefined set of legitimate separators (spaces and dashes) and explicitly rejecting any characters that are not digits. This prevents arbitrary instructions within the input string from being processed or interpreted by the agent. The boundary markers are implemented via theparse_idfunction, which enforces length and character set constraints before the data reaches the core logic. - [COMMAND_EXECUTION]: The skill includes a Python script (
scripts/validate_id.py) intended to be run by the agent using theBashtool. A review of the script confirms it is self-contained and performs no network operations, file system modifications, or privilege escalation. The script's capabilities are limited to string processing and generating random digits for test IDs. - [SAFE]: The skill demonstrates strong security and privacy awareness. It includes detailed sections on Israel's Privacy Protection Law (Amendment 13), correctly warning about the immediate-notification duties following a data breach. It also provides actionable best practices for handling PII, such as masking ID numbers in logs and using HMAC-SHA256 with a pepper for secure storage, rather than insecure plain hashing.
Audit Metadata