AI Security Review
scanned 2h ago · by lpm-firewall-aiInstall hook performs package-aligned CSS asset copying into the consumer project. No confirmed malicious attack surface is established.
Static reason
One or more suspicious static signals were detected.
Trigger
npm install in a consuming project
Impact
Creates/overwrites CSS asset files for this package's tools; no exfiltration or code execution chain observed
Mechanism
copy packaged CSS files to public/styles/lib/babies
Rationale
The suspicious lifecycle hook is source-visible and limited to copying this package's CSS assets for expected Astro tool styling. Static inspection found no credential access, network calls, shell execution, obfuscation, persistence, or AI-agent control-surface mutation.
Evidence
package.jsonscripts/postinstall.mjssrc/index.tssrc/data.tssrc/entries.tssrc/tools.tspublic/styles/lib/babies/*.css
Decision evidence
public snapshotAI called this Clean at 92.0% confidence as Benign with medium false-positive risk.
Evidence for block
- package.json runs postinstall: node scripts/postinstall.mjs
- scripts/postinstall.mjs writes package CSS into consumer public/styles/lib/babies when installed under node_modules
Evidence against
- postinstall exits immediately when not running from node_modules
- postinstall only reads package.json and src/tool CSS files, then copies CSS assets
- No child_process, eval/vm, credential harvesting, or network execution found
- Runtime entrypoints export Astro baby-tool components, metadata, and local i18n/data modules
Behavioral surface
ChildProcessFilesystem
HighEntropyStringsUrlStrings
NoLicense
Source & flagged code
2 flagged · loading sourcepackage.jsonView file
•scripts.postinstall = node scripts/postinstall.mjs
High
Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg•scripts.postinstall = node scripts/postinstall.mjs
Medium
Ambiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgFindings
1 High1 Medium5 Low
HighInstall Time Lifecycle Scriptspackage.json
MediumAmbiguous Install Lifecycle Scriptpackage.json
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
LowNo License