Socket
Socket
Sign inDemoInstall

husher

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    husher

1. ⭐️ hush - encode input string into hidden text with zero-width characters 2. ⭐️ dehush - reverse the process and discover the hidden text 3. ⭐️ sanitize - sanitize the text from hidden text characters 4. Support dehush of flag emojis, utf-8 and other m


Version published
Weekly downloads
8
decreased by-38.46%
Maintainers
1
Install size
20.0 kB
Created
Weekly downloads
 

Readme

Source

image

A library to analyze text that contains special unicode characters that are unnoticeable by naked eye but are interpretable by LLMs.

Features:

  1. ⭐️ hush - encode input string into hidden text with zero-width characters
  2. ⭐️ dehush - reverse the process and discover the hidden text
  3. ⭐️ sanitize - sanitize the text from hidden text characters
  4. Support dehush of flag emojis, utf-8 and other multilingual charsets, while the hidden characters are type of flag emoji with custom payload.

example input: "clear text, flag: 🇨🇦, utf-8: א, hushed payload: 󠁳󠁨󠁨󠁨󠀡" ->
example output: "clear text, flag: 🇨🇦, utf-8: א, hushed payload: shhh!"

Demo:

Husher-demo

Usage:

via NPX:

encode: npx husher hush="hello world"

npx husher sanitize="<encoded string>"

via npm/yarn:

yarn install husher npm install husher

interactive demonstration tool:

You can also play with the online tool which performs hush/dehush operations on client-side.

Credits:

The credit for uncovering the impacts of this method goes to @goodside. Make sure to follow up. image


Scaffolded with 🏗 TS-scaffold

FAQs

Last updated on 18 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc