René's URL Explorer Experiment


Title: Error when calling createComment with markdown in body · Issue #723 · actions/github-script · GitHub

Open Graph Title: Error when calling createComment with markdown in body · Issue #723 · actions/github-script

X Title: Error when calling createComment with markdown in body · Issue #723 · actions/github-script

Description: Describe the bug The following error is thrown: Error: Unhandled error: SyntaxError: Unexpected identifier 'pickle' To Reproduce Steps to reproduce the behavior: run the following action step: - name: Create comment uses: actions/github-...

Open Graph Description: Describe the bug The following error is thrown: Error: Unhandled error: SyntaxError: Unexpected identifier 'pickle' To Reproduce Steps to reproduce the behavior: run the following action step: - na...

X Description: Describe the bug The following error is thrown: Error: Unhandled error: SyntaxError: Unexpected identifier 'pickle' To Reproduce Steps to reproduce the behavior: run the following action st...

Opengraph URL: https://github.com/actions/github-script/issues/723

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when calling createComment with markdown in body","articleBody":"**Describe the bug**\nThe following error is thrown:\nError: Unhandled error: SyntaxError: Unexpected identifier 'pickle'\n\n**To Reproduce**\nSteps to reproduce the behavior:\nrun the following action step:\n\n```yaml\n    - name: Create comment\n      uses: actions/github-script@v9.0.0\n      with:\n        github-token: ${{ inputs.github-token }}\n        script: |\n          github.rest.issues.createComment({\n            issue_number: context.issue.number,\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            body: `### 1. **Arbitrary Code Execution via `pickle.loads()` on Untrusted Input** (`test01.py`)\n \n              **Severity: CRITICAL**\n             \n              The file `test01.py` takes user input directly and passes it to `pickle.loads()`. This is a well-known **Remote Code Execution (RCE)** vulnerability. An attacker can craft a malicious pickle payload that executes arbitrary system commands upon deserialization.\n             \n              Additionally, `pickle.loads()` expects `bytes`, but `input()` returns a `str` in Python 3, so this code will also raise a **`TypeError`** at runtime.\n             \n              **File: `test01.py`**\n             \n              ```python\n              # Current (vulnerable and broken):\n              import pickle\n             \n              data = input(\"Enter serialized data: \")\n              obj = pickle.loads(data)\n              ```\n             \n              **Suggested fix:**\n             \n              ```python\n              import json\n             \n              data = input(\"Enter serialized data: \")\n              obj = json.loads(data)\n              ```\n             \n              If `pickle` is absolutely required (not recommended with untrusted input), at minimum fix the type error and restrict allowed classes:\n             \n              ```python\n              import pickle\n              import io\n             \n              ALLOWED_CLASSES = {\n                  # explicitly list allowed classes here\n              }\n             \n              class RestrictedUnpickler(pickle.Unpickler):\n                  def find_class(self, module, name):\n                      if (module, name) in ALLOWED_CLASSES:\n                          return ALLOWED_CLASSES[(module, name)]\n                      raise pickle.UnpicklingError(f\"Forbidden class: {module}.{name}\")\n             \n              data = input(\"Enter serialized data: \")\n              obj = RestrictedUnpickler(io.BytesIO(data.encode('latin-1'))).load()\n              ```\n            `\n          })\n```\n\n**Expected behavior**\nNo error and comment is created.\n\n**Desktop (please complete the following information):**\n - OS: Ubuntu 22.04\n - Runner 2.331.0\n\n\n**Additional context**\nThe markdown text is actually a dynamic response generated by a LLM, hence no way to modify the markdown contents.","author":{"url":"https://github.com/wkwi2r","@type":"Person","name":"wkwi2r"},"datePublished":"2026-07-16T03:21:01Z","url":"https://github.com/actions/github-script/issues/723"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d8bcb2eb-a74b-6eb9-9072-ec4fc40bcbbe
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAACA:26ECEB:3315777:40F592D:6B01C3A9
html-safe-nonce19364e2276c86d35cfb911d24612928528074d53de3e5bb4f41c7088de5911a6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUNBOjI2RUNFQjozMzE1Nzc3OjQwRjU5MkQ6NkIwMUMzQTkiLCJ2aXNpdG9yX2lkIjoiMzk1NzE1NjA5NDA1NjQ0ODkzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacecae8e342f6b3ccf1f4939738720875e790249afe401d52f417e3e92e7c721c7
hovercard-subject-tagissue:4898364677
github-keyboard-shortcutsrepository,issues,actions,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/github-script/723/issue_layout
twitter:imagehttps://opengraph.githubassets.com/664554d8b3e0efb5b62ab22463fb5587d7a0d0aac8d461db47dd23a26f77fb34/actions/github-script/issues/723
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/664554d8b3e0efb5b62ab22463fb5587d7a0d0aac8d461db47dd23a26f77fb34/actions/github-script/issues/723
og:image:altDescribe the bug The following error is thrown: Error: Unhandled error: SyntaxError: Unexpected identifier 'pickle' To Reproduce Steps to reproduce the behavior: run the following action step: - na...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewkwi2r
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/actions/github-script git https://github.com/actions/github-script.git
octolytics-dimension-user_id44036562
octolytics-dimension-user_loginactions
octolytics-dimension-repository_id205262760
octolytics-dimension-repository_nwoactions/github-script
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id205262760
octolytics-dimension-repository_network_root_nwoactions/github-script
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/actions/github-script/issues/723#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fgithub-script%2Fissues%2F723
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fgithub-script%2Fissues%2F723
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=actions%2Fgithub-script
Reloadhttps://github.com/actions/github-script/issues/723
Reloadhttps://github.com/actions/github-script/issues/723
Reloadhttps://github.com/actions/github-script/issues/723
actionshttps://github.com/actions
github-scripthttps://github.com/actions/github-script
Codehttps://github.com/actions/github-script
Issues60 (60)https://github.com/actions/github-script/issues
Pull requests36 (36)https://github.com/actions/github-script/pulls
Discussionshttps://github.com/actions/github-script/discussions
Actionshttps://github.com/actions/github-script/actions
Security and qualityhttps://github.com/actions/github-script/security
Insightshttps://github.com/actions/github-script/insights
https://github.com/actions/github-script
New issuehttps://github.com/login?return_to=https://github.com/actions/github-script/issues/723
New issuehttps://github.com/login?return_to=https://github.com/actions/github-script/issues/723
Error when calling createComment with markdown in bodyhttps://github.com/actions/github-script/issues/723#top
https://github.com/wkwi2r
wkwi2rhttps://github.com/wkwi2r
on Jul 16, 2026https://github.com/actions/github-script/issues/723#issue-4898364677
https://github.com/dkfellows
dkfellowshttps://github.com/dkfellows
on Aug 12, 2026https://github.com/actions/github-script/issues/723#issuecomment-5267393942
Sign up for freehttps://github.com/signup?return_to=https://github.com/actions/github-script/issues/723
Sign in to commenthttps://github.com/login?return_to=https://github.com/actions/github-script/issues/723
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.