codebase-shared-functions@2.0.27
AI Security Review
scanned 4d ago · by lpm-firewall-aiThe flagged credential use sends DO_API_TOKEN to a DigitalOcean serverless endpoint as authorization for the mail action, and the mail flow is invoked through callable package functions. No install-time or automatic credential exfiltration was found.
Decision evidence
public snapshot- The manifest has no install lifecycle hooks; its main entry is src/index.js.
- src/mailer.js sends mail details to a DigitalOcean serverless email action, using DO_API_TOKEN for authorization.
- Mail sending is invoked from the explicitly called consumeEmailMessages function when it consumes a queue message.
- Importing src/index.js connects through codebase-models using the caller-configured MONGODB_URI.
- The mailer is exported as a callable function; importing it does not itself send a request.
- The queue consumer connects and processes messages only when consumeEmailMessages is called.
Source & flagged code
6 flaggedSource appears to send environment or credential material to an external endpoint.
src/mailer.jsView on unpkg · L1A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
src/mailer.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to codebase-shared-functions@2.0.27.
See all versions of codebase-shared-functions for other recorded verdicts.
- Review the evidence and your use of codebase-shared-functions@2.0.27 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.