AI Analysis
The package exhibits high risk of credential harvesting and potential misuse of shell execution, raising concerns about its legitimacy and intent.
- High credential risk due to suspicious file operations
- Shell execution patterns need further review to rule out malicious use
Per-check LLM notes
- Network: No network calls detected, indicating low risk of data exfiltration or C2 communications.
- Shell: Shell execution patterns observed are likely related to Git operations for version control, but should be reviewed for context to ensure they are not being used maliciously.
- Obfuscation: No signs of code obfuscation or encoding patterns.
- Credentials: High risk of credential harvesting observed through suspicious file operations on system critical files.
- Metadata: The maintainer's author name is missing or very short and the author seems to be new or inactive, raising some suspicion but not conclusive evidence of malice.
Package Quality Overall: Medium (6.2/10)
Test suite present — 35 test file(s) found
Test runner config found: conftest.pyTest runner config found: pyproject.toml35 test file(s) detected (e.g. __init__.py)
Some documentation present
Documentation URL: "Documentation" -> https://forge.axm-protocols.ioDetailed PyPI description (5974 chars)
No contributing guide or governance files found
No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
Partial type annotation coverage
Classifier: Typing :: Typed281 type-annotated function signatures detected in source
Limited contributor diversity
2 unique contributor(s) across 100 commits in axm-protocols/axm-forgeTwo distinct contributors found
Heuristic Checks
No suspicious network call patterns found
No obfuscation patterns detected
Found 6 shell execution pattern(s)
ne try: result = subprocess.run( ["git", "stash", "create", "-m", "axm-edit chec# Reset tracked files subprocess.run( ["git", "checkout", "--", "."], cwdcreated by batch_edit subprocess.run( ["git", "clean", "-fd"], cwd=root,if checkpoint: subprocess.run( ["git", "stash", "apply", checkpoint],es] try: result = subprocess.run( [ "ruff", "chec""" try: result = subprocess.run( [ "claude", "-p
Found 4 credential access pattern(s)
: ops = [CreateOp(file="../etc/passwd", content="hacked")] result = batch_apply(tmp_project,: ops = [DeleteOp(file="../etc/passwd")] result = batch_apply(tmp_project, ops) assert noeplaceOp( file="../etc/passwd", edits=[Edit(line=1, old="a", new="b")],=str(tmp_project), file="../../etc/passwd") assert result.success is False assert "es
No typosquatting candidates detected
Email domain looks legitimate: axm-protocols.io>
All external links appear legitimate
Repository axm-protocols/axm-forge appears legitimate
2 maintainer concern(s) found
Author name is missing or very shortAuthor "" appears to have only 1 package on PyPI (new or inactive account)
No known vulnerabilities found in OSV database.
AI App Starter Prompt
Develop a fully-functional mini-application named 'BatchFileAI' using Python and the 'axm-edit' package. This application will allow users to perform atomic batch file editing tasks on multiple files simultaneously, enhancing their productivity when dealing with large sets of files. ### Features: 1. **User Interface**: Create a simple and intuitive command-line interface (CLI) where users can interact with the application. 2. **Atomic Batch File Editing**: Implement functionality to edit multiple files at once with the assurance that all changes are applied atomically, meaning if one file fails to update, none of the files are altered. 3. **Customizable Search & Replace**: Users should be able to specify search terms and replacement terms, allowing them to modify content across many files efficiently. 4. **Regex Support**: Enable advanced users to use regular expressions for more complex search and replace operations. 5. **File Pattern Matching**: Allow users to define patterns (e.g., '*.txt', '*.md') to select which files to operate on. 6. **Undo Functionality**: Provide an option to revert changes made during a session in case of mistakes. 7. **Logging**: Maintain logs of actions performed, including timestamps and details about each operation. 8. **Help and Documentation**: Ensure the application provides comprehensive help and documentation through the CLI and online resources. ### Utilizing 'axm-edit': - Use 'axm-edit' for its core capabilities of atomic batch file editing. Specifically, utilize its functions to ensure that file modifications are handled safely and efficiently. - Integrate 'axm-edit' to handle the search and replace operations across multiple files, ensuring that the process is both powerful and user-friendly. - Explore 'axm-edit' documentation to discover any additional utilities or features that could enhance the application's functionality. ### Steps to Build the Application: 1. **Setup Environment**: Install Python and necessary packages, including 'axm-edit'. 2. **Design CLI**: Plan out the commands and options available to the user, focusing on simplicity and ease of use. 3. **Implement Core Functionality**: Write code to implement the basic functionalities such as searching and replacing text across files using 'axm-edit'. 4. **Enhance with Advanced Features**: Add support for regex, file pattern matching, undo functionality, and logging. 5. **Testing**: Thoroughly test the application to ensure it works correctly under various conditions and edge cases. 6. **Documentation and Deployment**: Prepare detailed documentation and deploy the application for public use.
💬 Discussion Feed
No discussion yet. Be the first to share your thoughts!
Report Abuse / Security Issue