r/Information_Security

I built an open-source Node.js library to protect web applications against stolen session tokens
▲ 3 r/Information_Security+1 crossposts

I built an open-source Node.js library to protect web applications against stolen session tokens

I've been working on a security-focused npm package called anti-session-hijack.

The idea came from a simple question:

>What happens if an attacker gets hold of a valid authentication token?

Traditional token validation can still consider that token legitimate. The attacker doesn't need the user's password anymore — they already have a valid session credential.

I built anti-session-hijack to add another layer of protection by binding an authentication token to a browser/device fingerprint and validating that binding on protected requests.

How it works

User logs in
     ↓
Authentication token generated
     ↓
Browser/device fingerprint generated
     ↓
Token ↔ Fingerprint binding stored in Redis
     ↓
Protected request
     ↓
Current fingerprint checked
     ↓
       ┌───────────────┐
       │ Match?        │
       └───────┬───────┘
          Yes  │  No
           ↓   ↓
        Allow  🚨 Suspicious session
                   ↓
             Block / revoke /
             alert the user

The package provides:

  • 🔐 Session/token binding
  • 🕵️ Stolen and reused token detection
  • 🖥️ Browser/device fingerprinting
  • ⚡ Redis-backed session storage
  • ☁️ Upstash Redis support
  • 🔷 TypeScript support
  • ⚛️ Next.js App Router support
  • 📨 Security alert capability
  • 🎫 JWT generation with a unique nonce

Installation:

npm install anti-session-hijack

Example:

const result = await verifySession(
  hashedToken,
  currentFingerprint,
  redisClient
);

if (result.hijacked) {
  // Revoke session
  // Notify user
  // Trigger security response
}

The package is MIT licensed and currently has 3K+ npm downloads.

GitHub:
https://github.com/Shield-Ltd/Anti-Session-Hijack-NPM

npm:
https://www.npmjs.com/package/anti-session-hijack

I'm posting this mainly because I'd like security-focused feedback, especially from people who have worked with authentication/session security.

A few things I'd really like feedback on:

  1. Is browser/device fingerprint binding a useful additional security layer in real-world applications?
  2. What bypass techniques should I test against?
  3. How would you handle legitimate fingerprint changes?
  4. What false-positive scenarios should I consider?
  5. Are there better approaches for detecting stolen session tokens?
  6. Would you use this alongside normal secure cookie/session practices?

I'm still developing it, so security criticism is very welcome. If you see a weakness in the design, I'd rather hear about it now than after someone deploys it.

u/SeparatePhoto8716 — 4 days ago
▲ 34 r/Information_Security+2 crossposts

I'm Selena Larson, Principal Threat Researcher at Proofpoint. My Day Zero talk was "Vibe-Coded Phish Slop Is Ruining My Life." Ask me anything about what criminals are really doing with AI, device code phishing, plus telling capability from noise. (AMA Tuesday, Oct 6 at 3 PM ET)

Hi PWN Community,

I'm Selena Larson, Principal Threat Researcher at Proofpoint. I gave a talk at Day Zero called "Vibe-Coded Phish Slop Is Ruining My Life," which is a fair summary of my year. I track email campaigns from the first lure through to the payload, then write up what the actors are actually doing rather than what the news cycle says they're doing.

Criminals are using AI. Most of what it produces is low quality. In one ten-day stretch we pulled seven near-identical phishing kits carrying the same structural tells in the page source, clearly assembled by a model rather than written by a person. What those crews gained was throughput, not skill. The lures are frequently worse than what a competent human would have written.

Not everything is slop, though. Device code phishing is a genuinely good technique, and it needs no AI at all. The attacker never asks for your password. They abuse the OAuth device authorization flow, get the target to enter a short code on a real Microsoft page, then walk off with valid tokens. There is no fake login page to spot, no credential to rotate afterward, plus the MFA prompt people are trained to distrust never appears.

The gap between those two is what I care about most. If you can tell an actor who got faster from an actor who got better, you can put your effort where it counts. That is good news for defenders, but only if we stop treating every AI headline as a five-alarm fire.

Ask me anything about:

  • The Day Zero talk: what phish slop looks like in the wild, at what volume
  • The vibe-coded kits: what tipped us off that no human wrote them
  • What cybercriminals are actually doing with AI right now, campaign by campaign
  • How device code phishing works, plus why the standard MFA advice does not cover it
  • How I separate real capability from noise when a new technique shows up
  • Where the low-quality output leaves an opening for defenders
  • If the output is that bad, why does any of it still work
  • Threat intel as a craft, running DISCARDED, where email threats are heading

I'll be here live on Tuesday, Oct 6 from 3 PM to 4 PM ET answering your questions in real time. You can leave questions in advance too, and I'll answer them when I go live.

Looking forward to your questions.

Hi PWN Community! I'm Selena Larson (u/selena_hax) AMA on Oct. 6!

reddit.com
u/_clickfix_ — 13 days ago
▲ 5 r/Information_Security+2 crossposts

Cybersecurity Professional (7 YOE, CISSP) Looking for Remote Contract/Freelance Work Alongside Full-Time Job — India

Hi everyone,

I’m looking for advice and recommendations on finding part-time, freelance or contract-based cybersecurity opportunities that I can take up alongside my current full-time job (not anything with conflict of interest, if it’s a right opportunity, I can think about leaving the job too).

I have close to 7 years of experience in cybersecurity, working across multiple domains, including product security, cloud security, vulnerability management, PSIRT, SOC, IAM and and security automation. My previous role also gave me hands-on exposure to several other areas of cybersecurity.

I’m currently working at a Tier 1 (or probably Tier 2) IT company and hold the CISSP certification along with AWS and Azure certifications. I’m planning to pursue CCSP and ISSAP next year.

So far, I’ve explored a few options:
Toptal: Applied but was waitlisted.
Braintrust: Registered, but haven’t received any opportunities or interview calls.
LinkedIn: Applied for several contract roles, but haven’t had much success with callbacks.
AI evaluation platforms: Tried platforms such as Micro1 and Mercor, but haven’t found consistent, reliable opportunities yet.

I’m based in India and have flexibility with working hours and time zones. However, I’m not eligible for roles requiring US federal clearance and I’m unable to take up on-site opportunities abroad.

I’d appreciate recommendations for:
Reliable platforms or talent networks that offer cybersecurity consulting, freelance or contract opportunities.
Companies that hire experienced cybersecurity professionals for remote, part-time, or project-based engagements.
Platforms offering international contracts that accept professionals based in India.
Any legitimate AI security, cybersecurity evaluation or expert-consulting opportunities that are worth exploring.
My areas of interest include cloud security (AWS/Azure), product security, vulnerability management, PSIRT, security automation and any other cybersecurity domain work.

I’m particularly interested in opportunities where I can contribute my existing expertise without having to leave my current job.

If you’ve personally worked through any such platforms or secured a cybersecurity contract while maintaining a full-time role, I’d love to hear about your experience.
Thanks in advance for your suggestions!

reddit.com
u/Ok_Category_2241 — 12 days ago
▲ 33 r/Information_Security+2 crossposts

Chrome UX Report Dump: August 2026 data added

I maintain Chrome UX Report Dumps, a collection of monthly Chrome UX Report website lists grouped by rank and published as compressed downloads. It’s meant to make the data easier to use without exporting it from BigQuery.

The latest update adds the August 2026 dataset: 18,294,881 entries across 10 files, totaling 94.7 MiB compressed. The repository now contains 1,064,254,496 entries across 67 monthly datasets, totaling 5.32 GiB compressed. Those are counts across monthly dumps, not a count of unique websites.

If you use website lists for research or security work, I’d welcome feedback. What would make these dumps more useful, and what features or formats would you like to see?

github.com
u/neathack — 13 days ago
▲ 3 r/Information_Security+1 crossposts

Next-Gen Web Application Firewall (WAF) & Edge Reverse Proxy

Please forgive the self-promotion here, but this project took an immense amount of time and effort to build, and it honestly turned out way too good for us to keep to ourselves.

We wanted to share our work with the community. Our team of security engineers built Aegis , focusing obsessively on raw performance and zero-overhead threat defense.

It handles deep packet inspection with sub-millisecond latency, featuring full OWASP Core Rule Set anomaly scoring (to prevent false positives), Layer 7 rate limiting to stop credential stuffing and bots, automated TLS management, and dynamic zero-downtime policy updates.

The community edition is 100% free and open-source.

We would love for you to check it out on GitHub, and if you have any feedback or recommendations for our team, we would really appreciate your thoughts:

https://github.com/divinelabio/aegis

u/Divinelab-io — 12 days ago