
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
code-graph-llm
Advanced tools
A language-agnostic, ultra-compact codebase mapper and agent memory system designed specifically for LLM agents. It optimizes context and token usage while enabling agents to learn from their own mistakes across sessions.
code-graph init.PROJECT_REFLECTIONS.md.imports, requires, extends, and implements..gitignore files.## GRAPH EDGES section.npm install -g code-graph-llm
# OR
npm install --save-dev code-graph-llm
# Initialize Agent Rules and Reflection files (Scaffolding)
code-graph init
# Generate the llm-code-graph.md map
code-graph generate
# Record a project reflection (Memory)
code-graph reflect <CATEGORY> "Lesson learned"
# Example: code-graph reflect ENV "Always use 'cmd /c npm' on Windows."
# Start the live watcher for real-time updates
code-graph watch
# Install the Git pre-commit hook (Enforces Map & Memory sync)
code-graph install-hook
Instruct your agent to follow the STRICT AGENT PROTOCOL in AGENT_RULES.md. This ensures the agent:
PROJECT_REFLECTIONS.md before starting any task.llm-code-graph.md) after structural changes.The llm-code-graph.md file provides a high-level map and structural graph for relational reasoning:
Example Map Entry:
- [CORE] src/auth.js (↑3 ↓5) [TODO: Add JWT rotation] | desc: Handles user authentication.
- syms: [login [ (username, password) ], validateToken [ (token: string) ]]
## GRAPH EDGES
[src/auth.js] -> [imports] -> [jwt-library]
[AdminUser] -> [inherits] -> [BaseUser]
"Before acting, read
llm-code-graph.md. Follow the protocol inAGENT_RULES.md. If you encounter a bug or an environment quirk, use thecode-graph reflecttool to record the lesson inPROJECT_REFLECTIONS.md."
.gitignore.imports, requires, extends, and implements.llm-code-graph.md file with a dedicated ## GRAPH EDGES section.FAQs
Compact, language-agnostic codebase mapper for LLM token efficiency.
The npm package code-graph-llm receives a total of 130 weekly downloads. As such, code-graph-llm popularity was classified as not popular.
We found that code-graph-llm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.