
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
A utility that processes a source code repository and converts it into a single text file optimized for AI context windows. It respects .gitignore
rules and intelligently skips binary files, large files, and common directories that should be excluded.
.gitignore
patternsnode_modules
, .git
, etc.)You don't need to install this package permanently. Use it directly with your preferred package manager:
# Using npx (npm)
npx repotok [project-path] [output-path]
# Using yarn
yarn dlx repotok [project-path] [output-path]
# Using pnpm
pnpm dlx repotok [project-path] [output-path]
# Using bun
bunx repotok [project-path] [output-path]
# Process the current directory and save output to the default location
npx repotok
# Process a specific project path
npx repotok /path/to/your/project
# Process a project and save to a specific output file
npx repotok /path/to/your/project /path/to/output/file.txt
./tokenized_project.txt
if not specified.gitignore
rules (if available)When working with AI coding assistants like GitHub Copilot, Claude, or ChatGPT, providing comprehensive context about your project can significantly improve the quality of assistance. This tool creates a single file that you can easily upload or paste into your AI interface to give it full context about your codebase.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project was created (almost) entirely with AI assistance, and we welcome contributions similarly created or enhanced by AI tools. We believe that AI-human collaboration represents the future of software development.
When contributing:
MIT
FAQs
A tokenizer for AI repositories
We found that repotok demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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 uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.