Security: validate nested stream wrapper in stream: resource (CWE-22) (#1195) The built-in stream: resource type let a template bypass Security stream restrictions. BasePlugin::load() matches the 'stream' sysplugin before the stream_get_wrappers()/isTrustedStream() check, so a resource such as stream:php://filter/read=convert.base64-encode/resource=/path was opened by StreamPlugin::getContent() via fopen() on the nested php:// wrapper without ever validating it. This bypassed Security::$streams (including Security::$streams = null) and allowed reading arbitrary local files. Parse the wrapper scheme from the resolved path in StreamPlugin::getContent() and validate it with Security::isTrustedStream() before fopen(), giving the stream: resource the same check the direct wrapper path already receives. Adds regression tests covering the disabled-streams bypass, the not-on-allowlist case, and a positive test that an explicitly allowed wrapper still works.
Items tagged: @github (60)
Recent Commits to smarty:master
-
Security: validate nested stream wrapper in stream: resource (CWE-22)…
Recent Commits to requests
-
Add AI Policy
Add AI Policy The immense influx of low-quality pull requests, many of which are duplicated tens of times, are creating unnecessary toil. As such, we now need to spell out what used to be basic, decent, and reasonable open source behaviour because many are just using LLMs to spam and reputation farm instead of trying to make meaningful contributions.
elcio's Activity
-
elcio created a branch
elcio created a branch in elcio/codecon_auth · February 18, 2026 15:03
refs/heads/main in elcio/codecon_auth
Updated Feb 18
-
elcio created a branch
elcio created a branch in elcio/imersao_agentes_ia · February 4, 2026 15:05
refs/heads/main in elcio/imersao_agentes_ia
Updated Feb 4
-
elcio made this repository public
elcio made elcio/nodeteste public · November 25, 2025 11:35 elcio/nodeteste
JavaScript Updated Nov 25
Recent Commits to freecom:master
-
support up to LASTDRIVE=32 (lDOS or patched MS-DOS v7)
support up to LASTDRIVE=32 (lDOS or patched MS-DOS v7) Changing to a drive or running DIR with only a drive letter and colon didn't work. (DIR with drive letter, colon, backslash did work already.) Without this patch applied: C:\>]: Bad command or filename - "]:". C:\>dir ]: File not found. - ']:' C:\>dir ]:\ Volume in drive ] is SRDXMS 2.10 Directory of ]:\ LDEBUG COM 94,208 09-19-25 6:35p 1 file(s) 94,208 bytes 0 dir(s) 948,224 bytes free With this patch applied: C:\>]: ]:\>dir ]: Volume in drive ] is SRDXMS 2.10 Directory of ]:\ LDEBUG COM 94,208 09-19-25 6:35p 1 file(s) 94,208 bytes 0 dir(s) 948,224 bytes free
plainspooky's Activity
-
plainspooky starred einar-saukas/ZX0
plainspooky starred einar-saukas/ZX0 · June 1, 2025 02:19 einar-saukas/ZX0
Data compressor for 8-bit computers and low-end platforms
Assembly 186 Updated Sep 24, 2023
Recent Commits to documents
-
Ajustes para uso de CNPJ alfanumérico tanto no CNPJ como nas chaves d…
Ajustes para uso de CNPJ alfanumérico tanto no CNPJ como nas chaves dos documentos fiscais eletrônicos.
elcio's Activity
-
elcio created a repository visie/wprunner
-
elcio created a repository visie/visie4web
-
elcio created a repository visie/vilma
elcio created a repository visie/vilma · December 20, 2024 12:18
visie/vilma
Visie's Bulma theme
Updated Dec 20
Recent Commits to styleguide:gh-pages
-
Update the HTML Document Type guidance (#862)
Update the HTML Document Type guidance (#862) This update explicitly declares quirks mode to be against the style guide and strengthens the recommendation from “preferred” to “mandatory”. It also updates examples to use lowercase for consistency and clarifies that the style guide applies to Sass.
Recent Commits to documents
-
inclusão do CNPJ alfanumerico para 2026
inclusão do CNPJ alfanumerico para 2026
elcio's Activity
-
elcio created a repository elcio/callithrix
elcio created a repository elcio/callithrix · October 17, 2024 23:45
elcio/callithrix
A simple MPA framework built with Starlette and FastAPI.
Updated Oct 17
Recent Commits to python-fire:master
-
Remove .format in favor of f-strings (#551)
Remove .format in favor of f-strings (#551) * Remove .format in favor of f-strings
Recent Commits to kint:master
-
Use more modern tricks
Use more modern tricks We've got a few new features between 7.1 and 7.4 so this is nice. Unfortunately we still have to use array_merge for arrays with string keys since that wasn't supported until 8.1
Recent Commits to styleguide:gh-pages
-
Update C++ style guide (#835)
Update C++ style guide (#835) - Explicitly ban `long double` - Use absl formatting libraries or `std::ostream` over printf-style functions. - Portability: use serialization libraries instead of copying the in-memory representation. - Update guidance to use `uintptr_t` (previously `intptr_t`) when working with pointers as integers. - Ban C++20 modules. - Ban coroutines (though this is expected to be temporary). - Minor wording updates.
Recent Commits to kint:master
-
Parser: Improve TRIGGER_ mask definitions
Parser: Improve TRIGGER_ mask definitions
Recent Commits to awesome-php:master
-
Update link for PHP_CodeSniffer
Update link for PHP_CodeSniffer PHP_CodeSniffer is under new management since December last year. See: https://github.com/squizlabs/PHP_CodeSniffer/issues/3932 The package is now maintained in the https://github.com/PHPCSStandards/PHP_CodeSniffer repo.
-
Update phpDocumentor info
Update phpDocumentor info * Fix to use the official name. * Remove the version reference. Version 3 was released four years ago. * Point the link to the official website, not the GH repo.
Recent Commits to kint:master
-
Utils::isValidPhpName
Utils::isValidPhpName
plainspooky's Activity
-
plainspooky starred helpcomputer/vortexion
plainspooky starred helpcomputer/vortexion · August 17, 2024 15:06 helpcomputer/vortexion
Vortexion is a MSX/SG-1000 inspired shoot-em-up written in Python and uses the Pyxel game engine.
Python 13 Updated Aug 11
Gnustavo's Favorite Links from Diigo
plainspooky's Activity
-
plainspooky starred sverx/devkitSMS
plainspooky starred sverx/devkitSMS · July 6, 2024 02:02 sverx/devkitSMS
development kit and libraries for SEGA Master System / SEGA Game Gear / SEGA SG-1000 / SEGA SC-3000 homebrew programming using C language (and the …
C 217 Updated Jul 1
Recent Commits to readexe:master
-
Address "DOS4" as "MT MS-DOS 4.0", as that's what the official Micros…
Address "DOS4" as "MT MS-DOS 4.0", as that's what the official Microsoft documentation released 25 April 2024 says the OS is called.
Recent Commits to python-patterns:master
-
Update README.md
Update README.md Before diving into any of the patterns, readers should be reminded of two fundamental laws in software architecture: 1.Everything is a trade-ff 2."Why is more important than the how" So, readers face the nuances and reality of these patterns from the beginning. These two laws are coined by two thought leaders in software architecture: Mark Richards and Neal Ford. They have explained these two laws in various conference talks and books. For example, Here you can read about these two laws here: https://www.infoq.com/podcasts/software-architecture-hard-parts/ Also, here is a book for reference: https://a.co/d/fKOodW9
Recent Commits to policies:main
-
Implement the changes of the Release Cycle Update RFC (#5)
Implement the changes of the Release Cycle Update RFC (#5) RFC: https://wiki.php.net/rfc/release_cycle_update --------- Co-authored-by: Peter Kokot <peterkokot@gmail.com> Co-authored-by: Ben Ramsey <ben@benramsey.com> Co-authored-by: Sergey Panteleev <sergey@php.net>
Gnustavo's Favorite Links from Diigo
Recent Commits to awesome-php:master
-
Add QR Code generator and reader
Add QR Code generator and reader
Gnustavo's Favorite Links from Diigo
elcio's Activity
-
elcio created a repository elcio/passwordguess
elcio created a repository elcio/passwordguess · March 21, 2024 21:48
elcio/passwordguess
Password Guessing Game
Updated Mar 21
-
elcio created a repository elcio/passwordguess
elcio created a repository elcio/passwordguess · March 21, 2024 20:49
elcio/passwordguess
Password Guessing Game
Updated Mar 21
Recent Commits to Search-Replace-DB:master
-
Fix unserialize() warnings, deprecated warnings.
Fix unserialize() warnings, deprecated warnings. As of PHP 8.3 unserialize() triggers E_WARNING instead of E_NOTICE causing SRDB to dump thousands of notices to the screen as it tries to unserialized non-serialized strings. It now checks for serialized data before trying to unserialize. Fixed Deprecation warning creating dynamic property: alter_collation. Fixed Deprecation warning when passing null to htmlentities().
Recent Commits to sudo:main
-
README.md: expand credit for original (#43)
README.md: expand credit for original (#43) * README.md: expand credit for original Sudo was invented on Berkeley Unix on a VAX, and the current version is maintained by Todd Miller of the OpenBSD Unix project. It is thus correct to refer to the original as Unix/Linux as it is not a project originated by the Linux developers. * Update README.md again, in ref to original sudo Suggested by "omni" to have 'less occurrences of "Unix/Linux" in the README' - reads better this way.
Recent Commits to Mobile-Detect
-
Declare support for older psr/simple-cache version (#953)
Declare support for older psr/simple-cache version (#953)
Recent Commits to sudo:main
-
Initial commit to standup Sudo for Windows repo
Initial commit to standup Sudo for Windows repo Includes standard docs for a repo: README, LICENSE, issue templates, etc. Also includes `sudo.ps1`, for collaborating on in the open.
Gnustavo's Favorite Links from Diigo
Recent Commits to You-Dont-Need-Momentjs:master
-
added Native example for Weeks in Year
added Native example for Weeks in Year added Native example for Weeks in Year to the README.md
Recent Commits to hypnotix:master
-
yt-dlp: Add the ability to switch to a local version and update it
yt-dlp: Add the ability to switch to a local version and update it
-
Depend on yt-dlp
Depend on yt-dlp As more and more channels use youtube links, it is required for Hypnotix to work properly. youtube-dl on the other hand is abandoned upstream.
elcio's Activity
-
elcio created a repository elcio/unsafeflask
elcio created a repository elcio/unsafeflask · August 14, 2023 03:20
elcio/unsafeflask
Simple flask app to explore security weaknesses, for training purposes. Do not use this code for any kind of real software.
Updated Aug 14
-
elcio created a repository elcio/unsafecrud
elcio created a repository elcio/unsafecrud · August 11, 2023 01:22
elcio/unsafecrud
CRUD with easy to explore security weaknesses, for training purposes. Do not use this code for any kind of real software.
Updated Aug 11
-
elcio created a repository elcio/asvsviewer
plainspooky's Activity
-
plainspooky starred arananet/A600KB-PCBMembrane
plainspooky starred arananet/A600KB-PCBMembrane · May 24, 2023 11:45 arananet/A600KB-PCBMembrane
A600 Blue keyboard membrane replacement with a complete PCB.
26 Updated Sep 29, 2021
Recent Commits to python-patterns:master
-
simplify patterns/behavioral/memento, changing Transactional from des…

simplify patterns/behavioral/memento, changing Transactional from descriptor class to decorator method
plainspooky's Activity
-
plainspooky starred pythonfluente/pythonfluente2e
plainspooky starred pythonfluente/pythonfluente2e · May 4, 2023 02:35 pythonfluente/pythonfluente2e
Python Fluente, Segunda Edição
Python 132 Updated Apr 29
elcio's Activity
-
elcio created a repository elcio/aulas_regexp
elcio created a repository elcio/aulas_regexp · March 3, 2023 09:45
elcio/aulas_regexp
Mini curso em vídeo de Expressões Regulares
Updated Mar 3
plainspooky's Activity
-
plainspooky forked plainspooky/mc1000 from ensjo/mc1000
plainspooky forked plainspooky/mc1000 from ensjo/mc1000 · Feb 14, 2023 ensjo/mc1000
Repositório de informações sobre o microcomputador brasileiro MC1000 da CCE.
HTML 1 Updated Oct 4, 2020
elcio's Activity
plainspooky's Activity
-
plainspooky pushed to master in plainspooky/plainspooky.github.io
plainspooky pushed to master in plainspooky/plainspooky.github.io Dec 16, 2022 1 commit to master
-
8747056Acrescenta o medidor de irritação de xóvem com textões
-
Gnustavo's Favorite Links from Diigo
elcio's Activity
-
elcio created a repository elcio/quinze
-
elcio created a repository elcio/encefalo
elcio created a repository elcio/encefalo Sep 26, 2022 elcio/encefalo
Jogo para memorizar as estruturas do encéfalo
Updated Sep 26
Gnustavo's Favorite Links from Diigo
-
Give Up GitHub - Software Freedom Conservancy
-
Give Up GitHub: The Time Has Come! - Conservancy Blog - Software Freedom Conservancy
-
Whatever happened to SHA-256 support in Git? [LWN.net]
Tags: git
-
carbon-language/carbon-lang: Carbon language specification and documentation.
Tags: carbon programming language
plainspooky's Activity
-
plainspooky starred a2stuff/a2d
plainspooky starred a2stuff/a2d May 4, 2022 a2stuff/a2d
Disassembly of the Apple II Desktop - ProDOS GUI
Assembly 102 Updated May 3
Pinboard (brandizzi)
-
Job Application for Junior Security Researcher at GitHub
RT @GitHubSecurity: GitHub is looking for a Junior Security Researcher to join our Security Lab team. As a member of the GitHub Security Lab you will make a direct impact on the security of the open source software the world depends on. #InfoSecJobs #Hiring #RemoteJob
plainspooky's Activity
-
plainspooky starred netromdk/vermin
plainspooky starred netromdk/vermin Sep 13, 2021 netromdk/vermin
Concurrently detect the minimum Python versions needed to run code
Python 251 Updated Sep 9