Skip to content

Commit 1f1e8d8

Browse files
committed
add doc note about needing more mitigations
1 parent 4cecf1c commit 1f1e8d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/api/policy.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ the manifest and then immediately be used without searching.
146146
Any specifier missing from the list of dependency will result in an error
147147
according to the policy.
148148

149+
This will not prevent access to APIs through other means such as direct access
150+
to `require.cache` and/or through `module.constructor`. Other means such as
151+
attenuating variables are necessary to lock down that path of loading modules.
152+
149153
#### Example: Patched Dependency
150154

151155
Since a dependency can be redirected, you can provide attenuated or modified

0 commit comments

Comments
 (0)