yusufkhon-guard@1.1.0
Express.js va Node.js uchun yengil, mustaqil (zero-dependency) xavfsizlik middleware: aktiv himoya (blue team firewall), auto IP-ban, security headers, rate-limiting, input sanitization va audit-skaner.
AI Security Review
scanned 14d ago · by lpm-firewall-aiThe postinstall hook makes an automatic, guarded change to consumer application source and enables the package at runtime. This is a concrete unresolved installation-time capability, but the inspected source does not support blocking it as malicious.
Decision evidence
public snapshot- package.json runs scripts/postinstall.js during installation.
- When installed as a dependency and not disabled by YUSUFKHON_GUARD_NO_AUTO, the hook selects a consumer entry file and inserts an import or require for the package's auto module.
- The helper considers the consumer's start script, main file, and common entry filenames.
- The hook skips repository installs and can be disabled with YUSUFKHON_GUARD_NO_AUTO.
- The package describes itself as security middleware, and the injected import enables its protection in the consumer application.
Source & flagged code
7 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgPackage source references dynamic require/import behavior.
bin/renew.jsView on unpkg · L17Findings
Affected versions and remediation
This report applies to yusufkhon-guard@1.1.0.
See all versions of yusufkhon-guard for other recorded verdicts.
- Review the evidence and your use of yusufkhon-guard@1.1.0 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.