kobako 0.11.0 → 0.11.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.
- checksums.yaml +4 -4
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +7 -0
- data/Cargo.lock +1 -1
- data/README.md +1 -1
- data/SECURITY.md +35 -0
- data/data/kobako.wasm +0 -0
- data/ext/kobako/Cargo.toml +1 -1
- data/ext/kobako/src/runtime/ambient.rs +1 -1
- data/lib/kobako/version.rb +1 -1
- data/release-please-config.json +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4988fb0777b2a0365c1ca00ec1056d421a43dbd0ddfbe816c90c3b7eb11326c
|
|
4
|
+
data.tar.gz: f9354c79ca9da885844339f9cc04d4c1770743eee6998dfc117190bc3e59fade
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7aaee105f78b392b7b7ce7b922213e09d27a459c5625473d55eaf380a5cbdd949d6c7440ba04bcf25dcdcf44c493e9b2270fe1e5ec62ce85a139b2ea0b711ad2
|
|
7
|
+
data.tar.gz: 541e6250ca3b3f634e8588e6b7a9af419d287ed212c2809c2e563834510a762b8d0e1fd43f1bb564a4338e6db2176eee2c5a164ec69532253a27a1bd77658d11
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{".":"0.11.
|
|
1
|
+
{".":"0.11.1","wasm/kobako-core":"0.5.1","wasm/kobako":"0.5.1","wasm/kobako-io":"0.5.1","wasm/kobako-regexp":"0.5.1","wasm/kobako-baker":"0.5.1"}
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.11.1](https://github.com/elct9620/kobako/compare/v0.11.0...v0.11.1) (2026-06-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **guest:** adopt beni 0.7.0 protected dispatch (B-51) ([c61655b](https://github.com/elct9620/kobako/commit/c61655bcead336d32a4b6ff7ff1b34c21cdfccd9))
|
|
9
|
+
|
|
3
10
|
## [0.11.0](https://github.com/elct9620/kobako/compare/v0.10.0...v0.11.0) (2026-06-13)
|
|
4
11
|
|
|
5
12
|
|
data/Cargo.lock
CHANGED
data/README.md
CHANGED
|
@@ -329,7 +329,7 @@ forwards to another Service but never reads — while a named subset becomes an
|
|
|
329
329
|
|
|
330
330
|
Guest code can name any `<Namespace>::<Member>` path, but a forged name only resolves to
|
|
331
331
|
something you bound — the real authorization gate is this host-side allowlist. Give each
|
|
332
|
-
trust context its own Sandbox, and see [`docs/security.md`](docs/security.md) for the rest
|
|
332
|
+
trust context its own Sandbox, and see [`docs/security-model.md`](docs/security-model.md) for the rest
|
|
333
333
|
as security-design concerns: validating untrusted input, default-deny external effects,
|
|
334
334
|
and controlling the return surface.
|
|
335
335
|
|
data/SECURITY.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
kobako runs untrusted guest code inside an in-process Wasm sandbox, so a break in
|
|
4
|
+
its isolation boundary is treated as a security issue. This file is about **reporting
|
|
5
|
+
such an issue**; for how the boundary is meant to work and where your
|
|
6
|
+
responsibilities as a host begin, see [`docs/security-model.md`](docs/security-model.md).
|
|
7
|
+
|
|
8
|
+
## Supported versions
|
|
9
|
+
|
|
10
|
+
kobako is pre-1.0. Security fixes land on the latest released `0.x` version only;
|
|
11
|
+
upgrade to it before reporting.
|
|
12
|
+
|
|
13
|
+
## Reporting a vulnerability
|
|
14
|
+
|
|
15
|
+
Report privately through GitHub's **[Report a vulnerability](https://github.com/elct9620/kobako/security/advisories/new)**
|
|
16
|
+
flow — please do not open a public issue or pull request for a suspected vulnerability.
|
|
17
|
+
|
|
18
|
+
Include the affected version, a minimal guest script or host setup that reproduces the
|
|
19
|
+
issue, and what boundary you expected to hold. You can expect an initial acknowledgement
|
|
20
|
+
within a few days; once a fix or mitigation is agreed, disclosure is coordinated through
|
|
21
|
+
a GitHub Security Advisory. Reporters are credited in the published advisory unless you
|
|
22
|
+
ask to stay anonymous.
|
|
23
|
+
|
|
24
|
+
## Scope
|
|
25
|
+
|
|
26
|
+
In scope is anything that lets guest code cross the isolation boundary it should not:
|
|
27
|
+
reaching host memory, the filesystem, the network, or `ENV`; obtaining ambient time or
|
|
28
|
+
entropy the host froze; reaching a `Namespace::Member` you never bound; or a
|
|
29
|
+
memory-safety fault in the host codec or wasmtime driver.
|
|
30
|
+
|
|
31
|
+
Out of scope is what a bound Service is *designed* to expose: if guest code reaches a
|
|
32
|
+
method because you bound an object carrying it, that is a host-side authorization
|
|
33
|
+
choice, not a sandbox escape — narrow the bound surface as described in the security
|
|
34
|
+
model. Resource exhaustion that stays within the limits you configured is likewise
|
|
35
|
+
expected behaviour, not a vulnerability.
|
data/data/kobako.wasm
CHANGED
|
Binary file
|
data/ext/kobako/Cargo.toml
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
//! seed. No allowlisted mrbgem reaches these preview1 imports today
|
|
6
6
|
//! (`build_config/wasi.rb`), but a future libc-backed gem would silently
|
|
7
7
|
//! obtain real time and host entropy — a covert timing channel and a
|
|
8
|
-
//! nondeterminism source the sandbox deliberately excludes (docs/security.md).
|
|
8
|
+
//! nondeterminism source the sandbox deliberately excludes (docs/security-model.md).
|
|
9
9
|
//! Pinning the clocks to the Unix epoch and the RNG to a constant stream
|
|
10
10
|
//! makes that denial a property of the host, not merely of the gem allowlist.
|
|
11
11
|
//!
|
data/lib/kobako/version.rb
CHANGED
data/release-please-config.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
|
|
3
3
|
"release-type": "ruby",
|
|
4
4
|
"last-release-sha": "5694da60b08931ea260e13025689b8d8c47d767a",
|
|
5
|
+
"group-pull-request-title-pattern": "chore${scope}: release${component} ${version}",
|
|
5
6
|
"packages": {
|
|
6
7
|
".": {
|
|
7
8
|
"component": "kobako",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kobako
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aotokitsuruya
|
|
@@ -53,6 +53,7 @@ files:
|
|
|
53
53
|
- Cargo.toml
|
|
54
54
|
- LICENSE
|
|
55
55
|
- README.md
|
|
56
|
+
- SECURITY.md
|
|
56
57
|
- data/kobako.wasm
|
|
57
58
|
- ext/kobako/Cargo.toml
|
|
58
59
|
- ext/kobako/extconf.rb
|