
Research
/Security News
11 Malicious Go Packages Distribute Obfuscated Remote Payloads
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
A simple CLI utility for copying files and directory trees to clipboard for easy sharing with LLMs.
ScriptMonkey is a simple CLI utility that helps developers quickly copy files and directory structures to their clipboard in a formatted way. Perfect for sharing code context with LLMs, creating documentation, or getting help with your projects.
To install ScriptMonkey, simply run:
pip install scriptmonkey
Copy one or more files to your clipboard with clean formatting:
scriptmonkey --files path/to/file1.py path/to/file2.js
The files will be copied to your clipboard in this format:
- - - - - - - - - -
Here are some details about the project.
# path/to/file1.py
<content from file1.py>
- - - - - - - - - -
# path/to/file2.js
<content from file2.js>
- - - - - - - - - -
Generate and copy a clean directory tree structure:
scriptmonkey --tree
This creates an intelligent directory tree that:
node_modules
, __pycache__
, .git
, etc.)*.log
, *.pyc
, .DS_Store
, etc.)vendor/
, build/ [...]
)target
directoriesCombine file contents with directory structure:
scriptmonkey --files src/main.py src/utils.py --tree
This copies both the specified files and the directory tree to your clipboard, giving you complete context for sharing with LLMs or documentation.
ScriptMonkey uses intelligent filtering to show you only the important parts of your project:
Shallow Directories (shown but contents hidden):
node_modules
, .git
, build
, dist
__pycache__
, .venv
, vendor
test
, tests
, assets
, img
Excluded Files (completely hidden):
*.log
, *.pyc
, *.swp
, .DS_Store
*.class
, *.o
, *.dll
, *.so
Special Handling:
target/release
directories show filtered contentsCopy a single Python file:
scriptmonkey --files main.py
Copy multiple configuration files:
scriptmonkey --files config.json requirements.txt .env.example
Just the directory tree:
scriptmonkey --tree
Everything together:
scriptmonkey --files src/*.py --tree
For users upgrading from ScriptMonkey 1.x: The scriptmonkey.run()
function is still available but no longer provides error handling functionality. It exists only for backward compatibility and does nothing.
Version 2.0.0 - Simplified for focus and reliability. No more AI dependencies, just pure clipboard utility goodness! 🐒
FAQs
A simple CLI utility for copying files and directory trees to clipboard for easy sharing with LLMs.
We found that scriptmonkey 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
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).