akshare-a-shares
Audited by Socket on Jun 27, 2026
3 alerts found:
AnomalySecurityObfuscated FileThis module is primarily a bundled CryptoJS cryptography implementation, but it additionally exposes custom AES-CBC encrypt/decrypt helpers that use hardcoded keys and IVs and decrypt caller-supplied ciphertext into returned UTF-8 plaintext. The presence of domain-like markers inside hardcoded key/IV material and the “decrypt arbitrary input -> return plaintext” pattern are suspicious in a supply-chain context, even though this snippet shows no direct network/exfiltration or code execution. Overall: treat as security-sensitive and review how/where these decode helpers are used in the surrounding package.
This fragment is overwhelmingly consistent with an obfuscated DES/3DES cryptography implementation (ECB mode wrapper plus a webDES decrypt/transform routine). It does not visibly perform data exfiltration, system command execution, dynamic code execution (eval/Function), or credential harvesting. Primary risk is supply-chain/safety auditing difficulty due to obfuscation and the possibility of misuse of weak/legacy crypto (DES/3DES) rather than clear malicious sabotage in this snippet.