jimureport
Audited by Socket on Sep 19, 2026
7 alerts found:
Anomalyx5Securityx2SUSPICIOUS. 该技能总体与“自动生成 JimuReport 报表”目的相关,主要调用同生态的本地脚本、JimuReport API 和 JEECG 托管的 YApi 实例,未见确认恶意载荷或预执行命令。但其权限与凭证范围偏大:要求用户直接提供 token/数据库/YApi 密码,要求将 YApi 凭证写入 memory,并把这些凭证转发到托管服务;同时还能执行导出、分享、定时任务和 mock 管理等超出最小报表创建需求的操作。因此更适合判为可疑/高暴露工作流,而非明确恶意。
未发现明显恶意软件行为、数据窃取载荷、反向Shell、持久化、破坏性操作或加密挖矿。代码用途与报表创建示例一致。但禁用TLS验证是高风险安全错误,硬编码签名密钥和向任意API_BASE发送员工薪资数据也存在明显供应链和隐私风险;富文本渲染应进行严格HTML清理并限制外部资源。
The fragment appears to be a legitimate report-management CLI rather than malware. Its main security concerns are insecure fallback database credentials, token exposure through URL query parameters and printed preview URLs, configurable outbound HTTP destinations, and intentionally powerful deletion and modification operations. Use least-privileged credentials, require explicit configuration instead of root/root defaults, avoid putting tokens in URLs, and restrict the base URL. The code itself shows no clear supply-chain malware behavior.
The code appears intended as a YApi mock-management utility, not malware. It does communicate credentials, session cookies, and mock data to the hardcoded YApi server as part of its stated functionality. The major security flaw is disabled TLS verification, which permits interception or impersonation of the API and theft of credentials and cookies. The supplied fragment also contains syntax errors and does not appear executable as-is. No evidence of system-data theft, persistence, reverse shell, cryptomining, destructive activity, or covert exfiltration beyond the intended YApi API was found.
The fragment appears to be a legitimate reporting/database integration module, not intentionally malicious. It handles sensitive datasource credentials and permits arbitrary SQL execution, including committed modifications, so callers must ensure that SQL, requirements, and datasource configuration are trusted and that database accounts are least-privileged. Review the imported save_db(), Session implementation, and server-side authorization separately because they determine additional behavior not visible here.
The fragment appears to implement legitimate report file upload and report construction functionality, with no clear evidence of intentional malware. The main security issue is the explicit disabling of TLS certificate verification while transmitting a local file and access token. Use normal certificate validation, avoid suppressing TLS warnings, validate the destination and uploaded file, and restrict localPath access as appropriate.
The fragment is an administrative report-generation client, not apparent malware. Its main security concerns are authentication-token disclosure through printed URLs, use of unencrypted HTTP by default, and unsanitized SQL identifier construction. The file upload and network behavior are consistent with the stated purpose and target the operator-configured server. Execution also appears broken because 'epilog' is referenced without a value or definition.