Skip to content

Commit

Permalink
Fix missing sink in getWrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
timokoessler committed Dec 13, 2024
1 parent 1fc6452 commit d6c7767
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Zen will autonomously protect your Node.js applications against:
* 🛡️ [Prototype pollution](./docs/prototype-pollution.md)
* 🛡️ [Path traversal attacks](https://owasp.org/www-community/attacks/Path_Traversal)
* 🛡️ [Server-side request forgery (SSRF)](./docs/ssrf.md)
* 🛡️ JS injection

Zen operates autonomously on the same server as your Node.js app to:

Expand Down
2 changes: 2 additions & 0 deletions library/agent/protect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ import { Fastify } from "../sources/Fastify";
import { Koa } from "../sources/Koa";
import { ClickHouse } from "../sinks/ClickHouse";
import { Eval } from "../sinks/Eval";
import { Function } from "../sinks/Function";

function getLogger(): Logger {
if (isDebugging()) {
Expand Down Expand Up @@ -138,6 +139,7 @@ export function getWrappers() {
new Koa(),
new ClickHouse(),
new Eval(),
new Function(),
];
}

Expand Down

0 comments on commit d6c7767

Please sign in to comment.