calculate-mining-difficulty

Pass

Audited by Gen Agent Trust Hub on Mar 15, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill provides utility for calculating Bitcoin SV (BSV) mining difficulty from targets or compact bits. All calculations are performed locally using standard cryptographic math.
  • [EXTERNAL_DOWNLOADS]: The skill communicates with api.whatsonchain.com to retrieve current network difficulty. This is a well-known blockchain explorer and API service for the BSV network. No sensitive information is transmitted to this endpoint.
  • [COMMAND_EXECUTION]: The tool relies on bun to execute its internal TypeScript logic. User-provided inputs such as target hex or bits are validated using regular expressions (isValidHex) and strict parsing (parseInt), which effectively prevents command injection or execution of malicious shell characters.
  • [DATA_EXFILTRATION]: There is no evidence of the skill accessing sensitive local files (like SSH keys or environment variables) or sending data to untrusted remote servers.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 15, 2026, 03:13 AM