n0s1 is a secret scanner for Project Management and Issue Tracker tools such as Jira and Linear.
Project description
n0s1 - Secret Scanner
n0s1 (pronunciation) is an open-source secret scanner designed for Project Management and Issue Tracker tools such as Jira, Confluence and Linear.app. It scans all tickets/items/issues within the chosen platform in search of any leaked secrets in the titles, bodies, and comments.
These secrets are identified by comparing them against an adaptable configuration file named regex.toml. The scanner specifically looks for sensitive information, which includes:
- Github Personal Access Tokens
- GitLab Personal Access Tokens
- AWS Access Tokens
- PKCS8 private keys
- RSA private keys
- SSH private keys
- npm access tokens
Currently supported target platforms:
Quick Start
python3 -m pip install n0s1
n0s1 jira_scan --server "https://<YOUR_JIRA_SERVER>.atlassian.net" --api-key "<YOUR_JIRA_API_TOKEN>"
docker run spark1security/n0s1 jira_scan --server "https://<YOUR_JIRA_SERVER>.atlassian.net" --api-key "<YOUR_JIRA_API_TOKEN>"
git clone https://github.com/spark1security/n0s1.git
cd n0s1/src/n0s1
python3 -m venv n0s1_python
source n0s1_python/bin/activate
python3 -m pip install -r ../../requirements.txt
python3 n0s1.py jira_scan --server "https://<YOUR_JIRA_SERVER>.atlassian.net" --api-key "<YOUR_JIRA_API_TOKEN>"
deactivate
jobs:
jira_secret_scanning:
steps:
- uses: spark1security/n0s1-action@main
env:
JIRA_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
with:
scan-target: 'jira_scan'
user-email: 'service_account@<YOUR_COMPANY>.atlassian.net'
platform-url: 'https://<YOUR_COMPANY>.atlassian.net'
GitLab CI - Add the following job to your .gitlab-ci.yml file:
jira-scan:
stage: dast
image:
name: spark1security/n0s1
entrypoint: [""]
script:
- n0s1 jira_scan --email "service_account@<YOUR_COMPANY>.atlassian.net" --api-key $JIRA_TOKEN --server "https://<YOUR_COMPANY>.atlassian.net" --report-file gl-dast-report.json --report-format gitlab
- apt-get update
- apt-get -y install jq
- cat gl-dast-report.json | jq
artifacts:
reports:
dast:
- gl-dast-report.json
Want more? Check out Spark 1
If you liked n0s1, you will love Spark 1 which builds on top of n0s1 to provide even more enhanced capabilities for a complete security management offering.
Don't forget to check out the https://spark1.us website for more information about our products and services.
If you'd like to contact Spark 1 or request a demo, please use the free consultation form.
Community
n0s1 is a Spark 1 open source project.
Learn about our open source work and portfolio here.
Contact us about any matter by opening a GitHub Discussion here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file n0s1-1.0.7.tar.gz
.
File metadata
- Download URL: n0s1-1.0.7.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61a4a7499ba4a5db795bb2ded1a1529c4a98b719ce166cdeb8568e3a631fe8fe |
|
MD5 | 1f4cb22238bf4c429ae09afb5d0c9886 |
|
BLAKE2b-256 | 9022077815de4d5811a26b1e22b5b62177637e611c3a2aac9981c05a0bc82602 |
Provenance
File details
Details for the file n0s1-1.0.7-py3-none-any.whl
.
File metadata
- Download URL: n0s1-1.0.7-py3-none-any.whl
- Upload date:
- Size: 37.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc81f2a702849f2d28bb223c2b3925bcba998bde5298a13a5abe3615f1c0ad50 |
|
MD5 | 77822847e669b5006e1bb3d0b36b8cc4 |
|
BLAKE2b-256 | 306f49baaf089ac49eb74c9c682f42d26594923158ce9beaaafc6c2c5b462916 |