Berildocs GitHub

References

Bug method matrix

One line per test. Use it to choose the next check, not to run all of them. Each row names a signal, a minimal test, and the proof that closes it.

Full procedures are in techniques.md, vulnerability-research.md, mobile-reverse.md, and firmware-iot.md.

Surface and recon#

SignalTestProof
Scope with acquisitionsCertificate and ASN pivotOwnership source for the asset
Old hostname in CT logsResolve and fingerprintLive service with a version
JS bundle with routesExtract paths and compare with the UIReachable hidden endpoint
Dangling CNAMEClaim the serviceControlled page on the hostname
.git or .svn exposedFetch metadataSource or revision data
Directory listingRead the indexFile names and sizes
Debug headerCompare with a clean requestBackend or version leak
Staging hostTest the same endpointWeaker auth or debug output
Public bucket nameRead the ACLObject list or file
Source mapFetch the mapOriginal names and paths

Authentication and session#

SignalTestProof
Login formUsername enumeration by response and timingValid vs invalid difference
Reset flowHost header poisoningReset link to your host
Reset tokenReuse after use or after password changeSecond reset works
Session cookieCheck flags and rotationMissing HttpOnly or no rotation on login
Remember-me tokenDecode and test expiryPredictable or non-expiring token
JWTAlgorithm, none, key confusionForged token accepted
JWT claimChange role or subjectHigher privilege page
OAuth redirectPath, subdomain, open redirectCode sent to your host
OAuth stateRemove or reuseLogin CSRF
OIDC nonceReplay an ID tokenToken accepted twice
SAML assertionXML signature wrappingAssertion for another user
SAML attributePollution or namespace confusionPrivilege claim changes
MFA stepSkip the challenge routeSession without MFA
MFA codeReuse or brute forceSame code twice
Password changeSession invalidationOld session still valid
Account deletionToken and session lifetimeDeleted account still acts

Access control#

SignalTestProof
Object id in URLSwap with a second accountOther account's object
UUIDEnumerate a sibling endpointCross-account read
GraphQL nodeQuery by node idRestricted object
Tenant headerChange tenantOther tenant data
Role cookieSet role=adminAdmin page
Hidden fieldAdd role or isAdminRole change
API versionCall the older versionWeaker auth
Export endpointRequest another objectFull record
Batch endpointMix ids from two usersMixed response
File idGuess a sequential idPrivate file

Injection#

SignalTestProof
SQL errorQuote and commentError or boolean change
Numeric idOR 1=1 then UNIONExtra row
Blind SQLTime delayRepeatable delay
NoSQL JSON$ne, $gt, array coercionAuth bypass or extra row
Template{{7*7}} variants49 and command output
Command;id, $(id), backticksuid=
LDAP*)(uid=*Extra entry
XPathQuote and booleanNode change
HeaderCRLF in a header valueInjected header
LogNewline and fake entryForged log line
CSVFormula prefixFormula in the export
PDF generatorHTML or file URLLocal file read
EmailHTML and CSS injectionClient execution
DeserializationLanguage-specific gadgetCallback or command
XXEExternal entityFile read or SSRF
SSTI sandboxEngine fingerprintFile read or command
ORM injectionJSON operatorExtra row
GraphQL argumentType confusionBypass or data leak

Client-side#

SignalTestProof
Reflected valueHTML context probeScript execution
DOM sinkinnerHTML, eval, postMessageExecution in the browser
Stored fieldProfile or commentExecution for another user
postMessageMissing origin checkCross-origin message action
CSPJSONP, base, gadgetScript under policy
SanitizerMutation XSSExecution after sanitize
MarkdownRaw HTML or image URLExecution or exfil
File upload previewSVG or HTMLExecution on the origin
CSV exportFormulaSpreadsheet execution
WebSocketCross-origin handshakeUnauthenticated action

SSRF, files, and parsers#

SignalTestProof
URL fetchCollaborator callbackHit from the server
AllowlistParser differential URLInternal host reached
Redirect302 to an internal hostInternal response
DNS rebindingShort TTL to internal IPSecond resolution internal
MetadataCloud metadata endpointRole or credentials
File uploadExtension, MIME, magicServed file
Archive../ entryFile outside root
FilenameTraversal or nullWrite outside root
Image parserMalformed dimensionsCrash or memory bug
Zip bombNested high ratioDisk or memory exhaustion

Logic, race, and business#

SignalTestProof
Price fieldChange price or currencyWrong invoice
Negative quantityNegative or zeroCredit balance
CouponApply twice or across accountsDouble discount
RefundRefund before captureMoney out
ApprovalParallel approve and editTwo states
LimitSingle-packet or parallel requestsLimit exceeded
InviteReuse tokenSecond join
TrialRestart with a new identifierExtended trial
CartChange quantity after checkoutPrice mismatch
CurrencyRounding or decimal precisionFractional gain

Cloud and Kubernetes#

SignalTestProof
Metadata reachableRead role nameRole from the instance
Public bucketList or readObject data
IAM wildcardsts get-caller-identityEffective permissions
Trust policyAssume a roleCredentials for the role
Container tokenRead the service accountAPI call as the pod
K8s APIList pods or secretsCluster data
Privileged podMount host pathHost file read
Admission webhookBypass labelPod without policy
CI tokenRead the environmentRegistry or cloud access
RegistryPull a private imageImage layers

Mobile#

SignalTestProof
Exported activityam startActivity with attacker data
Deep linkArbitrary URL to WebViewPage with bridge access
JS bridgeCall a method from a pageToken or action
Backup enabledadb backupApp data
CleartextProxy the APIToken in plaintext
PinningHook the verifierIntercepted traffic
ProviderRequest a broad pathFile outside the intended dir
Hardcoded keyUse it against the APIAuthorized call

AI and LLM#

SignalTestProof
System promptDirect injectionPrompt and secret
RAG chunkIndirect instructionTool call or exfil
MarkdownImage URL with dataRequest to your host
Tool boundaryAttacker-chosen argumentFile read or email
Cross-userShared vector storeOther user's chunk
Agent memoryPoisoned noteLater action
Output parserJSON or XML breakTool confusion
Context windowLong input truncationDropped guardrail
File uploadRAG poisoningRetrieved instruction
Cost limitAlias or batch queryRate bypass

Binary and RE#

SignalTestProof
Unsafe copyLong inputCrash with controlled offset
Format string%p inputStack leak
UAFFree then reallocateStale callback
Integer mathWrapping sizeSmall allocation
Missing boundsLength fieldOOB read or write
Command injectionConfig or request to systemCommand output
Parser differentialTwo parsing layersDifferent object
Update pathUnsigned imageModified rootfs
SUID binarychecksec and stringsPrivilege path
Hardcoded secretstringsLive credential

Triage and report#

CheckQuestion
ReachabilityCan an attacker do it now?
BoundaryWhich trust boundary is crossed?
ImpactData, money, account, code?
ReproducibilityDoes it work from a clean state?
DuplicateIs it already known?
EvidenceIs the request or input minimal?
FixWhat is the smallest correct change?