@inversifyjs/http-insights@0.2.0
InversifyJs HTTP insights
AI Security Review
scanned 12d ago · by lpm-firewall-aiProvider initialization unconditionally deletes the package’s local insights database, creating a concrete risk of losing stored call records. The behavior supports a warning, but the inspected deletion is scoped to package data and does not establish a broader attack.
Decision evidence
public snapshot- Calling the provider’s provide method loads the database module.
- The database module calls resetDb with the package’s configured database URL.
- The configured database is a local insights database at .inversify/insights.db.
- resetDb removes the database and its SQLite sidecar files before recreating it.
- The destructive operation targets this package’s local insights database; no broader file deletion or network transfer was identified.
Source & flagged code
4 flaggedCalling the provider’s provide method loads the database module.
lib/insights/adapter/inversify/services/HttpInsightsProvider.jsView on unpkg · L12Findings
Affected versions and remediation
This report applies to @inversifyjs/http-insights@0.2.0.
See all versions of @inversifyjs/http-insights for other recorded verdicts.
- Review the evidence and your use of @inversifyjs/http-insights@0.2.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.