ses 0.15.24 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NEWS.md +6 -1
- package/README.md +22 -1
- package/dist/lockdown.cjs +636 -502
- package/dist/lockdown.mjs +636 -502
- package/dist/lockdown.umd.js +636 -502
- package/dist/lockdown.umd.min.js +1 -1
- package/dist/ses.cjs +636 -502
- package/dist/ses.mjs +636 -502
- package/dist/ses.umd.js +636 -502
- package/dist/ses.umd.min.js +1 -1
- package/package.json +4 -4
- package/src/commons.js +1 -16
- package/src/enablements.js +14 -9
- package/src/make-hardener.js +31 -19
package/NEWS.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
User-visible changes in SES:
|
|
2
2
|
|
|
3
|
-
# v0.
|
|
3
|
+
# v0.16.1 (2023-08-07)
|
|
4
4
|
|
|
5
5
|
- Censors the pattern `{...import(specifier)`}.
|
|
6
6
|
We previously censored `import(specifier)` and expressly allowed
|
|
@@ -8,6 +8,11 @@ User-visible changes in SES:
|
|
|
8
8
|
The relaxation for the latter form in version 0.13.0 inadvertently allowed
|
|
9
9
|
import with the spread operator.
|
|
10
10
|
|
|
11
|
+
# v0.16.0 (2022-10-19)
|
|
12
|
+
|
|
13
|
+
- When hardening a typed array, detects and locks down properties named as
|
|
14
|
+
number-coercible strings that are not index properties.
|
|
15
|
+
|
|
11
16
|
# v0.15.23 (2022-09-27)
|
|
12
17
|
|
|
13
18
|
- Fixes the unhandled promise rejection logic to report unhandled rejections
|
package/README.md
CHANGED
|
@@ -32,6 +32,19 @@ SES starts where the Caja project left off
|
|
|
32
32
|
https://github.com/google/caja/wiki/SES, and goes on to introduce compartments
|
|
33
33
|
and modernize the permitted JavaScript features.
|
|
34
34
|
|
|
35
|
+
Please join the conversation on our [Mailing List][SES Strategy Group] and
|
|
36
|
+
[Matrix][Endo Matrix].
|
|
37
|
+
We record a [weekly conference call][SES Strategy Recordings] with the Hardened
|
|
38
|
+
JavaScript engineering community.
|
|
39
|
+
|
|
40
|
+
_Hardened JavaScript_, Kris Kowal:
|
|
41
|
+
|
|
42
|
+
[](https://www.youtube.com/watch?v=RoodZSIL-DE)
|
|
43
|
+
|
|
44
|
+
_Don't add Security, Remove Insecurity_, Mark Miller:
|
|
45
|
+
|
|
46
|
+
[](https://www.youtube.com/watch?v=u-XETUbxNUU)
|
|
47
|
+
|
|
35
48
|
## Install
|
|
36
49
|
|
|
37
50
|
```sh
|
|
@@ -689,7 +702,11 @@ report available on the
|
|
|
689
702
|
[Agoric blog](https://agoric.com/blog/technology/metamask-agoric-hardened-js-security-review/)
|
|
690
703
|
that includes links to recordings of code walk-throughs and technical
|
|
691
704
|
discussion, and issues are tagged
|
|
692
|
-
[audit-SEStival](https://github.com/endojs/endo/
|
|
705
|
+
[audit-SEStival](https://github.com/endojs/endo/issues?q=label%3Aaudit-sestival).
|
|
706
|
+
The [video recordings of the MetaMask and Agoric collaborative
|
|
707
|
+
review](https://www.youtube.com/playlist?list=PLzDw4TTug5O2d1XOdB7VNCZbIxRZu3gov).
|
|
708
|
+
provide useful background for future audits, reviews, and for learning more
|
|
709
|
+
about how the `ses` shim constructs a Hardened JavaScript environment.
|
|
693
710
|
|
|
694
711
|
In addition to vulnerability assessments, active efforts to [formally verify
|
|
695
712
|
the Agoric kernel](https://agoric.com/blog/technology/the-path-to-verified-blds-how-informal-systems-and-agoric-are-using-formal-methods-analysis-to-improve-software-integrity/)
|
|
@@ -711,3 +728,7 @@ For non-security bugs, please use the [regular Issues page][SES Issues].
|
|
|
711
728
|
[SES proposal]: https://github.com/tc39/proposal-ses
|
|
712
729
|
[SECURITY.md]: https://github.com/endojs/endo/blob/master/packages/ses/SECURITY.md
|
|
713
730
|
[SES Issues]: https://github.com/endojs/endo/issues
|
|
731
|
+
[SES Strategy Group]: https://groups.google.com/g/ses-strategy
|
|
732
|
+
[SES Strategy Recordings]: https://www.youtube.com/playlist?list=PLzDw4TTug5O1jzKodRDp3qec8zl88oxGd
|
|
733
|
+
[Endo Matrix]: https://matrix.to/#/#endojs:matrix.org
|
|
734
|
+
|