Node.js Policies
Bradley Farias - GoDaddy
Model
Model
Parent Process
Node.js Process
Node.js
Loader
Application
Disk |
CLI Arguments* |
ENV Variables |
STDIN |
Assets
Attackers (malicious or not)
Software
Attacking
Out of scope
Use of untrusted modules with ambient authority
Mutate application logic by loading differences
Adding policies
--policy ./policy.json
Attacking the policy file
Next Steps
Frozen core
Constrain APIs
HTTPS Imports
Model
Node.js Process
Node.js
Loader
Node.js
HTTPS
Server |
Node.js
DNS
Assets
Attack Vectors
HTTPS Whitelisting
Data Imports
Attack Vectors
DATA Whitelisting