unicodeveloper / unicodeveloper/globalthreatmap

No TLS enforcement, no `Strict-Transport-Security` header

Open
#41 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.8k
Forks
300
PR merge metrics
No merged PRs in 30d

Description

  • Context: Cloud
  • Category: Interception
  • Severity: High

Evidence

The application has no mechanism to enforce HTTPS. The Docker image listens on port 3000 with plain HTTP:

# Dockerfile
EXPOSE 3000
CMD ["pnpm", "start"]

There is no TLS termination configured at the application level. If the container is placed behind a reverse proxy that does not enforce HTTPS, or if accessed directly on an internal network, all traffic — including Bearer tokens in query strings (see C-02), article content sent to OpenAI, and streamed SSE responses — is transmitted in plaintext.

Since next.config.ts contains no Strict-Transport-Security header, browsers will not enforce HTTPS even on subsequent loads.

Attack scenario (MITM): On a corporate network with TLS inspection enabled, the inspection appliance can read all Bearer tokens in URL query strings and all content sent to external AI services, without the application or user being aware.

Affected files: Dockerfile, next.config.ts

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Dockerfile and next.config.ts, then trace how the application is exposed and how response headers are configured. Confirm the deployment path enforces HTTPS and that Strict-Transport-Security is delivered, including when the container is accessed through a reverse proxy; verify the resulting configuration with an HTTPS request.

Written by the indexing model from the issue text.

Assessment

Tech stack
dockerfile, typescript
Domain
devops, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.