Skip to content

Commit 9e2d971

Browse files
committed
License and readme.
1 parent 11ba2c7 commit 9e2d971

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

LICENSE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright 2025 Isaac Elbaz
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- **High Performance**: Scans large codebases quickly by leveraging parallelism.
1414
- **Language-Aware**: Uses Tree-sitter parsers to understand code structure, reducing false positives.
1515
- **Extensible Patterns**: Define custom patterns in a simple TOML file to find new libraries and algorithms.
16-
- **Multiple Language Support**: Scans C, C++, Java, Python, Go, Swift, Objective-C, and Rust.
16+
- **Multiple Language Support**: Scans C, C++, Java, Python, Go, Swift, PHP, Objective-C, and Rust.
1717
- **Flexible Output**: Outputs findings as JSONL to stdout or a file for easy integration with other tools.
1818
- **Cross-Platform**: Built in Rust, runs on macOS, Linux, and Windows.
1919

@@ -103,3 +103,27 @@ The output is a stream of JSONL objects, where each object represents a single f
103103
## Patterns
104104

105105
`cipherscope` relies on a `patterns.toml` file to define what to look for. This file contains definitions for:
106+
- **Libraries**: Anchors used to detect specific crypto libraries, like import statements.
107+
- **Algorithms**: Symbols and function calls associated with specific algorithms (e.g., "AES-GCM") within a library.
108+
109+
You can customize this file to add support for new libraries or improve detection for existing ones.
110+
111+
## Development
112+
113+
### Building from Source
114+
1. Clone the repository.
115+
2. Build the project using Cargo:
116+
```bash
117+
cargo build --release
118+
```
119+
The binary will be located at `./target/release/cipherscope`.
120+
121+
### Running Tests
122+
To run the integration test suite:
123+
```bash
124+
cargo test
125+
```
126+
127+
## License
128+
129+
This project is licensed under the MIT License. See the `LICENSE` file for details.

0 commit comments

Comments
 (0)