Warn by default; block when configured. Existing agent instructions in that directory can be erased, and the newly installed instructions can steer coding agents beyond merely making the dependency available.
AI security review
scanned · by lpm-firewall-ai
The package’s runtime dependency runs an install hook that replaces consumer agent instructions with rules that claim precedence over system and global user instructions. This is an install-time AI-agent control hijack, so the package should be blocked.
Static reason
One or more suspicious static signals were detected.
Trigger
Package installation, when the runtime dependency’s postinstall hook runs.
Impact
Existing agent instructions in that directory can be erased, and the newly installed instructions can steer coding agents beyond merely making the dependency available.
Mechanism
The hook recursively deletes the consumer project’s .agent/global/common directory and copies the dependency’s own rules there. Those rules claim precedence over system prompts and global user instructions.
Policy narrative
Installing this package installs its runtime dependency, whose postinstall hook replaces the consumer’s .agent/global/common directory with the dependency’s own agent rules. The rules claim precedence over system prompts and global user instructions, allowing them to alter how coding agents behave without a user command.
AI identified this as a dangerous AI-agent capability at 99.0% confidence with low false-positive risk.
Evidence for policy risk
This package declares @mudrichenkoevgeny/shared-foundation as a runtime dependency.
The dependency’s postinstall hook runs a script that targets the consumer project’s .agent/global/common directory and copies its own agent rules there.
The syncer recursively removes the target directory, recreates it, and copies the dependency’s rules into it, replacing existing contents.
The copied instructions claim that local project rules override system prompts and global user instructions.
Evidence against
The package itself declares no install lifecycle scripts.
The package’s stated purpose and entry point are a React web platform SDK; the dependency’s install-time agent-rule mutation is unrelated to that function.
Behavioral surface
SourceWeb socket
Supply chainHigh entropy strings · URL strings
ManifestNo license
Scanned 7 files · 344 KB of source
2 external domains referenced
api.example.com
www.w3.org
Findings
2 critical · 12 medium · 4 low
Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
Declared dependency @mudrichenkoevgeny/shared-foundation ^0.1.7 resolves today to 0.1.16, which we block by policy (0 of 14 versions blocked as malware; a policy block, not malware); 516 weekly downloads.
Avoid installing @mudrichenkoevgeny/web-platform-sdk-core-common@0.1.0. Remove it from direct dependencies and check your lockfile for transitive copies.
Choose an independently verified alternative or release. This report does not establish that other versions are safe.
If this version ran, check your AI agents' configuration and instruction files (the files this report lists) for changes you did not make, and remove them. This finding does not by itself establish malware intent.