Commit graph

14 commits

Author SHA1 Message Date
elipeter
6126cfef36 Expand README with detailed project description, features, usage examples, configuration guide, and license section. Add new TypeScript vulnerability patterns to improve scanning capabilities. 2025-06-17 11:20:19 +02:00
elipeter
a96bcd5982 Renamed project from "Nano" to "Nyx" across codebase and configuration files. 2025-06-17 10:56:00 +02:00
elipeter
0b465bdacb Renamed project from "Nano" to "Nyx" across codebase and configuration files. 2025-06-17 10:55:50 +02:00
elipeter
7bfce3ad7f Update dependencies and enhance pattern handling
- Added `tracing-appender` and `log` dependencies to improve error logging.
- Enhanced `walk.rs` to add error handling with warning logs for ignore patterns.
- Expanded Rust and JavaScript patterns with additional security vulnerability checks.
- Simplified and updated pattern queries for improved accuracy and consistency.
- Removed unused print statement in `index.rs`.
2025-06-17 02:22:14 +02:00
elipeter
22369cc404 Add multi-language AST-pattern scanning support
- Introduced `patterns` module with language-specific vulnerability patterns.
- Added `query_cache` utility for caching compiled queries.
- Expanded `scan.rs` to support scanning multiple languages dynamically.
- Updated `Cargo.toml` with additional tree-sitter dependencies.
- Added severity filtering to `ScannerConfig` for better configuration.
2025-06-17 01:17:48 +02:00
elipeter
0831b9fb48 Add unit tests for Indexer and update dependencies
- Introduced comprehensive tests for `Indexer` to validate file scan behavior.
- Added `tempfile` and `filetime` as dependencies for testing.
- Removed unused dependencies (`anyhow`, `nix`, `regex`).
2025-06-17 00:03:48 +02:00
elipeter
15920328d7 Add unit tests for Indexer and update dependencies
- Introduced comprehensive tests for `Indexer` to validate file scan behavior.
- Added `tempfile` and `filetime` as dependencies for testing.
- Removed unused dependencies (`anyhow`, `nix`, `regex`).
2025-06-17 00:02:32 +02:00
elipeter
aef0aea973 - Rename index.rs to database.rs for clarity in purpose
- Update references in `scan.rs` to the renamed module
- Add `cargo clippy` step to CI for linting
2025-06-16 23:54:18 +02:00
elipeter
33c819bd3a Add .idea to .gitignore to ignore IDE-specific files 2025-06-16 23:52:39 +02:00
elipeter
0b97f70bde Add .idea to .gitignore to ignore IDE-specific files 2025-06-16 23:51:36 +02:00
elipeter
8543b62216 Remove credit section from README.md as it is no longer applicable 2025-06-16 23:48:58 +02:00
elipeter
ada7835efa - Remove unused filetypes.rs and walk.rs modules
- Introduce `index.rs` for file indexing using SQLite
- Expand configuration options in `config.rs`, including `excluded_files`
- Update dependencies in `Cargo.toml` to include SQLite, hashing, and regex libraries
2025-06-16 23:48:04 +02:00
Eli Peter
646293ed72
Create rust.yml 2025-06-16 17:43:12 +02:00
elipeter
ab5558f537 Added foundational modules for core functionalities:
- Introduced `walk.rs` as a parallel directory walker for search operations.
- Implemented basic index handling in `commands/index.rs`.
- Created `utils/config.rs` for configuration management with placeholders for future enhancements.
2025-06-16 16:46:22 +02:00