Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
5556530
πŸ”§[Config] Bootstrap v2.3 development cycle
maruson08 Oct 7, 2026
60fdd55
πŸ”§[Config] Add production artifact provenance
maruson08 Oct 7, 2026
d6388e3
Merge pull request #119 from SecureToolsProject/chore/v2.3-bootstrap
maruson08 Oct 9, 2026
706bed9
Merge origin/v2.3 into chore/v2.3-artifact-provenance
maruson08 Oct 9, 2026
5eb4403
Merge pull request #120 from SecureToolsProject/chore/v2.3-artifact-p…
maruson08 Oct 9, 2026
7fbdfa9
πŸ”§[Config] Pin GitHub Actions to verified SHAs
maruson08 Oct 9, 2026
2d54574
Merge pull request #121 from SecureToolsProject/chore/v2.3-action-sha…
maruson08 Oct 9, 2026
34e83ed
πŸ›[Fix] Validate PDF signatures before parsing
maruson08 Oct 9, 2026
bf98e09
Merge pull request #122 from SecureToolsProject/fix/v2.3-pdf-signatur…
maruson08 Oct 9, 2026
b6c02ba
πŸ”§[Config] Enforce production HTTP security headers
maruson08 Oct 9, 2026
3d8e289
Merge pull request #123 from SecureToolsProject/fix/v2.3-http-securit…
maruson08 Oct 15, 2026
8e052d6
πŸ“„[Docs] Add vulnerability disclosure policy
maruson08 Oct 15, 2026
cb10621
Merge pull request #124 from SecureToolsProject/chore/v2.3-security-p…
maruson08 Oct 15, 2026
d6115f9
πŸ”§[Config] Add SAST and dependency monitoring
maruson08 Oct 15, 2026
e728eac
Merge pull request #125 from SecureToolsProject/chore/v2.3-security-m…
maruson08 Oct 15, 2026
626e289
πŸ“„[Docs] Document dependency maintenance assessment
maruson08 Oct 15, 2026
91e89a7
Merge pull request #127 from SecureToolsProject/chore/v2.3-dependency…
maruson08 Oct 15, 2026
f4a549c
✨[Feat] Improve responsive navigation and tool layouts
maruson08 Oct 15, 2026
4e6adf7
Merge pull request #129 from SecureToolsProject/feat/v2.3-mobile-ux
maruson08 Oct 15, 2026
77a53ae
πŸ”§[Config] Prepare v2.3.0 release readiness
maruson08 Oct 15, 2026
1154bf0
πŸ›[Fix] Exclude scaffolding from release artifacts
maruson08 Oct 15, 2026
4c24ffb
Merge pull request #130 from SecureToolsProject/chore/v2.3-release-re…
maruson08 Oct 30, 2026
59fbce7
πŸ“„[Docs] Confirm v2.3 release readiness
maruson08 Oct 30, 2026
3c69a92
Merge pull request #131 from SecureToolsProject/chore/v2.3-readiness-…
maruson08 Oct 30, 2026
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
7 changes: 7 additions & 0 deletions .github/codeql/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: First-party JavaScript and TypeScript
paths-ignore:
- assets/vendor/**
- node_modules/**
- dist/**
- .ts-build/**
- tests/fixtures/**
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "v2.3"
schedule:
interval: "weekly"
pull-request-branch-name:
prefix: "chore/dependabot"
commit-message:
# Trailing space prevents Dependabot from inserting a colon after [Config].
prefix: "πŸ”§[Config] "
- package-ecosystem: "npm"
directory: "/"
target-branch: "v2.3"
schedule:
interval: "weekly"
open-pull-requests-limit: 5
pull-request-branch-name:
prefix: "chore/dependabot"
commit-message:
prefix: "πŸ”§[Config] "
39 changes: 36 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- main
- v2
- v2.2
- v2.3

permissions:
contents: read
Expand All @@ -19,12 +19,12 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
fetch-depth: 0

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 24

Expand Down Expand Up @@ -70,8 +70,41 @@ jobs:
- name: Verify prepared production OCR assets
run: npm run build

- name: Validate generated artifact and source provenance
run: node scripts/validate-build.mjs

- name: Run static tool validation
run: npm test

- name: Run real local OCR smoke test
run: node tests/ocr-smoke.test.mjs

- name: Install pinned browser for artifact security verification
run: npx playwright install --with-deps chromium

- name: Verify HTTP headers, browser OCR and downloads on built artifact
run: node tests/production/local-smoke.mjs

- name: Verify responsive navigation, metadata layouts and accessibility
run: node tests/browser/responsive.mjs

- name: Inspect isolated release review artifact
run: node scripts/inspect-release-artifact.mjs

- name: Retain inspected release review artifact
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: release-review-${{ github.sha }}
path: .ts-build/release-review
if-no-files-found: error
retention-days: 7

- name: Retain artifact browser diagnostics
if: failure()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: artifact-browser-diagnostics
path: |
.ts-build/production-smoke
.ts-build/responsive
retention-days: 7
23 changes: 10 additions & 13 deletions .github/workflows/deploy-cloudflare-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ jobs:

steps:
- name: Check out repository
# actions/checkout v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 24

Expand Down Expand Up @@ -77,13 +76,7 @@ jobs:
# Keep the generic/GitHub Pages CNAME; strip only the isolated Pages copy.
rm -f "$BRIDGE_DIRECTORY/CNAME"

printf '%s\n' \
'https://secure-tools-web-bridge.pages.dev/*' \
' X-Robots-Tag: noindex, nofollow' \
'' \
'https://:version.secure-tools-web-bridge.pages.dev/*' \
' X-Robots-Tag: noindex, nofollow' \
> "$BRIDGE_DIRECTORY/_headers"
# _headers is copied from the reviewed config by build-site, not overwritten.

[[ ! -e "$BRIDGE_DIRECTORY/CNAME" ]]
[[ ! -e "$BRIDGE_DIRECTORY/_worker.js" ]]
Expand Down Expand Up @@ -126,8 +119,7 @@ jobs:

- name: Deploy to Cloudflare Pages
id: deploy
# cloudflare/wrangler-action v4.0.0
uses: cloudflare/wrangler-action@ebbaa1584979971c8614a24965b4405ff95890e0
uses: cloudflare/wrangler-action@ebbaa1584979971c8614a24965b4405ff95890e0 # v4.0.0
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
Expand All @@ -139,6 +131,11 @@ jobs:
DEPLOYMENT_URL: ${{ steps.deploy.outputs.deployment-url }}
run: node tests/deployment-smoke.mjs "$DEPLOYMENT_URL" noindex

- name: Verify deployed source provenance
env:
DEPLOYMENT_URL: ${{ steps.deploy.outputs.deployment-url }}
run: node scripts/verify-build-provenance.mjs "$DEPLOYMENT_URL" "$GITHUB_SHA"

- name: Validate stable deployment aliases
shell: bash
run: |
Expand All @@ -147,7 +144,7 @@ jobs:
local indexing="$2"

for attempt in 1 2 3 4 5 6; do
if node tests/deployment-smoke.mjs "$url" "$indexing"; then
if node tests/deployment-smoke.mjs "$url" "$indexing" && node scripts/verify-build-provenance.mjs "$url" "$GITHUB_SHA"; then
return 0
fi
[[ "$attempt" -lt 6 ]] || return 1
Expand Down
17 changes: 14 additions & 3 deletions .github/workflows/production-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
description: Immutable deployment origin to compare
required: true
type: string
source_commit:
description: Full source SHA of the deployment being verified
required: true
type: string
# Bootstrap this new workflow before its explicitly authorized merge.
# Ordinary development PRs do not run the production browser gate.
pull_request:
Expand All @@ -33,23 +37,30 @@ jobs:
env:
PRODUCTION_ORIGIN: ${{ inputs.production_origin || 'https://tools.securetools.app' }}
IMMUTABLE_ORIGIN: ${{ inputs.immutable_origin || 'https://b9802e7e.secure-tools-web-bridge.pages.dev' }}
EXPECTED_PRODUCTION_SHA: ${{ inputs.source_commit || github.sha }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false
- uses: actions/setup-node@v4
# Read canonical version and verification code from the expected deployment.
ref: ${{ inputs.source_commit || github.sha }}
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 24
cache: npm
- run: npm ci --ignore-scripts
- name: Require deployment source provenance
run: |
node scripts/verify-build-provenance.mjs "$PRODUCTION_ORIGIN" "$EXPECTED_PRODUCTION_SHA"
node scripts/verify-build-provenance.mjs "$IMMUTABLE_ORIGIN" "$EXPECTED_PRODUCTION_SHA"
- run: npx playwright install --with-deps chromium
- run: npm run test:production
- name: Publish technical result
if: always()
run: cat .ts-build/production-smoke/summary.md >> "$GITHUB_STEP_SUMMARY"
- name: Retain failure diagnostics (synthetic fixtures only)
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: production-smoke-diagnostics
path: .ts-build/production-smoke
Expand Down
60 changes: 60 additions & 0 deletions .github/workflows/security-monitoring.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Security monitoring

on:
pull_request:
branches: [v2.3, main]
push:
branches: [v2.3, main]
schedule:
- cron: '29 3 * * 3'
workflow_dispatch:

permissions:
contents: read

jobs:
codeql:
name: CodeQL JavaScript and TypeScript
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false
- name: Initialize JS/TS analysis
uses: github/codeql-action/init@24c54180a607b1449ed407dd24f251e4e9147c8d # v4.38.3
with:
languages: javascript-typescript
build-mode: none
config-file: .github/codeql/config.yml
- name: Analyze and upload results
uses: github/codeql-action/analyze@24c54180a607b1449ed407dd24f251e4e9147c8d # v4.38.3
with:
category: /language:javascript-typescript

advisories:
name: Lockfile and vendor advisories
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 24
- name: Install locked inputs without scripts
run: npm ci --ignore-scripts
- name: Check inventory and scanner failure regressions
run: node tests/security-monitoring.test.mjs
- name: Query lockfile advisories (all severities, including dev inputs)
run: |
mkdir -p .ts-build
npm audit --json --audit-level=low > .ts-build/npm-audit.json
- name: Query exact vendored versions and project release advisories
env:
GITHUB_TOKEN: ${{ github.token }}
run: node scripts/check-security-advisories.mjs .ts-build/npm-audit.json
4 changes: 3 additions & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
</head>
<body class="page-shell" data-page="notFound">
<a class="skip-link" href="#main" data-i18n="common.skip">Skip to main content</a>
<header class="site-header"><div class="container header-inner"><a class="brand" href="./" aria-label="Secure Tools home" data-i18n-aria-label="common.aria.home"><span class="brand-mark" aria-hidden="true"></span><span>Secure Tools</span></a><div class="header-controls"><label class="control-label"><span data-i18n="common.language">Language</span><select class="control" data-language-select><option value="en">English</option><option value="ko">ν•œκ΅­μ–΄</option><option value="ja">ζ—₯本θͺž</option><option value="es">EspaΓ±ol</option><option value="de">Deutsch</option><option value="fr">FranΓ§ais</option></select></label><label class="control-label"><span data-i18n="common.theme">Theme</span><select class="control" data-theme-select><option value="system" data-i18n="common.themes.system">System</option><option value="light" data-i18n="common.themes.light">Light</option><option value="dark" data-i18n="common.themes.dark">Dark</option></select></label></div></div></header>
<header class="site-header"><div class="container header-inner"><a class="brand" href="./" aria-label="Secure Tools home" data-i18n-aria-label="common.aria.home"><span class="brand-mark" aria-hidden="true"></span><span>Secure Tools</span></a>
<details class="header-menu"><summary data-i18n="common.menu">Menu</summary><div class="header-menu__content"><nav class="site-nav" aria-label="Primary navigation" data-i18n-aria-label="common.aria.primaryNavigation"><a href="./#tools" data-i18n="common.nav.tools">Tools</a><a href="./privacy/" data-i18n="common.nav.privacy">Privacy</a><a href="./about/" data-i18n="common.nav.about">About</a><a href="https://github.com/SecureToolsProject/Secure_Tools" data-repository-link target="_blank" rel="noreferrer" data-i18n="common.nav.source">Source</a></nav><div class="header-controls"><label class="control-label"><span data-i18n="common.language">Language</span><select class="control" data-language-select><option value="en">English</option><option value="ko">ν•œκ΅­μ–΄</option><option value="ja">ζ—₯本θͺž</option><option value="es">EspaΓ±ol</option><option value="de">Deutsch</option><option value="fr">FranΓ§ais</option></select></label><label class="control-label"><span data-i18n="common.theme">Theme</span><select class="control" data-theme-select><option value="system" data-i18n="common.themes.system">System</option><option value="light" data-i18n="common.themes.light">Light</option><option value="dark" data-i18n="common.themes.dark">Dark</option></select></label></div></div></details>
</div></header>
<main id="main" class="page-main not-found"><div class="container prose"><p class="eyebrow" data-i18n="notFound.eyebrow">404</p><h1 data-i18n="notFound.title">This page is not here.</h1><p data-i18n="notFound.description">The address may be outdated or mistyped.</p><a class="button button--primary" href="./" data-i18n="notFound.action">Return home</a></div></main>
<footer class="site-footer"><div class="container footer-inner"><div><a class="brand" href="./" aria-label="Secure Tools home" data-i18n-aria-label="common.aria.home"><span class="brand-mark" aria-hidden="true"></span><span>Secure Tools</span></a><p data-i18n="common.footerStatement">Your files stay on your device.</p></div><nav aria-label="Footer navigation" data-i18n-aria-label="common.aria.footerNavigation"><a href="./#tools" data-i18n="common.nav.tools">Tools</a><a href="./privacy/" data-i18n="common.nav.privacy">Privacy</a><a href="./about/" data-i18n="common.nav.about">About</a><a href="https://github.com/SecureToolsProject/Secure_Tools" data-repository-link target="_blank" rel="noreferrer" data-i18n="common.nav.source">Source</a></nav></div></footer>
<script type="module" src="./js/main.js"></script>
Expand Down
12 changes: 6 additions & 6 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

## Protected branches

- `main` is production-only. `v2.2` is the active integration branch for the v2.2.0 development cycle.
- Never commit feature, fix, test, or chore work directly to `main` or `v2.2`.
- `main` is production-only. `v2.3` is the active integration branch for the v2.3.0 development cycle.
- Never commit feature, fix, test, or chore work directly to `main` or `v2.3`.

## Development work

- Create short-lived `feat/*`, `fix/*`, `test/*`, or `chore/*` branches from `v2.2`.
- Sprint and routine development pull requests target `v2.2`, not `main`.
- Create short-lived `feat/*`, `fix/*`, `test/*`, or `chore/*` branches from `v2.3`.
- Sprint and routine development pull requests target `v2.3`, not `main`.
- After a successful merge, delete only the merged short-lived branch when cleanup is authorized.

## Commit messages
Expand All @@ -30,8 +30,8 @@

## Production promotion

- Normal development reaches `main` only through a dedicated release or hardening pull request from `v2.2`.
- Creating the v2.2.0 tag or release requires separate explicit authorization after final verification.
- Normal development reaches `main` only through a dedicated release or hardening pull request from `v2.3`.
- Creating the v2.3.0 tag or release requires separate explicit authorization after final verification.

## Hotfixes

Expand Down
39 changes: 38 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,43 @@
# Changelog

## Unreleased
## 2.3.0 β€” Release candidate, unpublished

### Security and reliability

- Bind CI artifacts to the source commit and canonical package version through
`/build-info.json`; live production equality remains a release-time gate.
- Pin all external GitHub Actions to reviewed full SHAs; prepare reviewed weekly
Actions/npm maintenance, whose default-branch activation is still pending.
- Require `%PDF-` at byte zero before original-source PDF parsing. Signature
admission is not a parser safety or resource-budget guarantee.
- Add root SECURITY.md, supported-version boundaries and verified GitHub private
vulnerability reporting.
- Deliver the reviewed HTTP CSP, no-referrer, Permissions-Policy and nosniff policy
in the isolated Pages artifact. Live delivery is not yet signed off.
- Add JS/TS CodeQL and exact lockfile/vendor advisory monitoring. Nested/native
dependency coverage remains incomplete; no-known-advisory results are bounded.
- Retain pdf-lib 1.17.1 and JSZip 3.10.1 following the maintenance assessment;
investigate a pdf-lib successor separately in v2.4, without an automatic upgrade.
- Exclude repository instructions, package manifests and build configs from the
public artifact root; retain license metadata and isolate Cloudflare CNAME removal.

### UX

- Compact mobile navigation, language and theme into a native disclosure, with
keyboard/Escape support and usable navigation without JavaScript.
- Reduce category-bar padding, keep one scrollable row and retain touch targets.
- Improve mobile workspace spacing, intended system-font inheritance and narrow
viewport fit without changing the brand or adding a component framework.
- Move both metadata scope cards after results on desktop/mobile, preserving all
supported-scope limitations.
- Theme native selects and supported desktop pickers while retaining mobile
platform pickers and existing form/accessibility behavior.

Image OCR, PDF OCR/TXT and searchable PDF export are existing v2.2 capabilities,
not newly introduced v2.3 tools. Release notes are a candidate record, not
production GO, audit closure, release publication or deployment authorization.

## Earlier development history

### Added

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,19 @@ See the [privacy model](./docs/privacy-model.md) for exact guarantees and bounda
- [PDF Organizer](https://tools.securetools.app/pdf/organize/) β€” preview, reorder, rotate, remove, and export pages.
- [PDF to Images](https://tools.securetools.app/pdf/to-images/) β€” render pages to PNG, JPEG, or WebP.
- [PDF Metadata Inspector & Cleaner](https://tools.securetools.app/pdf/metadata/) β€” inspect and remove supported document-info fields.
- [PDF to Text OCR](https://tools.securetools.app/pdf/to-text/) β€” recognize selected pages locally and save text or a searchable PDF.

### Image

- [Image Converter](https://tools.securetools.app/image/converter/) β€” convert JPEG, PNG, and WebP batches.
- [Image Resize](https://tools.securetools.app/image/resize/) β€” resize batches by pixels or percentage.
- [Image Compressor](https://tools.securetools.app/image/compress/) β€” quality-compress images and compare byte results.
- [Image Metadata Inspector & Cleaner](https://tools.securetools.app/image/metadata/) β€” inspect supported metadata and save a verified cleaned copy without pixel re-encoding.
- [Image to Text OCR](https://tools.securetools.app/image/to-text/) β€” recognize English/Korean text locally and save editable UTF-8 text.

### Privacy

The [Privacy hub](https://tools.securetools.app/privacy/) links to the specialized Image and PDF metadata tools. It is a cross-category navigation surface, not a generic sanitizer. Scan/OCR and Media remain planned.
The [Privacy hub](https://tools.securetools.app/privacy/) links to the specialized Image and PDF metadata tools. It is a cross-category navigation surface, not a generic sanitizer. The Scan & OCR category links to the existing OCR tools; document scanning and Media tools remain planned.

Detailed formats, limits, and behavior are listed in [tool status](./docs/tool-status.md).

Expand Down
Loading
Loading