q-koa@13.8.56
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThis is a Koa CMS, not an install-time malware dropper, but the default router evaluates request-body include strings with Function and exposes raw SQL on an allowlisted common route. Those are critical runtime flaws, and the scanner's remote-response-to-eval label is a mismatch because axios results are stored as data.
Decision evidence
public snapshot- The main router wraps request include and relate strings in eval and runs them with Function.
- Default JWT allowlists find, common, and system/initData, and GET requests skip token checks.
- The common/sql handler runs arbitrary SQL from the POST body.
- Unless the app overrides it, error logs are pushed to a hardcoded Bark host on api.day.app.
- package.json has no preinstall, install, or postinstall hooks; index.js only checks the Node version and exports the app class.
- The tree is a large Koa CMS with WeChat, Douyin, Alipay, and similar plugins; network hosts match those products.
- No child_process, obfuscation, or a package.json self-dependency that installs another q-koa release.
- Function/eval is used to build Sequelize include callbacks, matching nearby toFunction comments, not a hidden install payload.
Source & flagged code
9 flagged · loading sourcePackage contains a possible secret pattern.
core/file/plugins/common/controller.jsView on unpkg · L184Package source references weak cryptographic algorithms.
core/file/plugins/common/controller.jsView on unpkg · L15Findings
Affected versions and remediation
This report applies to q-koa@13.8.56.
See all versions of q-koa for other recorded verdicts.
- Review the evidence and your use of q-koa@13.8.56 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.