agent-sanitizer 2.23.0 → 2.23.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/SECURITY.md +17 -0
- package/package.json +1 -1
package/SECURITY.md
CHANGED
|
@@ -24,6 +24,23 @@ that exposes a secret, or a crash on adversarial input are all in scope. Please
|
|
|
24
24
|
don't include real credentials in a report—a credential-shaped placeholder is
|
|
25
25
|
enough.
|
|
26
26
|
|
|
27
|
+
## Dependency supply chain
|
|
28
|
+
|
|
29
|
+
Dependency versions must age before this repo will resolve them:
|
|
30
|
+
`pnpm-workspace.yaml` sets `minimumReleaseAge` to 4320 minutes (3 days), so a
|
|
31
|
+
package published minutes ago cannot enter the lockfile. The npm compromises
|
|
32
|
+
this defends against are typically detected and unpublished within hours to a
|
|
33
|
+
couple of days, and the window is where that detection happens.
|
|
34
|
+
|
|
35
|
+
The setting gates resolution only — `pnpm install --frozen-lockfile` installs
|
|
36
|
+
what the lockfile already names — so it constrains `pnpm add` and `pnpm update`,
|
|
37
|
+
which is where a poisoned release would enter.
|
|
38
|
+
|
|
39
|
+
`minimumReleaseAgeExclude` exempts only `agent-sanitizer` itself, which this
|
|
40
|
+
repository builds and publishes with npm provenance. `tests/test_minimum_release_age.py`
|
|
41
|
+
fails if the window is removed or shortened, if an exemption names a version
|
|
42
|
+
nothing pins, or if a third-party package is exempted.
|
|
43
|
+
|
|
27
44
|
## What to expect
|
|
28
45
|
|
|
29
46
|
The maintainer will acknowledge your report and work with you on a fix and a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-sanitizer",
|
|
3
|
-
"version": "2.23.
|
|
3
|
+
"version": "2.23.1",
|
|
4
4
|
"description": "Defend an agent against hidden-content injection: strip payload-capable invisible Unicode and ANSI, splice out human-invisible HTML, and flag data-exfil URLs in untrusted text before any model sees it.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|