format
Formats
#javascript
#typescript
#js
#ts

JavaScript & TypeScript — Supported formats

JavaScript and TypeScript are first-class in Decoder. Upload single files, ZIPs, or import a GitHub repo.

What it is

Static + malware analysis for the JS/TS ecosystem.

Why it's useful

Most supply-chain attacks ship through npm — pattern detection plus manifest parsing matters.

How Decoder implements it

Language-aware rules, package.json parsing, postinstall hook detection, entropy + obfuscation signals.

When to use it

Any JS/TS project review, especially fresh npm dependencies.

When NOT to use it

Runtime taint tracking — Decoder is static.

Practical example

A postinstall script with curl|sh trips supply-chain alarms.

FAQ

Glossary

Postinstall
npm lifecycle script that runs after install — common attack vector.

Related