whatileaked 0.5.2 → 0.5.3
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/README.md +3 -1
- package/dist/cli.js +8 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -114,7 +114,9 @@ fingerprint — so it is the part you can paste or screenshot anywhere:
|
|
|
114
114
|
whatileaked: 3 credentials sent to a model provider, across 561 transcripts.
|
|
115
115
|
```
|
|
116
116
|
|
|
117
|
-
A clean scan ends the same way, with `no credentials`.
|
|
117
|
+
A clean scan ends the same way, with `no credentials`. If some of it could not
|
|
118
|
+
be scanned, the line says how much, still in counts only — `(7 messages and 1
|
|
119
|
+
file not scanned)` — so a pasted partial scan never reads as a clean one.
|
|
118
120
|
|
|
119
121
|
---
|
|
120
122
|
|
package/dist/cli.js
CHANGED
|
@@ -220,13 +220,19 @@ var TerminalReporter = class {
|
|
|
220
220
|
* and stays that way. It is last so a screenshot can crop to it, unstyled so
|
|
221
221
|
* a copy carries nothing but the words, and it repeats the headline's
|
|
222
222
|
* transmitted-only count for the same reason the headline keeps memory files
|
|
223
|
-
* out of it.
|
|
223
|
+
* out of it. A partial scan says so here in counts, because this is the line
|
|
224
|
+
* that gets cropped to: without it a pasted "no credentials" overclaims.
|
|
224
225
|
*/
|
|
225
226
|
#share(sent, stats) {
|
|
226
227
|
const credentials = sent === 0 ? "no credentials" : plural(sent, "credential");
|
|
228
|
+
const missed = [
|
|
229
|
+
...stats.unscannable > 0 ? [plural(stats.unscannable, "message")] : [],
|
|
230
|
+
...stats.unread.length > 0 ? [plural(stats.unread.length, "file")] : []
|
|
231
|
+
];
|
|
232
|
+
const partial = missed.length === 0 ? "" : ` (${missed.join(" and ")} not scanned)`;
|
|
227
233
|
this.#write("");
|
|
228
234
|
this.#write(
|
|
229
|
-
`whatileaked: ${credentials} sent to a model provider, across ${plural(stats.transcripts, "transcript")}.`
|
|
235
|
+
`whatileaked: ${credentials} sent to a model provider, across ${plural(stats.transcripts, "transcript")}${partial}.`
|
|
230
236
|
);
|
|
231
237
|
}
|
|
232
238
|
};
|
package/package.json
CHANGED