Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Bug report
description: Report a reproducible problem with API Scanner Pro
title: "[Bug]: "
labels:
- bug
body:
- type: markdown
attributes:
value: |
Please search existing issues before opening a new report.
- type: input
id: version
attributes:
label: Version or commit
placeholder: "2.0.0 / commit SHA"
validations:
required: true
- type: input
id: python
attributes:
label: Python version
placeholder: "3.11.x"
validations:
required: true
- type: textarea
id: environment
attributes:
label: Environment
description: OS, browser/runtime, and relevant configuration (never include secrets).
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behavior
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual behavior
validations:
required: true
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Feature request
description: Suggest an improvement to API Scanner Pro
title: "[Feature]: "
labels:
- enhancement
body:
- type: textarea
id: problem
attributes:
label: Problem or use case
description: What problem would this feature solve?
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposed solution
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives considered
validations:
required: false
24 changes: 24 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Summary

<!-- What does this PR change and why? -->

## Changes

-

## Testing

- [ ] `pytest -q`
- [ ] Relevant manual checks completed
- [ ] Documentation updated if needed

## Security

- [ ] No secrets, credentials, session tokens, or private data added
- [ ] Security-sensitive changes include tests/documentation

## Checklist

- [ ] Scope is focused
- [ ] Backward compatibility considered
- [ ] README/docs updated where appropriate
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

on:
push:
branches: ["main", "oss-readiness/**"]
pull_request:
branches: ["main"]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests
run: pytest -q
- name: Compile package
run: python -m compileall -q api_scanner
- name: Check CLI
run: python -m api_scanner.cli --help
38 changes: 38 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Contributing to API Scanner Pro

Thank you for considering a contribution.

## Development setup

1. Install Python 3.11+.
2. Clone the repository and create a virtual environment.
3. Install dependencies with `pip install -r requirements.txt`.
4. Install the Playwright browser with `playwright install chromium`.
5. Run the test suite with `pytest -q`.

## Before opening an issue

Search existing issues first. For security vulnerabilities, do **not** open a public issue; follow [SECURITY.md](SECURITY.md).

## Pull requests

1. Fork the repository.
2. Create a focused branch from `main`.
3. Add or update tests for behavioral changes.
4. Keep changes scoped and document user-visible behavior.
5. Run `pytest -q` locally.
6. Run `python -m api_scanner.cli --help` to verify the CLI entry point.
7. Open a pull request using the repository template.

All pull requests are checked by GitHub Actions. Maintainers may request changes before merging.

## Contribution principles

- Prefer small, reviewable changes.
- Do not commit secrets, API keys, session tokens, scan output, or personal data.
- Security-sensitive behavior should include tests and documentation.
- Explain heuristic limitations rather than presenting scanner results as guaranteed verdicts.

## Code of conduct

Be respectful, technical, and constructive. Contributions that violate the project's security or collaboration standards may be rejected.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Skbindas

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:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

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.
Loading
Loading