Socket
Socket
Sign inDemoInstall

eslint-plugin-anti-trojan-source

Package Overview
Dependencies
84
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "eslint-plugin-anti-trojan-source",
"version": "1.0.4",
"version": "1.0.5",
"description": "ESLint plugin to detect and stop Trojan Source attacks",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -70,4 +70,17 @@ <p align="center"><h1 align="center">

## Example output
The following is an example output when the plugin finds a Trojan Source attack in your codebase:
```bash
/Users/lirantal/projects/repos/@gigsboat/cli/index.js
1:1 error Detected potential trojan source attack with unicode bidi introduced in this comment: '‮ } ⁦if (isAdmin)⁩ ⁦ begin admins only ' anti-trojan-source/no-bidi
1:1 error Detected potential trojan source attack with unicode bidi introduced in this comment: ' end admin only ‮ { ⁦' anti-trojan-source/no-bidi
/Users/lirantal/projects/repos/@gigsboat/cli/lib/helper.js
2:1 error Detected potential trojan source attack with unicode bidi introduced in this code: '"user‮ ⁦// Check if admin⁩ ⁦"' anti-trojan-source/no-bidi
```
# Author
**eslint-plugin-anti-trojan-source** © [Liran Tal](https://github.com/lirantal), Released under the [Apache-2.0](./LICENSE) License.
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