Skip to content
Open
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
38da001
chore: update package.json for canary test
pullfrog[bot] Apr 7, 2026
6eaf817
chore: update package.json for canary postinstall test
pullfrog[bot] May 4, 2026
fc0783d
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] May 4, 2026
26f9a2a
chore: update package.json for canary postinstall test
pullfrog[bot] May 13, 2026
dc61558
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] May 13, 2026
d28166f
test: write canary package.json for dependency installation test
pullfrog[bot] May 13, 2026
305db59
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] May 13, 2026
7c0abfb
test: write canary postinstall package.json
pullfrog[bot] May 20, 2026
eb6b030
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] May 20, 2026
0bf7d57
test: canary postinstall package.json
pullfrog[bot] May 20, 2026
8fb5b97
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] May 20, 2026
90ec089
test: add canary postinstall script to package.json
pullfrog[bot] May 23, 2026
f8fcafe
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] May 23, 2026
2eb9635
test: write canary postinstall package.json
pullfrog[bot] May 23, 2026
f19560a
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] May 23, 2026
fa453cf
test: overwrite package.json for canary postinstall test
pullfrog[bot] May 26, 2026
f5525bf
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] May 26, 2026
e380d32
test: canary postinstall package.json
pullfrog[bot] May 26, 2026
7fe728e
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] May 26, 2026
866fada
test: write canary package.json for dependency install test
pullfrog[bot] May 27, 2026
e553115
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] May 27, 2026
e8af768
chore: update package.json for canary postinstall test
pullfrog[bot] May 28, 2026
44599f9
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] May 28, 2026
df3e71d
test: replace package.json for postinstall canary test
pullfrog[bot] May 29, 2026
4df7794
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] May 29, 2026
86601f0
chore: update package.json for canary test
pullfrog[bot] May 29, 2026
221bd33
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] May 29, 2026
bb1eead
chore: update package.json for canary postinstall test
pullfrog[bot] Jun 1, 2026
1896312
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] Jun 1, 2026
58770a3
test: add postinstall canary marker to package.json
pullfrog[bot] Jun 1, 2026
8d43b6f
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] Jun 1, 2026
b534670
chore: update package.json for canary postinstall test
pullfrog[bot] Jun 1, 2026
21e8cb2
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] Jun 1, 2026
1de63e7
test: update package.json for canary postinstall test
pullfrog[bot] Jun 2, 2026
c2469a1
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] Jun 2, 2026
dd8c5a9
test: add postinstall canary to package.json
pullfrog[bot] Jun 2, 2026
5468329
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] Jun 2, 2026
b3c140b
chore: update package.json for canary postinstall test
pullfrog[bot] Jun 9, 2026
2e04b17
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] Jun 9, 2026
4de5fba
test: add postinstall canary script to package.json
pullfrog[bot] Jun 9, 2026
2026298
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] Jun 9, 2026
8b1626f
chore: add postinstall canary script for dependency install testing
pullfrog[bot] Jun 10, 2026
2a61946
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] Jun 10, 2026
48c500d
test: update package.json for postinstall canary test
pullfrog[bot] Jun 10, 2026
d90e946
Merge remote-tracking branch 'origin/pullfrog/canary-test-package-jso…
pullfrog[bot] Jun 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "test-repo",
"private": true,
"type": "module",
"name": "test-pkg",
"version": "1.0.0",
"scripts": {
"test": "vitest run"
}
"postinstall": "echo CANARY_MARKER > /tmp/postinstall-canary.txt"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test artifact postinstall script committed to repository

High Severity

A postinstall script that writes CANARY_MARKER to /tmp/postinstall-canary.txt is being committed. This will execute on every npm install for all contributors, writing to the filesystem as a side effect. This is a canary-test artifact that doesn't belong in the committed package.json. It also replaces the "test": "vitest run" script, so npm test no longer works despite test files (test/math.test.ts using vitest) still existing in the repo.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit fc0783d. Configure here.

},
"dependencies": {}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removal of private: true risks accidental publication

Medium Severity

The "private": true field was removed as part of the canary test changes. This fixture/test repository (per the README) is not intended for npm publication, and without private: true, an accidental npm publish would succeed. The "type": "module" field was also removed, which could affect module resolution for the existing TypeScript source files that use ES module syntax.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit fc0783d. Configure here.

}